2015-05-19 François Dumont <fdumont@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blob3654b68f281022cf6e7997f4e3716647aa785736
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 CLOCALE_INTERNAL_H
704 CLOCALE_CC
705 CTIME_CC
706 CTIME_H
707 CNUMERIC_CC
708 CMONEY_CC
709 CMESSAGES_CC
710 CCTYPE_CC
711 CCOLLATE_CC
712 CCODECVT_CC
713 CMESSAGES_H
714 CLOCALE_H
715 USE_NLS
716 glibcxx_localedir
717 glibcxx_POFILES
718 glibcxx_MOFILES
719 check_msgfmt
720 BASIC_FILE_CC
721 BASIC_FILE_H
722 CSTDIO_H
723 SECTION_FLAGS
724 WERROR
725 thread_header
726 glibcxx_PCHFLAGS
727 GLIBCXX_BUILD_PCH_FALSE
728 GLIBCXX_BUILD_PCH_TRUE
729 GLIBCXX_HOSTED_FALSE
730 GLIBCXX_HOSTED_TRUE
731 glibcxx_compiler_shared_flag
732 glibcxx_compiler_pic_flag
733 glibcxx_lt_pic_flag
734 enable_static
735 enable_shared
736 lt_host_flags
737 CXXCPP
738 OTOOL64
739 OTOOL
740 LIPO
741 NMEDIT
742 DSYMUTIL
743 OBJDUMP
745 ac_ct_DUMPBIN
746 DUMPBIN
748 FGREP
750 LIBTOOL
751 EGREP
752 GREP
754 MAINT
755 MAINTAINER_MODE_FALSE
756 MAINTAINER_MODE_TRUE
757 RANLIB
760 LN_S
761 toplevel_srcdir
762 toplevel_builddir
763 glibcxx_srcdir
764 glibcxx_builddir
765 ac_ct_CXX
766 CXXFLAGS
768 OBJEXT
769 EXEEXT
770 ac_ct_CC
771 CPPFLAGS
772 LDFLAGS
773 CFLAGS
775 am__untar
776 am__tar
777 AMTAR
778 am__leading_dot
779 SET_MAKE
781 mkdir_p
782 MKDIR_P
783 INSTALL_STRIP_PROGRAM
784 STRIP
785 install_sh
786 MAKEINFO
787 AUTOHEADER
788 AUTOMAKE
789 AUTOCONF
790 ACLOCAL
791 VERSION
792 PACKAGE
793 CYGPATH_W
794 am__isrc
795 INSTALL_DATA
796 INSTALL_SCRIPT
797 INSTALL_PROGRAM
798 target_os
799 target_vendor
800 target_cpu
801 target
802 host_os
803 host_vendor
804 host_cpu
805 host
806 build_os
807 build_vendor
808 build_cpu
809 build
810 multi_basedir
811 target_alias
812 host_alias
813 build_alias
814 LIBS
815 ECHO_T
816 ECHO_N
817 ECHO_C
818 DEFS
819 mandir
820 localedir
821 libdir
822 psdir
823 pdfdir
824 dvidir
825 htmldir
826 infodir
827 docdir
828 oldincludedir
829 includedir
830 localstatedir
831 sharedstatedir
832 sysconfdir
833 datadir
834 datarootdir
835 libexecdir
836 sbindir
837 bindir
838 program_transform_name
839 prefix
840 exec_prefix
841 PACKAGE_URL
842 PACKAGE_BUGREPORT
843 PACKAGE_STRING
844 PACKAGE_VERSION
845 PACKAGE_TARNAME
846 PACKAGE_NAME
847 PATH_SEPARATOR
848 SHELL'
849 ac_subst_files=''
850 ac_user_opts='
851 enable_option_checking
852 enable_multilib
853 with_target_subdir
854 with_cross_host
855 with_newlib
856 enable_maintainer_mode
857 enable_shared
858 enable_static
859 with_pic
860 enable_fast_install
861 with_gnu_ld
862 enable_libtool_lock
863 enable_hosted_libstdcxx
864 enable_libstdcxx_verbose
865 enable_libstdcxx_pch
866 enable_cstdio
867 enable_clocale
868 enable_nls
869 enable_libstdcxx_allocator
870 enable_cheaders
871 enable_long_long
872 enable_wchar_t
873 enable_c99
874 enable_concept_checks
875 enable_libstdcxx_debug_flags
876 enable_libstdcxx_debug
877 enable_cxx_flags
878 enable_fully_dynamic_string
879 enable_extern_template
880 with_python_dir
881 enable_werror
882 enable_vtable_verify
883 enable_libstdcxx_time
884 enable_tls
885 enable_rpath
886 with_libiconv_prefix
887 with_system_libunwind
888 enable_linux_futex
889 enable_symvers
890 enable_libstdcxx_visibility
891 enable_libstdcxx_dual_abi
892 with_default_libstdcxx_abi
893 enable_libstdcxx_threads
894 enable_libstdcxx_filesystem_ts
895 with_gxx_include_dir
896 enable_version_specific_runtime_libs
898 ac_precious_vars='build_alias
899 host_alias
900 target_alias
902 CFLAGS
903 LDFLAGS
904 LIBS
905 CPPFLAGS
907 CXXFLAGS
910 CXXCPP
911 CXXFILT'
914 # Initialize some variables set by options.
915 ac_init_help=
916 ac_init_version=false
917 ac_unrecognized_opts=
918 ac_unrecognized_sep=
919 # The variables have the same names as the options, with
920 # dashes changed to underlines.
921 cache_file=/dev/null
922 exec_prefix=NONE
923 no_create=
924 no_recursion=
925 prefix=NONE
926 program_prefix=NONE
927 program_suffix=NONE
928 program_transform_name=s,x,x,
929 silent=
930 site=
931 srcdir=
932 verbose=
933 x_includes=NONE
934 x_libraries=NONE
936 # Installation directory options.
937 # These are left unexpanded so users can "make install exec_prefix=/foo"
938 # and all the variables that are supposed to be based on exec_prefix
939 # by default will actually change.
940 # Use braces instead of parens because sh, perl, etc. also accept them.
941 # (The list follows the same order as the GNU Coding Standards.)
942 bindir='${exec_prefix}/bin'
943 sbindir='${exec_prefix}/sbin'
944 libexecdir='${exec_prefix}/libexec'
945 datarootdir='${prefix}/share'
946 datadir='${datarootdir}'
947 sysconfdir='${prefix}/etc'
948 sharedstatedir='${prefix}/com'
949 localstatedir='${prefix}/var'
950 includedir='${prefix}/include'
951 oldincludedir='/usr/include'
952 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
953 infodir='${datarootdir}/info'
954 htmldir='${docdir}'
955 dvidir='${docdir}'
956 pdfdir='${docdir}'
957 psdir='${docdir}'
958 libdir='${exec_prefix}/lib'
959 localedir='${datarootdir}/locale'
960 mandir='${datarootdir}/man'
962 ac_prev=
963 ac_dashdash=
964 for ac_option
966 # If the previous option needs an argument, assign it.
967 if test -n "$ac_prev"; then
968 eval $ac_prev=\$ac_option
969 ac_prev=
970 continue
973 case $ac_option in
974 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
975 *) ac_optarg=yes ;;
976 esac
978 # Accept the important Cygnus configure options, so we can diagnose typos.
980 case $ac_dashdash$ac_option in
982 ac_dashdash=yes ;;
984 -bindir | --bindir | --bindi | --bind | --bin | --bi)
985 ac_prev=bindir ;;
986 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
987 bindir=$ac_optarg ;;
989 -build | --build | --buil | --bui | --bu)
990 ac_prev=build_alias ;;
991 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
992 build_alias=$ac_optarg ;;
994 -cache-file | --cache-file | --cache-fil | --cache-fi \
995 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
996 ac_prev=cache_file ;;
997 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
998 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
999 cache_file=$ac_optarg ;;
1001 --config-cache | -C)
1002 cache_file=config.cache ;;
1004 -datadir | --datadir | --datadi | --datad)
1005 ac_prev=datadir ;;
1006 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1007 datadir=$ac_optarg ;;
1009 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1010 | --dataroo | --dataro | --datar)
1011 ac_prev=datarootdir ;;
1012 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1013 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1014 datarootdir=$ac_optarg ;;
1016 -disable-* | --disable-*)
1017 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error "invalid feature name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1025 "enable_$ac_useropt"
1026 "*) ;;
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1029 esac
1030 eval enable_$ac_useropt=no ;;
1032 -docdir | --docdir | --docdi | --doc | --do)
1033 ac_prev=docdir ;;
1034 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1035 docdir=$ac_optarg ;;
1037 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1038 ac_prev=dvidir ;;
1039 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1040 dvidir=$ac_optarg ;;
1042 -enable-* | --enable-*)
1043 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1044 # Reject names that are not valid shell variable names.
1045 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1046 as_fn_error "invalid feature name: $ac_useropt"
1047 ac_useropt_orig=$ac_useropt
1048 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1049 case $ac_user_opts in
1051 "enable_$ac_useropt"
1052 "*) ;;
1053 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1054 ac_unrecognized_sep=', ';;
1055 esac
1056 eval enable_$ac_useropt=\$ac_optarg ;;
1058 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1059 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1060 | --exec | --exe | --ex)
1061 ac_prev=exec_prefix ;;
1062 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1063 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1064 | --exec=* | --exe=* | --ex=*)
1065 exec_prefix=$ac_optarg ;;
1067 -gas | --gas | --ga | --g)
1068 # Obsolete; use --with-gas.
1069 with_gas=yes ;;
1071 -help | --help | --hel | --he | -h)
1072 ac_init_help=long ;;
1073 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1074 ac_init_help=recursive ;;
1075 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1076 ac_init_help=short ;;
1078 -host | --host | --hos | --ho)
1079 ac_prev=host_alias ;;
1080 -host=* | --host=* | --hos=* | --ho=*)
1081 host_alias=$ac_optarg ;;
1083 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1084 ac_prev=htmldir ;;
1085 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1086 | --ht=*)
1087 htmldir=$ac_optarg ;;
1089 -includedir | --includedir | --includedi | --included | --include \
1090 | --includ | --inclu | --incl | --inc)
1091 ac_prev=includedir ;;
1092 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1093 | --includ=* | --inclu=* | --incl=* | --inc=*)
1094 includedir=$ac_optarg ;;
1096 -infodir | --infodir | --infodi | --infod | --info | --inf)
1097 ac_prev=infodir ;;
1098 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1099 infodir=$ac_optarg ;;
1101 -libdir | --libdir | --libdi | --libd)
1102 ac_prev=libdir ;;
1103 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1104 libdir=$ac_optarg ;;
1106 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1107 | --libexe | --libex | --libe)
1108 ac_prev=libexecdir ;;
1109 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1110 | --libexe=* | --libex=* | --libe=*)
1111 libexecdir=$ac_optarg ;;
1113 -localedir | --localedir | --localedi | --localed | --locale)
1114 ac_prev=localedir ;;
1115 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1116 localedir=$ac_optarg ;;
1118 -localstatedir | --localstatedir | --localstatedi | --localstated \
1119 | --localstate | --localstat | --localsta | --localst | --locals)
1120 ac_prev=localstatedir ;;
1121 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1122 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1123 localstatedir=$ac_optarg ;;
1125 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1126 ac_prev=mandir ;;
1127 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1128 mandir=$ac_optarg ;;
1130 -nfp | --nfp | --nf)
1131 # Obsolete; use --without-fp.
1132 with_fp=no ;;
1134 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1135 | --no-cr | --no-c | -n)
1136 no_create=yes ;;
1138 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1139 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1140 no_recursion=yes ;;
1142 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1143 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1144 | --oldin | --oldi | --old | --ol | --o)
1145 ac_prev=oldincludedir ;;
1146 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1147 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1148 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1149 oldincludedir=$ac_optarg ;;
1151 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1152 ac_prev=prefix ;;
1153 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1154 prefix=$ac_optarg ;;
1156 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1157 | --program-pre | --program-pr | --program-p)
1158 ac_prev=program_prefix ;;
1159 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1160 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1161 program_prefix=$ac_optarg ;;
1163 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1164 | --program-suf | --program-su | --program-s)
1165 ac_prev=program_suffix ;;
1166 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1167 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1168 program_suffix=$ac_optarg ;;
1170 -program-transform-name | --program-transform-name \
1171 | --program-transform-nam | --program-transform-na \
1172 | --program-transform-n | --program-transform- \
1173 | --program-transform | --program-transfor \
1174 | --program-transfo | --program-transf \
1175 | --program-trans | --program-tran \
1176 | --progr-tra | --program-tr | --program-t)
1177 ac_prev=program_transform_name ;;
1178 -program-transform-name=* | --program-transform-name=* \
1179 | --program-transform-nam=* | --program-transform-na=* \
1180 | --program-transform-n=* | --program-transform-=* \
1181 | --program-transform=* | --program-transfor=* \
1182 | --program-transfo=* | --program-transf=* \
1183 | --program-trans=* | --program-tran=* \
1184 | --progr-tra=* | --program-tr=* | --program-t=*)
1185 program_transform_name=$ac_optarg ;;
1187 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1188 ac_prev=pdfdir ;;
1189 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1190 pdfdir=$ac_optarg ;;
1192 -psdir | --psdir | --psdi | --psd | --ps)
1193 ac_prev=psdir ;;
1194 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1195 psdir=$ac_optarg ;;
1197 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1198 | -silent | --silent | --silen | --sile | --sil)
1199 silent=yes ;;
1201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1202 ac_prev=sbindir ;;
1203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1204 | --sbi=* | --sb=*)
1205 sbindir=$ac_optarg ;;
1207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1209 | --sharedst | --shareds | --shared | --share | --shar \
1210 | --sha | --sh)
1211 ac_prev=sharedstatedir ;;
1212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1215 | --sha=* | --sh=*)
1216 sharedstatedir=$ac_optarg ;;
1218 -site | --site | --sit)
1219 ac_prev=site ;;
1220 -site=* | --site=* | --sit=*)
1221 site=$ac_optarg ;;
1223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1224 ac_prev=srcdir ;;
1225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1226 srcdir=$ac_optarg ;;
1228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1229 | --syscon | --sysco | --sysc | --sys | --sy)
1230 ac_prev=sysconfdir ;;
1231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1233 sysconfdir=$ac_optarg ;;
1235 -target | --target | --targe | --targ | --tar | --ta | --t)
1236 ac_prev=target_alias ;;
1237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1238 target_alias=$ac_optarg ;;
1240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1241 verbose=yes ;;
1243 -version | --version | --versio | --versi | --vers | -V)
1244 ac_init_version=: ;;
1246 -with-* | --with-*)
1247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1248 # Reject names that are not valid shell variable names.
1249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1250 as_fn_error "invalid package name: $ac_useropt"
1251 ac_useropt_orig=$ac_useropt
1252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1253 case $ac_user_opts in
1255 "with_$ac_useropt"
1256 "*) ;;
1257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1258 ac_unrecognized_sep=', ';;
1259 esac
1260 eval with_$ac_useropt=\$ac_optarg ;;
1262 -without-* | --without-*)
1263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1264 # Reject names that are not valid shell variable names.
1265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1266 as_fn_error "invalid package name: $ac_useropt"
1267 ac_useropt_orig=$ac_useropt
1268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1269 case $ac_user_opts in
1271 "with_$ac_useropt"
1272 "*) ;;
1273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1274 ac_unrecognized_sep=', ';;
1275 esac
1276 eval with_$ac_useropt=no ;;
1278 --x)
1279 # Obsolete; use --with-x.
1280 with_x=yes ;;
1282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1283 | --x-incl | --x-inc | --x-in | --x-i)
1284 ac_prev=x_includes ;;
1285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1287 x_includes=$ac_optarg ;;
1289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1291 ac_prev=x_libraries ;;
1292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1294 x_libraries=$ac_optarg ;;
1296 -*) as_fn_error "unrecognized option: \`$ac_option'
1297 Try \`$0 --help' for more information."
1300 *=*)
1301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1302 # Reject names that are not valid shell variable names.
1303 case $ac_envvar in #(
1304 '' | [0-9]* | *[!_$as_cr_alnum]* )
1305 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1306 esac
1307 eval $ac_envvar=\$ac_optarg
1308 export $ac_envvar ;;
1311 # FIXME: should be removed in autoconf 3.0.
1312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1315 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1318 esac
1319 done
1321 if test -n "$ac_prev"; then
1322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1323 as_fn_error "missing argument to $ac_option"
1326 if test -n "$ac_unrecognized_opts"; then
1327 case $enable_option_checking in
1328 no) ;;
1329 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1331 esac
1334 # Check all directory arguments for consistency.
1335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1336 datadir sysconfdir sharedstatedir localstatedir includedir \
1337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1338 libdir localedir mandir
1340 eval ac_val=\$$ac_var
1341 # Remove trailing slashes.
1342 case $ac_val in
1343 */ )
1344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1345 eval $ac_var=\$ac_val;;
1346 esac
1347 # Be sure to have absolute directory names.
1348 case $ac_val in
1349 [\\/$]* | ?:[\\/]* ) continue;;
1350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1351 esac
1352 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1353 done
1355 # There might be people who depend on the old broken behavior: `$host'
1356 # used to hold the argument of --host etc.
1357 # FIXME: To remove some day.
1358 build=$build_alias
1359 host=$host_alias
1360 target=$target_alias
1362 # FIXME: To remove some day.
1363 if test "x$host_alias" != x; then
1364 if test "x$build_alias" = x; then
1365 cross_compiling=maybe
1366 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1367 If a cross compiler is detected then cross compile mode will be used." >&2
1368 elif test "x$build_alias" != "x$host_alias"; then
1369 cross_compiling=yes
1373 ac_tool_prefix=
1374 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1376 test "$silent" = yes && exec 6>/dev/null
1379 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1380 ac_ls_di=`ls -di .` &&
1381 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1382 as_fn_error "working directory cannot be determined"
1383 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1384 as_fn_error "pwd does not report name of working directory"
1387 # Find the source files, if location was not specified.
1388 if test -z "$srcdir"; then
1389 ac_srcdir_defaulted=yes
1390 # Try the directory containing this script, then the parent directory.
1391 ac_confdir=`$as_dirname -- "$as_myself" ||
1392 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1393 X"$as_myself" : 'X\(//\)[^/]' \| \
1394 X"$as_myself" : 'X\(//\)$' \| \
1395 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1396 $as_echo X"$as_myself" |
1397 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1398 s//\1/
1401 /^X\(\/\/\)[^/].*/{
1402 s//\1/
1405 /^X\(\/\/\)$/{
1406 s//\1/
1409 /^X\(\/\).*/{
1410 s//\1/
1413 s/.*/./; q'`
1414 srcdir=$ac_confdir
1415 if test ! -r "$srcdir/$ac_unique_file"; then
1416 srcdir=..
1418 else
1419 ac_srcdir_defaulted=no
1421 if test ! -r "$srcdir/$ac_unique_file"; then
1422 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1423 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1425 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1426 ac_abs_confdir=`(
1427 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1428 pwd)`
1429 # When building in place, set srcdir=.
1430 if test "$ac_abs_confdir" = "$ac_pwd"; then
1431 srcdir=.
1433 # Remove unnecessary trailing slashes from srcdir.
1434 # Double slashes in file names in object file debugging info
1435 # mess up M-x gdb in Emacs.
1436 case $srcdir in
1437 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1438 esac
1439 for ac_var in $ac_precious_vars; do
1440 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1441 eval ac_env_${ac_var}_value=\$${ac_var}
1442 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1444 done
1447 # Report the --help message.
1449 if test "$ac_init_help" = "long"; then
1450 # Omit some internal or obsolete options to make the list less imposing.
1451 # This message is too long to be a string in the A/UX 3.1 sh.
1452 cat <<_ACEOF
1453 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1455 Usage: $0 [OPTION]... [VAR=VALUE]...
1457 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1458 VAR=VALUE. See below for descriptions of some of the useful variables.
1460 Defaults for the options are specified in brackets.
1462 Configuration:
1463 -h, --help display this help and exit
1464 --help=short display options specific to this package
1465 --help=recursive display the short help of all the included packages
1466 -V, --version display version information and exit
1467 -q, --quiet, --silent do not print \`checking...' messages
1468 --cache-file=FILE cache test results in FILE [disabled]
1469 -C, --config-cache alias for \`--cache-file=config.cache'
1470 -n, --no-create do not create output files
1471 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1473 Installation directories:
1474 --prefix=PREFIX install architecture-independent files in PREFIX
1475 [$ac_default_prefix]
1476 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1477 [PREFIX]
1479 By default, \`make install' will install all the files in
1480 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1481 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1482 for instance \`--prefix=\$HOME'.
1484 For better control, use the options below.
1486 Fine tuning of the installation directories:
1487 --bindir=DIR user executables [EPREFIX/bin]
1488 --sbindir=DIR system admin executables [EPREFIX/sbin]
1489 --libexecdir=DIR program executables [EPREFIX/libexec]
1490 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1491 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1492 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1493 --libdir=DIR object code libraries [EPREFIX/lib]
1494 --includedir=DIR C header files [PREFIX/include]
1495 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1496 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1497 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1498 --infodir=DIR info documentation [DATAROOTDIR/info]
1499 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1500 --mandir=DIR man documentation [DATAROOTDIR/man]
1501 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1502 --htmldir=DIR html documentation [DOCDIR]
1503 --dvidir=DIR dvi documentation [DOCDIR]
1504 --pdfdir=DIR pdf documentation [DOCDIR]
1505 --psdir=DIR ps documentation [DOCDIR]
1506 _ACEOF
1508 cat <<\_ACEOF
1510 Program names:
1511 --program-prefix=PREFIX prepend PREFIX to installed program names
1512 --program-suffix=SUFFIX append SUFFIX to installed program names
1513 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1515 System types:
1516 --build=BUILD configure for building on BUILD [guessed]
1517 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1518 --target=TARGET configure for building compilers for TARGET [HOST]
1519 _ACEOF
1522 if test -n "$ac_init_help"; then
1523 case $ac_init_help in
1524 short | recursive ) echo "Configuration of package-unused version-unused:";;
1525 esac
1526 cat <<\_ACEOF
1528 Optional Features:
1529 --disable-option-checking ignore unrecognized --enable/--with options
1530 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1531 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1532 --enable-multilib build many library versions (default)
1533 --enable-maintainer-mode enable make rules and dependencies not useful
1534 (and sometimes confusing) to the casual installer
1535 --enable-shared[=PKGS] build shared libraries [default=yes]
1536 --enable-static[=PKGS] build static libraries [default=yes]
1537 --enable-fast-install[=PKGS]
1538 optimize for fast installation [default=yes]
1539 --disable-libtool-lock avoid locking (might break parallel builds)
1540 --disable-hosted-libstdcxx
1541 only build freestanding C++ runtime support
1542 --disable-libstdcxx-verbose
1543 disable termination messages to standard error
1544 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1545 [default=$is_hosted]
1546 --enable-cstdio[=PACKAGE]
1547 use target-specific I/O package [default=stdio]
1548 --enable-clocale[=MODEL]
1549 use MODEL for target locale package [default=auto]
1550 --enable-nls use Native Language Support (default)
1551 --enable-libstdcxx-allocator[=KIND]
1552 use KIND for target std::allocator base
1553 [default=auto]
1554 --enable-cheaders[=KIND]
1555 construct "C" headers for g++ [default=$c_model]
1556 --enable-long-long enable template specializations for 'long long'
1557 [default=yes]
1558 --enable-wchar_t enable template specializations for 'wchar_t'
1559 [default=yes]
1560 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1561 --enable-concept-checks use Boost-derived template checks [default=no]
1562 --enable-libstdcxx-debug-flags=FLAGS
1563 pass compiler FLAGS when building debug library
1564 [default="-gdwarf-4 -g3 -O0"]
1565 --enable-libstdcxx-debug
1566 build extra debug library [default=no]
1567 --enable-cxx-flags=FLAGS
1568 pass compiler FLAGS when building library [default=]
1569 --enable-fully-dynamic-string
1570 do not put empty strings in per-process static
1571 memory [default=no]
1572 --enable-extern-template
1573 enable extern template [default=yes]
1574 --enable-werror turns on -Werror [default=yes]
1575 --enable-vtable-verify enable vtable verify [default=no]
1576 --enable-libstdcxx-time[=KIND]
1577 use KIND for check type [default=auto]
1578 --enable-tls Use thread-local storage [default=yes]
1579 --disable-rpath do not hardcode runtime library paths
1580 --enable-linux-futex use the Linux futex system call [default=default]
1581 --enable-symvers[=STYLE]
1582 enables symbol versioning of the shared library
1583 [default=yes]
1584 --enable-libstdcxx-visibility
1585 enables visibility safe usage [default=yes]
1586 --enable-libstdcxx-dual-abi
1587 support two versions of std::string [default=yes]
1588 --enable-libstdcxx-threads
1589 enable C++11 threads support [default=auto]
1590 --enable-libstdcxx-filesystem-ts
1591 turns on ISO/IEC TS 18822 support [default=auto]
1592 --enable-version-specific-runtime-libs
1593 Specify that runtime libraries should be installed
1594 in a compiler-specific directory
1596 Optional Packages:
1597 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1598 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1599 --with-target-subdir=SUBDIR
1600 configuring in a subdirectory
1601 --with-cross-host=HOST configuring with a cross compiler
1602 --with-newlib assume newlib as a system C library
1603 --with-pic try to use only PIC/non-PIC objects [default=use
1604 both]
1605 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1606 --with-python-dir the location to install Python modules. This path is
1607 relative starting from the prefix.
1608 --with-gnu-ld assume the C compiler uses GNU ld default=no
1609 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1610 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1611 --with-system-libunwind use installed libunwind
1612 --with-default-libstdcxx-abi
1613 set the std::string ABI to use by default
1614 --with-gxx-include-dir=DIR
1615 installation directory for include files
1617 Some influential environment variables:
1618 CC C compiler command
1619 CFLAGS C compiler flags
1620 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1621 nonstandard directory <lib dir>
1622 LIBS libraries to pass to the linker, e.g. -l<library>
1623 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1624 you have headers in a nonstandard directory <include dir>
1625 CXX C++ compiler command
1626 CXXFLAGS C++ compiler flags
1627 CPP C preprocessor
1628 CXXCPP C++ preprocessor
1629 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1630 `c++filt', `gc++filt' on PATH.
1632 Use these variables to override the choices made by `configure' or to help
1633 it to find libraries and programs with nonstandard names/locations.
1635 Report bugs to the package provider.
1636 _ACEOF
1637 ac_status=$?
1640 if test "$ac_init_help" = "recursive"; then
1641 # If there are subdirs, report their specific --help.
1642 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1643 test -d "$ac_dir" ||
1644 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1645 continue
1646 ac_builddir=.
1648 case "$ac_dir" in
1649 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1651 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1652 # A ".." for each directory in $ac_dir_suffix.
1653 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1654 case $ac_top_builddir_sub in
1655 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1656 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1657 esac ;;
1658 esac
1659 ac_abs_top_builddir=$ac_pwd
1660 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1661 # for backward compatibility:
1662 ac_top_builddir=$ac_top_build_prefix
1664 case $srcdir in
1665 .) # We are building in place.
1666 ac_srcdir=.
1667 ac_top_srcdir=$ac_top_builddir_sub
1668 ac_abs_top_srcdir=$ac_pwd ;;
1669 [\\/]* | ?:[\\/]* ) # Absolute name.
1670 ac_srcdir=$srcdir$ac_dir_suffix;
1671 ac_top_srcdir=$srcdir
1672 ac_abs_top_srcdir=$srcdir ;;
1673 *) # Relative name.
1674 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1675 ac_top_srcdir=$ac_top_build_prefix$srcdir
1676 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1677 esac
1678 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1680 cd "$ac_dir" || { ac_status=$?; continue; }
1681 # Check for guested configure.
1682 if test -f "$ac_srcdir/configure.gnu"; then
1683 echo &&
1684 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1685 elif test -f "$ac_srcdir/configure"; then
1686 echo &&
1687 $SHELL "$ac_srcdir/configure" --help=recursive
1688 else
1689 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1690 fi || ac_status=$?
1691 cd "$ac_pwd" || { ac_status=$?; break; }
1692 done
1695 test -n "$ac_init_help" && exit $ac_status
1696 if $ac_init_version; then
1697 cat <<\_ACEOF
1698 package-unused configure version-unused
1699 generated by GNU Autoconf 2.64
1701 Copyright (C) 2009 Free Software Foundation, Inc.
1702 This configure script is free software; the Free Software Foundation
1703 gives unlimited permission to copy, distribute and modify it.
1704 _ACEOF
1705 exit
1708 ## ------------------------ ##
1709 ## Autoconf initialization. ##
1710 ## ------------------------ ##
1712 # ac_fn_c_try_compile LINENO
1713 # --------------------------
1714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1715 ac_fn_c_try_compile ()
1717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1718 rm -f conftest.$ac_objext
1719 if { { ac_try="$ac_compile"
1720 case "(($ac_try" in
1721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1722 *) ac_try_echo=$ac_try;;
1723 esac
1724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1725 $as_echo "$ac_try_echo"; } >&5
1726 (eval "$ac_compile") 2>conftest.err
1727 ac_status=$?
1728 if test -s conftest.err; then
1729 grep -v '^ *+' conftest.err >conftest.er1
1730 cat conftest.er1 >&5
1731 mv -f conftest.er1 conftest.err
1733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1734 test $ac_status = 0; } && {
1735 test -z "$ac_c_werror_flag" ||
1736 test ! -s conftest.err
1737 } && test -s conftest.$ac_objext; then :
1738 ac_retval=0
1739 else
1740 $as_echo "$as_me: failed program was:" >&5
1741 sed 's/^/| /' conftest.$ac_ext >&5
1743 ac_retval=1
1745 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1746 return $ac_retval
1748 } # ac_fn_c_try_compile
1750 # ac_fn_cxx_try_compile LINENO
1751 # ----------------------------
1752 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1753 ac_fn_cxx_try_compile ()
1755 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1756 rm -f conftest.$ac_objext
1757 if { { ac_try="$ac_compile"
1758 case "(($ac_try" in
1759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1760 *) ac_try_echo=$ac_try;;
1761 esac
1762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1763 $as_echo "$ac_try_echo"; } >&5
1764 (eval "$ac_compile") 2>conftest.err
1765 ac_status=$?
1766 if test -s conftest.err; then
1767 grep -v '^ *+' conftest.err >conftest.er1
1768 cat conftest.er1 >&5
1769 mv -f conftest.er1 conftest.err
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; } && {
1773 test -z "$ac_cxx_werror_flag" ||
1774 test ! -s conftest.err
1775 } && test -s conftest.$ac_objext; then :
1776 ac_retval=0
1777 else
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1781 ac_retval=1
1783 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1784 return $ac_retval
1786 } # ac_fn_cxx_try_compile
1788 # ac_fn_c_try_cpp LINENO
1789 # ----------------------
1790 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1791 ac_fn_c_try_cpp ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 if { { ac_try="$ac_cpp conftest.$ac_ext"
1795 case "(($ac_try" in
1796 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1797 *) ac_try_echo=$ac_try;;
1798 esac
1799 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1800 $as_echo "$ac_try_echo"; } >&5
1801 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1802 ac_status=$?
1803 if test -s conftest.err; then
1804 grep -v '^ *+' conftest.err >conftest.er1
1805 cat conftest.er1 >&5
1806 mv -f conftest.er1 conftest.err
1808 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1809 test $ac_status = 0; } >/dev/null && {
1810 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1811 test ! -s conftest.err
1812 }; then :
1813 ac_retval=0
1814 else
1815 $as_echo "$as_me: failed program was:" >&5
1816 sed 's/^/| /' conftest.$ac_ext >&5
1818 ac_retval=1
1820 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1821 return $ac_retval
1823 } # ac_fn_c_try_cpp
1825 # ac_fn_c_try_link LINENO
1826 # -----------------------
1827 # Try to link conftest.$ac_ext, and return whether this succeeded.
1828 ac_fn_c_try_link ()
1830 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1831 rm -f conftest.$ac_objext conftest$ac_exeext
1832 if { { ac_try="$ac_link"
1833 case "(($ac_try" in
1834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1835 *) ac_try_echo=$ac_try;;
1836 esac
1837 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1838 $as_echo "$ac_try_echo"; } >&5
1839 (eval "$ac_link") 2>conftest.err
1840 ac_status=$?
1841 if test -s conftest.err; then
1842 grep -v '^ *+' conftest.err >conftest.er1
1843 cat conftest.er1 >&5
1844 mv -f conftest.er1 conftest.err
1846 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1847 test $ac_status = 0; } && {
1848 test -z "$ac_c_werror_flag" ||
1849 test ! -s conftest.err
1850 } && test -s conftest$ac_exeext && {
1851 test "$cross_compiling" = yes ||
1852 $as_test_x conftest$ac_exeext
1853 }; then :
1854 ac_retval=0
1855 else
1856 $as_echo "$as_me: failed program was:" >&5
1857 sed 's/^/| /' conftest.$ac_ext >&5
1859 ac_retval=1
1861 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1862 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1863 # interfere with the next link command; also delete a directory that is
1864 # left behind by Apple's compiler. We do this before executing the actions.
1865 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1866 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1867 return $ac_retval
1869 } # ac_fn_c_try_link
1871 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1872 # -------------------------------------------------------
1873 # Tests whether HEADER exists and can be compiled using the include files in
1874 # INCLUDES, setting the cache variable VAR accordingly.
1875 ac_fn_c_check_header_compile ()
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1879 $as_echo_n "checking for $2... " >&6; }
1880 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1881 $as_echo_n "(cached) " >&6
1882 else
1883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1884 /* end confdefs.h. */
1886 #include <$2>
1887 _ACEOF
1888 if ac_fn_c_try_compile "$LINENO"; then :
1889 eval "$3=yes"
1890 else
1891 eval "$3=no"
1893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1895 eval ac_res=\$$3
1896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1897 $as_echo "$ac_res" >&6; }
1898 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1900 } # ac_fn_c_check_header_compile
1902 # ac_fn_c_try_run LINENO
1903 # ----------------------
1904 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1905 # that executables *can* be run.
1906 ac_fn_c_try_run ()
1908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1909 if { { ac_try="$ac_link"
1910 case "(($ac_try" in
1911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1912 *) ac_try_echo=$ac_try;;
1913 esac
1914 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1915 $as_echo "$ac_try_echo"; } >&5
1916 (eval "$ac_link") 2>&5
1917 ac_status=$?
1918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1919 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1920 { { case "(($ac_try" in
1921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1922 *) ac_try_echo=$ac_try;;
1923 esac
1924 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1925 $as_echo "$ac_try_echo"; } >&5
1926 (eval "$ac_try") 2>&5
1927 ac_status=$?
1928 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1929 test $ac_status = 0; }; }; then :
1930 ac_retval=0
1931 else
1932 $as_echo "$as_me: program exited with status $ac_status" >&5
1933 $as_echo "$as_me: failed program was:" >&5
1934 sed 's/^/| /' conftest.$ac_ext >&5
1936 ac_retval=$ac_status
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1940 return $ac_retval
1942 } # ac_fn_c_try_run
1944 # ac_fn_c_check_func LINENO FUNC VAR
1945 # ----------------------------------
1946 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1947 ac_fn_c_check_func ()
1949 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1951 $as_echo_n "checking for $2... " >&6; }
1952 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1953 $as_echo_n "(cached) " >&6
1954 else
1955 if test x$gcc_no_link = xyes; then
1956 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1960 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1961 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1962 #define $2 innocuous_$2
1964 /* System header to define __stub macros and hopefully few prototypes,
1965 which can conflict with char $2 (); below.
1966 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1967 <limits.h> exists even on freestanding compilers. */
1969 #ifdef __STDC__
1970 # include <limits.h>
1971 #else
1972 # include <assert.h>
1973 #endif
1975 #undef $2
1977 /* Override any GCC internal prototype to avoid an error.
1978 Use char because int might match the return type of a GCC
1979 builtin and then its argument prototype would still apply. */
1980 #ifdef __cplusplus
1981 extern "C"
1982 #endif
1983 char $2 ();
1984 /* The GNU C library defines this for functions which it implements
1985 to always fail with ENOSYS. Some functions are actually named
1986 something starting with __ and the normal name is an alias. */
1987 #if defined __stub_$2 || defined __stub___$2
1988 choke me
1989 #endif
1992 main ()
1994 return $2 ();
1996 return 0;
1998 _ACEOF
1999 if ac_fn_c_try_link "$LINENO"; then :
2000 eval "$3=yes"
2001 else
2002 eval "$3=no"
2004 rm -f core conftest.err conftest.$ac_objext \
2005 conftest$ac_exeext conftest.$ac_ext
2007 eval ac_res=\$$3
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2009 $as_echo "$ac_res" >&6; }
2010 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2012 } # ac_fn_c_check_func
2014 # ac_fn_cxx_try_cpp LINENO
2015 # ------------------------
2016 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2017 ac_fn_cxx_try_cpp ()
2019 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2020 if { { ac_try="$ac_cpp conftest.$ac_ext"
2021 case "(($ac_try" in
2022 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2023 *) ac_try_echo=$ac_try;;
2024 esac
2025 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2026 $as_echo "$ac_try_echo"; } >&5
2027 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2028 ac_status=$?
2029 if test -s conftest.err; then
2030 grep -v '^ *+' conftest.err >conftest.er1
2031 cat conftest.er1 >&5
2032 mv -f conftest.er1 conftest.err
2034 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2035 test $ac_status = 0; } >/dev/null && {
2036 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2037 test ! -s conftest.err
2038 }; then :
2039 ac_retval=0
2040 else
2041 $as_echo "$as_me: failed program was:" >&5
2042 sed 's/^/| /' conftest.$ac_ext >&5
2044 ac_retval=1
2046 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2047 return $ac_retval
2049 } # ac_fn_cxx_try_cpp
2051 # ac_fn_cxx_try_link LINENO
2052 # -------------------------
2053 # Try to link conftest.$ac_ext, and return whether this succeeded.
2054 ac_fn_cxx_try_link ()
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 rm -f conftest.$ac_objext conftest$ac_exeext
2058 if { { ac_try="$ac_link"
2059 case "(($ac_try" in
2060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2061 *) ac_try_echo=$ac_try;;
2062 esac
2063 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2064 $as_echo "$ac_try_echo"; } >&5
2065 (eval "$ac_link") 2>conftest.err
2066 ac_status=$?
2067 if test -s conftest.err; then
2068 grep -v '^ *+' conftest.err >conftest.er1
2069 cat conftest.er1 >&5
2070 mv -f conftest.er1 conftest.err
2072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2073 test $ac_status = 0; } && {
2074 test -z "$ac_cxx_werror_flag" ||
2075 test ! -s conftest.err
2076 } && test -s conftest$ac_exeext && {
2077 test "$cross_compiling" = yes ||
2078 $as_test_x conftest$ac_exeext
2079 }; then :
2080 ac_retval=0
2081 else
2082 $as_echo "$as_me: failed program was:" >&5
2083 sed 's/^/| /' conftest.$ac_ext >&5
2085 ac_retval=1
2087 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2088 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2089 # interfere with the next link command; also delete a directory that is
2090 # left behind by Apple's compiler. We do this before executing the actions.
2091 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2092 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2093 return $ac_retval
2095 } # ac_fn_cxx_try_link
2097 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2098 # -------------------------------------------------------
2099 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2100 # the include files in INCLUDES and setting the cache variable VAR
2101 # accordingly.
2102 ac_fn_c_check_header_mongrel ()
2104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2105 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2107 $as_echo_n "checking for $2... " >&6; }
2108 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2109 $as_echo_n "(cached) " >&6
2111 eval ac_res=\$$3
2112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2113 $as_echo "$ac_res" >&6; }
2114 else
2115 # Is the header compilable?
2116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2117 $as_echo_n "checking $2 usability... " >&6; }
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2121 #include <$2>
2122 _ACEOF
2123 if ac_fn_c_try_compile "$LINENO"; then :
2124 ac_header_compiler=yes
2125 else
2126 ac_header_compiler=no
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2130 $as_echo "$ac_header_compiler" >&6; }
2132 # Is the header present?
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2134 $as_echo_n "checking $2 presence... " >&6; }
2135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2136 /* end confdefs.h. */
2137 #include <$2>
2138 _ACEOF
2139 if ac_fn_c_try_cpp "$LINENO"; then :
2140 ac_header_preproc=yes
2141 else
2142 ac_header_preproc=no
2144 rm -f conftest.err conftest.$ac_ext
2145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2146 $as_echo "$ac_header_preproc" >&6; }
2148 # So? What about this header?
2149 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2150 yes:no: )
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2152 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2154 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2156 no:yes:* )
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2158 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2160 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2162 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2164 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2166 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2168 esac
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2170 $as_echo_n "checking for $2... " >&6; }
2171 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2172 $as_echo_n "(cached) " >&6
2173 else
2174 eval "$3=\$ac_header_compiler"
2176 eval ac_res=\$$3
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2178 $as_echo "$ac_res" >&6; }
2180 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2182 } # ac_fn_c_check_header_mongrel
2184 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2185 # ---------------------------------------------------------
2186 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2187 # the include files in INCLUDES and setting the cache variable VAR
2188 # accordingly.
2189 ac_fn_cxx_check_header_mongrel ()
2191 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2192 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2194 $as_echo_n "checking for $2... " >&6; }
2195 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2196 $as_echo_n "(cached) " >&6
2198 eval ac_res=\$$3
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2200 $as_echo "$ac_res" >&6; }
2201 else
2202 # Is the header compilable?
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2204 $as_echo_n "checking $2 usability... " >&6; }
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2208 #include <$2>
2209 _ACEOF
2210 if ac_fn_cxx_try_compile "$LINENO"; then :
2211 ac_header_compiler=yes
2212 else
2213 ac_header_compiler=no
2215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2217 $as_echo "$ac_header_compiler" >&6; }
2219 # Is the header present?
2220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2221 $as_echo_n "checking $2 presence... " >&6; }
2222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2223 /* end confdefs.h. */
2224 #include <$2>
2225 _ACEOF
2226 if ac_fn_cxx_try_cpp "$LINENO"; then :
2227 ac_header_preproc=yes
2228 else
2229 ac_header_preproc=no
2231 rm -f conftest.err conftest.$ac_ext
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2233 $as_echo "$ac_header_preproc" >&6; }
2235 # So? What about this header?
2236 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2237 yes:no: )
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2239 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2241 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2243 no:yes:* )
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2245 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2247 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2249 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2251 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2253 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2255 esac
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2257 $as_echo_n "checking for $2... " >&6; }
2258 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2259 $as_echo_n "(cached) " >&6
2260 else
2261 eval "$3=\$ac_header_compiler"
2263 eval ac_res=\$$3
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2265 $as_echo "$ac_res" >&6; }
2267 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2269 } # ac_fn_cxx_check_header_mongrel
2271 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2272 # --------------------------------------------
2273 # Tries to find the compile-time value of EXPR in a program that includes
2274 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2275 # computed
2276 ac_fn_c_compute_int ()
2278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2279 if test "$cross_compiling" = yes; then
2280 # Depending upon the size, compute the lo and hi bounds.
2281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 /* end confdefs.h. */
2285 main ()
2287 static int test_array [1 - 2 * !(($2) >= 0)];
2288 test_array [0] = 0
2291 return 0;
2293 _ACEOF
2294 if ac_fn_c_try_compile "$LINENO"; then :
2295 ac_lo=0 ac_mid=0
2296 while :; do
2297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2298 /* end confdefs.h. */
2301 main ()
2303 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2304 test_array [0] = 0
2307 return 0;
2309 _ACEOF
2310 if ac_fn_c_try_compile "$LINENO"; then :
2311 ac_hi=$ac_mid; break
2312 else
2313 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2314 if test $ac_lo -le $ac_mid; then
2315 ac_lo= ac_hi=
2316 break
2318 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2321 done
2322 else
2323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2324 /* end confdefs.h. */
2327 main ()
2329 static int test_array [1 - 2 * !(($2) < 0)];
2330 test_array [0] = 0
2333 return 0;
2335 _ACEOF
2336 if ac_fn_c_try_compile "$LINENO"; then :
2337 ac_hi=-1 ac_mid=-1
2338 while :; do
2339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2340 /* end confdefs.h. */
2343 main ()
2345 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2346 test_array [0] = 0
2349 return 0;
2351 _ACEOF
2352 if ac_fn_c_try_compile "$LINENO"; then :
2353 ac_lo=$ac_mid; break
2354 else
2355 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2356 if test $ac_mid -le $ac_hi; then
2357 ac_lo= ac_hi=
2358 break
2360 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2363 done
2364 else
2365 ac_lo= ac_hi=
2367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2370 # Binary search between lo and hi bounds.
2371 while test "x$ac_lo" != "x$ac_hi"; do
2372 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 /* end confdefs.h. */
2377 main ()
2379 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2380 test_array [0] = 0
2383 return 0;
2385 _ACEOF
2386 if ac_fn_c_try_compile "$LINENO"; then :
2387 ac_hi=$ac_mid
2388 else
2389 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2392 done
2393 case $ac_lo in #((
2394 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2395 '') ac_retval=1 ;;
2396 esac
2397 else
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2401 static long int longval () { return $2; }
2402 static unsigned long int ulongval () { return $2; }
2403 #include <stdio.h>
2404 #include <stdlib.h>
2406 main ()
2409 FILE *f = fopen ("conftest.val", "w");
2410 if (! f)
2411 return 1;
2412 if (($2) < 0)
2414 long int i = longval ();
2415 if (i != ($2))
2416 return 1;
2417 fprintf (f, "%ld", i);
2419 else
2421 unsigned long int i = ulongval ();
2422 if (i != ($2))
2423 return 1;
2424 fprintf (f, "%lu", i);
2426 /* Do not output a trailing newline, as this causes \r\n confusion
2427 on some platforms. */
2428 return ferror (f) || fclose (f) != 0;
2431 return 0;
2433 _ACEOF
2434 if ac_fn_c_try_run "$LINENO"; then :
2435 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2436 else
2437 ac_retval=1
2439 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2440 conftest.$ac_objext conftest.beam conftest.$ac_ext
2441 rm -f conftest.val
2444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2445 return $ac_retval
2447 } # ac_fn_c_compute_int
2449 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2450 # -------------------------------------------
2451 # Tests whether TYPE exists after having included INCLUDES, setting cache
2452 # variable VAR accordingly.
2453 ac_fn_c_check_type ()
2455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2457 $as_echo_n "checking for $2... " >&6; }
2458 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2459 $as_echo_n "(cached) " >&6
2460 else
2461 eval "$3=no"
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 main ()
2468 if (sizeof ($2))
2469 return 0;
2471 return 0;
2473 _ACEOF
2474 if ac_fn_c_try_compile "$LINENO"; then :
2475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2476 /* end confdefs.h. */
2479 main ()
2481 if (sizeof (($2)))
2482 return 0;
2484 return 0;
2486 _ACEOF
2487 if ac_fn_c_try_compile "$LINENO"; then :
2489 else
2490 eval "$3=yes"
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 eval ac_res=\$$3
2497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2498 $as_echo "$ac_res" >&6; }
2499 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2501 } # ac_fn_c_check_type
2503 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2504 # ---------------------------------------------
2505 # Tests whether TYPE exists after having included INCLUDES, setting cache
2506 # variable VAR accordingly.
2507 ac_fn_cxx_check_type ()
2509 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2511 $as_echo_n "checking for $2... " >&6; }
2512 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2513 $as_echo_n "(cached) " >&6
2514 else
2515 eval "$3=no"
2516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2517 /* end confdefs.h. */
2520 main ()
2522 if (sizeof ($2))
2523 return 0;
2525 return 0;
2527 _ACEOF
2528 if ac_fn_cxx_try_compile "$LINENO"; then :
2529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2530 /* end confdefs.h. */
2533 main ()
2535 if (sizeof (($2)))
2536 return 0;
2538 return 0;
2540 _ACEOF
2541 if ac_fn_cxx_try_compile "$LINENO"; then :
2543 else
2544 eval "$3=yes"
2546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 eval ac_res=\$$3
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2552 $as_echo "$ac_res" >&6; }
2553 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2555 } # ac_fn_cxx_check_type
2556 cat >config.log <<_ACEOF
2557 This file contains any messages produced by compilers while
2558 running configure, to aid debugging if configure makes a mistake.
2560 It was created by package-unused $as_me version-unused, which was
2561 generated by GNU Autoconf 2.64. Invocation command line was
2563 $ $0 $@
2565 _ACEOF
2566 exec 5>>config.log
2568 cat <<_ASUNAME
2569 ## --------- ##
2570 ## Platform. ##
2571 ## --------- ##
2573 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2574 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2575 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2576 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2577 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2579 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2580 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2582 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2583 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2584 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2585 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2586 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2587 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2588 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2590 _ASUNAME
2592 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2593 for as_dir in $PATH
2595 IFS=$as_save_IFS
2596 test -z "$as_dir" && as_dir=.
2597 $as_echo "PATH: $as_dir"
2598 done
2599 IFS=$as_save_IFS
2601 } >&5
2603 cat >&5 <<_ACEOF
2606 ## ----------- ##
2607 ## Core tests. ##
2608 ## ----------- ##
2610 _ACEOF
2613 # Keep a trace of the command line.
2614 # Strip out --no-create and --no-recursion so they do not pile up.
2615 # Strip out --silent because we don't want to record it for future runs.
2616 # Also quote any args containing shell meta-characters.
2617 # Make two passes to allow for proper duplicate-argument suppression.
2618 ac_configure_args=
2619 ac_configure_args0=
2620 ac_configure_args1=
2621 ac_must_keep_next=false
2622 for ac_pass in 1 2
2624 for ac_arg
2626 case $ac_arg in
2627 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2628 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2629 | -silent | --silent | --silen | --sile | --sil)
2630 continue ;;
2631 *\'*)
2632 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2633 esac
2634 case $ac_pass in
2635 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2637 as_fn_append ac_configure_args1 " '$ac_arg'"
2638 if test $ac_must_keep_next = true; then
2639 ac_must_keep_next=false # Got value, back to normal.
2640 else
2641 case $ac_arg in
2642 *=* | --config-cache | -C | -disable-* | --disable-* \
2643 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2644 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2645 | -with-* | --with-* | -without-* | --without-* | --x)
2646 case "$ac_configure_args0 " in
2647 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2648 esac
2650 -* ) ac_must_keep_next=true ;;
2651 esac
2653 as_fn_append ac_configure_args " '$ac_arg'"
2655 esac
2656 done
2657 done
2658 { ac_configure_args0=; unset ac_configure_args0;}
2659 { ac_configure_args1=; unset ac_configure_args1;}
2661 # When interrupted or exit'd, cleanup temporary files, and complete
2662 # config.log. We remove comments because anyway the quotes in there
2663 # would cause problems or look ugly.
2664 # WARNING: Use '\'' to represent an apostrophe within the trap.
2665 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2666 trap 'exit_status=$?
2667 # Save into config.log some information that might help in debugging.
2669 echo
2671 cat <<\_ASBOX
2672 ## ---------------- ##
2673 ## Cache variables. ##
2674 ## ---------------- ##
2675 _ASBOX
2676 echo
2677 # The following way of writing the cache mishandles newlines in values,
2679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2680 eval ac_val=\$$ac_var
2681 case $ac_val in #(
2682 *${as_nl}*)
2683 case $ac_var in #(
2684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2686 esac
2687 case $ac_var in #(
2688 _ | IFS | as_nl) ;; #(
2689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2690 *) { eval $ac_var=; unset $ac_var;} ;;
2691 esac ;;
2692 esac
2693 done
2694 (set) 2>&1 |
2695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2696 *${as_nl}ac_space=\ *)
2697 sed -n \
2698 "s/'\''/'\''\\\\'\'''\''/g;
2699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2700 ;; #(
2702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2704 esac |
2705 sort
2707 echo
2709 cat <<\_ASBOX
2710 ## ----------------- ##
2711 ## Output variables. ##
2712 ## ----------------- ##
2713 _ASBOX
2714 echo
2715 for ac_var in $ac_subst_vars
2717 eval ac_val=\$$ac_var
2718 case $ac_val in
2719 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2720 esac
2721 $as_echo "$ac_var='\''$ac_val'\''"
2722 done | sort
2723 echo
2725 if test -n "$ac_subst_files"; then
2726 cat <<\_ASBOX
2727 ## ------------------- ##
2728 ## File substitutions. ##
2729 ## ------------------- ##
2730 _ASBOX
2731 echo
2732 for ac_var in $ac_subst_files
2734 eval ac_val=\$$ac_var
2735 case $ac_val in
2736 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2737 esac
2738 $as_echo "$ac_var='\''$ac_val'\''"
2739 done | sort
2740 echo
2743 if test -s confdefs.h; then
2744 cat <<\_ASBOX
2745 ## ----------- ##
2746 ## confdefs.h. ##
2747 ## ----------- ##
2748 _ASBOX
2749 echo
2750 cat confdefs.h
2751 echo
2753 test "$ac_signal" != 0 &&
2754 $as_echo "$as_me: caught signal $ac_signal"
2755 $as_echo "$as_me: exit $exit_status"
2756 } >&5
2757 rm -f core *.core core.conftest.* &&
2758 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2759 exit $exit_status
2761 for ac_signal in 1 2 13 15; do
2762 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2763 done
2764 ac_signal=0
2766 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2767 rm -f -r conftest* confdefs.h
2769 $as_echo "/* confdefs.h */" > confdefs.h
2771 # Predefined preprocessor variables.
2773 cat >>confdefs.h <<_ACEOF
2774 #define PACKAGE_NAME "$PACKAGE_NAME"
2775 _ACEOF
2777 cat >>confdefs.h <<_ACEOF
2778 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2779 _ACEOF
2781 cat >>confdefs.h <<_ACEOF
2782 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2783 _ACEOF
2785 cat >>confdefs.h <<_ACEOF
2786 #define PACKAGE_STRING "$PACKAGE_STRING"
2787 _ACEOF
2789 cat >>confdefs.h <<_ACEOF
2790 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2791 _ACEOF
2793 cat >>confdefs.h <<_ACEOF
2794 #define PACKAGE_URL "$PACKAGE_URL"
2795 _ACEOF
2798 # Let the site file select an alternate cache file if it wants to.
2799 # Prefer an explicitly selected file to automatically selected ones.
2800 ac_site_file1=NONE
2801 ac_site_file2=NONE
2802 if test -n "$CONFIG_SITE"; then
2803 ac_site_file1=$CONFIG_SITE
2804 elif test "x$prefix" != xNONE; then
2805 ac_site_file1=$prefix/share/config.site
2806 ac_site_file2=$prefix/etc/config.site
2807 else
2808 ac_site_file1=$ac_default_prefix/share/config.site
2809 ac_site_file2=$ac_default_prefix/etc/config.site
2811 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2813 test "x$ac_site_file" = xNONE && continue
2814 if test -r "$ac_site_file"; then
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2816 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2817 sed 's/^/| /' "$ac_site_file" >&5
2818 . "$ac_site_file"
2820 done
2822 if test -r "$cache_file"; then
2823 # Some versions of bash will fail to source /dev/null (special
2824 # files actually), so we avoid doing that.
2825 if test -f "$cache_file"; then
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2827 $as_echo "$as_me: loading cache $cache_file" >&6;}
2828 case $cache_file in
2829 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2830 *) . "./$cache_file";;
2831 esac
2833 else
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2835 $as_echo "$as_me: creating cache $cache_file" >&6;}
2836 >$cache_file
2839 # Check that the precious variables saved in the cache have kept the same
2840 # value.
2841 ac_cache_corrupted=false
2842 for ac_var in $ac_precious_vars; do
2843 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2844 eval ac_new_set=\$ac_env_${ac_var}_set
2845 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2846 eval ac_new_val=\$ac_env_${ac_var}_value
2847 case $ac_old_set,$ac_new_set in
2848 set,)
2849 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2850 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2851 ac_cache_corrupted=: ;;
2852 ,set)
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2854 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2855 ac_cache_corrupted=: ;;
2856 ,);;
2858 if test "x$ac_old_val" != "x$ac_new_val"; then
2859 # differences in whitespace do not lead to failure.
2860 ac_old_val_w=`echo x $ac_old_val`
2861 ac_new_val_w=`echo x $ac_new_val`
2862 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2864 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2865 ac_cache_corrupted=:
2866 else
2867 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2868 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2869 eval $ac_var=\$ac_old_val
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2872 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2874 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2875 fi;;
2876 esac
2877 # Pass precious variables to config.status.
2878 if test "$ac_new_set" = set; then
2879 case $ac_new_val in
2880 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2881 *) ac_arg=$ac_var=$ac_new_val ;;
2882 esac
2883 case " $ac_configure_args " in
2884 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2885 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2886 esac
2888 done
2889 if $ac_cache_corrupted; then
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2891 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2893 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2894 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2896 ## -------------------- ##
2897 ## Main body of script. ##
2898 ## -------------------- ##
2900 ac_ext=c
2901 ac_cpp='$CPP $CPPFLAGS'
2902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2911 ac_config_headers="$ac_config_headers config.h"
2914 # This works around the fact that libtool configuration may change LD
2915 # for this particular configuration, but some shells, instead of
2916 # keeping the changes in LD private, export them just because LD is
2917 # exported. Only used at the end of this file.
2918 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2920 # Find the rest of the source tree framework.
2921 # Default to --enable-multilib
2922 # Check whether --enable-multilib was given.
2923 if test "${enable_multilib+set}" = set; then :
2924 enableval=$enable_multilib; case "$enableval" in
2925 yes) multilib=yes ;;
2926 no) multilib=no ;;
2927 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2928 esac
2929 else
2930 multilib=yes
2934 # We may get other options which we leave undocumented:
2935 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2936 # See config-ml.in if you want the gory details.
2938 if test "$srcdir" = "."; then
2939 if test "$with_target_subdir" != "."; then
2940 multi_basedir="$srcdir/$with_multisrctop../.."
2941 else
2942 multi_basedir="$srcdir/$with_multisrctop.."
2944 else
2945 multi_basedir="$srcdir/.."
2949 # Even if the default multilib is not a cross compilation,
2950 # it may be that some of the other multilibs are.
2951 if test $cross_compiling = no && test $multilib = yes \
2952 && test "x${with_multisubdir}" != x ; then
2953 cross_compiling=maybe
2956 ac_config_commands="$ac_config_commands default-1"
2959 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2961 # You will slowly go insane if you do not grok the following fact: when
2962 # building v3 as part of the compiler, the top-level /target/ becomes the
2963 # library's /host/. configure then causes --target to default to --host,
2964 # exactly like any other package using autoconf. Therefore, 'target' and
2965 # 'host' will always be the same. This makes sense both for native and
2966 # cross compilers, just think about it for a little while. :-)
2968 # Also, if v3 is being configured as part of a cross compiler, the top-level
2969 # configure script will pass the "real" host as $with_cross_host.
2971 # Do not delete or change the following two lines. For why, see
2972 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2973 ac_aux_dir=
2974 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2975 for ac_t in install-sh install.sh shtool; do
2976 if test -f "$ac_dir/$ac_t"; then
2977 ac_aux_dir=$ac_dir
2978 ac_install_sh="$ac_aux_dir/$ac_t -c"
2979 break 2
2981 done
2982 done
2983 if test -z "$ac_aux_dir"; then
2984 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2987 # These three variables are undocumented and unsupported,
2988 # and are intended to be withdrawn in a future Autoconf release.
2989 # They can cause serious problems if a builder's source tree is in a directory
2990 # whose full name contains unusual characters.
2991 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2992 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2993 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2996 # Make sure we can run config.sub.
2997 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2998 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3001 $as_echo_n "checking build system type... " >&6; }
3002 if test "${ac_cv_build+set}" = set; then :
3003 $as_echo_n "(cached) " >&6
3004 else
3005 ac_build_alias=$build_alias
3006 test "x$ac_build_alias" = x &&
3007 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3008 test "x$ac_build_alias" = x &&
3009 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3010 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3011 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3015 $as_echo "$ac_cv_build" >&6; }
3016 case $ac_cv_build in
3017 *-*-*) ;;
3018 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3019 esac
3020 build=$ac_cv_build
3021 ac_save_IFS=$IFS; IFS='-'
3022 set x $ac_cv_build
3023 shift
3024 build_cpu=$1
3025 build_vendor=$2
3026 shift; shift
3027 # Remember, the first character of IFS is used to create $*,
3028 # except with old shells:
3029 build_os=$*
3030 IFS=$ac_save_IFS
3031 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3035 $as_echo_n "checking host system type... " >&6; }
3036 if test "${ac_cv_host+set}" = set; then :
3037 $as_echo_n "(cached) " >&6
3038 else
3039 if test "x$host_alias" = x; then
3040 ac_cv_host=$ac_cv_build
3041 else
3042 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3043 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3048 $as_echo "$ac_cv_host" >&6; }
3049 case $ac_cv_host in
3050 *-*-*) ;;
3051 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3052 esac
3053 host=$ac_cv_host
3054 ac_save_IFS=$IFS; IFS='-'
3055 set x $ac_cv_host
3056 shift
3057 host_cpu=$1
3058 host_vendor=$2
3059 shift; shift
3060 # Remember, the first character of IFS is used to create $*,
3061 # except with old shells:
3062 host_os=$*
3063 IFS=$ac_save_IFS
3064 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3068 $as_echo_n "checking target system type... " >&6; }
3069 if test "${ac_cv_target+set}" = set; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 if test "x$target_alias" = x; then
3073 ac_cv_target=$ac_cv_host
3074 else
3075 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3076 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3081 $as_echo "$ac_cv_target" >&6; }
3082 case $ac_cv_target in
3083 *-*-*) ;;
3084 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3085 esac
3086 target=$ac_cv_target
3087 ac_save_IFS=$IFS; IFS='-'
3088 set x $ac_cv_target
3089 shift
3090 target_cpu=$1
3091 target_vendor=$2
3092 shift; shift
3093 # Remember, the first character of IFS is used to create $*,
3094 # except with old shells:
3095 target_os=$*
3096 IFS=$ac_save_IFS
3097 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3100 # The aliases save the names the user supplied, while $host etc.
3101 # will get canonicalized.
3102 test -n "$target_alias" &&
3103 test "$program_prefix$program_suffix$program_transform_name" = \
3104 NONENONEs,x,x, &&
3105 program_prefix=${target_alias}-
3107 target_alias=${target_alias-$host_alias}
3109 # Handy for debugging:
3110 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3112 if test "$build" != "$host"; then
3113 # We are being configured with some form of cross compiler.
3114 GLIBCXX_IS_NATIVE=false
3115 case "$host","$target" in
3116 # Darwin crosses can use the host system's libraries and headers,
3117 # because of the fat library support. Of course, it must be the
3118 # same version of Darwin on both sides. Allow the user to
3119 # just say --target=foo-darwin without a version number to mean
3120 # "the version on this system".
3121 *-*-darwin*,*-*-darwin*)
3122 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3123 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3124 if test $hostos = $targetos -o $targetos = darwin ; then
3125 GLIBCXX_IS_NATIVE=true
3132 esac
3133 else
3134 GLIBCXX_IS_NATIVE=true
3137 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3138 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3139 # 1.x: minimum required version
3140 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3141 # of other PACKAGE_* variables will, however, and there's nothing
3142 # we can do about that; they come from AC_INIT).
3143 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3144 # file in the top srcdir, etc, etc), so stop complaining.
3145 # no-dependencies: turns off auto dependency generation (just for now)
3146 # no-dist: we don't want 'dist' and related rules.
3147 # -Wall: turns on all automake warnings...
3148 # -Wno-portability: ...except this one, since GNU make is now required.
3149 am__api_version='1.11'
3151 # Find a good install program. We prefer a C program (faster),
3152 # so one script is as good as another. But avoid the broken or
3153 # incompatible versions:
3154 # SysV /etc/install, /usr/sbin/install
3155 # SunOS /usr/etc/install
3156 # IRIX /sbin/install
3157 # AIX /bin/install
3158 # AmigaOS /C/install, which installs bootblocks on floppy discs
3159 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3160 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3161 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3162 # OS/2's system install, which has a completely different semantic
3163 # ./install, which can be erroneously created by make from ./install.sh.
3164 # Reject install programs that cannot install multiple files.
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3166 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3167 if test -z "$INSTALL"; then
3168 if test "${ac_cv_path_install+set}" = set; then :
3169 $as_echo_n "(cached) " >&6
3170 else
3171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3172 for as_dir in $PATH
3174 IFS=$as_save_IFS
3175 test -z "$as_dir" && as_dir=.
3176 # Account for people who put trailing slashes in PATH elements.
3177 case $as_dir/ in #((
3178 ./ | .// | /[cC]/* | \
3179 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3180 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3181 /usr/ucb/* ) ;;
3183 # OSF1 and SCO ODT 3.0 have their own names for install.
3184 # Don't use installbsd from OSF since it installs stuff as root
3185 # by default.
3186 for ac_prog in ginstall scoinst install; do
3187 for ac_exec_ext in '' $ac_executable_extensions; do
3188 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3189 if test $ac_prog = install &&
3190 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3191 # AIX install. It has an incompatible calling convention.
3193 elif test $ac_prog = install &&
3194 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3195 # program-specific install script used by HP pwplus--don't use.
3197 else
3198 rm -rf conftest.one conftest.two conftest.dir
3199 echo one > conftest.one
3200 echo two > conftest.two
3201 mkdir conftest.dir
3202 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3203 test -s conftest.one && test -s conftest.two &&
3204 test -s conftest.dir/conftest.one &&
3205 test -s conftest.dir/conftest.two
3206 then
3207 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3208 break 3
3212 done
3213 done
3215 esac
3217 done
3218 IFS=$as_save_IFS
3220 rm -rf conftest.one conftest.two conftest.dir
3223 if test "${ac_cv_path_install+set}" = set; then
3224 INSTALL=$ac_cv_path_install
3225 else
3226 # As a last resort, use the slow shell script. Don't cache a
3227 # value for INSTALL within a source directory, because that will
3228 # break other packages using the cache if that directory is
3229 # removed, or if the value is a relative name.
3230 INSTALL=$ac_install_sh
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3234 $as_echo "$INSTALL" >&6; }
3236 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3237 # It thinks the first close brace ends the variable substitution.
3238 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3240 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3242 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3245 $as_echo_n "checking whether build environment is sane... " >&6; }
3246 # Just in case
3247 sleep 1
3248 echo timestamp > conftest.file
3249 # Reject unsafe characters in $srcdir or the absolute working directory
3250 # name. Accept space and tab only in the latter.
3251 am_lf='
3253 case `pwd` in
3254 *[\\\"\#\$\&\'\`$am_lf]*)
3255 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3256 esac
3257 case $srcdir in
3258 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3259 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3260 esac
3262 # Do `set' in a subshell so we don't clobber the current shell's
3263 # arguments. Must try -L first in case configure is actually a
3264 # symlink; some systems play weird games with the mod time of symlinks
3265 # (eg FreeBSD returns the mod time of the symlink's containing
3266 # directory).
3267 if (
3268 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3269 if test "$*" = "X"; then
3270 # -L didn't work.
3271 set X `ls -t "$srcdir/configure" conftest.file`
3273 rm -f conftest.file
3274 if test "$*" != "X $srcdir/configure conftest.file" \
3275 && test "$*" != "X conftest.file $srcdir/configure"; then
3277 # If neither matched, then we have a broken ls. This can happen
3278 # if, for instance, CONFIG_SHELL is bash and it inherits a
3279 # broken ls alias from the environment. This has actually
3280 # happened. Such a system could not be considered "sane".
3281 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3282 alias in your environment" "$LINENO" 5
3285 test "$2" = conftest.file
3287 then
3288 # Ok.
3290 else
3291 as_fn_error "newly created file is older than distributed files!
3292 Check your system clock" "$LINENO" 5
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3295 $as_echo "yes" >&6; }
3296 test "$program_prefix" != NONE &&
3297 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3298 # Use a double $ so make ignores it.
3299 test "$program_suffix" != NONE &&
3300 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3301 # Double any \ or $.
3302 # By default was `s,x,x', remove it if useless.
3303 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3304 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3306 # expand $ac_aux_dir to an absolute path
3307 am_aux_dir=`cd $ac_aux_dir && pwd`
3309 if test x"${MISSING+set}" != xset; then
3310 case $am_aux_dir in
3311 *\ * | *\ *)
3312 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3314 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3315 esac
3317 # Use eval to expand $SHELL
3318 if eval "$MISSING --run true"; then
3319 am_missing_run="$MISSING --run "
3320 else
3321 am_missing_run=
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3323 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3326 if test x"${install_sh}" != xset; then
3327 case $am_aux_dir in
3328 *\ * | *\ *)
3329 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3331 install_sh="\${SHELL} $am_aux_dir/install-sh"
3332 esac
3335 # Installed binaries are usually stripped using `strip' when the user
3336 # run `make install-strip'. However `strip' might not be the right
3337 # tool to use in cross-compilation environments, therefore Automake
3338 # will honor the `STRIP' environment variable to overrule this program.
3339 if test "$cross_compiling" != no; then
3340 if test -n "$ac_tool_prefix"; then
3341 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3342 set dummy ${ac_tool_prefix}strip; ac_word=$2
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3344 $as_echo_n "checking for $ac_word... " >&6; }
3345 if test "${ac_cv_prog_STRIP+set}" = set; then :
3346 $as_echo_n "(cached) " >&6
3347 else
3348 if test -n "$STRIP"; then
3349 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3350 else
3351 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3352 for as_dir in $PATH
3354 IFS=$as_save_IFS
3355 test -z "$as_dir" && as_dir=.
3356 for ac_exec_ext in '' $ac_executable_extensions; do
3357 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3358 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3359 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3360 break 2
3362 done
3363 done
3364 IFS=$as_save_IFS
3368 STRIP=$ac_cv_prog_STRIP
3369 if test -n "$STRIP"; then
3370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3371 $as_echo "$STRIP" >&6; }
3372 else
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3374 $as_echo "no" >&6; }
3379 if test -z "$ac_cv_prog_STRIP"; then
3380 ac_ct_STRIP=$STRIP
3381 # Extract the first word of "strip", so it can be a program name with args.
3382 set dummy strip; ac_word=$2
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3384 $as_echo_n "checking for $ac_word... " >&6; }
3385 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3386 $as_echo_n "(cached) " >&6
3387 else
3388 if test -n "$ac_ct_STRIP"; then
3389 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3390 else
3391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 for as_dir in $PATH
3394 IFS=$as_save_IFS
3395 test -z "$as_dir" && as_dir=.
3396 for ac_exec_ext in '' $ac_executable_extensions; do
3397 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3398 ac_cv_prog_ac_ct_STRIP="strip"
3399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3400 break 2
3402 done
3403 done
3404 IFS=$as_save_IFS
3408 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3409 if test -n "$ac_ct_STRIP"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3411 $as_echo "$ac_ct_STRIP" >&6; }
3412 else
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3417 if test "x$ac_ct_STRIP" = x; then
3418 STRIP=":"
3419 else
3420 case $cross_compiling:$ac_tool_warned in
3421 yes:)
3422 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3423 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3424 ac_tool_warned=yes ;;
3425 esac
3426 STRIP=$ac_ct_STRIP
3428 else
3429 STRIP="$ac_cv_prog_STRIP"
3433 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3436 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3437 if test -z "$MKDIR_P"; then
3438 if test "${ac_cv_path_mkdir+set}" = set; then :
3439 $as_echo_n "(cached) " >&6
3440 else
3441 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3442 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3444 IFS=$as_save_IFS
3445 test -z "$as_dir" && as_dir=.
3446 for ac_prog in mkdir gmkdir; do
3447 for ac_exec_ext in '' $ac_executable_extensions; do
3448 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3449 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3450 'mkdir (GNU coreutils) '* | \
3451 'mkdir (coreutils) '* | \
3452 'mkdir (fileutils) '4.1*)
3453 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3454 break 3;;
3455 esac
3456 done
3457 done
3458 done
3459 IFS=$as_save_IFS
3463 if test "${ac_cv_path_mkdir+set}" = set; then
3464 MKDIR_P="$ac_cv_path_mkdir -p"
3465 else
3466 # As a last resort, use the slow shell script. Don't cache a
3467 # value for MKDIR_P within a source directory, because that will
3468 # break other packages using the cache if that directory is
3469 # removed, or if the value is a relative name.
3470 test -d ./--version && rmdir ./--version
3471 MKDIR_P="$ac_install_sh -d"
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3475 $as_echo "$MKDIR_P" >&6; }
3477 mkdir_p="$MKDIR_P"
3478 case $mkdir_p in
3479 [\\/$]* | ?:[\\/]*) ;;
3480 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3481 esac
3483 for ac_prog in gawk mawk nawk awk
3485 # Extract the first word of "$ac_prog", so it can be a program name with args.
3486 set dummy $ac_prog; ac_word=$2
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3488 $as_echo_n "checking for $ac_word... " >&6; }
3489 if test "${ac_cv_prog_AWK+set}" = set; then :
3490 $as_echo_n "(cached) " >&6
3491 else
3492 if test -n "$AWK"; then
3493 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3494 else
3495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3496 for as_dir in $PATH
3498 IFS=$as_save_IFS
3499 test -z "$as_dir" && as_dir=.
3500 for ac_exec_ext in '' $ac_executable_extensions; do
3501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3502 ac_cv_prog_AWK="$ac_prog"
3503 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 break 2
3506 done
3507 done
3508 IFS=$as_save_IFS
3512 AWK=$ac_cv_prog_AWK
3513 if test -n "$AWK"; then
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3515 $as_echo "$AWK" >&6; }
3516 else
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3518 $as_echo "no" >&6; }
3522 test -n "$AWK" && break
3523 done
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3526 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3527 set x ${MAKE-make}
3528 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3529 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3530 $as_echo_n "(cached) " >&6
3531 else
3532 cat >conftest.make <<\_ACEOF
3533 SHELL = /bin/sh
3534 all:
3535 @echo '@@@%%%=$(MAKE)=@@@%%%'
3536 _ACEOF
3537 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3538 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3539 *@@@%%%=?*=@@@%%%*)
3540 eval ac_cv_prog_make_${ac_make}_set=yes;;
3542 eval ac_cv_prog_make_${ac_make}_set=no;;
3543 esac
3544 rm -f conftest.make
3546 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3548 $as_echo "yes" >&6; }
3549 SET_MAKE=
3550 else
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 SET_MAKE="MAKE=${MAKE-make}"
3556 rm -rf .tst 2>/dev/null
3557 mkdir .tst 2>/dev/null
3558 if test -d .tst; then
3559 am__leading_dot=.
3560 else
3561 am__leading_dot=_
3563 rmdir .tst 2>/dev/null
3565 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3566 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3567 # is not polluted with repeated "-I."
3568 am__isrc=' -I$(srcdir)'
3569 # test to see if srcdir already configured
3570 if test -f $srcdir/config.status; then
3571 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3575 # test whether we have cygpath
3576 if test -z "$CYGPATH_W"; then
3577 if (cygpath --version) >/dev/null 2>/dev/null; then
3578 CYGPATH_W='cygpath -w'
3579 else
3580 CYGPATH_W=echo
3585 # Define the identity of the package.
3586 PACKAGE='libstdc++'
3587 VERSION='version-unused'
3590 # Some tools Automake needs.
3592 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3595 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3598 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3601 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3604 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3606 # We need awk for the "check" target. The system "awk" is bad on
3607 # some platforms.
3608 # Always define AMTAR for backward compatibility. Yes, it's still used
3609 # in the wild :-( We should find a proper way to deprecate it ...
3610 AMTAR='$${TAR-tar}'
3612 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3621 # -fno-builtin must be present here so that a non-conflicting form of
3622 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3624 save_CXXFLAGS="$CXXFLAGS"
3625 CXXFLAGS="$CXXFLAGS -fno-builtin"
3626 ac_ext=c
3627 ac_cpp='$CPP $CPPFLAGS'
3628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 if test -n "$ac_tool_prefix"; then
3632 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3633 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3635 $as_echo_n "checking for $ac_word... " >&6; }
3636 if test "${ac_cv_prog_CC+set}" = set; then :
3637 $as_echo_n "(cached) " >&6
3638 else
3639 if test -n "$CC"; then
3640 ac_cv_prog_CC="$CC" # Let the user override the test.
3641 else
3642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3643 for as_dir in $PATH
3645 IFS=$as_save_IFS
3646 test -z "$as_dir" && as_dir=.
3647 for ac_exec_ext in '' $ac_executable_extensions; do
3648 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3649 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3651 break 2
3653 done
3654 done
3655 IFS=$as_save_IFS
3659 CC=$ac_cv_prog_CC
3660 if test -n "$CC"; then
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3662 $as_echo "$CC" >&6; }
3663 else
3664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3665 $as_echo "no" >&6; }
3670 if test -z "$ac_cv_prog_CC"; then
3671 ac_ct_CC=$CC
3672 # Extract the first word of "gcc", so it can be a program name with args.
3673 set dummy gcc; ac_word=$2
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3675 $as_echo_n "checking for $ac_word... " >&6; }
3676 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3677 $as_echo_n "(cached) " >&6
3678 else
3679 if test -n "$ac_ct_CC"; then
3680 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3681 else
3682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3683 for as_dir in $PATH
3685 IFS=$as_save_IFS
3686 test -z "$as_dir" && as_dir=.
3687 for ac_exec_ext in '' $ac_executable_extensions; do
3688 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3689 ac_cv_prog_ac_ct_CC="gcc"
3690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3691 break 2
3693 done
3694 done
3695 IFS=$as_save_IFS
3699 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3700 if test -n "$ac_ct_CC"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3702 $as_echo "$ac_ct_CC" >&6; }
3703 else
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3705 $as_echo "no" >&6; }
3708 if test "x$ac_ct_CC" = x; then
3709 CC=""
3710 else
3711 case $cross_compiling:$ac_tool_warned in
3712 yes:)
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3714 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3715 ac_tool_warned=yes ;;
3716 esac
3717 CC=$ac_ct_CC
3719 else
3720 CC="$ac_cv_prog_CC"
3723 if test -z "$CC"; then
3724 if test -n "$ac_tool_prefix"; then
3725 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3726 set dummy ${ac_tool_prefix}cc; ac_word=$2
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3728 $as_echo_n "checking for $ac_word... " >&6; }
3729 if test "${ac_cv_prog_CC+set}" = set; then :
3730 $as_echo_n "(cached) " >&6
3731 else
3732 if test -n "$CC"; then
3733 ac_cv_prog_CC="$CC" # Let the user override the test.
3734 else
3735 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 for as_dir in $PATH
3738 IFS=$as_save_IFS
3739 test -z "$as_dir" && as_dir=.
3740 for ac_exec_ext in '' $ac_executable_extensions; do
3741 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3742 ac_cv_prog_CC="${ac_tool_prefix}cc"
3743 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3744 break 2
3746 done
3747 done
3748 IFS=$as_save_IFS
3752 CC=$ac_cv_prog_CC
3753 if test -n "$CC"; then
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3755 $as_echo "$CC" >&6; }
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3758 $as_echo "no" >&6; }
3764 if test -z "$CC"; then
3765 # Extract the first word of "cc", so it can be a program name with args.
3766 set dummy cc; ac_word=$2
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3768 $as_echo_n "checking for $ac_word... " >&6; }
3769 if test "${ac_cv_prog_CC+set}" = set; then :
3770 $as_echo_n "(cached) " >&6
3771 else
3772 if test -n "$CC"; then
3773 ac_cv_prog_CC="$CC" # Let the user override the test.
3774 else
3775 ac_prog_rejected=no
3776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3777 for as_dir in $PATH
3779 IFS=$as_save_IFS
3780 test -z "$as_dir" && as_dir=.
3781 for ac_exec_ext in '' $ac_executable_extensions; do
3782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3783 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3784 ac_prog_rejected=yes
3785 continue
3787 ac_cv_prog_CC="cc"
3788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3789 break 2
3791 done
3792 done
3793 IFS=$as_save_IFS
3795 if test $ac_prog_rejected = yes; then
3796 # We found a bogon in the path, so make sure we never use it.
3797 set dummy $ac_cv_prog_CC
3798 shift
3799 if test $# != 0; then
3800 # We chose a different compiler from the bogus one.
3801 # However, it has the same basename, so the bogon will be chosen
3802 # first if we set CC to just the basename; use the full file name.
3803 shift
3804 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3809 CC=$ac_cv_prog_CC
3810 if test -n "$CC"; then
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3812 $as_echo "$CC" >&6; }
3813 else
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3815 $as_echo "no" >&6; }
3820 if test -z "$CC"; then
3821 if test -n "$ac_tool_prefix"; then
3822 for ac_prog in cl.exe
3824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3827 $as_echo_n "checking for $ac_word... " >&6; }
3828 if test "${ac_cv_prog_CC+set}" = set; then :
3829 $as_echo_n "(cached) " >&6
3830 else
3831 if test -n "$CC"; then
3832 ac_cv_prog_CC="$CC" # Let the user override the test.
3833 else
3834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3835 for as_dir in $PATH
3837 IFS=$as_save_IFS
3838 test -z "$as_dir" && as_dir=.
3839 for ac_exec_ext in '' $ac_executable_extensions; do
3840 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3841 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3843 break 2
3845 done
3846 done
3847 IFS=$as_save_IFS
3851 CC=$ac_cv_prog_CC
3852 if test -n "$CC"; then
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3854 $as_echo "$CC" >&6; }
3855 else
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3857 $as_echo "no" >&6; }
3861 test -n "$CC" && break
3862 done
3864 if test -z "$CC"; then
3865 ac_ct_CC=$CC
3866 for ac_prog in cl.exe
3868 # Extract the first word of "$ac_prog", so it can be a program name with args.
3869 set dummy $ac_prog; ac_word=$2
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3871 $as_echo_n "checking for $ac_word... " >&6; }
3872 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3873 $as_echo_n "(cached) " >&6
3874 else
3875 if test -n "$ac_ct_CC"; then
3876 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3877 else
3878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3879 for as_dir in $PATH
3881 IFS=$as_save_IFS
3882 test -z "$as_dir" && as_dir=.
3883 for ac_exec_ext in '' $ac_executable_extensions; do
3884 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3885 ac_cv_prog_ac_ct_CC="$ac_prog"
3886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 break 2
3889 done
3890 done
3891 IFS=$as_save_IFS
3895 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3896 if test -n "$ac_ct_CC"; then
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3898 $as_echo "$ac_ct_CC" >&6; }
3899 else
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3901 $as_echo "no" >&6; }
3905 test -n "$ac_ct_CC" && break
3906 done
3908 if test "x$ac_ct_CC" = x; then
3909 CC=""
3910 else
3911 case $cross_compiling:$ac_tool_warned in
3912 yes:)
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3915 ac_tool_warned=yes ;;
3916 esac
3917 CC=$ac_ct_CC
3924 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3925 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3926 as_fn_error "no acceptable C compiler found in \$PATH
3927 See \`config.log' for more details." "$LINENO" 5; }
3929 # Provide some information about the compiler.
3930 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3931 set X $ac_compile
3932 ac_compiler=$2
3933 for ac_option in --version -v -V -qversion; do
3934 { { ac_try="$ac_compiler $ac_option >&5"
3935 case "(($ac_try" in
3936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3937 *) ac_try_echo=$ac_try;;
3938 esac
3939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3940 $as_echo "$ac_try_echo"; } >&5
3941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3942 ac_status=$?
3943 if test -s conftest.err; then
3944 sed '10a\
3945 ... rest of stderr output deleted ...
3946 10q' conftest.err >conftest.er1
3947 cat conftest.er1 >&5
3948 rm -f conftest.er1 conftest.err
3950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3951 test $ac_status = 0; }
3952 done
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3958 main ()
3962 return 0;
3964 _ACEOF
3965 # FIXME: Cleanup?
3966 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3967 (eval $ac_link) 2>&5
3968 ac_status=$?
3969 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3970 test $ac_status = 0; }; then :
3971 gcc_no_link=no
3972 else
3973 gcc_no_link=yes
3975 if test x$gcc_no_link = xyes; then
3976 # Setting cross_compile will disable run tests; it will
3977 # also disable AC_CHECK_FILE but that's generally
3978 # correct if we can't link.
3979 cross_compiling=yes
3980 EXEEXT=
3981 else
3982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3983 /* end confdefs.h. */
3986 main ()
3990 return 0;
3992 _ACEOF
3993 ac_clean_files_save=$ac_clean_files
3994 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3995 # Try to create an executable without -o first, disregard a.out.
3996 # It will help us diagnose broken compilers, and finding out an intuition
3997 # of exeext.
3998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3999 $as_echo_n "checking for C compiler default output file name... " >&6; }
4000 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4002 # The possible output files:
4003 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4005 ac_rmfiles=
4006 for ac_file in $ac_files
4008 case $ac_file in
4009 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4010 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4011 esac
4012 done
4013 rm -f $ac_rmfiles
4015 if { { ac_try="$ac_link_default"
4016 case "(($ac_try" in
4017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4018 *) ac_try_echo=$ac_try;;
4019 esac
4020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4021 $as_echo "$ac_try_echo"; } >&5
4022 (eval "$ac_link_default") 2>&5
4023 ac_status=$?
4024 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4025 test $ac_status = 0; }; then :
4026 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4027 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4028 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4029 # so that the user can short-circuit this test for compilers unknown to
4030 # Autoconf.
4031 for ac_file in $ac_files ''
4033 test -f "$ac_file" || continue
4034 case $ac_file in
4035 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4037 [ab].out )
4038 # We found the default executable, but exeext='' is most
4039 # certainly right.
4040 break;;
4041 *.* )
4042 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4043 then :; else
4044 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4046 # We set ac_cv_exeext here because the later test for it is not
4047 # safe: cross compilers may not add the suffix if given an `-o'
4048 # argument, so we may need to know it at that point already.
4049 # Even if this section looks crufty: it has the advantage of
4050 # actually working.
4051 break;;
4053 break;;
4054 esac
4055 done
4056 test "$ac_cv_exeext" = no && ac_cv_exeext=
4058 else
4059 ac_file=''
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4062 $as_echo "$ac_file" >&6; }
4063 if test -z "$ac_file"; then :
4064 $as_echo "$as_me: failed program was:" >&5
4065 sed 's/^/| /' conftest.$ac_ext >&5
4067 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { as_fn_set_status 77
4070 as_fn_error "C compiler cannot create executables
4071 See \`config.log' for more details." "$LINENO" 5; }; }
4073 ac_exeext=$ac_cv_exeext
4075 # Check that the compiler produces executables we can run. If not, either
4076 # the compiler is broken, or we cross compile.
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4078 $as_echo_n "checking whether the C compiler works... " >&6; }
4079 # If not cross compiling, check that we can run a simple program.
4080 if test "$cross_compiling" != yes; then
4081 if { ac_try='./$ac_file'
4082 { { case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4087 $as_echo "$ac_try_echo"; } >&5
4088 (eval "$ac_try") 2>&5
4089 ac_status=$?
4090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4091 test $ac_status = 0; }; }; then
4092 cross_compiling=no
4093 else
4094 if test "$cross_compiling" = maybe; then
4095 cross_compiling=yes
4096 else
4097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4099 as_fn_error "cannot run C compiled programs.
4100 If you meant to cross compile, use \`--host'.
4101 See \`config.log' for more details." "$LINENO" 5; }
4105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4106 $as_echo "yes" >&6; }
4108 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4109 ac_clean_files=$ac_clean_files_save
4110 # Check that the compiler produces executables we can run. If not, either
4111 # the compiler is broken, or we cross compile.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4113 $as_echo_n "checking whether we are cross compiling... " >&6; }
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4115 $as_echo "$cross_compiling" >&6; }
4117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4118 $as_echo_n "checking for suffix of executables... " >&6; }
4119 if { { ac_try="$ac_link"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4125 $as_echo "$ac_try_echo"; } >&5
4126 (eval "$ac_link") 2>&5
4127 ac_status=$?
4128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4129 test $ac_status = 0; }; then :
4130 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4131 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4132 # work properly (i.e., refer to `conftest.exe'), while it won't with
4133 # `rm'.
4134 for ac_file in conftest.exe conftest conftest.*; do
4135 test -f "$ac_file" || continue
4136 case $ac_file in
4137 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4138 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4139 break;;
4140 * ) break;;
4141 esac
4142 done
4143 else
4144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4146 as_fn_error "cannot compute suffix of executables: cannot compile and link
4147 See \`config.log' for more details." "$LINENO" 5; }
4149 rm -f conftest$ac_cv_exeext
4150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4151 $as_echo "$ac_cv_exeext" >&6; }
4153 rm -f conftest.$ac_ext
4154 EXEEXT=$ac_cv_exeext
4155 ac_exeext=$EXEEXT
4157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4158 $as_echo_n "checking for suffix of object files... " >&6; }
4159 if test "${ac_cv_objext+set}" = set; then :
4160 $as_echo_n "(cached) " >&6
4161 else
4162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4163 /* end confdefs.h. */
4166 main ()
4170 return 0;
4172 _ACEOF
4173 rm -f conftest.o conftest.obj
4174 if { { ac_try="$ac_compile"
4175 case "(($ac_try" in
4176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4177 *) ac_try_echo=$ac_try;;
4178 esac
4179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4180 $as_echo "$ac_try_echo"; } >&5
4181 (eval "$ac_compile") 2>&5
4182 ac_status=$?
4183 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4184 test $ac_status = 0; }; then :
4185 for ac_file in conftest.o conftest.obj conftest.*; do
4186 test -f "$ac_file" || continue;
4187 case $ac_file in
4188 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4189 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4190 break;;
4191 esac
4192 done
4193 else
4194 $as_echo "$as_me: failed program was:" >&5
4195 sed 's/^/| /' conftest.$ac_ext >&5
4197 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4198 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4199 as_fn_error "cannot compute suffix of object files: cannot compile
4200 See \`config.log' for more details." "$LINENO" 5; }
4202 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4205 $as_echo "$ac_cv_objext" >&6; }
4206 OBJEXT=$ac_cv_objext
4207 ac_objext=$OBJEXT
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4209 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4210 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4211 $as_echo_n "(cached) " >&6
4212 else
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4217 main ()
4219 #ifndef __GNUC__
4220 choke me
4221 #endif
4224 return 0;
4226 _ACEOF
4227 if ac_fn_c_try_compile "$LINENO"; then :
4228 ac_compiler_gnu=yes
4229 else
4230 ac_compiler_gnu=no
4232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4233 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4237 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4238 if test $ac_compiler_gnu = yes; then
4239 GCC=yes
4240 else
4241 GCC=
4243 ac_test_CFLAGS=${CFLAGS+set}
4244 ac_save_CFLAGS=$CFLAGS
4245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4246 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4247 if test "${ac_cv_prog_cc_g+set}" = set; then :
4248 $as_echo_n "(cached) " >&6
4249 else
4250 ac_save_c_werror_flag=$ac_c_werror_flag
4251 ac_c_werror_flag=yes
4252 ac_cv_prog_cc_g=no
4253 CFLAGS="-g"
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4258 main ()
4262 return 0;
4264 _ACEOF
4265 if ac_fn_c_try_compile "$LINENO"; then :
4266 ac_cv_prog_cc_g=yes
4267 else
4268 CFLAGS=""
4269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4270 /* end confdefs.h. */
4273 main ()
4277 return 0;
4279 _ACEOF
4280 if ac_fn_c_try_compile "$LINENO"; then :
4282 else
4283 ac_c_werror_flag=$ac_save_c_werror_flag
4284 CFLAGS="-g"
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4289 main ()
4293 return 0;
4295 _ACEOF
4296 if ac_fn_c_try_compile "$LINENO"; then :
4297 ac_cv_prog_cc_g=yes
4299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4304 ac_c_werror_flag=$ac_save_c_werror_flag
4306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4307 $as_echo "$ac_cv_prog_cc_g" >&6; }
4308 if test "$ac_test_CFLAGS" = set; then
4309 CFLAGS=$ac_save_CFLAGS
4310 elif test $ac_cv_prog_cc_g = yes; then
4311 if test "$GCC" = yes; then
4312 CFLAGS="-g -O2"
4313 else
4314 CFLAGS="-g"
4316 else
4317 if test "$GCC" = yes; then
4318 CFLAGS="-O2"
4319 else
4320 CFLAGS=
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4324 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4325 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4326 $as_echo_n "(cached) " >&6
4327 else
4328 ac_cv_prog_cc_c89=no
4329 ac_save_CC=$CC
4330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4331 /* end confdefs.h. */
4332 #include <stdarg.h>
4333 #include <stdio.h>
4334 #include <sys/types.h>
4335 #include <sys/stat.h>
4336 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4337 struct buf { int x; };
4338 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4339 static char *e (p, i)
4340 char **p;
4341 int i;
4343 return p[i];
4345 static char *f (char * (*g) (char **, int), char **p, ...)
4347 char *s;
4348 va_list v;
4349 va_start (v,p);
4350 s = g (p, va_arg (v,int));
4351 va_end (v);
4352 return s;
4355 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4356 function prototypes and stuff, but not '\xHH' hex character constants.
4357 These don't provoke an error unfortunately, instead are silently treated
4358 as 'x'. The following induces an error, until -std is added to get
4359 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4360 array size at least. It's necessary to write '\x00'==0 to get something
4361 that's true only with -std. */
4362 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4364 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4365 inside strings and character constants. */
4366 #define FOO(x) 'x'
4367 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4369 int test (int i, double x);
4370 struct s1 {int (*f) (int a);};
4371 struct s2 {int (*f) (double a);};
4372 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4373 int argc;
4374 char **argv;
4376 main ()
4378 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4380 return 0;
4382 _ACEOF
4383 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4384 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4386 CC="$ac_save_CC $ac_arg"
4387 if ac_fn_c_try_compile "$LINENO"; then :
4388 ac_cv_prog_cc_c89=$ac_arg
4390 rm -f core conftest.err conftest.$ac_objext
4391 test "x$ac_cv_prog_cc_c89" != "xno" && break
4392 done
4393 rm -f conftest.$ac_ext
4394 CC=$ac_save_CC
4397 # AC_CACHE_VAL
4398 case "x$ac_cv_prog_cc_c89" in
4400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4401 $as_echo "none needed" >&6; } ;;
4402 xno)
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4404 $as_echo "unsupported" >&6; } ;;
4406 CC="$CC $ac_cv_prog_cc_c89"
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4408 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4409 esac
4410 if test "x$ac_cv_prog_cc_c89" != xno; then :
4414 ac_ext=c
4415 ac_cpp='$CPP $CPPFLAGS'
4416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4420 ac_ext=cpp
4421 ac_cpp='$CXXCPP $CPPFLAGS'
4422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4425 if test -z "$CXX"; then
4426 if test -n "$CCC"; then
4427 CXX=$CCC
4428 else
4429 if test -n "$ac_tool_prefix"; then
4430 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4432 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4433 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4435 $as_echo_n "checking for $ac_word... " >&6; }
4436 if test "${ac_cv_prog_CXX+set}" = set; then :
4437 $as_echo_n "(cached) " >&6
4438 else
4439 if test -n "$CXX"; then
4440 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4441 else
4442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4443 for as_dir in $PATH
4445 IFS=$as_save_IFS
4446 test -z "$as_dir" && as_dir=.
4447 for ac_exec_ext in '' $ac_executable_extensions; do
4448 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4449 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4451 break 2
4453 done
4454 done
4455 IFS=$as_save_IFS
4459 CXX=$ac_cv_prog_CXX
4460 if test -n "$CXX"; then
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4462 $as_echo "$CXX" >&6; }
4463 else
4464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4465 $as_echo "no" >&6; }
4469 test -n "$CXX" && break
4470 done
4472 if test -z "$CXX"; then
4473 ac_ct_CXX=$CXX
4474 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4476 # Extract the first word of "$ac_prog", so it can be a program name with args.
4477 set dummy $ac_prog; ac_word=$2
4478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4479 $as_echo_n "checking for $ac_word... " >&6; }
4480 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4481 $as_echo_n "(cached) " >&6
4482 else
4483 if test -n "$ac_ct_CXX"; then
4484 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4485 else
4486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4487 for as_dir in $PATH
4489 IFS=$as_save_IFS
4490 test -z "$as_dir" && as_dir=.
4491 for ac_exec_ext in '' $ac_executable_extensions; do
4492 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4493 ac_cv_prog_ac_ct_CXX="$ac_prog"
4494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4495 break 2
4497 done
4498 done
4499 IFS=$as_save_IFS
4503 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4504 if test -n "$ac_ct_CXX"; then
4505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4506 $as_echo "$ac_ct_CXX" >&6; }
4507 else
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4509 $as_echo "no" >&6; }
4513 test -n "$ac_ct_CXX" && break
4514 done
4516 if test "x$ac_ct_CXX" = x; then
4517 CXX="g++"
4518 else
4519 case $cross_compiling:$ac_tool_warned in
4520 yes:)
4521 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4522 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4523 ac_tool_warned=yes ;;
4524 esac
4525 CXX=$ac_ct_CXX
4531 # Provide some information about the compiler.
4532 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4533 set X $ac_compile
4534 ac_compiler=$2
4535 for ac_option in --version -v -V -qversion; do
4536 { { ac_try="$ac_compiler $ac_option >&5"
4537 case "(($ac_try" in
4538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4539 *) ac_try_echo=$ac_try;;
4540 esac
4541 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4542 $as_echo "$ac_try_echo"; } >&5
4543 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4544 ac_status=$?
4545 if test -s conftest.err; then
4546 sed '10a\
4547 ... rest of stderr output deleted ...
4548 10q' conftest.err >conftest.er1
4549 cat conftest.er1 >&5
4550 rm -f conftest.er1 conftest.err
4552 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4553 test $ac_status = 0; }
4554 done
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4557 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4558 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4559 $as_echo_n "(cached) " >&6
4560 else
4561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4562 /* end confdefs.h. */
4565 main ()
4567 #ifndef __GNUC__
4568 choke me
4569 #endif
4572 return 0;
4574 _ACEOF
4575 if ac_fn_cxx_try_compile "$LINENO"; then :
4576 ac_compiler_gnu=yes
4577 else
4578 ac_compiler_gnu=no
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4585 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4586 if test $ac_compiler_gnu = yes; then
4587 GXX=yes
4588 else
4589 GXX=
4591 ac_test_CXXFLAGS=${CXXFLAGS+set}
4592 ac_save_CXXFLAGS=$CXXFLAGS
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4594 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4595 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4596 $as_echo_n "(cached) " >&6
4597 else
4598 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4599 ac_cxx_werror_flag=yes
4600 ac_cv_prog_cxx_g=no
4601 CXXFLAGS="-g"
4602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4603 /* end confdefs.h. */
4606 main ()
4610 return 0;
4612 _ACEOF
4613 if ac_fn_cxx_try_compile "$LINENO"; then :
4614 ac_cv_prog_cxx_g=yes
4615 else
4616 CXXFLAGS=""
4617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4621 main ()
4625 return 0;
4627 _ACEOF
4628 if ac_fn_cxx_try_compile "$LINENO"; then :
4630 else
4631 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4632 CXXFLAGS="-g"
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4637 main ()
4641 return 0;
4643 _ACEOF
4644 if ac_fn_cxx_try_compile "$LINENO"; then :
4645 ac_cv_prog_cxx_g=yes
4647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4652 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4655 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4656 if test "$ac_test_CXXFLAGS" = set; then
4657 CXXFLAGS=$ac_save_CXXFLAGS
4658 elif test $ac_cv_prog_cxx_g = yes; then
4659 if test "$GXX" = yes; then
4660 CXXFLAGS="-g -O2"
4661 else
4662 CXXFLAGS="-g"
4664 else
4665 if test "$GXX" = yes; then
4666 CXXFLAGS="-O2"
4667 else
4668 CXXFLAGS=
4671 ac_ext=c
4672 ac_cpp='$CPP $CPPFLAGS'
4673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4677 CXXFLAGS="$save_CXXFLAGS"
4679 # Runs configure.host, and assorted other critical bits. Sets
4680 # up critical shell variables.
4682 ac_ext=c
4683 ac_cpp='$CPP $CPPFLAGS'
4684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4688 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4689 # On Suns, sometimes $CPP names a directory.
4690 if test -n "$CPP" && test -d "$CPP"; then
4691 CPP=
4693 if test -z "$CPP"; then
4694 if test "${ac_cv_prog_CPP+set}" = set; then :
4695 $as_echo_n "(cached) " >&6
4696 else
4697 # Double quotes because CPP needs to be expanded
4698 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4700 ac_preproc_ok=false
4701 for ac_c_preproc_warn_flag in '' yes
4703 # Use a header file that comes with gcc, so configuring glibc
4704 # with a fresh cross-compiler works.
4705 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4706 # <limits.h> exists even on freestanding compilers.
4707 # On the NeXT, cc -E runs the code through the compiler's parser,
4708 # not just through cpp. "Syntax error" is here to catch this case.
4709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4710 /* end confdefs.h. */
4711 #ifdef __STDC__
4712 # include <limits.h>
4713 #else
4714 # include <assert.h>
4715 #endif
4716 Syntax error
4717 _ACEOF
4718 if ac_fn_c_try_cpp "$LINENO"; then :
4720 else
4721 # Broken: fails on valid input.
4722 continue
4724 rm -f conftest.err conftest.$ac_ext
4726 # OK, works on sane cases. Now check whether nonexistent headers
4727 # can be detected and how.
4728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4729 /* end confdefs.h. */
4730 #include <ac_nonexistent.h>
4731 _ACEOF
4732 if ac_fn_c_try_cpp "$LINENO"; then :
4733 # Broken: success on invalid input.
4734 continue
4735 else
4736 # Passes both tests.
4737 ac_preproc_ok=:
4738 break
4740 rm -f conftest.err conftest.$ac_ext
4742 done
4743 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4744 rm -f conftest.err conftest.$ac_ext
4745 if $ac_preproc_ok; then :
4746 break
4749 done
4750 ac_cv_prog_CPP=$CPP
4753 CPP=$ac_cv_prog_CPP
4754 else
4755 ac_cv_prog_CPP=$CPP
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4758 $as_echo "$CPP" >&6; }
4759 ac_preproc_ok=false
4760 for ac_c_preproc_warn_flag in '' yes
4762 # Use a header file that comes with gcc, so configuring glibc
4763 # with a fresh cross-compiler works.
4764 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4765 # <limits.h> exists even on freestanding compilers.
4766 # On the NeXT, cc -E runs the code through the compiler's parser,
4767 # not just through cpp. "Syntax error" is here to catch this case.
4768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4769 /* end confdefs.h. */
4770 #ifdef __STDC__
4771 # include <limits.h>
4772 #else
4773 # include <assert.h>
4774 #endif
4775 Syntax error
4776 _ACEOF
4777 if ac_fn_c_try_cpp "$LINENO"; then :
4779 else
4780 # Broken: fails on valid input.
4781 continue
4783 rm -f conftest.err conftest.$ac_ext
4785 # OK, works on sane cases. Now check whether nonexistent headers
4786 # can be detected and how.
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <ac_nonexistent.h>
4790 _ACEOF
4791 if ac_fn_c_try_cpp "$LINENO"; then :
4792 # Broken: success on invalid input.
4793 continue
4794 else
4795 # Passes both tests.
4796 ac_preproc_ok=:
4797 break
4799 rm -f conftest.err conftest.$ac_ext
4801 done
4802 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4803 rm -f conftest.err conftest.$ac_ext
4804 if $ac_preproc_ok; then :
4806 else
4807 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4808 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4809 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4810 See \`config.log' for more details." "$LINENO" 5; }
4813 ac_ext=c
4814 ac_cpp='$CPP $CPPFLAGS'
4815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4821 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4822 if test "${ac_cv_path_GREP+set}" = set; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -z "$GREP"; then
4826 ac_path_GREP_found=false
4827 # Loop through the user's path and test for each of PROGNAME-LIST
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_prog in grep ggrep; do
4834 for ac_exec_ext in '' $ac_executable_extensions; do
4835 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4836 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4837 # Check for GNU ac_path_GREP and select it if it is found.
4838 # Check for GNU $ac_path_GREP
4839 case `"$ac_path_GREP" --version 2>&1` in
4840 *GNU*)
4841 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4843 ac_count=0
4844 $as_echo_n 0123456789 >"conftest.in"
4845 while :
4847 cat "conftest.in" "conftest.in" >"conftest.tmp"
4848 mv "conftest.tmp" "conftest.in"
4849 cp "conftest.in" "conftest.nl"
4850 $as_echo 'GREP' >> "conftest.nl"
4851 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4852 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4853 as_fn_arith $ac_count + 1 && ac_count=$as_val
4854 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4855 # Best one so far, save it but keep looking for a better one
4856 ac_cv_path_GREP="$ac_path_GREP"
4857 ac_path_GREP_max=$ac_count
4859 # 10*(2^10) chars as input seems more than enough
4860 test $ac_count -gt 10 && break
4861 done
4862 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4863 esac
4865 $ac_path_GREP_found && break 3
4866 done
4867 done
4868 done
4869 IFS=$as_save_IFS
4870 if test -z "$ac_cv_path_GREP"; then
4871 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4873 else
4874 ac_cv_path_GREP=$GREP
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4879 $as_echo "$ac_cv_path_GREP" >&6; }
4880 GREP="$ac_cv_path_GREP"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4884 $as_echo_n "checking for egrep... " >&6; }
4885 if test "${ac_cv_path_EGREP+set}" = set; then :
4886 $as_echo_n "(cached) " >&6
4887 else
4888 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4889 then ac_cv_path_EGREP="$GREP -E"
4890 else
4891 if test -z "$EGREP"; then
4892 ac_path_EGREP_found=false
4893 # Loop through the user's path and test for each of PROGNAME-LIST
4894 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4895 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4897 IFS=$as_save_IFS
4898 test -z "$as_dir" && as_dir=.
4899 for ac_prog in egrep; do
4900 for ac_exec_ext in '' $ac_executable_extensions; do
4901 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4902 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4903 # Check for GNU ac_path_EGREP and select it if it is found.
4904 # Check for GNU $ac_path_EGREP
4905 case `"$ac_path_EGREP" --version 2>&1` in
4906 *GNU*)
4907 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4909 ac_count=0
4910 $as_echo_n 0123456789 >"conftest.in"
4911 while :
4913 cat "conftest.in" "conftest.in" >"conftest.tmp"
4914 mv "conftest.tmp" "conftest.in"
4915 cp "conftest.in" "conftest.nl"
4916 $as_echo 'EGREP' >> "conftest.nl"
4917 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4918 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4919 as_fn_arith $ac_count + 1 && ac_count=$as_val
4920 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4921 # Best one so far, save it but keep looking for a better one
4922 ac_cv_path_EGREP="$ac_path_EGREP"
4923 ac_path_EGREP_max=$ac_count
4925 # 10*(2^10) chars as input seems more than enough
4926 test $ac_count -gt 10 && break
4927 done
4928 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4929 esac
4931 $ac_path_EGREP_found && break 3
4932 done
4933 done
4934 done
4935 IFS=$as_save_IFS
4936 if test -z "$ac_cv_path_EGREP"; then
4937 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4939 else
4940 ac_cv_path_EGREP=$EGREP
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4946 $as_echo "$ac_cv_path_EGREP" >&6; }
4947 EGREP="$ac_cv_path_EGREP"
4951 # Keep these sync'd with the list in Makefile.am. The first provides an
4952 # expandable list at autoconf time; the second provides an expandable list
4953 # (i.e., shell variable) at configure time.
4955 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4957 # These need to be absolute paths, yet at the same time need to
4958 # canonicalize only relative paths, because then amd will not unmount
4959 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4960 glibcxx_builddir=`${PWDCMD-pwd}`
4961 case $srcdir in
4962 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4963 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4964 esac
4965 toplevel_builddir=${glibcxx_builddir}/..
4966 toplevel_srcdir=${glibcxx_srcdir}/..
4972 # We use these options to decide which functions to include. They are
4973 # set from the top level.
4975 # Check whether --with-target-subdir was given.
4976 if test "${with_target_subdir+set}" = set; then :
4977 withval=$with_target_subdir;
4982 # Check whether --with-cross-host was given.
4983 if test "${with_cross_host+set}" = set; then :
4984 withval=$with_cross_host;
4989 # Check whether --with-newlib was given.
4990 if test "${with_newlib+set}" = set; then :
4991 withval=$with_newlib;
4995 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4996 # available). Uncomment the next line to force a particular method.
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4998 $as_echo_n "checking whether ln -s works... " >&6; }
4999 LN_S=$as_ln_s
5000 if test "$LN_S" = "ln -s"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5002 $as_echo "yes" >&6; }
5003 else
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5005 $as_echo "no, using $LN_S" >&6; }
5008 #LN_S='cp -p'
5010 if test -n "$ac_tool_prefix"; then
5011 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5012 set dummy ${ac_tool_prefix}as; ac_word=$2
5013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5014 $as_echo_n "checking for $ac_word... " >&6; }
5015 if test "${ac_cv_prog_AS+set}" = set; then :
5016 $as_echo_n "(cached) " >&6
5017 else
5018 if test -n "$AS"; then
5019 ac_cv_prog_AS="$AS" # Let the user override the test.
5020 else
5021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5022 for as_dir in $PATH
5024 IFS=$as_save_IFS
5025 test -z "$as_dir" && as_dir=.
5026 for ac_exec_ext in '' $ac_executable_extensions; do
5027 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5028 ac_cv_prog_AS="${ac_tool_prefix}as"
5029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5030 break 2
5032 done
5033 done
5034 IFS=$as_save_IFS
5038 AS=$ac_cv_prog_AS
5039 if test -n "$AS"; then
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5041 $as_echo "$AS" >&6; }
5042 else
5043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5044 $as_echo "no" >&6; }
5049 if test -z "$ac_cv_prog_AS"; then
5050 ac_ct_AS=$AS
5051 # Extract the first word of "as", so it can be a program name with args.
5052 set dummy as; ac_word=$2
5053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5054 $as_echo_n "checking for $ac_word... " >&6; }
5055 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5056 $as_echo_n "(cached) " >&6
5057 else
5058 if test -n "$ac_ct_AS"; then
5059 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5060 else
5061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5062 for as_dir in $PATH
5064 IFS=$as_save_IFS
5065 test -z "$as_dir" && as_dir=.
5066 for ac_exec_ext in '' $ac_executable_extensions; do
5067 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5068 ac_cv_prog_ac_ct_AS="as"
5069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5070 break 2
5072 done
5073 done
5074 IFS=$as_save_IFS
5078 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5079 if test -n "$ac_ct_AS"; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5081 $as_echo "$ac_ct_AS" >&6; }
5082 else
5083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5084 $as_echo "no" >&6; }
5087 if test "x$ac_ct_AS" = x; then
5088 AS=""
5089 else
5090 case $cross_compiling:$ac_tool_warned in
5091 yes:)
5092 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5093 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5094 ac_tool_warned=yes ;;
5095 esac
5096 AS=$ac_ct_AS
5098 else
5099 AS="$ac_cv_prog_AS"
5102 if test -n "$ac_tool_prefix"; then
5103 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5104 set dummy ${ac_tool_prefix}ar; ac_word=$2
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5106 $as_echo_n "checking for $ac_word... " >&6; }
5107 if test "${ac_cv_prog_AR+set}" = set; then :
5108 $as_echo_n "(cached) " >&6
5109 else
5110 if test -n "$AR"; then
5111 ac_cv_prog_AR="$AR" # Let the user override the test.
5112 else
5113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5114 for as_dir in $PATH
5116 IFS=$as_save_IFS
5117 test -z "$as_dir" && as_dir=.
5118 for ac_exec_ext in '' $ac_executable_extensions; do
5119 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5120 ac_cv_prog_AR="${ac_tool_prefix}ar"
5121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5122 break 2
5124 done
5125 done
5126 IFS=$as_save_IFS
5130 AR=$ac_cv_prog_AR
5131 if test -n "$AR"; then
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5133 $as_echo "$AR" >&6; }
5134 else
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5136 $as_echo "no" >&6; }
5141 if test -z "$ac_cv_prog_AR"; then
5142 ac_ct_AR=$AR
5143 # Extract the first word of "ar", so it can be a program name with args.
5144 set dummy ar; ac_word=$2
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5146 $as_echo_n "checking for $ac_word... " >&6; }
5147 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5148 $as_echo_n "(cached) " >&6
5149 else
5150 if test -n "$ac_ct_AR"; then
5151 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5152 else
5153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5154 for as_dir in $PATH
5156 IFS=$as_save_IFS
5157 test -z "$as_dir" && as_dir=.
5158 for ac_exec_ext in '' $ac_executable_extensions; do
5159 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5160 ac_cv_prog_ac_ct_AR="ar"
5161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5162 break 2
5164 done
5165 done
5166 IFS=$as_save_IFS
5170 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5171 if test -n "$ac_ct_AR"; then
5172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5173 $as_echo "$ac_ct_AR" >&6; }
5174 else
5175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5176 $as_echo "no" >&6; }
5179 if test "x$ac_ct_AR" = x; then
5180 AR=""
5181 else
5182 case $cross_compiling:$ac_tool_warned in
5183 yes:)
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5185 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5186 ac_tool_warned=yes ;;
5187 esac
5188 AR=$ac_ct_AR
5190 else
5191 AR="$ac_cv_prog_AR"
5194 if test -n "$ac_tool_prefix"; then
5195 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5196 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5198 $as_echo_n "checking for $ac_word... " >&6; }
5199 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5200 $as_echo_n "(cached) " >&6
5201 else
5202 if test -n "$RANLIB"; then
5203 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5204 else
5205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5206 for as_dir in $PATH
5208 IFS=$as_save_IFS
5209 test -z "$as_dir" && as_dir=.
5210 for ac_exec_ext in '' $ac_executable_extensions; do
5211 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5212 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5213 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5214 break 2
5216 done
5217 done
5218 IFS=$as_save_IFS
5222 RANLIB=$ac_cv_prog_RANLIB
5223 if test -n "$RANLIB"; then
5224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5225 $as_echo "$RANLIB" >&6; }
5226 else
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5228 $as_echo "no" >&6; }
5233 if test -z "$ac_cv_prog_RANLIB"; then
5234 ac_ct_RANLIB=$RANLIB
5235 # Extract the first word of "ranlib", so it can be a program name with args.
5236 set dummy ranlib; ac_word=$2
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5238 $as_echo_n "checking for $ac_word... " >&6; }
5239 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5240 $as_echo_n "(cached) " >&6
5241 else
5242 if test -n "$ac_ct_RANLIB"; then
5243 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5244 else
5245 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5246 for as_dir in $PATH
5248 IFS=$as_save_IFS
5249 test -z "$as_dir" && as_dir=.
5250 for ac_exec_ext in '' $ac_executable_extensions; do
5251 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5252 ac_cv_prog_ac_ct_RANLIB="ranlib"
5253 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5254 break 2
5256 done
5257 done
5258 IFS=$as_save_IFS
5262 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5263 if test -n "$ac_ct_RANLIB"; then
5264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5265 $as_echo "$ac_ct_RANLIB" >&6; }
5266 else
5267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5268 $as_echo "no" >&6; }
5271 if test "x$ac_ct_RANLIB" = x; then
5272 RANLIB="ranlib-not-found-in-path-error"
5273 else
5274 case $cross_compiling:$ac_tool_warned in
5275 yes:)
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5277 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5278 ac_tool_warned=yes ;;
5279 esac
5280 RANLIB=$ac_ct_RANLIB
5282 else
5283 RANLIB="$ac_cv_prog_RANLIB"
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5289 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5290 # Check whether --enable-maintainer-mode was given.
5291 if test "${enable_maintainer_mode+set}" = set; then :
5292 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5293 else
5294 USE_MAINTAINER_MODE=no
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5298 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5299 if test $USE_MAINTAINER_MODE = yes; then
5300 MAINTAINER_MODE_TRUE=
5301 MAINTAINER_MODE_FALSE='#'
5302 else
5303 MAINTAINER_MODE_TRUE='#'
5304 MAINTAINER_MODE_FALSE=
5307 MAINT=$MAINTAINER_MODE_TRUE
5311 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5312 # which are themselves conditionally expanded.
5313 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5314 ## other macros from doing the same. This should be automated.) -pme
5316 # Check for C library flavor since GNU/Linux platforms use different
5317 # configuration directories depending on the C library in use.
5318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5319 /* end confdefs.h. */
5321 #include <stdio.h>
5322 #if __UCLIBC__
5323 _using_uclibc
5324 #endif
5326 _ACEOF
5327 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5328 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5329 uclibc=yes
5330 else
5331 uclibc=no
5333 rm -f conftest*
5336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5337 /* end confdefs.h. */
5339 #include <stdio.h>
5340 #if __BIONIC__
5341 _using_bionic
5342 #endif
5344 _ACEOF
5345 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5346 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5347 bionic=yes
5348 else
5349 bionic=no
5351 rm -f conftest*
5354 # Find platform-specific directories containing configuration info.
5355 # Also possibly modify flags used elsewhere, as needed by the platform.
5357 . $glibcxx_srcdir/configure.host
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5359 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5361 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5365 # Libtool setup.
5366 if test "x${with_newlib}" != "xyes"; then
5367 enable_dlopen=yes
5372 case `pwd` in
5373 *\ * | *\ *)
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5375 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5376 esac
5380 macro_version='2.2.7a'
5381 macro_revision='1.3134'
5395 ltmain="$ac_aux_dir/ltmain.sh"
5397 # Backslashify metacharacters that are still active within
5398 # double-quoted strings.
5399 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5401 # Same as above, but do not quote variable references.
5402 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5404 # Sed substitution to delay expansion of an escaped shell variable in a
5405 # double_quote_subst'ed string.
5406 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5408 # Sed substitution to delay expansion of an escaped single quote.
5409 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5411 # Sed substitution to avoid accidental globbing in evaled expressions
5412 no_glob_subst='s/\*/\\\*/g'
5414 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5415 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5416 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5419 $as_echo_n "checking how to print strings... " >&6; }
5420 # Test print first, because it will be a builtin if present.
5421 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5422 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5423 ECHO='print -r --'
5424 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='printf %s\n'
5426 else
5427 # Use this function as a fallback that always works.
5428 func_fallback_echo ()
5430 eval 'cat <<_LTECHO_EOF
5432 _LTECHO_EOF'
5434 ECHO='func_fallback_echo'
5437 # func_echo_all arg...
5438 # Invoke $ECHO with all args, space-separated.
5439 func_echo_all ()
5441 $ECHO ""
5444 case "$ECHO" in
5445 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5446 $as_echo "printf" >&6; } ;;
5447 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5448 $as_echo "print -r" >&6; } ;;
5449 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5450 $as_echo "cat" >&6; } ;;
5451 esac
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5467 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5468 if test "${ac_cv_path_SED+set}" = set; then :
5469 $as_echo_n "(cached) " >&6
5470 else
5471 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5472 for ac_i in 1 2 3 4 5 6 7; do
5473 ac_script="$ac_script$as_nl$ac_script"
5474 done
5475 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5476 { ac_script=; unset ac_script;}
5477 if test -z "$SED"; then
5478 ac_path_SED_found=false
5479 # Loop through the user's path and test for each of PROGNAME-LIST
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_prog in sed gsed; do
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5488 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5489 # Check for GNU ac_path_SED and select it if it is found.
5490 # Check for GNU $ac_path_SED
5491 case `"$ac_path_SED" --version 2>&1` in
5492 *GNU*)
5493 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5495 ac_count=0
5496 $as_echo_n 0123456789 >"conftest.in"
5497 while :
5499 cat "conftest.in" "conftest.in" >"conftest.tmp"
5500 mv "conftest.tmp" "conftest.in"
5501 cp "conftest.in" "conftest.nl"
5502 $as_echo '' >> "conftest.nl"
5503 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5504 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5505 as_fn_arith $ac_count + 1 && ac_count=$as_val
5506 if test $ac_count -gt ${ac_path_SED_max-0}; then
5507 # Best one so far, save it but keep looking for a better one
5508 ac_cv_path_SED="$ac_path_SED"
5509 ac_path_SED_max=$ac_count
5511 # 10*(2^10) chars as input seems more than enough
5512 test $ac_count -gt 10 && break
5513 done
5514 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5515 esac
5517 $ac_path_SED_found && break 3
5518 done
5519 done
5520 done
5521 IFS=$as_save_IFS
5522 if test -z "$ac_cv_path_SED"; then
5523 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5525 else
5526 ac_cv_path_SED=$SED
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5531 $as_echo "$ac_cv_path_SED" >&6; }
5532 SED="$ac_cv_path_SED"
5533 rm -f conftest.sed
5535 test -z "$SED" && SED=sed
5536 Xsed="$SED -e 1s/^X//"
5548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5549 $as_echo_n "checking for fgrep... " >&6; }
5550 if test "${ac_cv_path_FGREP+set}" = set; then :
5551 $as_echo_n "(cached) " >&6
5552 else
5553 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5554 then ac_cv_path_FGREP="$GREP -F"
5555 else
5556 if test -z "$FGREP"; then
5557 ac_path_FGREP_found=false
5558 # Loop through the user's path and test for each of PROGNAME-LIST
5559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5560 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5562 IFS=$as_save_IFS
5563 test -z "$as_dir" && as_dir=.
5564 for ac_prog in fgrep; do
5565 for ac_exec_ext in '' $ac_executable_extensions; do
5566 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5567 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5568 # Check for GNU ac_path_FGREP and select it if it is found.
5569 # Check for GNU $ac_path_FGREP
5570 case `"$ac_path_FGREP" --version 2>&1` in
5571 *GNU*)
5572 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5574 ac_count=0
5575 $as_echo_n 0123456789 >"conftest.in"
5576 while :
5578 cat "conftest.in" "conftest.in" >"conftest.tmp"
5579 mv "conftest.tmp" "conftest.in"
5580 cp "conftest.in" "conftest.nl"
5581 $as_echo 'FGREP' >> "conftest.nl"
5582 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5584 as_fn_arith $ac_count + 1 && ac_count=$as_val
5585 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5586 # Best one so far, save it but keep looking for a better one
5587 ac_cv_path_FGREP="$ac_path_FGREP"
5588 ac_path_FGREP_max=$ac_count
5590 # 10*(2^10) chars as input seems more than enough
5591 test $ac_count -gt 10 && break
5592 done
5593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5594 esac
5596 $ac_path_FGREP_found && break 3
5597 done
5598 done
5599 done
5600 IFS=$as_save_IFS
5601 if test -z "$ac_cv_path_FGREP"; then
5602 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5604 else
5605 ac_cv_path_FGREP=$FGREP
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5611 $as_echo "$ac_cv_path_FGREP" >&6; }
5612 FGREP="$ac_cv_path_FGREP"
5615 test -z "$GREP" && GREP=grep
5635 # Check whether --with-gnu-ld was given.
5636 if test "${with_gnu_ld+set}" = set; then :
5637 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5638 else
5639 with_gnu_ld=no
5642 ac_prog=ld
5643 if test "$GCC" = yes; then
5644 # Check if gcc -print-prog-name=ld gives a path.
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5646 $as_echo_n "checking for ld used by $CC... " >&6; }
5647 case $host in
5648 *-*-mingw*)
5649 # gcc leaves a trailing carriage return which upsets mingw
5650 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5653 esac
5654 case $ac_prog in
5655 # Accept absolute paths.
5656 [\\/]* | ?:[\\/]*)
5657 re_direlt='/[^/][^/]*/\.\./'
5658 # Canonicalize the pathname of ld
5659 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5660 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5661 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5662 done
5663 test -z "$LD" && LD="$ac_prog"
5666 # If it fails, then pretend we aren't using GCC.
5667 ac_prog=ld
5670 # If it is relative, then search for the first ld in PATH.
5671 with_gnu_ld=unknown
5673 esac
5674 elif test "$with_gnu_ld" = yes; then
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5676 $as_echo_n "checking for GNU ld... " >&6; }
5677 else
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5679 $as_echo_n "checking for non-GNU ld... " >&6; }
5681 if test "${lt_cv_path_LD+set}" = set; then :
5682 $as_echo_n "(cached) " >&6
5683 else
5684 if test -z "$LD"; then
5685 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5686 for ac_dir in $PATH; do
5687 IFS="$lt_save_ifs"
5688 test -z "$ac_dir" && ac_dir=.
5689 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5690 lt_cv_path_LD="$ac_dir/$ac_prog"
5691 # Check to see if the program is GNU ld. I'd rather use --version,
5692 # but apparently some variants of GNU ld only accept -v.
5693 # Break only if it was the GNU/non-GNU ld that we prefer.
5694 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5695 *GNU* | *'with BFD'*)
5696 test "$with_gnu_ld" != no && break
5699 test "$with_gnu_ld" != yes && break
5701 esac
5703 done
5704 IFS="$lt_save_ifs"
5705 else
5706 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5710 LD="$lt_cv_path_LD"
5711 if test -n "$LD"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5713 $as_echo "$LD" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5718 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5720 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5721 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5722 $as_echo_n "(cached) " >&6
5723 else
5724 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5725 case `$LD -v 2>&1 </dev/null` in
5726 *GNU* | *'with BFD'*)
5727 lt_cv_prog_gnu_ld=yes
5730 lt_cv_prog_gnu_ld=no
5732 esac
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5735 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5736 with_gnu_ld=$lt_cv_prog_gnu_ld
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5747 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5748 if test "${lt_cv_path_NM+set}" = set; then :
5749 $as_echo_n "(cached) " >&6
5750 else
5751 if test -n "$NM"; then
5752 # Let the user override the test.
5753 lt_cv_path_NM="$NM"
5754 else
5755 lt_nm_to_check="${ac_tool_prefix}nm"
5756 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5757 lt_nm_to_check="$lt_nm_to_check nm"
5759 for lt_tmp_nm in $lt_nm_to_check; do
5760 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5761 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5762 IFS="$lt_save_ifs"
5763 test -z "$ac_dir" && ac_dir=.
5764 tmp_nm="$ac_dir/$lt_tmp_nm"
5765 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5766 # Check to see if the nm accepts a BSD-compat flag.
5767 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5768 # nm: unknown option "B" ignored
5769 # Tru64's nm complains that /dev/null is an invalid object file
5770 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5771 */dev/null* | *'Invalid file or object type'*)
5772 lt_cv_path_NM="$tmp_nm -B"
5773 break
5776 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5777 */dev/null*)
5778 lt_cv_path_NM="$tmp_nm -p"
5779 break
5782 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5783 continue # so that we can try to find one that supports BSD flags
5785 esac
5787 esac
5789 done
5790 IFS="$lt_save_ifs"
5791 done
5792 : ${lt_cv_path_NM=no}
5795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5796 $as_echo "$lt_cv_path_NM" >&6; }
5797 if test "$lt_cv_path_NM" != "no"; then
5798 NM="$lt_cv_path_NM"
5799 else
5800 # Didn't find any BSD compatible name lister, look for dumpbin.
5801 if test -n "$DUMPBIN"; then :
5802 # Let the user override the test.
5803 else
5804 if test -n "$ac_tool_prefix"; then
5805 for ac_prog in dumpbin "link -dump"
5807 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5808 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5810 $as_echo_n "checking for $ac_word... " >&6; }
5811 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5812 $as_echo_n "(cached) " >&6
5813 else
5814 if test -n "$DUMPBIN"; then
5815 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5816 else
5817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5818 for as_dir in $PATH
5820 IFS=$as_save_IFS
5821 test -z "$as_dir" && as_dir=.
5822 for ac_exec_ext in '' $ac_executable_extensions; do
5823 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5824 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5826 break 2
5828 done
5829 done
5830 IFS=$as_save_IFS
5834 DUMPBIN=$ac_cv_prog_DUMPBIN
5835 if test -n "$DUMPBIN"; then
5836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5837 $as_echo "$DUMPBIN" >&6; }
5838 else
5839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5840 $as_echo "no" >&6; }
5844 test -n "$DUMPBIN" && break
5845 done
5847 if test -z "$DUMPBIN"; then
5848 ac_ct_DUMPBIN=$DUMPBIN
5849 for ac_prog in dumpbin "link -dump"
5851 # Extract the first word of "$ac_prog", so it can be a program name with args.
5852 set dummy $ac_prog; ac_word=$2
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5854 $as_echo_n "checking for $ac_word... " >&6; }
5855 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5856 $as_echo_n "(cached) " >&6
5857 else
5858 if test -n "$ac_ct_DUMPBIN"; then
5859 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5860 else
5861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5862 for as_dir in $PATH
5864 IFS=$as_save_IFS
5865 test -z "$as_dir" && as_dir=.
5866 for ac_exec_ext in '' $ac_executable_extensions; do
5867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5868 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5870 break 2
5872 done
5873 done
5874 IFS=$as_save_IFS
5878 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5879 if test -n "$ac_ct_DUMPBIN"; then
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5881 $as_echo "$ac_ct_DUMPBIN" >&6; }
5882 else
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5884 $as_echo "no" >&6; }
5888 test -n "$ac_ct_DUMPBIN" && break
5889 done
5891 if test "x$ac_ct_DUMPBIN" = x; then
5892 DUMPBIN=":"
5893 else
5894 case $cross_compiling:$ac_tool_warned in
5895 yes:)
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5897 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5898 ac_tool_warned=yes ;;
5899 esac
5900 DUMPBIN=$ac_ct_DUMPBIN
5904 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5905 *COFF*)
5906 DUMPBIN="$DUMPBIN -symbols"
5909 DUMPBIN=:
5911 esac
5914 if test "$DUMPBIN" != ":"; then
5915 NM="$DUMPBIN"
5918 test -z "$NM" && NM=nm
5925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5926 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5927 if test "${lt_cv_nm_interface+set}" = set; then :
5928 $as_echo_n "(cached) " >&6
5929 else
5930 lt_cv_nm_interface="BSD nm"
5931 echo "int some_variable = 0;" > conftest.$ac_ext
5932 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5933 (eval "$ac_compile" 2>conftest.err)
5934 cat conftest.err >&5
5935 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5936 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5937 cat conftest.err >&5
5938 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5939 cat conftest.out >&5
5940 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5941 lt_cv_nm_interface="MS dumpbin"
5943 rm -f conftest*
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5946 $as_echo "$lt_cv_nm_interface" >&6; }
5948 # find the maximum length of command line arguments
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5950 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5951 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5952 $as_echo_n "(cached) " >&6
5953 else
5955 teststring="ABCD"
5957 case $build_os in
5958 msdosdjgpp*)
5959 # On DJGPP, this test can blow up pretty badly due to problems in libc
5960 # (any single argument exceeding 2000 bytes causes a buffer overrun
5961 # during glob expansion). Even if it were fixed, the result of this
5962 # check would be larger than it should be.
5963 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5966 gnu*)
5967 # Under GNU Hurd, this test is not required because there is
5968 # no limit to the length of command line arguments.
5969 # Libtool will interpret -1 as no limit whatsoever
5970 lt_cv_sys_max_cmd_len=-1;
5973 cygwin* | mingw* | cegcc*)
5974 # On Win9x/ME, this test blows up -- it succeeds, but takes
5975 # about 5 minutes as the teststring grows exponentially.
5976 # Worse, since 9x/ME are not pre-emptively multitasking,
5977 # you end up with a "frozen" computer, even though with patience
5978 # the test eventually succeeds (with a max line length of 256k).
5979 # Instead, let's just punt: use the minimum linelength reported by
5980 # all of the supported platforms: 8192 (on NT/2K/XP).
5981 lt_cv_sys_max_cmd_len=8192;
5984 mint*)
5985 # On MiNT this can take a long time and run out of memory.
5986 lt_cv_sys_max_cmd_len=8192;
5989 amigaos*)
5990 # On AmigaOS with pdksh, this test takes hours, literally.
5991 # So we just punt and use a minimum line length of 8192.
5992 lt_cv_sys_max_cmd_len=8192;
5995 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5996 # This has been around since 386BSD, at least. Likely further.
5997 if test -x /sbin/sysctl; then
5998 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5999 elif test -x /usr/sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6001 else
6002 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6004 # And add a safety zone
6005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6009 interix*)
6010 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6011 lt_cv_sys_max_cmd_len=196608
6014 osf*)
6015 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6016 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6017 # nice to cause kernel panics so lets avoid the loop below.
6018 # First set a reasonable default.
6019 lt_cv_sys_max_cmd_len=16384
6021 if test -x /sbin/sysconfig; then
6022 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6023 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6024 esac
6027 sco3.2v5*)
6028 lt_cv_sys_max_cmd_len=102400
6030 sysv5* | sco5v6* | sysv4.2uw2*)
6031 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6032 if test -n "$kargmax"; then
6033 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6034 else
6035 lt_cv_sys_max_cmd_len=32768
6039 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6040 if test -n "$lt_cv_sys_max_cmd_len"; then
6041 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6042 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6043 else
6044 # Make teststring a little bigger before we do anything with it.
6045 # a 1K string should be a reasonable start.
6046 for i in 1 2 3 4 5 6 7 8 ; do
6047 teststring=$teststring$teststring
6048 done
6049 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6050 # If test is not a shell built-in, we'll probably end up computing a
6051 # maximum length that is only half of the actual maximum length, but
6052 # we can't tell.
6053 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6054 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6055 test $i != 17 # 1/2 MB should be enough
6057 i=`expr $i + 1`
6058 teststring=$teststring$teststring
6059 done
6060 # Only check the string length outside the loop.
6061 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6062 teststring=
6063 # Add a significant safety factor because C++ compilers can tack on
6064 # massive amounts of additional arguments before passing them to the
6065 # linker. It appears as though 1/2 is a usable value.
6066 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6069 esac
6073 if test -n $lt_cv_sys_max_cmd_len ; then
6074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6075 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6076 else
6077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6078 $as_echo "none" >&6; }
6080 max_cmd_len=$lt_cv_sys_max_cmd_len
6087 : ${CP="cp -f"}
6088 : ${MV="mv -f"}
6089 : ${RM="rm -f"}
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6092 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6093 # Try some XSI features
6094 xsi_shell=no
6095 ( _lt_dummy="a/b/c"
6096 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6097 = c,a/b,, \
6098 && eval 'test $(( 1 + 1 )) -eq 2 \
6099 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6100 && xsi_shell=yes
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6102 $as_echo "$xsi_shell" >&6; }
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6106 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6107 lt_shell_append=no
6108 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6109 >/dev/null 2>&1 \
6110 && lt_shell_append=yes
6111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6112 $as_echo "$lt_shell_append" >&6; }
6115 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6116 lt_unset=unset
6117 else
6118 lt_unset=false
6125 # test EBCDIC or ASCII
6126 case `echo X|tr X '\101'` in
6127 A) # ASCII based system
6128 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6129 lt_SP2NL='tr \040 \012'
6130 lt_NL2SP='tr \015\012 \040\040'
6132 *) # EBCDIC based system
6133 lt_SP2NL='tr \100 \n'
6134 lt_NL2SP='tr \r\n \100\100'
6136 esac
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6147 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6148 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 lt_cv_ld_reload_flag='-r'
6153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6154 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6155 reload_flag=$lt_cv_ld_reload_flag
6156 case $reload_flag in
6157 "" | " "*) ;;
6158 *) reload_flag=" $reload_flag" ;;
6159 esac
6160 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6161 case $host_os in
6162 darwin*)
6163 if test "$GCC" = yes; then
6164 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6165 else
6166 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6169 esac
6179 if test -n "$ac_tool_prefix"; then
6180 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6181 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6183 $as_echo_n "checking for $ac_word... " >&6; }
6184 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6185 $as_echo_n "(cached) " >&6
6186 else
6187 if test -n "$OBJDUMP"; then
6188 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6189 else
6190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6191 for as_dir in $PATH
6193 IFS=$as_save_IFS
6194 test -z "$as_dir" && as_dir=.
6195 for ac_exec_ext in '' $ac_executable_extensions; do
6196 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6197 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6199 break 2
6201 done
6202 done
6203 IFS=$as_save_IFS
6207 OBJDUMP=$ac_cv_prog_OBJDUMP
6208 if test -n "$OBJDUMP"; then
6209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6210 $as_echo "$OBJDUMP" >&6; }
6211 else
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6213 $as_echo "no" >&6; }
6218 if test -z "$ac_cv_prog_OBJDUMP"; then
6219 ac_ct_OBJDUMP=$OBJDUMP
6220 # Extract the first word of "objdump", so it can be a program name with args.
6221 set dummy objdump; ac_word=$2
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6223 $as_echo_n "checking for $ac_word... " >&6; }
6224 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6225 $as_echo_n "(cached) " >&6
6226 else
6227 if test -n "$ac_ct_OBJDUMP"; then
6228 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6229 else
6230 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6231 for as_dir in $PATH
6233 IFS=$as_save_IFS
6234 test -z "$as_dir" && as_dir=.
6235 for ac_exec_ext in '' $ac_executable_extensions; do
6236 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6237 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6238 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6239 break 2
6241 done
6242 done
6243 IFS=$as_save_IFS
6247 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6248 if test -n "$ac_ct_OBJDUMP"; then
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6250 $as_echo "$ac_ct_OBJDUMP" >&6; }
6251 else
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6253 $as_echo "no" >&6; }
6256 if test "x$ac_ct_OBJDUMP" = x; then
6257 OBJDUMP="false"
6258 else
6259 case $cross_compiling:$ac_tool_warned in
6260 yes:)
6261 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6262 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6263 ac_tool_warned=yes ;;
6264 esac
6265 OBJDUMP=$ac_ct_OBJDUMP
6267 else
6268 OBJDUMP="$ac_cv_prog_OBJDUMP"
6271 test -z "$OBJDUMP" && OBJDUMP=objdump
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6282 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6283 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 lt_cv_file_magic_cmd='$MAGIC_CMD'
6287 lt_cv_file_magic_test_file=
6288 lt_cv_deplibs_check_method='unknown'
6289 # Need to set the preceding variable on all platforms that support
6290 # interlibrary dependencies.
6291 # 'none' -- dependencies not supported.
6292 # `unknown' -- same as none, but documents that we really don't know.
6293 # 'pass_all' -- all dependencies passed with no checks.
6294 # 'test_compile' -- check by making test program.
6295 # 'file_magic [[regex]]' -- check by looking for files in library path
6296 # which responds to the $file_magic_cmd with a given extended regex.
6297 # If you have `file' or equivalent on your system and you're not sure
6298 # whether `pass_all' will *always* work, you probably want this one.
6300 case $host_os in
6301 aix[4-9]*)
6302 lt_cv_deplibs_check_method=pass_all
6305 beos*)
6306 lt_cv_deplibs_check_method=pass_all
6309 bsdi[45]*)
6310 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6311 lt_cv_file_magic_cmd='/usr/bin/file -L'
6312 lt_cv_file_magic_test_file=/shlib/libc.so
6315 cygwin*)
6316 # func_win32_libid is a shell function defined in ltmain.sh
6317 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6318 lt_cv_file_magic_cmd='func_win32_libid'
6321 mingw* | pw32*)
6322 # Base MSYS/MinGW do not provide the 'file' command needed by
6323 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6324 # unless we find 'file', for example because we are cross-compiling.
6325 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6326 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6327 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6328 lt_cv_file_magic_cmd='func_win32_libid'
6329 else
6330 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6331 lt_cv_file_magic_cmd='$OBJDUMP -f'
6335 cegcc*)
6336 # use the weaker test based on 'objdump'. See mingw*.
6337 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6338 lt_cv_file_magic_cmd='$OBJDUMP -f'
6341 darwin* | rhapsody*)
6342 lt_cv_deplibs_check_method=pass_all
6345 freebsd* | dragonfly*)
6346 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6347 case $host_cpu in
6348 i*86 )
6349 # Not sure whether the presence of OpenBSD here was a mistake.
6350 # Let's accept both of them until this is cleared up.
6351 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6352 lt_cv_file_magic_cmd=/usr/bin/file
6353 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6355 esac
6356 else
6357 lt_cv_deplibs_check_method=pass_all
6361 gnu*)
6362 lt_cv_deplibs_check_method=pass_all
6365 haiku*)
6366 lt_cv_deplibs_check_method=pass_all
6369 hpux10.20* | hpux11*)
6370 lt_cv_file_magic_cmd=/usr/bin/file
6371 case $host_cpu in
6372 ia64*)
6373 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6374 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6376 hppa*64*)
6377 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]'
6378 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6381 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6382 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6384 esac
6387 interix[3-9]*)
6388 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6389 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6392 irix5* | irix6* | nonstopux*)
6393 case $LD in
6394 *-32|*"-32 ") libmagic=32-bit;;
6395 *-n32|*"-n32 ") libmagic=N32;;
6396 *-64|*"-64 ") libmagic=64-bit;;
6397 *) libmagic=never-match;;
6398 esac
6399 lt_cv_deplibs_check_method=pass_all
6402 # This must be Linux ELF.
6403 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6404 lt_cv_deplibs_check_method=pass_all
6407 netbsd*)
6408 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6409 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6410 else
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6415 newos6*)
6416 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6417 lt_cv_file_magic_cmd=/usr/bin/file
6418 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6421 *nto* | *qnx*)
6422 lt_cv_deplibs_check_method=pass_all
6425 openbsd*)
6426 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6427 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6428 else
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6433 osf3* | osf4* | osf5*)
6434 lt_cv_deplibs_check_method=pass_all
6437 rdos*)
6438 lt_cv_deplibs_check_method=pass_all
6441 solaris*)
6442 lt_cv_deplibs_check_method=pass_all
6445 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6446 lt_cv_deplibs_check_method=pass_all
6449 sysv4 | sysv4.3*)
6450 case $host_vendor in
6451 motorola)
6452 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]'
6453 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6455 ncr)
6456 lt_cv_deplibs_check_method=pass_all
6458 sequent)
6459 lt_cv_file_magic_cmd='/bin/file'
6460 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6462 sni)
6463 lt_cv_file_magic_cmd='/bin/file'
6464 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6465 lt_cv_file_magic_test_file=/lib/libc.so
6467 siemens)
6468 lt_cv_deplibs_check_method=pass_all
6471 lt_cv_deplibs_check_method=pass_all
6473 esac
6476 tpf*)
6477 lt_cv_deplibs_check_method=pass_all
6479 esac
6482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6483 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6484 file_magic_cmd=$lt_cv_file_magic_cmd
6485 deplibs_check_method=$lt_cv_deplibs_check_method
6486 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6499 if test -n "$ac_tool_prefix"; then
6500 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6501 set dummy ${ac_tool_prefix}ar; ac_word=$2
6502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6503 $as_echo_n "checking for $ac_word... " >&6; }
6504 if test "${ac_cv_prog_AR+set}" = set; then :
6505 $as_echo_n "(cached) " >&6
6506 else
6507 if test -n "$AR"; then
6508 ac_cv_prog_AR="$AR" # Let the user override the test.
6509 else
6510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6511 for as_dir in $PATH
6513 IFS=$as_save_IFS
6514 test -z "$as_dir" && as_dir=.
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6517 ac_cv_prog_AR="${ac_tool_prefix}ar"
6518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 AR=$ac_cv_prog_AR
6528 if test -n "$AR"; then
6529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6530 $as_echo "$AR" >&6; }
6531 else
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 $as_echo "no" >&6; }
6538 if test -z "$ac_cv_prog_AR"; then
6539 ac_ct_AR=$AR
6540 # Extract the first word of "ar", so it can be a program name with args.
6541 set dummy ar; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6545 $as_echo_n "(cached) " >&6
6546 else
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6549 else
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6551 for as_dir in $PATH
6553 IFS=$as_save_IFS
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6557 ac_cv_prog_ac_ct_AR="ar"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6559 break 2
6561 done
6562 done
6563 IFS=$as_save_IFS
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6571 else
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6576 if test "x$ac_ct_AR" = x; then
6577 AR="false"
6578 else
6579 case $cross_compiling:$ac_tool_warned in
6580 yes:)
6581 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6582 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6583 ac_tool_warned=yes ;;
6584 esac
6585 AR=$ac_ct_AR
6587 else
6588 AR="$ac_cv_prog_AR"
6591 test -z "$AR" && AR=ar
6592 test -z "$AR_FLAGS" && AR_FLAGS=cru
6604 if test -n "$ac_tool_prefix"; then
6605 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6606 set dummy ${ac_tool_prefix}strip; ac_word=$2
6607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6608 $as_echo_n "checking for $ac_word... " >&6; }
6609 if test "${ac_cv_prog_STRIP+set}" = set; then :
6610 $as_echo_n "(cached) " >&6
6611 else
6612 if test -n "$STRIP"; then
6613 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6614 else
6615 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6616 for as_dir in $PATH
6618 IFS=$as_save_IFS
6619 test -z "$as_dir" && as_dir=.
6620 for ac_exec_ext in '' $ac_executable_extensions; do
6621 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6622 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6623 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6624 break 2
6626 done
6627 done
6628 IFS=$as_save_IFS
6632 STRIP=$ac_cv_prog_STRIP
6633 if test -n "$STRIP"; then
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6635 $as_echo "$STRIP" >&6; }
6636 else
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6638 $as_echo "no" >&6; }
6643 if test -z "$ac_cv_prog_STRIP"; then
6644 ac_ct_STRIP=$STRIP
6645 # Extract the first word of "strip", so it can be a program name with args.
6646 set dummy strip; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$ac_ct_STRIP"; then
6653 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6662 ac_cv_prog_ac_ct_STRIP="strip"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6666 done
6667 done
6668 IFS=$as_save_IFS
6672 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6673 if test -n "$ac_ct_STRIP"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6675 $as_echo "$ac_ct_STRIP" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6681 if test "x$ac_ct_STRIP" = x; then
6682 STRIP=":"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 STRIP=$ac_ct_STRIP
6692 else
6693 STRIP="$ac_cv_prog_STRIP"
6696 test -z "$STRIP" && STRIP=:
6703 if test -n "$ac_tool_prefix"; then
6704 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6705 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6707 $as_echo_n "checking for $ac_word... " >&6; }
6708 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6709 $as_echo_n "(cached) " >&6
6710 else
6711 if test -n "$RANLIB"; then
6712 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6713 else
6714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6715 for as_dir in $PATH
6717 IFS=$as_save_IFS
6718 test -z "$as_dir" && as_dir=.
6719 for ac_exec_ext in '' $ac_executable_extensions; do
6720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6721 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6723 break 2
6725 done
6726 done
6727 IFS=$as_save_IFS
6731 RANLIB=$ac_cv_prog_RANLIB
6732 if test -n "$RANLIB"; then
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6734 $as_echo "$RANLIB" >&6; }
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6737 $as_echo "no" >&6; }
6742 if test -z "$ac_cv_prog_RANLIB"; then
6743 ac_ct_RANLIB=$RANLIB
6744 # Extract the first word of "ranlib", so it can be a program name with args.
6745 set dummy ranlib; ac_word=$2
6746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6747 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6749 $as_echo_n "(cached) " >&6
6750 else
6751 if test -n "$ac_ct_RANLIB"; then
6752 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6753 else
6754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6755 for as_dir in $PATH
6757 IFS=$as_save_IFS
6758 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6761 ac_cv_prog_ac_ct_RANLIB="ranlib"
6762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6763 break 2
6765 done
6766 done
6767 IFS=$as_save_IFS
6771 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6772 if test -n "$ac_ct_RANLIB"; then
6773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6774 $as_echo "$ac_ct_RANLIB" >&6; }
6775 else
6776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6777 $as_echo "no" >&6; }
6780 if test "x$ac_ct_RANLIB" = x; then
6781 RANLIB=":"
6782 else
6783 case $cross_compiling:$ac_tool_warned in
6784 yes:)
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6787 ac_tool_warned=yes ;;
6788 esac
6789 RANLIB=$ac_ct_RANLIB
6791 else
6792 RANLIB="$ac_cv_prog_RANLIB"
6795 test -z "$RANLIB" && RANLIB=:
6802 # Determine commands to create old-style static archives.
6803 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6804 old_postinstall_cmds='chmod 644 $oldlib'
6805 old_postuninstall_cmds=
6807 if test -n "$RANLIB"; then
6808 case $host_os in
6809 openbsd*)
6810 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6813 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6815 esac
6816 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6819 case $host_os in
6820 darwin*)
6821 lock_old_archive_extraction=yes ;;
6823 lock_old_archive_extraction=no ;;
6824 esac
6864 # If no C compiler was specified, use CC.
6865 LTCC=${LTCC-"$CC"}
6867 # If no C compiler flags were specified, use CFLAGS.
6868 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6870 # Allow CC to be a program name with arguments.
6871 compiler=$CC
6874 # Check for command to grab the raw symbol name followed by C symbol from nm.
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6876 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6877 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6878 $as_echo_n "(cached) " >&6
6879 else
6881 # These are sane defaults that work on at least a few old systems.
6882 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6884 # Character class describing NM global symbol codes.
6885 symcode='[BCDEGRST]'
6887 # Regexp to match symbols that can be accessed directly from C.
6888 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6890 # Define system-specific variables.
6891 case $host_os in
6892 aix*)
6893 symcode='[BCDT]'
6895 cygwin* | mingw* | pw32* | cegcc*)
6896 symcode='[ABCDGISTW]'
6898 hpux*)
6899 if test "$host_cpu" = ia64; then
6900 symcode='[ABCDEGRST]'
6903 irix* | nonstopux*)
6904 symcode='[BCDEGRST]'
6906 osf*)
6907 symcode='[BCDEGQRST]'
6909 solaris*)
6910 symcode='[BDRT]'
6912 sco3.2v5*)
6913 symcode='[DT]'
6915 sysv4.2uw2*)
6916 symcode='[DT]'
6918 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6919 symcode='[ABDT]'
6921 sysv4)
6922 symcode='[DFNSTU]'
6924 esac
6926 # If we're using GNU nm, then use its standard symbol codes.
6927 case `$NM -V 2>&1` in
6928 *GNU* | *'with BFD'*)
6929 symcode='[ABCDGIRSTW]' ;;
6930 esac
6932 # Transform an extracted symbol line into a proper C declaration.
6933 # Some systems (esp. on ia64) link data and code symbols differently,
6934 # so use this general approach.
6935 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6937 # Transform an extracted symbol line into symbol name and symbol address
6938 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6939 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'"
6941 # Handle CRLF in mingw tool chain
6942 opt_cr=
6943 case $build_os in
6944 mingw*)
6945 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6947 esac
6949 # Try without a prefix underscore, then with it.
6950 for ac_symprfx in "" "_"; do
6952 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6953 symxfrm="\\1 $ac_symprfx\\2 \\2"
6955 # Write the raw and C identifiers.
6956 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6957 # Fake it for dumpbin and say T for any non-static function
6958 # and D for any global variable.
6959 # Also find C++ and __fastcall symbols from MSVC++,
6960 # which start with @ or ?.
6961 lt_cv_sys_global_symbol_pipe="$AWK '"\
6962 " {last_section=section; section=\$ 3};"\
6963 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6964 " \$ 0!~/External *\|/{next};"\
6965 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6966 " {if(hide[section]) next};"\
6967 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6968 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6969 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6970 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6971 " ' prfx=^$ac_symprfx"
6972 else
6973 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6976 # Check to see that the pipe works correctly.
6977 pipe_works=no
6979 rm -f conftest*
6980 cat > conftest.$ac_ext <<_LT_EOF
6981 #ifdef __cplusplus
6982 extern "C" {
6983 #endif
6984 char nm_test_var;
6985 void nm_test_func(void);
6986 void nm_test_func(void){}
6987 #ifdef __cplusplus
6989 #endif
6990 int main(){nm_test_var='a';nm_test_func();return(0);}
6991 _LT_EOF
6993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6994 (eval $ac_compile) 2>&5
6995 ac_status=$?
6996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6997 test $ac_status = 0; }; then
6998 # Now try to grab the symbols.
6999 nlist=conftest.nm
7000 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7001 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7002 ac_status=$?
7003 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7004 test $ac_status = 0; } && test -s "$nlist"; then
7005 # Try sorting and uniquifying the output.
7006 if sort "$nlist" | uniq > "$nlist"T; then
7007 mv -f "$nlist"T "$nlist"
7008 else
7009 rm -f "$nlist"T
7012 # Make sure that we snagged all the symbols we need.
7013 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7014 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7015 cat <<_LT_EOF > conftest.$ac_ext
7016 #ifdef __cplusplus
7017 extern "C" {
7018 #endif
7020 _LT_EOF
7021 # Now generate the symbol file.
7022 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7024 cat <<_LT_EOF >> conftest.$ac_ext
7026 /* The mapping between symbol names and symbols. */
7027 const struct {
7028 const char *name;
7029 void *address;
7031 lt__PROGRAM__LTX_preloaded_symbols[] =
7033 { "@PROGRAM@", (void *) 0 },
7034 _LT_EOF
7035 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7036 cat <<\_LT_EOF >> conftest.$ac_ext
7037 {0, (void *) 0}
7040 /* This works around a problem in FreeBSD linker */
7041 #ifdef FREEBSD_WORKAROUND
7042 static const void *lt_preloaded_setup() {
7043 return lt__PROGRAM__LTX_preloaded_symbols;
7045 #endif
7047 #ifdef __cplusplus
7049 #endif
7050 _LT_EOF
7051 # Now try linking the two files.
7052 mv conftest.$ac_objext conftstm.$ac_objext
7053 lt_save_LIBS="$LIBS"
7054 lt_save_CFLAGS="$CFLAGS"
7055 LIBS="conftstm.$ac_objext"
7056 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7057 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7058 (eval $ac_link) 2>&5
7059 ac_status=$?
7060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7061 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7062 pipe_works=yes
7064 LIBS="$lt_save_LIBS"
7065 CFLAGS="$lt_save_CFLAGS"
7066 else
7067 echo "cannot find nm_test_func in $nlist" >&5
7069 else
7070 echo "cannot find nm_test_var in $nlist" >&5
7072 else
7073 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7075 else
7076 echo "$progname: failed program was:" >&5
7077 cat conftest.$ac_ext >&5
7079 rm -rf conftest* conftst*
7081 # Do not use the global_symbol_pipe unless it works.
7082 if test "$pipe_works" = yes; then
7083 break
7084 else
7085 lt_cv_sys_global_symbol_pipe=
7087 done
7091 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7092 lt_cv_sys_global_symbol_to_cdecl=
7094 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7096 $as_echo "failed" >&6; }
7097 else
7098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7099 $as_echo "ok" >&6; }
7123 # Check whether --enable-libtool-lock was given.
7124 if test "${enable_libtool_lock+set}" = set; then :
7125 enableval=$enable_libtool_lock;
7128 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7130 # Some flags need to be propagated to the compiler or linker for good
7131 # libtool support.
7132 case $host in
7133 ia64-*-hpux*)
7134 # Find out which ABI we are using.
7135 echo 'int i;' > conftest.$ac_ext
7136 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7137 (eval $ac_compile) 2>&5
7138 ac_status=$?
7139 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7140 test $ac_status = 0; }; then
7141 case `/usr/bin/file conftest.$ac_objext` in
7142 *ELF-32*)
7143 HPUX_IA64_MODE="32"
7145 *ELF-64*)
7146 HPUX_IA64_MODE="64"
7148 esac
7150 rm -rf conftest*
7152 *-*-irix6*)
7153 # Find out which ABI we are using.
7154 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7155 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7156 (eval $ac_compile) 2>&5
7157 ac_status=$?
7158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7159 test $ac_status = 0; }; then
7160 if test "$lt_cv_prog_gnu_ld" = yes; then
7161 case `/usr/bin/file conftest.$ac_objext` in
7162 *32-bit*)
7163 LD="${LD-ld} -melf32bsmip"
7165 *N32*)
7166 LD="${LD-ld} -melf32bmipn32"
7168 *64-bit*)
7169 LD="${LD-ld} -melf64bmip"
7171 esac
7172 else
7173 case `/usr/bin/file conftest.$ac_objext` in
7174 *32-bit*)
7175 LD="${LD-ld} -32"
7177 *N32*)
7178 LD="${LD-ld} -n32"
7180 *64-bit*)
7181 LD="${LD-ld} -64"
7183 esac
7186 rm -rf conftest*
7189 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7190 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7191 # Find out which ABI we are using.
7192 echo 'int i;' > conftest.$ac_ext
7193 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7194 (eval $ac_compile) 2>&5
7195 ac_status=$?
7196 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7197 test $ac_status = 0; }; then
7198 case `/usr/bin/file conftest.o` in
7199 *32-bit*)
7200 case $host in
7201 x86_64-*kfreebsd*-gnu)
7202 LD="${LD-ld} -m elf_i386_fbsd"
7204 x86_64-*linux*)
7205 case `/usr/bin/file conftest.o` in
7206 *x86-64*)
7207 LD="${LD-ld} -m elf32_x86_64"
7210 LD="${LD-ld} -m elf_i386"
7212 esac
7214 powerpc64le-*linux*)
7215 LD="${LD-ld} -m elf32lppclinux"
7217 powerpc64-*linux*)
7218 LD="${LD-ld} -m elf32ppclinux"
7220 s390x-*linux*)
7221 LD="${LD-ld} -m elf_s390"
7223 sparc64-*linux*)
7224 LD="${LD-ld} -m elf32_sparc"
7226 esac
7228 *64-bit*)
7229 case $host in
7230 x86_64-*kfreebsd*-gnu)
7231 LD="${LD-ld} -m elf_x86_64_fbsd"
7233 x86_64-*linux*)
7234 LD="${LD-ld} -m elf_x86_64"
7236 powerpcle-*linux*)
7237 LD="${LD-ld} -m elf64lppc"
7239 powerpc-*linux*)
7240 LD="${LD-ld} -m elf64ppc"
7242 s390*-*linux*|s390*-*tpf*)
7243 LD="${LD-ld} -m elf64_s390"
7245 sparc*-*linux*)
7246 LD="${LD-ld} -m elf64_sparc"
7248 esac
7250 esac
7252 rm -rf conftest*
7255 *-*-sco3.2v5*)
7256 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7257 SAVE_CFLAGS="$CFLAGS"
7258 CFLAGS="$CFLAGS -belf"
7259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7260 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7261 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7262 $as_echo_n "(cached) " >&6
7263 else
7264 ac_ext=c
7265 ac_cpp='$CPP $CPPFLAGS'
7266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7270 if test x$gcc_no_link = xyes; then
7271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7274 /* end confdefs.h. */
7277 main ()
7281 return 0;
7283 _ACEOF
7284 if ac_fn_c_try_link "$LINENO"; then :
7285 lt_cv_cc_needs_belf=yes
7286 else
7287 lt_cv_cc_needs_belf=no
7289 rm -f core conftest.err conftest.$ac_objext \
7290 conftest$ac_exeext conftest.$ac_ext
7291 ac_ext=c
7292 ac_cpp='$CPP $CPPFLAGS'
7293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7299 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7300 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7301 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7302 CFLAGS="$SAVE_CFLAGS"
7305 sparc*-*solaris*)
7306 # Find out which ABI we are using.
7307 echo 'int i;' > conftest.$ac_ext
7308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7309 (eval $ac_compile) 2>&5
7310 ac_status=$?
7311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7312 test $ac_status = 0; }; then
7313 case `/usr/bin/file conftest.o` in
7314 *64-bit*)
7315 case $lt_cv_prog_gnu_ld in
7316 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7318 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7319 LD="${LD-ld} -64"
7322 esac
7324 esac
7326 rm -rf conftest*
7328 esac
7330 need_locks="$enable_libtool_lock"
7333 case $host_os in
7334 rhapsody* | darwin*)
7335 if test -n "$ac_tool_prefix"; then
7336 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7337 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7339 $as_echo_n "checking for $ac_word... " >&6; }
7340 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7341 $as_echo_n "(cached) " >&6
7342 else
7343 if test -n "$DSYMUTIL"; then
7344 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7345 else
7346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7347 for as_dir in $PATH
7349 IFS=$as_save_IFS
7350 test -z "$as_dir" && as_dir=.
7351 for ac_exec_ext in '' $ac_executable_extensions; do
7352 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7353 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7354 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7355 break 2
7357 done
7358 done
7359 IFS=$as_save_IFS
7363 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7364 if test -n "$DSYMUTIL"; then
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7366 $as_echo "$DSYMUTIL" >&6; }
7367 else
7368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7369 $as_echo "no" >&6; }
7374 if test -z "$ac_cv_prog_DSYMUTIL"; then
7375 ac_ct_DSYMUTIL=$DSYMUTIL
7376 # Extract the first word of "dsymutil", so it can be a program name with args.
7377 set dummy dsymutil; ac_word=$2
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7379 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7381 $as_echo_n "(cached) " >&6
7382 else
7383 if test -n "$ac_ct_DSYMUTIL"; then
7384 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7385 else
7386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7387 for as_dir in $PATH
7389 IFS=$as_save_IFS
7390 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7393 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7395 break 2
7397 done
7398 done
7399 IFS=$as_save_IFS
7403 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7404 if test -n "$ac_ct_DSYMUTIL"; then
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7406 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7407 else
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7409 $as_echo "no" >&6; }
7412 if test "x$ac_ct_DSYMUTIL" = x; then
7413 DSYMUTIL=":"
7414 else
7415 case $cross_compiling:$ac_tool_warned in
7416 yes:)
7417 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7418 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7419 ac_tool_warned=yes ;;
7420 esac
7421 DSYMUTIL=$ac_ct_DSYMUTIL
7423 else
7424 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7427 if test -n "$ac_tool_prefix"; then
7428 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7429 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7431 $as_echo_n "checking for $ac_word... " >&6; }
7432 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7433 $as_echo_n "(cached) " >&6
7434 else
7435 if test -n "$NMEDIT"; then
7436 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7437 else
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH
7441 IFS=$as_save_IFS
7442 test -z "$as_dir" && as_dir=.
7443 for ac_exec_ext in '' $ac_executable_extensions; do
7444 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7445 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7447 break 2
7449 done
7450 done
7451 IFS=$as_save_IFS
7455 NMEDIT=$ac_cv_prog_NMEDIT
7456 if test -n "$NMEDIT"; then
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7458 $as_echo "$NMEDIT" >&6; }
7459 else
7460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7461 $as_echo "no" >&6; }
7466 if test -z "$ac_cv_prog_NMEDIT"; then
7467 ac_ct_NMEDIT=$NMEDIT
7468 # Extract the first word of "nmedit", so it can be a program name with args.
7469 set dummy nmedit; ac_word=$2
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7471 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7473 $as_echo_n "(cached) " >&6
7474 else
7475 if test -n "$ac_ct_NMEDIT"; then
7476 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7477 else
7478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7479 for as_dir in $PATH
7481 IFS=$as_save_IFS
7482 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7485 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7487 break 2
7489 done
7490 done
7491 IFS=$as_save_IFS
7495 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7496 if test -n "$ac_ct_NMEDIT"; then
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7498 $as_echo "$ac_ct_NMEDIT" >&6; }
7499 else
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7501 $as_echo "no" >&6; }
7504 if test "x$ac_ct_NMEDIT" = x; then
7505 NMEDIT=":"
7506 else
7507 case $cross_compiling:$ac_tool_warned in
7508 yes:)
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7510 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7511 ac_tool_warned=yes ;;
7512 esac
7513 NMEDIT=$ac_ct_NMEDIT
7515 else
7516 NMEDIT="$ac_cv_prog_NMEDIT"
7519 if test -n "$ac_tool_prefix"; then
7520 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7521 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7523 $as_echo_n "checking for $ac_word... " >&6; }
7524 if test "${ac_cv_prog_LIPO+set}" = set; then :
7525 $as_echo_n "(cached) " >&6
7526 else
7527 if test -n "$LIPO"; then
7528 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7529 else
7530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7531 for as_dir in $PATH
7533 IFS=$as_save_IFS
7534 test -z "$as_dir" && as_dir=.
7535 for ac_exec_ext in '' $ac_executable_extensions; do
7536 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7537 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7539 break 2
7541 done
7542 done
7543 IFS=$as_save_IFS
7547 LIPO=$ac_cv_prog_LIPO
7548 if test -n "$LIPO"; then
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7550 $as_echo "$LIPO" >&6; }
7551 else
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7553 $as_echo "no" >&6; }
7558 if test -z "$ac_cv_prog_LIPO"; then
7559 ac_ct_LIPO=$LIPO
7560 # Extract the first word of "lipo", so it can be a program name with args.
7561 set dummy lipo; ac_word=$2
7562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7563 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7565 $as_echo_n "(cached) " >&6
7566 else
7567 if test -n "$ac_ct_LIPO"; then
7568 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7569 else
7570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7571 for as_dir in $PATH
7573 IFS=$as_save_IFS
7574 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7576 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7577 ac_cv_prog_ac_ct_LIPO="lipo"
7578 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7579 break 2
7581 done
7582 done
7583 IFS=$as_save_IFS
7587 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7588 if test -n "$ac_ct_LIPO"; then
7589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7590 $as_echo "$ac_ct_LIPO" >&6; }
7591 else
7592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7593 $as_echo "no" >&6; }
7596 if test "x$ac_ct_LIPO" = x; then
7597 LIPO=":"
7598 else
7599 case $cross_compiling:$ac_tool_warned in
7600 yes:)
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7602 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7603 ac_tool_warned=yes ;;
7604 esac
7605 LIPO=$ac_ct_LIPO
7607 else
7608 LIPO="$ac_cv_prog_LIPO"
7611 if test -n "$ac_tool_prefix"; then
7612 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7613 set dummy ${ac_tool_prefix}otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$OTOOL"; then
7620 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7629 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7633 done
7634 done
7635 IFS=$as_save_IFS
7639 OTOOL=$ac_cv_prog_OTOOL
7640 if test -n "$OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7642 $as_echo "$OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7650 if test -z "$ac_cv_prog_OTOOL"; then
7651 ac_ct_OTOOL=$OTOOL
7652 # Extract the first word of "otool", so it can be a program name with args.
7653 set dummy otool; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7657 $as_echo_n "(cached) " >&6
7658 else
7659 if test -n "$ac_ct_OTOOL"; then
7660 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7661 else
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7663 for as_dir in $PATH
7665 IFS=$as_save_IFS
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7669 ac_cv_prog_ac_ct_OTOOL="otool"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7671 break 2
7673 done
7674 done
7675 IFS=$as_save_IFS
7679 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7680 if test -n "$ac_ct_OTOOL"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7682 $as_echo "$ac_ct_OTOOL" >&6; }
7683 else
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7688 if test "x$ac_ct_OTOOL" = x; then
7689 OTOOL=":"
7690 else
7691 case $cross_compiling:$ac_tool_warned in
7692 yes:)
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7694 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7695 ac_tool_warned=yes ;;
7696 esac
7697 OTOOL=$ac_ct_OTOOL
7699 else
7700 OTOOL="$ac_cv_prog_OTOOL"
7703 if test -n "$ac_tool_prefix"; then
7704 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7705 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$OTOOL64"; then
7712 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7721 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7725 done
7726 done
7727 IFS=$as_save_IFS
7731 OTOOL64=$ac_cv_prog_OTOOL64
7732 if test -n "$OTOOL64"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7734 $as_echo "$OTOOL64" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7742 if test -z "$ac_cv_prog_OTOOL64"; then
7743 ac_ct_OTOOL64=$OTOOL64
7744 # Extract the first word of "otool64", so it can be a program name with args.
7745 set dummy otool64; ac_word=$2
7746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7747 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7749 $as_echo_n "(cached) " >&6
7750 else
7751 if test -n "$ac_ct_OTOOL64"; then
7752 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7753 else
7754 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7755 for as_dir in $PATH
7757 IFS=$as_save_IFS
7758 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7761 ac_cv_prog_ac_ct_OTOOL64="otool64"
7762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7763 break 2
7765 done
7766 done
7767 IFS=$as_save_IFS
7771 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7772 if test -n "$ac_ct_OTOOL64"; then
7773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7774 $as_echo "$ac_ct_OTOOL64" >&6; }
7775 else
7776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7777 $as_echo "no" >&6; }
7780 if test "x$ac_ct_OTOOL64" = x; then
7781 OTOOL64=":"
7782 else
7783 case $cross_compiling:$ac_tool_warned in
7784 yes:)
7785 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7786 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7787 ac_tool_warned=yes ;;
7788 esac
7789 OTOOL64=$ac_ct_OTOOL64
7791 else
7792 OTOOL64="$ac_cv_prog_OTOOL64"
7821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7822 $as_echo_n "checking for -single_module linker flag... " >&6; }
7823 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7824 $as_echo_n "(cached) " >&6
7825 else
7826 lt_cv_apple_cc_single_mod=no
7827 if test -z "${LT_MULTI_MODULE}"; then
7828 # By default we will add the -single_module flag. You can override
7829 # by either setting the environment variable LT_MULTI_MODULE
7830 # non-empty at configure time, or by adding -multi_module to the
7831 # link flags.
7832 rm -rf libconftest.dylib*
7833 echo "int foo(void){return 1;}" > conftest.c
7834 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7835 -dynamiclib -Wl,-single_module conftest.c" >&5
7836 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7838 _lt_result=$?
7839 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7840 lt_cv_apple_cc_single_mod=yes
7841 else
7842 cat conftest.err >&5
7844 rm -rf libconftest.dylib*
7845 rm -f conftest.*
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7849 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7851 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7852 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7853 $as_echo_n "(cached) " >&6
7854 else
7855 lt_cv_ld_exported_symbols_list=no
7856 save_LDFLAGS=$LDFLAGS
7857 echo "_main" > conftest.sym
7858 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7859 if test x$gcc_no_link = xyes; then
7860 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7863 /* end confdefs.h. */
7866 main ()
7870 return 0;
7872 _ACEOF
7873 if ac_fn_c_try_link "$LINENO"; then :
7874 lt_cv_ld_exported_symbols_list=yes
7875 else
7876 lt_cv_ld_exported_symbols_list=no
7878 rm -f core conftest.err conftest.$ac_objext \
7879 conftest$ac_exeext conftest.$ac_ext
7880 LDFLAGS="$save_LDFLAGS"
7883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7884 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7886 $as_echo_n "checking for -force_load linker flag... " >&6; }
7887 if test "${lt_cv_ld_force_load+set}" = set; then :
7888 $as_echo_n "(cached) " >&6
7889 else
7890 lt_cv_ld_force_load=no
7891 cat > conftest.c << _LT_EOF
7892 int forced_loaded() { return 2;}
7893 _LT_EOF
7894 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7895 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7896 echo "$AR cru libconftest.a conftest.o" >&5
7897 $AR cru libconftest.a conftest.o 2>&5
7898 cat > conftest.c << _LT_EOF
7899 int main() { return 0;}
7900 _LT_EOF
7901 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7902 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7903 _lt_result=$?
7904 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7905 lt_cv_ld_force_load=yes
7906 else
7907 cat conftest.err >&5
7909 rm -f conftest.err libconftest.a conftest conftest.c
7910 rm -rf conftest.dSYM
7913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7914 $as_echo "$lt_cv_ld_force_load" >&6; }
7915 case $host_os in
7916 rhapsody* | darwin1.[012])
7917 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7918 darwin1.*)
7919 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7920 darwin*) # darwin 5.x on
7921 # if running on 10.5 or later, the deployment target defaults
7922 # to the OS version, if on x86, and 10.4, the deployment
7923 # target defaults to 10.4. Don't you love it?
7924 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7925 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7926 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7927 10.[012][,.]*)
7928 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7929 10.*)
7930 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7931 esac
7933 esac
7934 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7935 _lt_dar_single_mod='$single_module'
7937 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7938 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7939 else
7940 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7942 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7943 _lt_dsymutil='~$DSYMUTIL $lib || :'
7944 else
7945 _lt_dsymutil=
7948 esac
7950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7951 $as_echo_n "checking for ANSI C header files... " >&6; }
7952 if test "${ac_cv_header_stdc+set}" = set; then :
7953 $as_echo_n "(cached) " >&6
7954 else
7955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7956 /* end confdefs.h. */
7957 #include <stdlib.h>
7958 #include <stdarg.h>
7959 #include <string.h>
7960 #include <float.h>
7963 main ()
7967 return 0;
7969 _ACEOF
7970 if ac_fn_c_try_compile "$LINENO"; then :
7971 ac_cv_header_stdc=yes
7972 else
7973 ac_cv_header_stdc=no
7975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7977 if test $ac_cv_header_stdc = yes; then
7978 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7980 /* end confdefs.h. */
7981 #include <string.h>
7983 _ACEOF
7984 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7985 $EGREP "memchr" >/dev/null 2>&1; then :
7987 else
7988 ac_cv_header_stdc=no
7990 rm -f conftest*
7994 if test $ac_cv_header_stdc = yes; then
7995 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7997 /* end confdefs.h. */
7998 #include <stdlib.h>
8000 _ACEOF
8001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8002 $EGREP "free" >/dev/null 2>&1; then :
8004 else
8005 ac_cv_header_stdc=no
8007 rm -f conftest*
8011 if test $ac_cv_header_stdc = yes; then
8012 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8013 if test "$cross_compiling" = yes; then :
8015 else
8016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8017 /* end confdefs.h. */
8018 #include <ctype.h>
8019 #include <stdlib.h>
8020 #if ((' ' & 0x0FF) == 0x020)
8021 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8022 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8023 #else
8024 # define ISLOWER(c) \
8025 (('a' <= (c) && (c) <= 'i') \
8026 || ('j' <= (c) && (c) <= 'r') \
8027 || ('s' <= (c) && (c) <= 'z'))
8028 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8029 #endif
8031 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8033 main ()
8035 int i;
8036 for (i = 0; i < 256; i++)
8037 if (XOR (islower (i), ISLOWER (i))
8038 || toupper (i) != TOUPPER (i))
8039 return 2;
8040 return 0;
8042 _ACEOF
8043 if ac_fn_c_try_run "$LINENO"; then :
8045 else
8046 ac_cv_header_stdc=no
8048 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8049 conftest.$ac_objext conftest.beam conftest.$ac_ext
8054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8055 $as_echo "$ac_cv_header_stdc" >&6; }
8056 if test $ac_cv_header_stdc = yes; then
8058 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8062 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8063 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8064 inttypes.h stdint.h unistd.h
8065 do :
8066 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8067 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8069 eval as_val=\$$as_ac_Header
8070 if test "x$as_val" = x""yes; then :
8071 cat >>confdefs.h <<_ACEOF
8072 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8073 _ACEOF
8077 done
8080 for ac_header in dlfcn.h
8081 do :
8082 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8084 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8085 cat >>confdefs.h <<_ACEOF
8086 #define HAVE_DLFCN_H 1
8087 _ACEOF
8091 done
8098 # Set options
8103 enable_win32_dll=no
8106 # Check whether --enable-shared was given.
8107 if test "${enable_shared+set}" = set; then :
8108 enableval=$enable_shared; p=${PACKAGE-default}
8109 case $enableval in
8110 yes) enable_shared=yes ;;
8111 no) enable_shared=no ;;
8113 enable_shared=no
8114 # Look at the argument we got. We use all the common list separators.
8115 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8116 for pkg in $enableval; do
8117 IFS="$lt_save_ifs"
8118 if test "X$pkg" = "X$p"; then
8119 enable_shared=yes
8121 done
8122 IFS="$lt_save_ifs"
8124 esac
8125 else
8126 enable_shared=yes
8137 # Check whether --enable-static was given.
8138 if test "${enable_static+set}" = set; then :
8139 enableval=$enable_static; p=${PACKAGE-default}
8140 case $enableval in
8141 yes) enable_static=yes ;;
8142 no) enable_static=no ;;
8144 enable_static=no
8145 # Look at the argument we got. We use all the common list separators.
8146 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8147 for pkg in $enableval; do
8148 IFS="$lt_save_ifs"
8149 if test "X$pkg" = "X$p"; then
8150 enable_static=yes
8152 done
8153 IFS="$lt_save_ifs"
8155 esac
8156 else
8157 enable_static=yes
8169 # Check whether --with-pic was given.
8170 if test "${with_pic+set}" = set; then :
8171 withval=$with_pic; pic_mode="$withval"
8172 else
8173 pic_mode=default
8177 test -z "$pic_mode" && pic_mode=default
8185 # Check whether --enable-fast-install was given.
8186 if test "${enable_fast_install+set}" = set; then :
8187 enableval=$enable_fast_install; p=${PACKAGE-default}
8188 case $enableval in
8189 yes) enable_fast_install=yes ;;
8190 no) enable_fast_install=no ;;
8192 enable_fast_install=no
8193 # Look at the argument we got. We use all the common list separators.
8194 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8195 for pkg in $enableval; do
8196 IFS="$lt_save_ifs"
8197 if test "X$pkg" = "X$p"; then
8198 enable_fast_install=yes
8200 done
8201 IFS="$lt_save_ifs"
8203 esac
8204 else
8205 enable_fast_install=yes
8218 # This can be used to rebuild libtool when needed
8219 LIBTOOL_DEPS="$ltmain"
8221 # Always use our own libtool.
8222 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8249 test -z "$LN_S" && LN_S="ln -s"
8264 if test -n "${ZSH_VERSION+set}" ; then
8265 setopt NO_GLOB_SUBST
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8269 $as_echo_n "checking for objdir... " >&6; }
8270 if test "${lt_cv_objdir+set}" = set; then :
8271 $as_echo_n "(cached) " >&6
8272 else
8273 rm -f .libs 2>/dev/null
8274 mkdir .libs 2>/dev/null
8275 if test -d .libs; then
8276 lt_cv_objdir=.libs
8277 else
8278 # MS-DOS does not allow filenames that begin with a dot.
8279 lt_cv_objdir=_libs
8281 rmdir .libs 2>/dev/null
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8284 $as_echo "$lt_cv_objdir" >&6; }
8285 objdir=$lt_cv_objdir
8291 cat >>confdefs.h <<_ACEOF
8292 #define LT_OBJDIR "$lt_cv_objdir/"
8293 _ACEOF
8298 case $host_os in
8299 aix3*)
8300 # AIX sometimes has problems with the GCC collect2 program. For some
8301 # reason, if we set the COLLECT_NAMES environment variable, the problems
8302 # vanish in a puff of smoke.
8303 if test "X${COLLECT_NAMES+set}" != Xset; then
8304 COLLECT_NAMES=
8305 export COLLECT_NAMES
8308 esac
8310 # Global variables:
8311 ofile=libtool
8312 can_build_shared=yes
8314 # All known linkers require a `.a' archive for static linking (except MSVC,
8315 # which needs '.lib').
8316 libext=a
8318 with_gnu_ld="$lt_cv_prog_gnu_ld"
8320 old_CC="$CC"
8321 old_CFLAGS="$CFLAGS"
8323 # Set sane defaults for various variables
8324 test -z "$CC" && CC=cc
8325 test -z "$LTCC" && LTCC=$CC
8326 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8327 test -z "$LD" && LD=ld
8328 test -z "$ac_objext" && ac_objext=o
8330 for cc_temp in $compiler""; do
8331 case $cc_temp in
8332 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8333 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8334 \-*) ;;
8335 *) break;;
8336 esac
8337 done
8338 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8341 # Only perform the check for file, if the check method requires it
8342 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8343 case $deplibs_check_method in
8344 file_magic*)
8345 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8347 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8348 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8349 $as_echo_n "(cached) " >&6
8350 else
8351 case $MAGIC_CMD in
8352 [\\/*] | ?:[\\/]*)
8353 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8356 lt_save_MAGIC_CMD="$MAGIC_CMD"
8357 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8358 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8359 for ac_dir in $ac_dummy; do
8360 IFS="$lt_save_ifs"
8361 test -z "$ac_dir" && ac_dir=.
8362 if test -f $ac_dir/${ac_tool_prefix}file; then
8363 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8364 if test -n "$file_magic_test_file"; then
8365 case $deplibs_check_method in
8366 "file_magic "*)
8367 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8368 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8369 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8370 $EGREP "$file_magic_regex" > /dev/null; then
8372 else
8373 cat <<_LT_EOF 1>&2
8375 *** Warning: the command libtool uses to detect shared libraries,
8376 *** $file_magic_cmd, produces output that libtool cannot recognize.
8377 *** The result is that libtool may fail to recognize shared libraries
8378 *** as such. This will affect the creation of libtool libraries that
8379 *** depend on shared libraries, but programs linked with such libtool
8380 *** libraries will work regardless of this problem. Nevertheless, you
8381 *** may want to report the problem to your system manager and/or to
8382 *** bug-libtool@gnu.org
8384 _LT_EOF
8385 fi ;;
8386 esac
8388 break
8390 done
8391 IFS="$lt_save_ifs"
8392 MAGIC_CMD="$lt_save_MAGIC_CMD"
8394 esac
8397 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8398 if test -n "$MAGIC_CMD"; then
8399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8400 $as_echo "$MAGIC_CMD" >&6; }
8401 else
8402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8403 $as_echo "no" >&6; }
8410 if test -z "$lt_cv_path_MAGIC_CMD"; then
8411 if test -n "$ac_tool_prefix"; then
8412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8413 $as_echo_n "checking for file... " >&6; }
8414 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8415 $as_echo_n "(cached) " >&6
8416 else
8417 case $MAGIC_CMD in
8418 [\\/*] | ?:[\\/]*)
8419 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8422 lt_save_MAGIC_CMD="$MAGIC_CMD"
8423 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8424 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8425 for ac_dir in $ac_dummy; do
8426 IFS="$lt_save_ifs"
8427 test -z "$ac_dir" && ac_dir=.
8428 if test -f $ac_dir/file; then
8429 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8430 if test -n "$file_magic_test_file"; then
8431 case $deplibs_check_method in
8432 "file_magic "*)
8433 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8434 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8435 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8436 $EGREP "$file_magic_regex" > /dev/null; then
8438 else
8439 cat <<_LT_EOF 1>&2
8441 *** Warning: the command libtool uses to detect shared libraries,
8442 *** $file_magic_cmd, produces output that libtool cannot recognize.
8443 *** The result is that libtool may fail to recognize shared libraries
8444 *** as such. This will affect the creation of libtool libraries that
8445 *** depend on shared libraries, but programs linked with such libtool
8446 *** libraries will work regardless of this problem. Nevertheless, you
8447 *** may want to report the problem to your system manager and/or to
8448 *** bug-libtool@gnu.org
8450 _LT_EOF
8451 fi ;;
8452 esac
8454 break
8456 done
8457 IFS="$lt_save_ifs"
8458 MAGIC_CMD="$lt_save_MAGIC_CMD"
8460 esac
8463 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8464 if test -n "$MAGIC_CMD"; then
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8466 $as_echo "$MAGIC_CMD" >&6; }
8467 else
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8469 $as_echo "no" >&6; }
8473 else
8474 MAGIC_CMD=:
8480 esac
8482 # Use C for the default configuration in the libtool script
8484 lt_save_CC="$CC"
8485 ac_ext=c
8486 ac_cpp='$CPP $CPPFLAGS'
8487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8492 # Source file extension for C test sources.
8493 ac_ext=c
8495 # Object file extension for compiled C test sources.
8496 objext=o
8497 objext=$objext
8499 # Code to be used in simple compile tests
8500 lt_simple_compile_test_code="int some_variable = 0;"
8502 # Code to be used in simple link tests
8503 lt_simple_link_test_code='int main(){return(0);}'
8511 # If no C compiler was specified, use CC.
8512 LTCC=${LTCC-"$CC"}
8514 # If no C compiler flags were specified, use CFLAGS.
8515 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8517 # Allow CC to be a program name with arguments.
8518 compiler=$CC
8520 # Save the default compiler, since it gets overwritten when the other
8521 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8522 compiler_DEFAULT=$CC
8524 # save warnings/boilerplate of simple test code
8525 ac_outfile=conftest.$ac_objext
8526 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8527 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8528 _lt_compiler_boilerplate=`cat conftest.err`
8529 $RM conftest*
8531 ac_outfile=conftest.$ac_objext
8532 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8533 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8534 _lt_linker_boilerplate=`cat conftest.err`
8535 $RM -r conftest*
8538 ## CAVEAT EMPTOR:
8539 ## There is no encapsulation within the following macros, do not change
8540 ## the running order or otherwise move them around unless you know exactly
8541 ## what you are doing...
8542 if test -n "$compiler"; then
8544 lt_prog_compiler_no_builtin_flag=
8546 if test "$GCC" = yes; then
8547 case $cc_basename in
8548 nvcc*)
8549 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8551 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8552 esac
8554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8555 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8556 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8557 $as_echo_n "(cached) " >&6
8558 else
8559 lt_cv_prog_compiler_rtti_exceptions=no
8560 ac_outfile=conftest.$ac_objext
8561 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8562 lt_compiler_flag="-fno-rtti -fno-exceptions"
8563 # Insert the option either (1) after the last *FLAGS variable, or
8564 # (2) before a word containing "conftest.", or (3) at the end.
8565 # Note that $ac_compile itself does not contain backslashes and begins
8566 # with a dollar sign (not a hyphen), so the echo should work correctly.
8567 # The option is referenced via a variable to avoid confusing sed.
8568 lt_compile=`echo "$ac_compile" | $SED \
8569 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8570 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8571 -e 's:$: $lt_compiler_flag:'`
8572 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8573 (eval "$lt_compile" 2>conftest.err)
8574 ac_status=$?
8575 cat conftest.err >&5
8576 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8577 if (exit $ac_status) && test -s "$ac_outfile"; then
8578 # The compiler can only warn and ignore the option if not recognized
8579 # So say no if there are warnings other than the usual output.
8580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8581 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8582 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8583 lt_cv_prog_compiler_rtti_exceptions=yes
8586 $RM conftest*
8589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8590 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8592 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8593 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8594 else
8605 lt_prog_compiler_wl=
8606 lt_prog_compiler_pic=
8607 lt_prog_compiler_static=
8609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8610 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8612 if test "$GCC" = yes; then
8613 lt_prog_compiler_wl='-Wl,'
8614 lt_prog_compiler_static='-static'
8616 case $host_os in
8617 aix*)
8618 # All AIX code is PIC.
8619 if test "$host_cpu" = ia64; then
8620 # AIX 5 now supports IA64 processor
8621 lt_prog_compiler_static='-Bstatic'
8623 lt_prog_compiler_pic='-fPIC'
8626 amigaos*)
8627 case $host_cpu in
8628 powerpc)
8629 # see comment about AmigaOS4 .so support
8630 lt_prog_compiler_pic='-fPIC'
8632 m68k)
8633 # FIXME: we need at least 68020 code to build shared libraries, but
8634 # adding the `-m68020' flag to GCC prevents building anything better,
8635 # like `-m68040'.
8636 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8638 esac
8641 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8642 # PIC is the default for these OSes.
8645 mingw* | cygwin* | pw32* | os2* | cegcc*)
8646 # This hack is so that the source file can tell whether it is being
8647 # built for inclusion in a dll (and should export symbols for example).
8648 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8649 # (--disable-auto-import) libraries
8650 lt_prog_compiler_pic='-DDLL_EXPORT'
8653 darwin* | rhapsody*)
8654 # PIC is the default on this platform
8655 # Common symbols not allowed in MH_DYLIB files
8656 lt_prog_compiler_pic='-fno-common'
8659 haiku*)
8660 # PIC is the default for Haiku.
8661 # The "-static" flag exists, but is broken.
8662 lt_prog_compiler_static=
8665 hpux*)
8666 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8667 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8668 # sets the default TLS model and affects inlining.
8669 case $host_cpu in
8670 hppa*64*)
8671 # +Z the default
8674 lt_prog_compiler_pic='-fPIC'
8676 esac
8679 interix[3-9]*)
8680 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8681 # Instead, we relocate shared libraries at runtime.
8684 msdosdjgpp*)
8685 # Just because we use GCC doesn't mean we suddenly get shared libraries
8686 # on systems that don't support them.
8687 lt_prog_compiler_can_build_shared=no
8688 enable_shared=no
8691 *nto* | *qnx*)
8692 # QNX uses GNU C++, but need to define -shared option too, otherwise
8693 # it will coredump.
8694 lt_prog_compiler_pic='-fPIC -shared'
8697 sysv4*MP*)
8698 if test -d /usr/nec; then
8699 lt_prog_compiler_pic=-Kconform_pic
8704 lt_prog_compiler_pic='-fPIC'
8706 esac
8708 case $cc_basename in
8709 nvcc*) # Cuda Compiler Driver 2.2
8710 lt_prog_compiler_wl='-Xlinker '
8711 lt_prog_compiler_pic='-Xcompiler -fPIC'
8713 esac
8714 else
8715 # PORTME Check for flag to pass linker flags through the system compiler.
8716 case $host_os in
8717 aix*)
8718 lt_prog_compiler_wl='-Wl,'
8719 if test "$host_cpu" = ia64; then
8720 # AIX 5 now supports IA64 processor
8721 lt_prog_compiler_static='-Bstatic'
8722 else
8723 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8727 mingw* | cygwin* | pw32* | os2* | cegcc*)
8728 # This hack is so that the source file can tell whether it is being
8729 # built for inclusion in a dll (and should export symbols for example).
8730 lt_prog_compiler_pic='-DDLL_EXPORT'
8733 hpux9* | hpux10* | hpux11*)
8734 lt_prog_compiler_wl='-Wl,'
8735 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8736 # not for PA HP-UX.
8737 case $host_cpu in
8738 hppa*64*|ia64*)
8739 # +Z the default
8742 lt_prog_compiler_pic='+Z'
8744 esac
8745 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8746 lt_prog_compiler_static='${wl}-a ${wl}archive'
8749 irix5* | irix6* | nonstopux*)
8750 lt_prog_compiler_wl='-Wl,'
8751 # PIC (with -KPIC) is the default.
8752 lt_prog_compiler_static='-non_shared'
8755 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8756 case $cc_basename in
8757 # old Intel for x86_64 which still supported -KPIC.
8758 ecc*)
8759 lt_prog_compiler_wl='-Wl,'
8760 lt_prog_compiler_pic='-KPIC'
8761 lt_prog_compiler_static='-static'
8763 # icc used to be incompatible with GCC.
8764 # ICC 10 doesn't accept -KPIC any more.
8765 icc* | ifort*)
8766 lt_prog_compiler_wl='-Wl,'
8767 lt_prog_compiler_pic='-fPIC'
8768 lt_prog_compiler_static='-static'
8770 # Lahey Fortran 8.1.
8771 lf95*)
8772 lt_prog_compiler_wl='-Wl,'
8773 lt_prog_compiler_pic='--shared'
8774 lt_prog_compiler_static='--static'
8776 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8777 # Portland Group compilers (*not* the Pentium gcc compiler,
8778 # which looks to be a dead project)
8779 lt_prog_compiler_wl='-Wl,'
8780 lt_prog_compiler_pic='-fpic'
8781 lt_prog_compiler_static='-Bstatic'
8783 ccc*)
8784 lt_prog_compiler_wl='-Wl,'
8785 # All Alpha code is PIC.
8786 lt_prog_compiler_static='-non_shared'
8788 xl* | bgxl* | bgf* | mpixl*)
8789 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8790 lt_prog_compiler_wl='-Wl,'
8791 lt_prog_compiler_pic='-qpic'
8792 lt_prog_compiler_static='-qstaticlink'
8795 case `$CC -V 2>&1 | sed 5q` in
8796 *Sun\ F* | *Sun*Fortran*)
8797 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8798 lt_prog_compiler_pic='-KPIC'
8799 lt_prog_compiler_static='-Bstatic'
8800 lt_prog_compiler_wl=''
8802 *Sun\ C*)
8803 # Sun C 5.9
8804 lt_prog_compiler_pic='-KPIC'
8805 lt_prog_compiler_static='-Bstatic'
8806 lt_prog_compiler_wl='-Wl,'
8808 esac
8810 esac
8813 newsos6)
8814 lt_prog_compiler_pic='-KPIC'
8815 lt_prog_compiler_static='-Bstatic'
8818 *nto* | *qnx*)
8819 # QNX uses GNU C++, but need to define -shared option too, otherwise
8820 # it will coredump.
8821 lt_prog_compiler_pic='-fPIC -shared'
8824 osf3* | osf4* | osf5*)
8825 lt_prog_compiler_wl='-Wl,'
8826 # All OSF/1 code is PIC.
8827 lt_prog_compiler_static='-non_shared'
8830 rdos*)
8831 lt_prog_compiler_static='-non_shared'
8834 solaris*)
8835 lt_prog_compiler_pic='-KPIC'
8836 lt_prog_compiler_static='-Bstatic'
8837 case $cc_basename in
8838 f77* | f90* | f95*)
8839 lt_prog_compiler_wl='-Qoption ld ';;
8841 lt_prog_compiler_wl='-Wl,';;
8842 esac
8845 sunos4*)
8846 lt_prog_compiler_wl='-Qoption ld '
8847 lt_prog_compiler_pic='-PIC'
8848 lt_prog_compiler_static='-Bstatic'
8851 sysv4 | sysv4.2uw2* | sysv4.3*)
8852 lt_prog_compiler_wl='-Wl,'
8853 lt_prog_compiler_pic='-KPIC'
8854 lt_prog_compiler_static='-Bstatic'
8857 sysv4*MP*)
8858 if test -d /usr/nec ;then
8859 lt_prog_compiler_pic='-Kconform_pic'
8860 lt_prog_compiler_static='-Bstatic'
8864 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8865 lt_prog_compiler_wl='-Wl,'
8866 lt_prog_compiler_pic='-KPIC'
8867 lt_prog_compiler_static='-Bstatic'
8870 unicos*)
8871 lt_prog_compiler_wl='-Wl,'
8872 lt_prog_compiler_can_build_shared=no
8875 uts4*)
8876 lt_prog_compiler_pic='-pic'
8877 lt_prog_compiler_static='-Bstatic'
8881 lt_prog_compiler_can_build_shared=no
8883 esac
8886 case $host_os in
8887 # For platforms which do not support PIC, -DPIC is meaningless:
8888 *djgpp*)
8889 lt_prog_compiler_pic=
8892 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8894 esac
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8896 $as_echo "$lt_prog_compiler_pic" >&6; }
8904 # Check to make sure the PIC flag actually works.
8906 if test -n "$lt_prog_compiler_pic"; then
8907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8908 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8909 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8910 $as_echo_n "(cached) " >&6
8911 else
8912 lt_cv_prog_compiler_pic_works=no
8913 ac_outfile=conftest.$ac_objext
8914 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8915 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8916 # Insert the option either (1) after the last *FLAGS variable, or
8917 # (2) before a word containing "conftest.", or (3) at the end.
8918 # Note that $ac_compile itself does not contain backslashes and begins
8919 # with a dollar sign (not a hyphen), so the echo should work correctly.
8920 # The option is referenced via a variable to avoid confusing sed.
8921 lt_compile=`echo "$ac_compile" | $SED \
8922 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8923 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8924 -e 's:$: $lt_compiler_flag:'`
8925 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8926 (eval "$lt_compile" 2>conftest.err)
8927 ac_status=$?
8928 cat conftest.err >&5
8929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8930 if (exit $ac_status) && test -s "$ac_outfile"; then
8931 # The compiler can only warn and ignore the option if not recognized
8932 # So say no if there are warnings other than the usual output.
8933 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8934 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8935 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8936 lt_cv_prog_compiler_pic_works=yes
8939 $RM conftest*
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8943 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8945 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8946 case $lt_prog_compiler_pic in
8947 "" | " "*) ;;
8948 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8949 esac
8950 else
8951 lt_prog_compiler_pic=
8952 lt_prog_compiler_can_build_shared=no
8963 # Check to make sure the static flag actually works.
8965 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8967 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8968 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8969 $as_echo_n "(cached) " >&6
8970 else
8971 lt_cv_prog_compiler_static_works=no
8972 save_LDFLAGS="$LDFLAGS"
8973 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8974 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8975 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8976 # The linker can only warn and ignore the option if not recognized
8977 # So say no if there are warnings
8978 if test -s conftest.err; then
8979 # Append any errors to the config.log.
8980 cat conftest.err 1>&5
8981 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8982 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8983 if diff conftest.exp conftest.er2 >/dev/null; then
8984 lt_cv_prog_compiler_static_works=yes
8986 else
8987 lt_cv_prog_compiler_static_works=yes
8990 $RM -r conftest*
8991 LDFLAGS="$save_LDFLAGS"
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8995 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8997 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
8999 else
9000 lt_prog_compiler_static=
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9010 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9011 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9012 $as_echo_n "(cached) " >&6
9013 else
9014 lt_cv_prog_compiler_c_o=no
9015 $RM -r conftest 2>/dev/null
9016 mkdir conftest
9017 cd conftest
9018 mkdir out
9019 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9021 lt_compiler_flag="-o out/conftest2.$ac_objext"
9022 # Insert the option either (1) after the last *FLAGS variable, or
9023 # (2) before a word containing "conftest.", or (3) at the end.
9024 # Note that $ac_compile itself does not contain backslashes and begins
9025 # with a dollar sign (not a hyphen), so the echo should work correctly.
9026 lt_compile=`echo "$ac_compile" | $SED \
9027 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9028 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9029 -e 's:$: $lt_compiler_flag:'`
9030 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9031 (eval "$lt_compile" 2>out/conftest.err)
9032 ac_status=$?
9033 cat out/conftest.err >&5
9034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9035 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9036 then
9037 # The compiler can only warn and ignore the option if not recognized
9038 # So say no if there are warnings
9039 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9040 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9041 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9042 lt_cv_prog_compiler_c_o=yes
9045 chmod u+w . 2>&5
9046 $RM conftest*
9047 # SGI C++ compiler will create directory out/ii_files/ for
9048 # template instantiation
9049 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9050 $RM out/* && rmdir out
9051 cd ..
9052 $RM -r conftest
9053 $RM conftest*
9056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9057 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9065 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9066 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9067 $as_echo_n "(cached) " >&6
9068 else
9069 lt_cv_prog_compiler_c_o=no
9070 $RM -r conftest 2>/dev/null
9071 mkdir conftest
9072 cd conftest
9073 mkdir out
9074 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9076 lt_compiler_flag="-o out/conftest2.$ac_objext"
9077 # Insert the option either (1) after the last *FLAGS variable, or
9078 # (2) before a word containing "conftest.", or (3) at the end.
9079 # Note that $ac_compile itself does not contain backslashes and begins
9080 # with a dollar sign (not a hyphen), so the echo should work correctly.
9081 lt_compile=`echo "$ac_compile" | $SED \
9082 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9083 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9084 -e 's:$: $lt_compiler_flag:'`
9085 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9086 (eval "$lt_compile" 2>out/conftest.err)
9087 ac_status=$?
9088 cat out/conftest.err >&5
9089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9090 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9091 then
9092 # The compiler can only warn and ignore the option if not recognized
9093 # So say no if there are warnings
9094 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9095 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9096 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9097 lt_cv_prog_compiler_c_o=yes
9100 chmod u+w . 2>&5
9101 $RM conftest*
9102 # SGI C++ compiler will create directory out/ii_files/ for
9103 # template instantiation
9104 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9105 $RM out/* && rmdir out
9106 cd ..
9107 $RM -r conftest
9108 $RM conftest*
9111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9112 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9117 hard_links="nottested"
9118 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9119 # do not overwrite the value of need_locks provided by the user
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9121 $as_echo_n "checking if we can lock with hard links... " >&6; }
9122 hard_links=yes
9123 $RM conftest*
9124 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9125 touch conftest.a
9126 ln conftest.a conftest.b 2>&5 || hard_links=no
9127 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9129 $as_echo "$hard_links" >&6; }
9130 if test "$hard_links" = no; then
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9132 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9133 need_locks=warn
9135 else
9136 need_locks=no
9144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9145 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9147 runpath_var=
9148 allow_undefined_flag=
9149 always_export_symbols=no
9150 archive_cmds=
9151 archive_expsym_cmds=
9152 compiler_needs_object=no
9153 enable_shared_with_static_runtimes=no
9154 export_dynamic_flag_spec=
9155 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9156 hardcode_automatic=no
9157 hardcode_direct=no
9158 hardcode_direct_absolute=no
9159 hardcode_libdir_flag_spec=
9160 hardcode_libdir_flag_spec_ld=
9161 hardcode_libdir_separator=
9162 hardcode_minus_L=no
9163 hardcode_shlibpath_var=unsupported
9164 inherit_rpath=no
9165 link_all_deplibs=unknown
9166 module_cmds=
9167 module_expsym_cmds=
9168 old_archive_from_new_cmds=
9169 old_archive_from_expsyms_cmds=
9170 thread_safe_flag_spec=
9171 whole_archive_flag_spec=
9172 # include_expsyms should be a list of space-separated symbols to be *always*
9173 # included in the symbol list
9174 include_expsyms=
9175 # exclude_expsyms can be an extended regexp of symbols to exclude
9176 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9177 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9178 # as well as any symbol that contains `d'.
9179 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9180 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9181 # platforms (ab)use it in PIC code, but their linkers get confused if
9182 # the symbol is explicitly referenced. Since portable code cannot
9183 # rely on this symbol name, it's probably fine to never include it in
9184 # preloaded symbol tables.
9185 # Exclude shared library initialization/finalization symbols.
9186 extract_expsyms_cmds=
9188 case $host_os in
9189 cygwin* | mingw* | pw32* | cegcc*)
9190 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9191 # When not using gcc, we currently assume that we are using
9192 # Microsoft Visual C++.
9193 if test "$GCC" != yes; then
9194 with_gnu_ld=no
9197 interix*)
9198 # we just hope/assume this is gcc and not c89 (= MSVC++)
9199 with_gnu_ld=yes
9201 openbsd*)
9202 with_gnu_ld=no
9204 esac
9206 ld_shlibs=yes
9208 # On some targets, GNU ld is compatible enough with the native linker
9209 # that we're better off using the native interface for both.
9210 lt_use_gnu_ld_interface=no
9211 if test "$with_gnu_ld" = yes; then
9212 case $host_os in
9213 aix*)
9214 # The AIX port of GNU ld has always aspired to compatibility
9215 # with the native linker. However, as the warning in the GNU ld
9216 # block says, versions before 2.19.5* couldn't really create working
9217 # shared libraries, regardless of the interface used.
9218 case `$LD -v 2>&1` in
9219 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9220 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9221 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9223 lt_use_gnu_ld_interface=yes
9225 esac
9228 lt_use_gnu_ld_interface=yes
9230 esac
9233 if test "$lt_use_gnu_ld_interface" = yes; then
9234 # If archive_cmds runs LD, not CC, wlarc should be empty
9235 wlarc='${wl}'
9237 # Set some defaults for GNU ld with shared library support. These
9238 # are reset later if shared libraries are not supported. Putting them
9239 # here allows them to be overridden if necessary.
9240 runpath_var=LD_RUN_PATH
9241 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9242 export_dynamic_flag_spec='${wl}--export-dynamic'
9243 # ancient GNU ld didn't support --whole-archive et. al.
9244 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9245 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9246 else
9247 whole_archive_flag_spec=
9249 supports_anon_versioning=no
9250 case `$LD -v 2>&1` in
9251 *GNU\ gold*) supports_anon_versioning=yes ;;
9252 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9253 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9254 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9255 *\ 2.11.*) ;; # other 2.11 versions
9256 *) supports_anon_versioning=yes ;;
9257 esac
9259 # See if GNU ld supports shared libraries.
9260 case $host_os in
9261 aix[3-9]*)
9262 # On AIX/PPC, the GNU linker is very broken
9263 if test "$host_cpu" != ia64; then
9264 ld_shlibs=no
9265 cat <<_LT_EOF 1>&2
9267 *** Warning: the GNU linker, at least up to release 2.19, is reported
9268 *** to be unable to reliably create shared libraries on AIX.
9269 *** Therefore, libtool is disabling shared libraries support. If you
9270 *** really care for shared libraries, you may want to install binutils
9271 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9272 *** You will then need to restart the configuration process.
9274 _LT_EOF
9278 amigaos*)
9279 case $host_cpu in
9280 powerpc)
9281 # see comment about AmigaOS4 .so support
9282 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9283 archive_expsym_cmds=''
9285 m68k)
9286 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)'
9287 hardcode_libdir_flag_spec='-L$libdir'
9288 hardcode_minus_L=yes
9290 esac
9293 beos*)
9294 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9295 allow_undefined_flag=unsupported
9296 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9297 # support --undefined. This deserves some investigation. FIXME
9298 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299 else
9300 ld_shlibs=no
9304 cygwin* | mingw* | pw32* | cegcc*)
9305 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9306 # as there is no search path for DLLs.
9307 hardcode_libdir_flag_spec='-L$libdir'
9308 export_dynamic_flag_spec='${wl}--export-all-symbols'
9309 allow_undefined_flag=unsupported
9310 always_export_symbols=no
9311 enable_shared_with_static_runtimes=yes
9312 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9314 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9315 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9316 # If the export-symbols file already is a .def file (1st line
9317 # is EXPORTS), use it as is; otherwise, prepend...
9318 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9319 cp $export_symbols $output_objdir/$soname.def;
9320 else
9321 echo EXPORTS > $output_objdir/$soname.def;
9322 cat $export_symbols >> $output_objdir/$soname.def;
9324 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9325 else
9326 ld_shlibs=no
9330 haiku*)
9331 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9332 link_all_deplibs=yes
9335 interix[3-9]*)
9336 hardcode_direct=no
9337 hardcode_shlibpath_var=no
9338 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9339 export_dynamic_flag_spec='${wl}-E'
9340 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9341 # Instead, shared libraries are loaded at an image base (0x10000000 by
9342 # default) and relocated if they conflict, which is a slow very memory
9343 # consuming and fragmenting process. To avoid this, we pick a random,
9344 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9345 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9346 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9347 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'
9350 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9351 tmp_diet=no
9352 if test "$host_os" = linux-dietlibc; then
9353 case $cc_basename in
9354 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9355 esac
9357 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9358 && test "$tmp_diet" = no
9359 then
9360 tmp_addflag=' $pic_flag'
9361 tmp_sharedflag='-shared'
9362 case $cc_basename,$host_cpu in
9363 pgcc*) # Portland Group C compiler
9364 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'
9365 tmp_addflag=' $pic_flag'
9367 pgf77* | pgf90* | pgf95* | pgfortran*)
9368 # Portland Group f77 and f90 compilers
9369 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'
9370 tmp_addflag=' $pic_flag -Mnomain' ;;
9371 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9372 tmp_addflag=' -i_dynamic' ;;
9373 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9374 tmp_addflag=' -i_dynamic -nofor_main' ;;
9375 ifc* | ifort*) # Intel Fortran compiler
9376 tmp_addflag=' -nofor_main' ;;
9377 lf95*) # Lahey Fortran 8.1
9378 whole_archive_flag_spec=
9379 tmp_sharedflag='--shared' ;;
9380 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9381 tmp_sharedflag='-qmkshrobj'
9382 tmp_addflag= ;;
9383 nvcc*) # Cuda Compiler Driver 2.2
9384 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'
9385 compiler_needs_object=yes
9387 esac
9388 case `$CC -V 2>&1 | sed 5q` in
9389 *Sun\ C*) # Sun C 5.9
9390 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'
9391 compiler_needs_object=yes
9392 tmp_sharedflag='-G' ;;
9393 *Sun\ F*) # Sun Fortran 8.3
9394 tmp_sharedflag='-G' ;;
9395 esac
9396 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9398 if test "x$supports_anon_versioning" = xyes; then
9399 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9400 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9401 echo "local: *; };" >> $output_objdir/$libname.ver~
9402 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9405 case $cc_basename in
9406 xlf* | bgf* | bgxlf* | mpixlf*)
9407 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9408 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9409 hardcode_libdir_flag_spec=
9410 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9411 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9412 if test "x$supports_anon_versioning" = xyes; then
9413 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9414 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9415 echo "local: *; };" >> $output_objdir/$libname.ver~
9416 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9419 esac
9420 else
9421 ld_shlibs=no
9425 netbsd*)
9426 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9427 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9428 wlarc=
9429 else
9430 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9431 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9435 solaris*)
9436 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9437 ld_shlibs=no
9438 cat <<_LT_EOF 1>&2
9440 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9441 *** create shared libraries on Solaris systems. Therefore, libtool
9442 *** is disabling shared libraries support. We urge you to upgrade GNU
9443 *** binutils to release 2.9.1 or newer. Another option is to modify
9444 *** your PATH or compiler configuration so that the native linker is
9445 *** used, and then restart.
9447 _LT_EOF
9448 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9449 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9450 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9451 else
9452 ld_shlibs=no
9456 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9457 case `$LD -v 2>&1` in
9458 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9459 ld_shlibs=no
9460 cat <<_LT_EOF 1>&2
9462 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9463 *** reliably create shared libraries on SCO systems. Therefore, libtool
9464 *** is disabling shared libraries support. We urge you to upgrade GNU
9465 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9466 *** your PATH or compiler configuration so that the native linker is
9467 *** used, and then restart.
9469 _LT_EOF
9472 # For security reasons, it is highly recommended that you always
9473 # use absolute paths for naming shared libraries, and exclude the
9474 # DT_RUNPATH tag from executables and libraries. But doing so
9475 # requires that you compile everything twice, which is a pain.
9476 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9477 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9478 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9479 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9480 else
9481 ld_shlibs=no
9484 esac
9487 sunos4*)
9488 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9489 wlarc=
9490 hardcode_direct=yes
9491 hardcode_shlibpath_var=no
9495 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9496 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9497 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9498 else
9499 ld_shlibs=no
9502 esac
9504 if test "$ld_shlibs" = no; then
9505 runpath_var=
9506 hardcode_libdir_flag_spec=
9507 export_dynamic_flag_spec=
9508 whole_archive_flag_spec=
9510 else
9511 # PORTME fill in a description of your system's linker (not GNU ld)
9512 case $host_os in
9513 aix3*)
9514 allow_undefined_flag=unsupported
9515 always_export_symbols=yes
9516 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'
9517 # Note: this linker hardcodes the directories in LIBPATH if there
9518 # are no directories specified by -L.
9519 hardcode_minus_L=yes
9520 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9521 # Neither direct hardcoding nor static linking is supported with a
9522 # broken collect2.
9523 hardcode_direct=unsupported
9527 aix[4-9]*)
9528 if test "$host_cpu" = ia64; then
9529 # On IA64, the linker does run time linking by default, so we don't
9530 # have to do anything special.
9531 aix_use_runtimelinking=no
9532 exp_sym_flag='-Bexport'
9533 no_entry_flag=""
9534 else
9535 # If we're using GNU nm, then we don't want the "-C" option.
9536 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9537 # Also, AIX nm treats weak defined symbols like other global
9538 # defined symbols, whereas GNU nm marks them as "W".
9539 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9540 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'
9541 else
9542 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'
9544 aix_use_runtimelinking=no
9546 # Test if we are trying to use run time linking or normal
9547 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9548 # need to do runtime linking.
9549 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9550 for ld_flag in $LDFLAGS; do
9551 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9552 aix_use_runtimelinking=yes
9553 break
9555 done
9557 esac
9559 exp_sym_flag='-bexport'
9560 no_entry_flag='-bnoentry'
9563 # When large executables or shared objects are built, AIX ld can
9564 # have problems creating the table of contents. If linking a library
9565 # or program results in "error TOC overflow" add -mminimal-toc to
9566 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9567 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9569 archive_cmds=''
9570 hardcode_direct=yes
9571 hardcode_direct_absolute=yes
9572 hardcode_libdir_separator=':'
9573 link_all_deplibs=yes
9574 file_list_spec='${wl}-f,'
9576 if test "$GCC" = yes; then
9577 case $host_os in aix4.[012]|aix4.[012].*)
9578 # We only want to do this on AIX 4.2 and lower, the check
9579 # below for broken collect2 doesn't work under 4.3+
9580 collect2name=`${CC} -print-prog-name=collect2`
9581 if test -f "$collect2name" &&
9582 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9583 then
9584 # We have reworked collect2
9586 else
9587 # We have old collect2
9588 hardcode_direct=unsupported
9589 # It fails to find uninstalled libraries when the uninstalled
9590 # path is not listed in the libpath. Setting hardcode_minus_L
9591 # to unsupported forces relinking
9592 hardcode_minus_L=yes
9593 hardcode_libdir_flag_spec='-L$libdir'
9594 hardcode_libdir_separator=
9597 esac
9598 shared_flag='-shared'
9599 if test "$aix_use_runtimelinking" = yes; then
9600 shared_flag="$shared_flag "'${wl}-G'
9602 else
9603 # not using gcc
9604 if test "$host_cpu" = ia64; then
9605 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9606 # chokes on -Wl,-G. The following line is correct:
9607 shared_flag='-G'
9608 else
9609 if test "$aix_use_runtimelinking" = yes; then
9610 shared_flag='${wl}-G'
9611 else
9612 shared_flag='${wl}-bM:SRE'
9617 export_dynamic_flag_spec='${wl}-bexpall'
9618 # It seems that -bexpall does not export symbols beginning with
9619 # underscore (_), so it is better to generate a list of symbols to export.
9620 always_export_symbols=yes
9621 if test "$aix_use_runtimelinking" = yes; then
9622 # Warning - without using the other runtime loading flags (-brtl),
9623 # -berok will link without error, but may produce a broken library.
9624 allow_undefined_flag='-berok'
9625 # Determine the default libpath from the value encoded in an
9626 # empty executable.
9627 if test x$gcc_no_link = xyes; then
9628 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9631 /* end confdefs.h. */
9634 main ()
9638 return 0;
9640 _ACEOF
9641 if ac_fn_c_try_link "$LINENO"; then :
9643 lt_aix_libpath_sed='
9644 /Import File Strings/,/^$/ {
9645 /^0/ {
9646 s/^0 *\(.*\)$/\1/
9650 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9651 # Check for a 64-bit object if we didn't find anything.
9652 if test -z "$aix_libpath"; then
9653 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9656 rm -f core conftest.err conftest.$ac_objext \
9657 conftest$ac_exeext conftest.$ac_ext
9658 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9660 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9661 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"
9662 else
9663 if test "$host_cpu" = ia64; then
9664 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9665 allow_undefined_flag="-z nodefs"
9666 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"
9667 else
9668 # Determine the default libpath from the value encoded in an
9669 # empty executable.
9670 if test x$gcc_no_link = xyes; then
9671 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9674 /* end confdefs.h. */
9677 main ()
9681 return 0;
9683 _ACEOF
9684 if ac_fn_c_try_link "$LINENO"; then :
9686 lt_aix_libpath_sed='
9687 /Import File Strings/,/^$/ {
9688 /^0/ {
9689 s/^0 *\(.*\)$/\1/
9693 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9694 # Check for a 64-bit object if we didn't find anything.
9695 if test -z "$aix_libpath"; then
9696 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9699 rm -f core conftest.err conftest.$ac_objext \
9700 conftest$ac_exeext conftest.$ac_ext
9701 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9703 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9704 # Warning - without using the other run time loading flags,
9705 # -berok will link without error, but may produce a broken library.
9706 no_undefined_flag=' ${wl}-bernotok'
9707 allow_undefined_flag=' ${wl}-berok'
9708 if test "$with_gnu_ld" = yes; then
9709 # We only use this code for GNU lds that support --whole-archive.
9710 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9711 else
9712 # Exported symbols can be pulled into shared objects from archives
9713 whole_archive_flag_spec='$convenience'
9715 archive_cmds_need_lc=yes
9716 # This is similar to how AIX traditionally builds its shared libraries.
9717 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'
9722 amigaos*)
9723 case $host_cpu in
9724 powerpc)
9725 # see comment about AmigaOS4 .so support
9726 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9727 archive_expsym_cmds=''
9729 m68k)
9730 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)'
9731 hardcode_libdir_flag_spec='-L$libdir'
9732 hardcode_minus_L=yes
9734 esac
9737 bsdi[45]*)
9738 export_dynamic_flag_spec=-rdynamic
9741 cygwin* | mingw* | pw32* | cegcc*)
9742 # When not using gcc, we currently assume that we are using
9743 # Microsoft Visual C++.
9744 # hardcode_libdir_flag_spec is actually meaningless, as there is
9745 # no search path for DLLs.
9746 hardcode_libdir_flag_spec=' '
9747 allow_undefined_flag=unsupported
9748 # Tell ltmain to make .lib files, not .a files.
9749 libext=lib
9750 # Tell ltmain to make .dll files, not .so files.
9751 shrext_cmds=".dll"
9752 # FIXME: Setting linknames here is a bad hack.
9753 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9754 # The linker will automatically build a .lib file if we build a DLL.
9755 old_archive_from_new_cmds='true'
9756 # FIXME: Should let the user specify the lib program.
9757 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9758 fix_srcfile_path='`cygpath -w "$srcfile"`'
9759 enable_shared_with_static_runtimes=yes
9762 darwin* | rhapsody*)
9765 archive_cmds_need_lc=no
9766 hardcode_direct=no
9767 hardcode_automatic=yes
9768 hardcode_shlibpath_var=unsupported
9769 if test "$lt_cv_ld_force_load" = "yes"; then
9770 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\"`'
9771 else
9772 whole_archive_flag_spec=''
9774 link_all_deplibs=yes
9775 allow_undefined_flag="$_lt_dar_allow_undefined"
9776 case $cc_basename in
9777 ifort*) _lt_dar_can_shared=yes ;;
9778 *) _lt_dar_can_shared=$GCC ;;
9779 esac
9780 if test "$_lt_dar_can_shared" = "yes"; then
9781 output_verbose_link_cmd=func_echo_all
9782 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9783 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9784 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}"
9785 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}"
9787 else
9788 ld_shlibs=no
9793 dgux*)
9794 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9795 hardcode_libdir_flag_spec='-L$libdir'
9796 hardcode_shlibpath_var=no
9799 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9800 # support. Future versions do this automatically, but an explicit c++rt0.o
9801 # does not break anything, and helps significantly (at the cost of a little
9802 # extra space).
9803 freebsd2.2*)
9804 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9805 hardcode_libdir_flag_spec='-R$libdir'
9806 hardcode_direct=yes
9807 hardcode_shlibpath_var=no
9810 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9811 freebsd2.*)
9812 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9813 hardcode_direct=yes
9814 hardcode_minus_L=yes
9815 hardcode_shlibpath_var=no
9818 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9819 freebsd* | dragonfly*)
9820 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9821 hardcode_libdir_flag_spec='-R$libdir'
9822 hardcode_direct=yes
9823 hardcode_shlibpath_var=no
9826 hpux9*)
9827 if test "$GCC" = yes; then
9828 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'
9829 else
9830 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'
9832 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9833 hardcode_libdir_separator=:
9834 hardcode_direct=yes
9836 # hardcode_minus_L: Not really in the search PATH,
9837 # but as the default location of the library.
9838 hardcode_minus_L=yes
9839 export_dynamic_flag_spec='${wl}-E'
9842 hpux10*)
9843 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9844 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9845 else
9846 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9848 if test "$with_gnu_ld" = no; then
9849 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9850 hardcode_libdir_flag_spec_ld='+b $libdir'
9851 hardcode_libdir_separator=:
9852 hardcode_direct=yes
9853 hardcode_direct_absolute=yes
9854 export_dynamic_flag_spec='${wl}-E'
9855 # hardcode_minus_L: Not really in the search PATH,
9856 # but as the default location of the library.
9857 hardcode_minus_L=yes
9861 hpux11*)
9862 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9863 case $host_cpu in
9864 hppa*64*)
9865 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9867 ia64*)
9868 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9871 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9873 esac
9874 else
9875 case $host_cpu in
9876 hppa*64*)
9877 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9879 ia64*)
9880 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9884 # Older versions of the 11.00 compiler do not understand -b yet
9885 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9887 $as_echo_n "checking if $CC understands -b... " >&6; }
9888 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9889 $as_echo_n "(cached) " >&6
9890 else
9891 lt_cv_prog_compiler__b=no
9892 save_LDFLAGS="$LDFLAGS"
9893 LDFLAGS="$LDFLAGS -b"
9894 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9895 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9896 # The linker can only warn and ignore the option if not recognized
9897 # So say no if there are warnings
9898 if test -s conftest.err; then
9899 # Append any errors to the config.log.
9900 cat conftest.err 1>&5
9901 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9902 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9903 if diff conftest.exp conftest.er2 >/dev/null; then
9904 lt_cv_prog_compiler__b=yes
9906 else
9907 lt_cv_prog_compiler__b=yes
9910 $RM -r conftest*
9911 LDFLAGS="$save_LDFLAGS"
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9915 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9917 if test x"$lt_cv_prog_compiler__b" = xyes; then
9918 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9919 else
9920 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9924 esac
9926 if test "$with_gnu_ld" = no; then
9927 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9928 hardcode_libdir_separator=:
9930 case $host_cpu in
9931 hppa*64*|ia64*)
9932 hardcode_direct=no
9933 hardcode_shlibpath_var=no
9936 hardcode_direct=yes
9937 hardcode_direct_absolute=yes
9938 export_dynamic_flag_spec='${wl}-E'
9940 # hardcode_minus_L: Not really in the search PATH,
9941 # but as the default location of the library.
9942 hardcode_minus_L=yes
9944 esac
9948 irix5* | irix6* | nonstopux*)
9949 if test "$GCC" = yes; then
9950 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'
9951 # Try to use the -exported_symbol ld option, if it does not
9952 # work, assume that -exports_file does not work either and
9953 # implicitly export all symbols.
9954 save_LDFLAGS="$LDFLAGS"
9955 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9956 if test x$gcc_no_link = xyes; then
9957 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9960 /* end confdefs.h. */
9961 int foo(void) {}
9962 _ACEOF
9963 if ac_fn_c_try_link "$LINENO"; then :
9964 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'
9967 rm -f core conftest.err conftest.$ac_objext \
9968 conftest$ac_exeext conftest.$ac_ext
9969 LDFLAGS="$save_LDFLAGS"
9970 else
9971 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'
9972 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'
9974 archive_cmds_need_lc='no'
9975 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9976 hardcode_libdir_separator=:
9977 inherit_rpath=yes
9978 link_all_deplibs=yes
9981 netbsd*)
9982 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9983 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9984 else
9985 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9987 hardcode_libdir_flag_spec='-R$libdir'
9988 hardcode_direct=yes
9989 hardcode_shlibpath_var=no
9992 newsos6)
9993 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9994 hardcode_direct=yes
9995 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9996 hardcode_libdir_separator=:
9997 hardcode_shlibpath_var=no
10000 *nto* | *qnx*)
10003 openbsd*)
10004 if test -f /usr/libexec/ld.so; then
10005 hardcode_direct=yes
10006 hardcode_shlibpath_var=no
10007 hardcode_direct_absolute=yes
10008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10009 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10010 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10011 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10012 export_dynamic_flag_spec='${wl}-E'
10013 else
10014 case $host_os in
10015 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10016 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10017 hardcode_libdir_flag_spec='-R$libdir'
10020 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10021 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10023 esac
10025 else
10026 ld_shlibs=no
10030 os2*)
10031 hardcode_libdir_flag_spec='-L$libdir'
10032 hardcode_minus_L=yes
10033 allow_undefined_flag=unsupported
10034 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'
10035 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10038 osf3*)
10039 if test "$GCC" = yes; then
10040 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10041 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'
10042 else
10043 allow_undefined_flag=' -expect_unresolved \*'
10044 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'
10046 archive_cmds_need_lc='no'
10047 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10048 hardcode_libdir_separator=:
10051 osf4* | osf5*) # as osf3* with the addition of -msym flag
10052 if test "$GCC" = yes; then
10053 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10054 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'
10055 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10056 else
10057 allow_undefined_flag=' -expect_unresolved \*'
10058 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'
10059 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~
10060 $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'
10062 # Both c and cxx compiler support -rpath directly
10063 hardcode_libdir_flag_spec='-rpath $libdir'
10065 archive_cmds_need_lc='no'
10066 hardcode_libdir_separator=:
10069 solaris*)
10070 no_undefined_flag=' -z defs'
10071 if test "$GCC" = yes; then
10072 wlarc='${wl}'
10073 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10074 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10075 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10076 else
10077 case `$CC -V 2>&1` in
10078 *"Compilers 5.0"*)
10079 wlarc=''
10080 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10081 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10082 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10085 wlarc='${wl}'
10086 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10087 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10088 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10090 esac
10092 hardcode_libdir_flag_spec='-R$libdir'
10093 hardcode_shlibpath_var=no
10094 case $host_os in
10095 solaris2.[0-5] | solaris2.[0-5].*) ;;
10097 # The compiler driver will combine and reorder linker options,
10098 # but understands `-z linker_flag'. GCC discards it without `$wl',
10099 # but is careful enough not to reorder.
10100 # Supported since Solaris 2.6 (maybe 2.5.1?)
10101 if test "$GCC" = yes; then
10102 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10103 else
10104 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10107 esac
10108 link_all_deplibs=yes
10111 sunos4*)
10112 if test "x$host_vendor" = xsequent; then
10113 # Use $CC to link under sequent, because it throws in some extra .o
10114 # files that make .init and .fini sections work.
10115 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10116 else
10117 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10119 hardcode_libdir_flag_spec='-L$libdir'
10120 hardcode_direct=yes
10121 hardcode_minus_L=yes
10122 hardcode_shlibpath_var=no
10125 sysv4)
10126 case $host_vendor in
10127 sni)
10128 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10129 hardcode_direct=yes # is this really true???
10131 siemens)
10132 ## LD is ld it makes a PLAMLIB
10133 ## CC just makes a GrossModule.
10134 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10135 reload_cmds='$CC -r -o $output$reload_objs'
10136 hardcode_direct=no
10138 motorola)
10139 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10140 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10142 esac
10143 runpath_var='LD_RUN_PATH'
10144 hardcode_shlibpath_var=no
10147 sysv4.3*)
10148 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10149 hardcode_shlibpath_var=no
10150 export_dynamic_flag_spec='-Bexport'
10153 sysv4*MP*)
10154 if test -d /usr/nec; then
10155 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10156 hardcode_shlibpath_var=no
10157 runpath_var=LD_RUN_PATH
10158 hardcode_runpath_var=yes
10159 ld_shlibs=yes
10163 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10164 no_undefined_flag='${wl}-z,text'
10165 archive_cmds_need_lc=no
10166 hardcode_shlibpath_var=no
10167 runpath_var='LD_RUN_PATH'
10169 if test "$GCC" = yes; then
10170 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10172 else
10173 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10178 sysv5* | sco3.2v5* | sco5v6*)
10179 # Note: We can NOT use -z defs as we might desire, because we do not
10180 # link with -lc, and that would cause any symbols used from libc to
10181 # always be unresolved, which means just about no library would
10182 # ever link correctly. If we're not using GNU ld we use -z text
10183 # though, which does catch some bad symbols but isn't as heavy-handed
10184 # as -z defs.
10185 no_undefined_flag='${wl}-z,text'
10186 allow_undefined_flag='${wl}-z,nodefs'
10187 archive_cmds_need_lc=no
10188 hardcode_shlibpath_var=no
10189 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10190 hardcode_libdir_separator=':'
10191 link_all_deplibs=yes
10192 export_dynamic_flag_spec='${wl}-Bexport'
10193 runpath_var='LD_RUN_PATH'
10195 if test "$GCC" = yes; then
10196 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10197 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10198 else
10199 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10204 uts4*)
10205 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10206 hardcode_libdir_flag_spec='-L$libdir'
10207 hardcode_shlibpath_var=no
10211 ld_shlibs=no
10213 esac
10215 if test x$host_vendor = xsni; then
10216 case $host in
10217 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10218 export_dynamic_flag_spec='${wl}-Blargedynsym'
10220 esac
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10225 $as_echo "$ld_shlibs" >&6; }
10226 test "$ld_shlibs" = no && can_build_shared=no
10228 with_gnu_ld=$with_gnu_ld
10245 # Do we need to explicitly link libc?
10247 case "x$archive_cmds_need_lc" in
10248 x|xyes)
10249 # Assume -lc should be added
10250 archive_cmds_need_lc=yes
10252 if test "$enable_shared" = yes && test "$GCC" = yes; then
10253 case $archive_cmds in
10254 *'~'*)
10255 # FIXME: we may have to deal with multi-command sequences.
10257 '$CC '*)
10258 # Test whether the compiler implicitly links with -lc since on some
10259 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10260 # to ld, don't add -lc before -lgcc.
10261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10262 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10263 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10264 $as_echo_n "(cached) " >&6
10265 else
10266 $RM conftest*
10267 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10269 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10270 (eval $ac_compile) 2>&5
10271 ac_status=$?
10272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10273 test $ac_status = 0; } 2>conftest.err; then
10274 soname=conftest
10275 lib=conftest
10276 libobjs=conftest.$ac_objext
10277 deplibs=
10278 wl=$lt_prog_compiler_wl
10279 pic_flag=$lt_prog_compiler_pic
10280 compiler_flags=-v
10281 linker_flags=-v
10282 verstring=
10283 output_objdir=.
10284 libname=conftest
10285 lt_save_allow_undefined_flag=$allow_undefined_flag
10286 allow_undefined_flag=
10287 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10288 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10289 ac_status=$?
10290 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10291 test $ac_status = 0; }
10292 then
10293 lt_cv_archive_cmds_need_lc=no
10294 else
10295 lt_cv_archive_cmds_need_lc=yes
10297 allow_undefined_flag=$lt_save_allow_undefined_flag
10298 else
10299 cat conftest.err 1>&5
10301 $RM conftest*
10304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10305 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10306 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10308 esac
10311 esac
10469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10470 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10472 if test "$GCC" = yes; then
10473 case $host_os in
10474 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10475 *) lt_awk_arg="/^libraries:/" ;;
10476 esac
10477 case $host_os in
10478 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10479 *) lt_sed_strip_eq="s,=/,/,g" ;;
10480 esac
10481 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10482 case $lt_search_path_spec in
10483 *\;*)
10484 # if the path contains ";" then we assume it to be the separator
10485 # otherwise default to the standard path separator (i.e. ":") - it is
10486 # assumed that no part of a normal pathname contains ";" but that should
10487 # okay in the real world where ";" in dirpaths is itself problematic.
10488 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10491 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10493 esac
10494 # Ok, now we have the path, separated by spaces, we can step through it
10495 # and add multilib dir if necessary.
10496 lt_tmp_lt_search_path_spec=
10497 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10498 for lt_sys_path in $lt_search_path_spec; do
10499 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10501 else
10502 test -d "$lt_sys_path" && \
10503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10505 done
10506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10507 BEGIN {RS=" "; FS="/|\n";} {
10508 lt_foo="";
10509 lt_count=0;
10510 for (lt_i = NF; lt_i > 0; lt_i--) {
10511 if ($lt_i != "" && $lt_i != ".") {
10512 if ($lt_i == "..") {
10513 lt_count++;
10514 } else {
10515 if (lt_count == 0) {
10516 lt_foo="/" $lt_i lt_foo;
10517 } else {
10518 lt_count--;
10523 if (lt_foo != "") { lt_freq[lt_foo]++; }
10524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10526 # AWK program above erroneously prepends '/' to C:/dos/paths
10527 # for these hosts.
10528 case $host_os in
10529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10530 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10531 esac
10532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10533 else
10534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10536 library_names_spec=
10537 libname_spec='lib$name'
10538 soname_spec=
10539 shrext_cmds=".so"
10540 postinstall_cmds=
10541 postuninstall_cmds=
10542 finish_cmds=
10543 finish_eval=
10544 shlibpath_var=
10545 shlibpath_overrides_runpath=unknown
10546 version_type=none
10547 dynamic_linker="$host_os ld.so"
10548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10549 need_lib_prefix=unknown
10550 hardcode_into_libs=no
10552 # when you set need_version to no, make sure it does not cause -set_version
10553 # flags to be left without arguments
10554 need_version=unknown
10556 case $host_os in
10557 aix3*)
10558 version_type=linux
10559 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10560 shlibpath_var=LIBPATH
10562 # AIX 3 has no versioning support, so we append a major version to the name.
10563 soname_spec='${libname}${release}${shared_ext}$major'
10566 aix[4-9]*)
10567 version_type=linux
10568 need_lib_prefix=no
10569 need_version=no
10570 hardcode_into_libs=yes
10571 if test "$host_cpu" = ia64; then
10572 # AIX 5 supports IA64
10573 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10574 shlibpath_var=LD_LIBRARY_PATH
10575 else
10576 # With GCC up to 2.95.x, collect2 would create an import file
10577 # for dependence libraries. The import file would start with
10578 # the line `#! .'. This would cause the generated library to
10579 # depend on `.', always an invalid library. This was fixed in
10580 # development snapshots of GCC prior to 3.0.
10581 case $host_os in
10582 aix4 | aix4.[01] | aix4.[01].*)
10583 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10584 echo ' yes '
10585 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10587 else
10588 can_build_shared=no
10591 esac
10592 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10593 # soname into executable. Probably we can add versioning support to
10594 # collect2, so additional links can be useful in future.
10595 if test "$aix_use_runtimelinking" = yes; then
10596 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10597 # instead of lib<name>.a to let people know that these are not
10598 # typical AIX shared libraries.
10599 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10600 else
10601 # We preserve .a as extension for shared libraries through AIX4.2
10602 # and later when we are not doing run time linking.
10603 library_names_spec='${libname}${release}.a $libname.a'
10604 soname_spec='${libname}${release}${shared_ext}$major'
10606 shlibpath_var=LIBPATH
10610 amigaos*)
10611 case $host_cpu in
10612 powerpc)
10613 # Since July 2007 AmigaOS4 officially supports .so libraries.
10614 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10615 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10617 m68k)
10618 library_names_spec='$libname.ixlibrary $libname.a'
10619 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10620 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'
10622 esac
10625 beos*)
10626 library_names_spec='${libname}${shared_ext}'
10627 dynamic_linker="$host_os ld.so"
10628 shlibpath_var=LIBRARY_PATH
10631 bsdi[45]*)
10632 version_type=linux
10633 need_version=no
10634 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10635 soname_spec='${libname}${release}${shared_ext}$major'
10636 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10637 shlibpath_var=LD_LIBRARY_PATH
10638 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10639 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10640 # the default ld.so.conf also contains /usr/contrib/lib and
10641 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10642 # libtool to hard-code these into programs
10645 cygwin* | mingw* | pw32* | cegcc*)
10646 version_type=windows
10647 shrext_cmds=".dll"
10648 need_version=no
10649 need_lib_prefix=no
10651 case $GCC,$host_os in
10652 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10653 library_names_spec='$libname.dll.a'
10654 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10655 postinstall_cmds='base_file=`basename \${file}`~
10656 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10657 dldir=$destdir/`dirname \$dlpath`~
10658 test -d \$dldir || mkdir -p \$dldir~
10659 $install_prog $dir/$dlname \$dldir/$dlname~
10660 chmod a+x \$dldir/$dlname~
10661 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10662 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10664 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10665 dlpath=$dir/\$dldll~
10666 $RM \$dlpath'
10667 shlibpath_overrides_runpath=yes
10669 case $host_os in
10670 cygwin*)
10671 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10672 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10674 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10676 mingw* | cegcc*)
10677 # MinGW DLLs use traditional 'lib' prefix
10678 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10680 pw32*)
10681 # pw32 DLLs use 'pw' prefix rather than 'lib'
10682 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10684 esac
10688 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10690 esac
10691 dynamic_linker='Win32 ld.exe'
10692 # FIXME: first we should search . and the directory the executable is in
10693 shlibpath_var=PATH
10696 darwin* | rhapsody*)
10697 dynamic_linker="$host_os dyld"
10698 version_type=darwin
10699 need_lib_prefix=no
10700 need_version=no
10701 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10702 soname_spec='${libname}${release}${major}$shared_ext'
10703 shlibpath_overrides_runpath=yes
10704 shlibpath_var=DYLD_LIBRARY_PATH
10705 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10707 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10708 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10711 dgux*)
10712 version_type=linux
10713 need_lib_prefix=no
10714 need_version=no
10715 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10716 soname_spec='${libname}${release}${shared_ext}$major'
10717 shlibpath_var=LD_LIBRARY_PATH
10720 freebsd* | dragonfly*)
10721 # DragonFly does not have aout. When/if they implement a new
10722 # versioning mechanism, adjust this.
10723 if test -x /usr/bin/objformat; then
10724 objformat=`/usr/bin/objformat`
10725 else
10726 case $host_os in
10727 freebsd[23].*) objformat=aout ;;
10728 *) objformat=elf ;;
10729 esac
10731 version_type=freebsd-$objformat
10732 case $version_type in
10733 freebsd-elf*)
10734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10735 need_version=no
10736 need_lib_prefix=no
10738 freebsd-*)
10739 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10740 need_version=yes
10742 esac
10743 shlibpath_var=LD_LIBRARY_PATH
10744 case $host_os in
10745 freebsd2.*)
10746 shlibpath_overrides_runpath=yes
10748 freebsd3.[01]* | freebsdelf3.[01]*)
10749 shlibpath_overrides_runpath=yes
10750 hardcode_into_libs=yes
10752 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10753 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10754 shlibpath_overrides_runpath=no
10755 hardcode_into_libs=yes
10757 *) # from 4.6 on, and DragonFly
10758 shlibpath_overrides_runpath=yes
10759 hardcode_into_libs=yes
10761 esac
10764 gnu*)
10765 version_type=linux
10766 need_lib_prefix=no
10767 need_version=no
10768 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10769 soname_spec='${libname}${release}${shared_ext}$major'
10770 shlibpath_var=LD_LIBRARY_PATH
10771 hardcode_into_libs=yes
10774 haiku*)
10775 version_type=linux
10776 need_lib_prefix=no
10777 need_version=no
10778 dynamic_linker="$host_os runtime_loader"
10779 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10780 soname_spec='${libname}${release}${shared_ext}$major'
10781 shlibpath_var=LIBRARY_PATH
10782 shlibpath_overrides_runpath=yes
10783 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10784 hardcode_into_libs=yes
10787 hpux9* | hpux10* | hpux11*)
10788 # Give a soname corresponding to the major version so that dld.sl refuses to
10789 # link against other versions.
10790 version_type=sunos
10791 need_lib_prefix=no
10792 need_version=no
10793 case $host_cpu in
10794 ia64*)
10795 shrext_cmds='.so'
10796 hardcode_into_libs=yes
10797 dynamic_linker="$host_os dld.so"
10798 shlibpath_var=LD_LIBRARY_PATH
10799 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10800 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10801 soname_spec='${libname}${release}${shared_ext}$major'
10802 if test "X$HPUX_IA64_MODE" = X32; then
10803 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10804 else
10805 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10807 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10809 hppa*64*)
10810 shrext_cmds='.sl'
10811 hardcode_into_libs=yes
10812 dynamic_linker="$host_os dld.sl"
10813 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10814 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10815 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10816 soname_spec='${libname}${release}${shared_ext}$major'
10817 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10818 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10821 shrext_cmds='.sl'
10822 dynamic_linker="$host_os dld.sl"
10823 shlibpath_var=SHLIB_PATH
10824 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10825 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10826 soname_spec='${libname}${release}${shared_ext}$major'
10828 esac
10829 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10830 postinstall_cmds='chmod 555 $lib'
10831 # or fails outright, so override atomically:
10832 install_override_mode=555
10835 interix[3-9]*)
10836 version_type=linux
10837 need_lib_prefix=no
10838 need_version=no
10839 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10840 soname_spec='${libname}${release}${shared_ext}$major'
10841 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10842 shlibpath_var=LD_LIBRARY_PATH
10843 shlibpath_overrides_runpath=no
10844 hardcode_into_libs=yes
10847 irix5* | irix6* | nonstopux*)
10848 case $host_os in
10849 nonstopux*) version_type=nonstopux ;;
10851 if test "$lt_cv_prog_gnu_ld" = yes; then
10852 version_type=linux
10853 else
10854 version_type=irix
10855 fi ;;
10856 esac
10857 need_lib_prefix=no
10858 need_version=no
10859 soname_spec='${libname}${release}${shared_ext}$major'
10860 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10861 case $host_os in
10862 irix5* | nonstopux*)
10863 libsuff= shlibsuff=
10866 case $LD in # libtool.m4 will add one of these switches to LD
10867 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10868 libsuff= shlibsuff= libmagic=32-bit;;
10869 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10870 libsuff=32 shlibsuff=N32 libmagic=N32;;
10871 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10872 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10873 *) libsuff= shlibsuff= libmagic=never-match;;
10874 esac
10876 esac
10877 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10878 shlibpath_overrides_runpath=no
10879 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10880 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10881 hardcode_into_libs=yes
10884 # No shared lib support for Linux oldld, aout, or coff.
10885 linux*oldld* | linux*aout* | linux*coff*)
10886 dynamic_linker=no
10889 # This must be Linux ELF.
10890 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10891 version_type=linux
10892 need_lib_prefix=no
10893 need_version=no
10894 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10895 soname_spec='${libname}${release}${shared_ext}$major'
10896 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10897 shlibpath_var=LD_LIBRARY_PATH
10898 shlibpath_overrides_runpath=no
10900 # Some binutils ld are patched to set DT_RUNPATH
10901 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 lt_cv_shlibpath_overrides_runpath=no
10905 save_LDFLAGS=$LDFLAGS
10906 save_libdir=$libdir
10907 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10908 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10909 if test x$gcc_no_link = xyes; then
10910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10913 /* end confdefs.h. */
10916 main ()
10920 return 0;
10922 _ACEOF
10923 if ac_fn_c_try_link "$LINENO"; then :
10924 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10925 lt_cv_shlibpath_overrides_runpath=yes
10928 rm -f core conftest.err conftest.$ac_objext \
10929 conftest$ac_exeext conftest.$ac_ext
10930 LDFLAGS=$save_LDFLAGS
10931 libdir=$save_libdir
10935 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10937 # This implies no fast_install, which is unacceptable.
10938 # Some rework will be needed to allow for fast_install
10939 # before this can be enabled.
10940 hardcode_into_libs=yes
10942 # Append ld.so.conf contents to the search path
10943 if test -f /etc/ld.so.conf; then
10944 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' ' '`
10945 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10948 # We used to test for /lib/ld.so.1 and disable shared libraries on
10949 # powerpc, because MkLinux only supported shared libraries with the
10950 # GNU dynamic linker. Since this was broken with cross compilers,
10951 # most powerpc-linux boxes support dynamic linking these days and
10952 # people can always --disable-shared, the test was removed, and we
10953 # assume the GNU/Linux dynamic linker is in use.
10954 dynamic_linker='GNU/Linux ld.so'
10957 netbsd*)
10958 version_type=sunos
10959 need_lib_prefix=no
10960 need_version=no
10961 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10962 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10963 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10964 dynamic_linker='NetBSD (a.out) ld.so'
10965 else
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 dynamic_linker='NetBSD ld.elf_so'
10970 shlibpath_var=LD_LIBRARY_PATH
10971 shlibpath_overrides_runpath=yes
10972 hardcode_into_libs=yes
10975 newsos6)
10976 version_type=linux
10977 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10978 shlibpath_var=LD_LIBRARY_PATH
10979 shlibpath_overrides_runpath=yes
10982 *nto* | *qnx*)
10983 version_type=qnx
10984 need_lib_prefix=no
10985 need_version=no
10986 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10987 soname_spec='${libname}${release}${shared_ext}$major'
10988 shlibpath_var=LD_LIBRARY_PATH
10989 shlibpath_overrides_runpath=no
10990 hardcode_into_libs=yes
10991 dynamic_linker='ldqnx.so'
10994 openbsd*)
10995 version_type=sunos
10996 sys_lib_dlsearch_path_spec="/usr/lib"
10997 need_lib_prefix=no
10998 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
10999 case $host_os in
11000 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11001 *) need_version=no ;;
11002 esac
11003 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11004 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11005 shlibpath_var=LD_LIBRARY_PATH
11006 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11007 case $host_os in
11008 openbsd2.[89] | openbsd2.[89].*)
11009 shlibpath_overrides_runpath=no
11012 shlibpath_overrides_runpath=yes
11014 esac
11015 else
11016 shlibpath_overrides_runpath=yes
11020 os2*)
11021 libname_spec='$name'
11022 shrext_cmds=".dll"
11023 need_lib_prefix=no
11024 library_names_spec='$libname${shared_ext} $libname.a'
11025 dynamic_linker='OS/2 ld.exe'
11026 shlibpath_var=LIBPATH
11029 osf3* | osf4* | osf5*)
11030 version_type=osf
11031 need_lib_prefix=no
11032 need_version=no
11033 soname_spec='${libname}${release}${shared_ext}$major'
11034 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11035 shlibpath_var=LD_LIBRARY_PATH
11036 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11037 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11040 rdos*)
11041 dynamic_linker=no
11044 solaris*)
11045 version_type=linux
11046 need_lib_prefix=no
11047 need_version=no
11048 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11049 soname_spec='${libname}${release}${shared_ext}$major'
11050 shlibpath_var=LD_LIBRARY_PATH
11051 shlibpath_overrides_runpath=yes
11052 hardcode_into_libs=yes
11053 # ldd complains unless libraries are executable
11054 postinstall_cmds='chmod +x $lib'
11057 sunos4*)
11058 version_type=sunos
11059 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11060 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11061 shlibpath_var=LD_LIBRARY_PATH
11062 shlibpath_overrides_runpath=yes
11063 if test "$with_gnu_ld" = yes; then
11064 need_lib_prefix=no
11066 need_version=yes
11069 sysv4 | sysv4.3*)
11070 version_type=linux
11071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11072 soname_spec='${libname}${release}${shared_ext}$major'
11073 shlibpath_var=LD_LIBRARY_PATH
11074 case $host_vendor in
11075 sni)
11076 shlibpath_overrides_runpath=no
11077 need_lib_prefix=no
11078 runpath_var=LD_RUN_PATH
11080 siemens)
11081 need_lib_prefix=no
11083 motorola)
11084 need_lib_prefix=no
11085 need_version=no
11086 shlibpath_overrides_runpath=no
11087 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11089 esac
11092 sysv4*MP*)
11093 if test -d /usr/nec ;then
11094 version_type=linux
11095 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11096 soname_spec='$libname${shared_ext}.$major'
11097 shlibpath_var=LD_LIBRARY_PATH
11101 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11102 version_type=freebsd-elf
11103 need_lib_prefix=no
11104 need_version=no
11105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11106 soname_spec='${libname}${release}${shared_ext}$major'
11107 shlibpath_var=LD_LIBRARY_PATH
11108 shlibpath_overrides_runpath=yes
11109 hardcode_into_libs=yes
11110 if test "$with_gnu_ld" = yes; then
11111 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11112 else
11113 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11114 case $host_os in
11115 sco3.2v5*)
11116 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11118 esac
11120 sys_lib_dlsearch_path_spec='/usr/lib'
11123 tpf*)
11124 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11125 version_type=linux
11126 need_lib_prefix=no
11127 need_version=no
11128 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11129 shlibpath_var=LD_LIBRARY_PATH
11130 shlibpath_overrides_runpath=no
11131 hardcode_into_libs=yes
11134 uts4*)
11135 version_type=linux
11136 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11137 soname_spec='${libname}${release}${shared_ext}$major'
11138 shlibpath_var=LD_LIBRARY_PATH
11142 dynamic_linker=no
11144 esac
11145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11146 $as_echo "$dynamic_linker" >&6; }
11147 test "$dynamic_linker" = no && can_build_shared=no
11149 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11150 if test "$GCC" = yes; then
11151 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11154 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11155 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11157 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11158 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11253 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11254 hardcode_action=
11255 if test -n "$hardcode_libdir_flag_spec" ||
11256 test -n "$runpath_var" ||
11257 test "X$hardcode_automatic" = "Xyes" ; then
11259 # We can hardcode non-existent directories.
11260 if test "$hardcode_direct" != no &&
11261 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11262 # have to relink, otherwise we might link with an installed library
11263 # when we should be linking with a yet-to-be-installed one
11264 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11265 test "$hardcode_minus_L" != no; then
11266 # Linking always hardcodes the temporary library directory.
11267 hardcode_action=relink
11268 else
11269 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11270 hardcode_action=immediate
11272 else
11273 # We cannot hardcode anything, or else we can only hardcode existing
11274 # directories.
11275 hardcode_action=unsupported
11277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11278 $as_echo "$hardcode_action" >&6; }
11280 if test "$hardcode_action" = relink ||
11281 test "$inherit_rpath" = yes; then
11282 # Fast installation is not supported
11283 enable_fast_install=no
11284 elif test "$shlibpath_overrides_runpath" = yes ||
11285 test "$enable_shared" = no; then
11286 # Fast installation is not necessary
11287 enable_fast_install=needless
11295 if test "x$enable_dlopen" != xyes; then
11296 enable_dlopen=unknown
11297 enable_dlopen_self=unknown
11298 enable_dlopen_self_static=unknown
11299 else
11300 lt_cv_dlopen=no
11301 lt_cv_dlopen_libs=
11303 case $host_os in
11304 beos*)
11305 lt_cv_dlopen="load_add_on"
11306 lt_cv_dlopen_libs=
11307 lt_cv_dlopen_self=yes
11310 mingw* | pw32* | cegcc*)
11311 lt_cv_dlopen="LoadLibrary"
11312 lt_cv_dlopen_libs=
11315 cygwin*)
11316 lt_cv_dlopen="dlopen"
11317 lt_cv_dlopen_libs=
11320 darwin*)
11321 # if libdl is installed we need to link against it
11322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11323 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11324 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11325 $as_echo_n "(cached) " >&6
11326 else
11327 ac_check_lib_save_LIBS=$LIBS
11328 LIBS="-ldl $LIBS"
11329 if test x$gcc_no_link = xyes; then
11330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11333 /* end confdefs.h. */
11335 /* Override any GCC internal prototype to avoid an error.
11336 Use char because int might match the return type of a GCC
11337 builtin and then its argument prototype would still apply. */
11338 #ifdef __cplusplus
11339 extern "C"
11340 #endif
11341 char dlopen ();
11343 main ()
11345 return dlopen ();
11347 return 0;
11349 _ACEOF
11350 if ac_fn_c_try_link "$LINENO"; then :
11351 ac_cv_lib_dl_dlopen=yes
11352 else
11353 ac_cv_lib_dl_dlopen=no
11355 rm -f core conftest.err conftest.$ac_objext \
11356 conftest$ac_exeext conftest.$ac_ext
11357 LIBS=$ac_check_lib_save_LIBS
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11360 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11361 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11362 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11363 else
11365 lt_cv_dlopen="dyld"
11366 lt_cv_dlopen_libs=
11367 lt_cv_dlopen_self=yes
11374 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11375 if test "x$ac_cv_func_shl_load" = x""yes; then :
11376 lt_cv_dlopen="shl_load"
11377 else
11378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11379 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11380 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11381 $as_echo_n "(cached) " >&6
11382 else
11383 ac_check_lib_save_LIBS=$LIBS
11384 LIBS="-ldld $LIBS"
11385 if test x$gcc_no_link = xyes; then
11386 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11389 /* end confdefs.h. */
11391 /* Override any GCC internal prototype to avoid an error.
11392 Use char because int might match the return type of a GCC
11393 builtin and then its argument prototype would still apply. */
11394 #ifdef __cplusplus
11395 extern "C"
11396 #endif
11397 char shl_load ();
11399 main ()
11401 return shl_load ();
11403 return 0;
11405 _ACEOF
11406 if ac_fn_c_try_link "$LINENO"; then :
11407 ac_cv_lib_dld_shl_load=yes
11408 else
11409 ac_cv_lib_dld_shl_load=no
11411 rm -f core conftest.err conftest.$ac_objext \
11412 conftest$ac_exeext conftest.$ac_ext
11413 LIBS=$ac_check_lib_save_LIBS
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11416 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11417 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11418 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11419 else
11420 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11421 if test "x$ac_cv_func_dlopen" = x""yes; then :
11422 lt_cv_dlopen="dlopen"
11423 else
11424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11425 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11426 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11427 $as_echo_n "(cached) " >&6
11428 else
11429 ac_check_lib_save_LIBS=$LIBS
11430 LIBS="-ldl $LIBS"
11431 if test x$gcc_no_link = xyes; then
11432 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11435 /* end confdefs.h. */
11437 /* Override any GCC internal prototype to avoid an error.
11438 Use char because int might match the return type of a GCC
11439 builtin and then its argument prototype would still apply. */
11440 #ifdef __cplusplus
11441 extern "C"
11442 #endif
11443 char dlopen ();
11445 main ()
11447 return dlopen ();
11449 return 0;
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"; then :
11453 ac_cv_lib_dl_dlopen=yes
11454 else
11455 ac_cv_lib_dl_dlopen=no
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_lib_save_LIBS
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11462 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11463 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11464 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11467 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11468 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11469 $as_echo_n "(cached) " >&6
11470 else
11471 ac_check_lib_save_LIBS=$LIBS
11472 LIBS="-lsvld $LIBS"
11473 if test x$gcc_no_link = xyes; then
11474 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11477 /* end confdefs.h. */
11479 /* Override any GCC internal prototype to avoid an error.
11480 Use char because int might match the return type of a GCC
11481 builtin and then its argument prototype would still apply. */
11482 #ifdef __cplusplus
11483 extern "C"
11484 #endif
11485 char dlopen ();
11487 main ()
11489 return dlopen ();
11491 return 0;
11493 _ACEOF
11494 if ac_fn_c_try_link "$LINENO"; then :
11495 ac_cv_lib_svld_dlopen=yes
11496 else
11497 ac_cv_lib_svld_dlopen=no
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_lib_save_LIBS
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11504 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11505 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11506 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11509 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11510 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11511 $as_echo_n "(cached) " >&6
11512 else
11513 ac_check_lib_save_LIBS=$LIBS
11514 LIBS="-ldld $LIBS"
11515 if test x$gcc_no_link = xyes; then
11516 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11521 /* Override any GCC internal prototype to avoid an error.
11522 Use char because int might match the return type of a GCC
11523 builtin and then its argument prototype would still apply. */
11524 #ifdef __cplusplus
11525 extern "C"
11526 #endif
11527 char dld_link ();
11529 main ()
11531 return dld_link ();
11533 return 0;
11535 _ACEOF
11536 if ac_fn_c_try_link "$LINENO"; then :
11537 ac_cv_lib_dld_dld_link=yes
11538 else
11539 ac_cv_lib_dld_dld_link=no
11541 rm -f core conftest.err conftest.$ac_objext \
11542 conftest$ac_exeext conftest.$ac_ext
11543 LIBS=$ac_check_lib_save_LIBS
11545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11546 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11547 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11548 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11567 esac
11569 if test "x$lt_cv_dlopen" != xno; then
11570 enable_dlopen=yes
11571 else
11572 enable_dlopen=no
11575 case $lt_cv_dlopen in
11576 dlopen)
11577 save_CPPFLAGS="$CPPFLAGS"
11578 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11580 save_LDFLAGS="$LDFLAGS"
11581 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11583 save_LIBS="$LIBS"
11584 LIBS="$lt_cv_dlopen_libs $LIBS"
11586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11587 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11588 if test "${lt_cv_dlopen_self+set}" = set; then :
11589 $as_echo_n "(cached) " >&6
11590 else
11591 if test "$cross_compiling" = yes; then :
11592 lt_cv_dlopen_self=cross
11593 else
11594 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11595 lt_status=$lt_dlunknown
11596 cat > conftest.$ac_ext <<_LT_EOF
11597 #line 11597 "configure"
11598 #include "confdefs.h"
11600 #if HAVE_DLFCN_H
11601 #include <dlfcn.h>
11602 #endif
11604 #include <stdio.h>
11606 #ifdef RTLD_GLOBAL
11607 # define LT_DLGLOBAL RTLD_GLOBAL
11608 #else
11609 # ifdef DL_GLOBAL
11610 # define LT_DLGLOBAL DL_GLOBAL
11611 # else
11612 # define LT_DLGLOBAL 0
11613 # endif
11614 #endif
11616 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11617 find out it does not work in some platform. */
11618 #ifndef LT_DLLAZY_OR_NOW
11619 # ifdef RTLD_LAZY
11620 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11621 # else
11622 # ifdef DL_LAZY
11623 # define LT_DLLAZY_OR_NOW DL_LAZY
11624 # else
11625 # ifdef RTLD_NOW
11626 # define LT_DLLAZY_OR_NOW RTLD_NOW
11627 # else
11628 # ifdef DL_NOW
11629 # define LT_DLLAZY_OR_NOW DL_NOW
11630 # else
11631 # define LT_DLLAZY_OR_NOW 0
11632 # endif
11633 # endif
11634 # endif
11635 # endif
11636 #endif
11638 /* When -fvisbility=hidden is used, assume the code has been annotated
11639 correspondingly for the symbols needed. */
11640 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11641 void fnord () __attribute__((visibility("default")));
11642 #endif
11644 void fnord () { int i=42; }
11645 int main ()
11647 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11648 int status = $lt_dlunknown;
11650 if (self)
11652 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11653 else
11655 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11656 else puts (dlerror ());
11658 /* dlclose (self); */
11660 else
11661 puts (dlerror ());
11663 return status;
11665 _LT_EOF
11666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11667 (eval $ac_link) 2>&5
11668 ac_status=$?
11669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11670 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11671 (./conftest; exit; ) >&5 2>/dev/null
11672 lt_status=$?
11673 case x$lt_status in
11674 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11675 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11676 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11677 esac
11678 else :
11679 # compilation failed
11680 lt_cv_dlopen_self=no
11683 rm -fr conftest*
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11688 $as_echo "$lt_cv_dlopen_self" >&6; }
11690 if test "x$lt_cv_dlopen_self" = xyes; then
11691 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11693 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11694 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11695 $as_echo_n "(cached) " >&6
11696 else
11697 if test "$cross_compiling" = yes; then :
11698 lt_cv_dlopen_self_static=cross
11699 else
11700 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11701 lt_status=$lt_dlunknown
11702 cat > conftest.$ac_ext <<_LT_EOF
11703 #line 11703 "configure"
11704 #include "confdefs.h"
11706 #if HAVE_DLFCN_H
11707 #include <dlfcn.h>
11708 #endif
11710 #include <stdio.h>
11712 #ifdef RTLD_GLOBAL
11713 # define LT_DLGLOBAL RTLD_GLOBAL
11714 #else
11715 # ifdef DL_GLOBAL
11716 # define LT_DLGLOBAL DL_GLOBAL
11717 # else
11718 # define LT_DLGLOBAL 0
11719 # endif
11720 #endif
11722 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11723 find out it does not work in some platform. */
11724 #ifndef LT_DLLAZY_OR_NOW
11725 # ifdef RTLD_LAZY
11726 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11727 # else
11728 # ifdef DL_LAZY
11729 # define LT_DLLAZY_OR_NOW DL_LAZY
11730 # else
11731 # ifdef RTLD_NOW
11732 # define LT_DLLAZY_OR_NOW RTLD_NOW
11733 # else
11734 # ifdef DL_NOW
11735 # define LT_DLLAZY_OR_NOW DL_NOW
11736 # else
11737 # define LT_DLLAZY_OR_NOW 0
11738 # endif
11739 # endif
11740 # endif
11741 # endif
11742 #endif
11744 /* When -fvisbility=hidden is used, assume the code has been annotated
11745 correspondingly for the symbols needed. */
11746 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11747 void fnord () __attribute__((visibility("default")));
11748 #endif
11750 void fnord () { int i=42; }
11751 int main ()
11753 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11754 int status = $lt_dlunknown;
11756 if (self)
11758 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11759 else
11761 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11762 else puts (dlerror ());
11764 /* dlclose (self); */
11766 else
11767 puts (dlerror ());
11769 return status;
11771 _LT_EOF
11772 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11773 (eval $ac_link) 2>&5
11774 ac_status=$?
11775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11776 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11777 (./conftest; exit; ) >&5 2>/dev/null
11778 lt_status=$?
11779 case x$lt_status in
11780 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11781 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11782 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11783 esac
11784 else :
11785 # compilation failed
11786 lt_cv_dlopen_self_static=no
11789 rm -fr conftest*
11793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11794 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11797 CPPFLAGS="$save_CPPFLAGS"
11798 LDFLAGS="$save_LDFLAGS"
11799 LIBS="$save_LIBS"
11801 esac
11803 case $lt_cv_dlopen_self in
11804 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11805 *) enable_dlopen_self=unknown ;;
11806 esac
11808 case $lt_cv_dlopen_self_static in
11809 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11810 *) enable_dlopen_self_static=unknown ;;
11811 esac
11830 striplib=
11831 old_striplib=
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11833 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11834 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11835 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11836 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11838 $as_echo "yes" >&6; }
11839 else
11840 # FIXME - insert some real tests, host_os isn't really good enough
11841 case $host_os in
11842 darwin*)
11843 if test -n "$STRIP" ; then
11844 striplib="$STRIP -x"
11845 old_striplib="$STRIP -S"
11846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11847 $as_echo "yes" >&6; }
11848 else
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11850 $as_echo "no" >&6; }
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11855 $as_echo "no" >&6; }
11857 esac
11871 # Report which library types will actually be built
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11873 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11875 $as_echo "$can_build_shared" >&6; }
11877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11878 $as_echo_n "checking whether to build shared libraries... " >&6; }
11879 test "$can_build_shared" = "no" && enable_shared=no
11881 # On AIX, shared libraries and static libraries use the same namespace, and
11882 # are all built from PIC.
11883 case $host_os in
11884 aix3*)
11885 test "$enable_shared" = yes && enable_static=no
11886 if test -n "$RANLIB"; then
11887 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11888 postinstall_cmds='$RANLIB $lib'
11892 aix[4-9]*)
11893 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11894 test "$enable_shared" = yes && enable_static=no
11897 esac
11898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11899 $as_echo "$enable_shared" >&6; }
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11902 $as_echo_n "checking whether to build static libraries... " >&6; }
11903 # Make sure either enable_shared or enable_static is yes.
11904 test "$enable_shared" = yes || enable_static=yes
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11906 $as_echo "$enable_static" >&6; }
11912 ac_ext=c
11913 ac_cpp='$CPP $CPPFLAGS'
11914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11918 CC="$lt_save_CC"
11920 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11921 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11922 (test "X$CXX" != "Xg++"))) ; then
11923 ac_ext=cpp
11924 ac_cpp='$CXXCPP $CPPFLAGS'
11925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11929 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11930 if test -z "$CXXCPP"; then
11931 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11932 $as_echo_n "(cached) " >&6
11933 else
11934 # Double quotes because CXXCPP needs to be expanded
11935 for CXXCPP in "$CXX -E" "/lib/cpp"
11937 ac_preproc_ok=false
11938 for ac_cxx_preproc_warn_flag in '' yes
11940 # Use a header file that comes with gcc, so configuring glibc
11941 # with a fresh cross-compiler works.
11942 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11943 # <limits.h> exists even on freestanding compilers.
11944 # On the NeXT, cc -E runs the code through the compiler's parser,
11945 # not just through cpp. "Syntax error" is here to catch this case.
11946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11947 /* end confdefs.h. */
11948 #ifdef __STDC__
11949 # include <limits.h>
11950 #else
11951 # include <assert.h>
11952 #endif
11953 Syntax error
11954 _ACEOF
11955 if ac_fn_cxx_try_cpp "$LINENO"; then :
11957 else
11958 # Broken: fails on valid input.
11959 continue
11961 rm -f conftest.err conftest.$ac_ext
11963 # OK, works on sane cases. Now check whether nonexistent headers
11964 # can be detected and how.
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11967 #include <ac_nonexistent.h>
11968 _ACEOF
11969 if ac_fn_cxx_try_cpp "$LINENO"; then :
11970 # Broken: success on invalid input.
11971 continue
11972 else
11973 # Passes both tests.
11974 ac_preproc_ok=:
11975 break
11977 rm -f conftest.err conftest.$ac_ext
11979 done
11980 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11981 rm -f conftest.err conftest.$ac_ext
11982 if $ac_preproc_ok; then :
11983 break
11986 done
11987 ac_cv_prog_CXXCPP=$CXXCPP
11990 CXXCPP=$ac_cv_prog_CXXCPP
11991 else
11992 ac_cv_prog_CXXCPP=$CXXCPP
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11995 $as_echo "$CXXCPP" >&6; }
11996 ac_preproc_ok=false
11997 for ac_cxx_preproc_warn_flag in '' yes
11999 # Use a header file that comes with gcc, so configuring glibc
12000 # with a fresh cross-compiler works.
12001 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12002 # <limits.h> exists even on freestanding compilers.
12003 # On the NeXT, cc -E runs the code through the compiler's parser,
12004 # not just through cpp. "Syntax error" is here to catch this case.
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #ifdef __STDC__
12008 # include <limits.h>
12009 #else
12010 # include <assert.h>
12011 #endif
12012 Syntax error
12013 _ACEOF
12014 if ac_fn_cxx_try_cpp "$LINENO"; then :
12016 else
12017 # Broken: fails on valid input.
12018 continue
12020 rm -f conftest.err conftest.$ac_ext
12022 # OK, works on sane cases. Now check whether nonexistent headers
12023 # can be detected and how.
12024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12025 /* end confdefs.h. */
12026 #include <ac_nonexistent.h>
12027 _ACEOF
12028 if ac_fn_cxx_try_cpp "$LINENO"; then :
12029 # Broken: success on invalid input.
12030 continue
12031 else
12032 # Passes both tests.
12033 ac_preproc_ok=:
12034 break
12036 rm -f conftest.err conftest.$ac_ext
12038 done
12039 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12040 rm -f conftest.err conftest.$ac_ext
12041 if $ac_preproc_ok; then :
12043 else
12044 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12046 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12047 See \`config.log' for more details." "$LINENO" 5; }
12050 ac_ext=c
12051 ac_cpp='$CPP $CPPFLAGS'
12052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12056 else
12057 _lt_caught_CXX_error=yes
12060 ac_ext=cpp
12061 ac_cpp='$CXXCPP $CPPFLAGS'
12062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12066 archive_cmds_need_lc_CXX=no
12067 allow_undefined_flag_CXX=
12068 always_export_symbols_CXX=no
12069 archive_expsym_cmds_CXX=
12070 compiler_needs_object_CXX=no
12071 export_dynamic_flag_spec_CXX=
12072 hardcode_direct_CXX=no
12073 hardcode_direct_absolute_CXX=no
12074 hardcode_libdir_flag_spec_CXX=
12075 hardcode_libdir_flag_spec_ld_CXX=
12076 hardcode_libdir_separator_CXX=
12077 hardcode_minus_L_CXX=no
12078 hardcode_shlibpath_var_CXX=unsupported
12079 hardcode_automatic_CXX=no
12080 inherit_rpath_CXX=no
12081 module_cmds_CXX=
12082 module_expsym_cmds_CXX=
12083 link_all_deplibs_CXX=unknown
12084 old_archive_cmds_CXX=$old_archive_cmds
12085 reload_flag_CXX=$reload_flag
12086 reload_cmds_CXX=$reload_cmds
12087 no_undefined_flag_CXX=
12088 whole_archive_flag_spec_CXX=
12089 enable_shared_with_static_runtimes_CXX=no
12091 # Source file extension for C++ test sources.
12092 ac_ext=cpp
12094 # Object file extension for compiled C++ test sources.
12095 objext=o
12096 objext_CXX=$objext
12098 # No sense in running all these tests if we already determined that
12099 # the CXX compiler isn't working. Some variables (like enable_shared)
12100 # are currently assumed to apply to all compilers on this platform,
12101 # and will be corrupted by setting them based on a non-working compiler.
12102 if test "$_lt_caught_CXX_error" != yes; then
12103 # Code to be used in simple compile tests
12104 lt_simple_compile_test_code="int some_variable = 0;"
12106 # Code to be used in simple link tests
12107 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12109 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12116 # If no C compiler was specified, use CC.
12117 LTCC=${LTCC-"$CC"}
12119 # If no C compiler flags were specified, use CFLAGS.
12120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12122 # Allow CC to be a program name with arguments.
12123 compiler=$CC
12126 # save warnings/boilerplate of simple test code
12127 ac_outfile=conftest.$ac_objext
12128 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12129 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12130 _lt_compiler_boilerplate=`cat conftest.err`
12131 $RM conftest*
12133 ac_outfile=conftest.$ac_objext
12134 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12135 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12136 _lt_linker_boilerplate=`cat conftest.err`
12137 $RM -r conftest*
12140 # Allow CC to be a program name with arguments.
12141 lt_save_CC=$CC
12142 lt_save_LD=$LD
12143 lt_save_GCC=$GCC
12144 GCC=$GXX
12145 lt_save_with_gnu_ld=$with_gnu_ld
12146 lt_save_path_LD=$lt_cv_path_LD
12147 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12148 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12149 else
12150 $as_unset lt_cv_prog_gnu_ld
12152 if test -n "${lt_cv_path_LDCXX+set}"; then
12153 lt_cv_path_LD=$lt_cv_path_LDCXX
12154 else
12155 $as_unset lt_cv_path_LD
12157 test -z "${LDCXX+set}" || LD=$LDCXX
12158 CC=${CXX-"c++"}
12159 compiler=$CC
12160 compiler_CXX=$CC
12161 for cc_temp in $compiler""; do
12162 case $cc_temp in
12163 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12164 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12165 \-*) ;;
12166 *) break;;
12167 esac
12168 done
12169 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12172 if test -n "$compiler"; then
12173 # We don't want -fno-exception when compiling C++ code, so set the
12174 # no_builtin_flag separately
12175 if test "$GXX" = yes; then
12176 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12177 else
12178 lt_prog_compiler_no_builtin_flag_CXX=
12181 if test "$GXX" = yes; then
12182 # Set up default GNU C++ configuration
12186 # Check whether --with-gnu-ld was given.
12187 if test "${with_gnu_ld+set}" = set; then :
12188 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12189 else
12190 with_gnu_ld=no
12193 ac_prog=ld
12194 if test "$GCC" = yes; then
12195 # Check if gcc -print-prog-name=ld gives a path.
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12197 $as_echo_n "checking for ld used by $CC... " >&6; }
12198 case $host in
12199 *-*-mingw*)
12200 # gcc leaves a trailing carriage return which upsets mingw
12201 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12204 esac
12205 case $ac_prog in
12206 # Accept absolute paths.
12207 [\\/]* | ?:[\\/]*)
12208 re_direlt='/[^/][^/]*/\.\./'
12209 # Canonicalize the pathname of ld
12210 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12211 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12212 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12213 done
12214 test -z "$LD" && LD="$ac_prog"
12217 # If it fails, then pretend we aren't using GCC.
12218 ac_prog=ld
12221 # If it is relative, then search for the first ld in PATH.
12222 with_gnu_ld=unknown
12224 esac
12225 elif test "$with_gnu_ld" = yes; then
12226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12227 $as_echo_n "checking for GNU ld... " >&6; }
12228 else
12229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12230 $as_echo_n "checking for non-GNU ld... " >&6; }
12232 if test "${lt_cv_path_LD+set}" = set; then :
12233 $as_echo_n "(cached) " >&6
12234 else
12235 if test -z "$LD"; then
12236 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12237 for ac_dir in $PATH; do
12238 IFS="$lt_save_ifs"
12239 test -z "$ac_dir" && ac_dir=.
12240 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12241 lt_cv_path_LD="$ac_dir/$ac_prog"
12242 # Check to see if the program is GNU ld. I'd rather use --version,
12243 # but apparently some variants of GNU ld only accept -v.
12244 # Break only if it was the GNU/non-GNU ld that we prefer.
12245 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12246 *GNU* | *'with BFD'*)
12247 test "$with_gnu_ld" != no && break
12250 test "$with_gnu_ld" != yes && break
12252 esac
12254 done
12255 IFS="$lt_save_ifs"
12256 else
12257 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12261 LD="$lt_cv_path_LD"
12262 if test -n "$LD"; then
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12264 $as_echo "$LD" >&6; }
12265 else
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12267 $as_echo "no" >&6; }
12269 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12271 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12272 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12273 $as_echo_n "(cached) " >&6
12274 else
12275 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12276 case `$LD -v 2>&1 </dev/null` in
12277 *GNU* | *'with BFD'*)
12278 lt_cv_prog_gnu_ld=yes
12281 lt_cv_prog_gnu_ld=no
12283 esac
12285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12286 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12287 with_gnu_ld=$lt_cv_prog_gnu_ld
12295 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12296 # archiving commands below assume that GNU ld is being used.
12297 if test "$with_gnu_ld" = yes; then
12298 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12299 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12301 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12302 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12304 # If archive_cmds runs LD, not CC, wlarc should be empty
12305 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12306 # investigate it a little bit more. (MM)
12307 wlarc='${wl}'
12309 # ancient GNU ld didn't support --whole-archive et. al.
12310 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12311 $GREP 'no-whole-archive' > /dev/null; then
12312 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12313 else
12314 whole_archive_flag_spec_CXX=
12316 else
12317 with_gnu_ld=no
12318 wlarc=
12320 # A generic and very simple default shared library creation
12321 # command for GNU C++ for the case where it uses the native
12322 # linker, instead of GNU ld. If possible, this setting should
12323 # overridden to take advantage of the native linker features on
12324 # the platform it is being used on.
12325 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12328 # Commands to make compiler produce verbose output that lists
12329 # what "hidden" libraries, object files and flags are used when
12330 # linking a shared library.
12331 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12333 else
12334 GXX=no
12335 with_gnu_ld=no
12336 wlarc=
12339 # PORTME: fill in a description of your system's C++ link characteristics
12340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12341 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12342 ld_shlibs_CXX=yes
12343 case $host_os in
12344 aix3*)
12345 # FIXME: insert proper C++ library support
12346 ld_shlibs_CXX=no
12348 aix[4-9]*)
12349 if test "$host_cpu" = ia64; then
12350 # On IA64, the linker does run time linking by default, so we don't
12351 # have to do anything special.
12352 aix_use_runtimelinking=no
12353 exp_sym_flag='-Bexport'
12354 no_entry_flag=""
12355 else
12356 aix_use_runtimelinking=no
12358 # Test if we are trying to use run time linking or normal
12359 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12360 # need to do runtime linking.
12361 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12362 for ld_flag in $LDFLAGS; do
12363 case $ld_flag in
12364 *-brtl*)
12365 aix_use_runtimelinking=yes
12366 break
12368 esac
12369 done
12371 esac
12373 exp_sym_flag='-bexport'
12374 no_entry_flag='-bnoentry'
12377 # When large executables or shared objects are built, AIX ld can
12378 # have problems creating the table of contents. If linking a library
12379 # or program results in "error TOC overflow" add -mminimal-toc to
12380 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12381 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12383 archive_cmds_CXX=''
12384 hardcode_direct_CXX=yes
12385 hardcode_direct_absolute_CXX=yes
12386 hardcode_libdir_separator_CXX=':'
12387 link_all_deplibs_CXX=yes
12388 file_list_spec_CXX='${wl}-f,'
12390 if test "$GXX" = yes; then
12391 case $host_os in aix4.[012]|aix4.[012].*)
12392 # We only want to do this on AIX 4.2 and lower, the check
12393 # below for broken collect2 doesn't work under 4.3+
12394 collect2name=`${CC} -print-prog-name=collect2`
12395 if test -f "$collect2name" &&
12396 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12397 then
12398 # We have reworked collect2
12400 else
12401 # We have old collect2
12402 hardcode_direct_CXX=unsupported
12403 # It fails to find uninstalled libraries when the uninstalled
12404 # path is not listed in the libpath. Setting hardcode_minus_L
12405 # to unsupported forces relinking
12406 hardcode_minus_L_CXX=yes
12407 hardcode_libdir_flag_spec_CXX='-L$libdir'
12408 hardcode_libdir_separator_CXX=
12410 esac
12411 shared_flag='-shared'
12412 if test "$aix_use_runtimelinking" = yes; then
12413 shared_flag="$shared_flag "'${wl}-G'
12415 else
12416 # not using gcc
12417 if test "$host_cpu" = ia64; then
12418 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12419 # chokes on -Wl,-G. The following line is correct:
12420 shared_flag='-G'
12421 else
12422 if test "$aix_use_runtimelinking" = yes; then
12423 shared_flag='${wl}-G'
12424 else
12425 shared_flag='${wl}-bM:SRE'
12430 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12431 # It seems that -bexpall does not export symbols beginning with
12432 # underscore (_), so it is better to generate a list of symbols to
12433 # export.
12434 always_export_symbols_CXX=yes
12435 if test "$aix_use_runtimelinking" = yes; then
12436 # Warning - without using the other runtime loading flags (-brtl),
12437 # -berok will link without error, but may produce a broken library.
12438 allow_undefined_flag_CXX='-berok'
12439 # Determine the default libpath from the value encoded in an empty
12440 # executable.
12441 if test x$gcc_no_link = xyes; then
12442 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12445 /* end confdefs.h. */
12448 main ()
12452 return 0;
12454 _ACEOF
12455 if ac_fn_cxx_try_link "$LINENO"; then :
12457 lt_aix_libpath_sed='
12458 /Import File Strings/,/^$/ {
12459 /^0/ {
12460 s/^0 *\(.*\)$/\1/
12464 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12465 # Check for a 64-bit object if we didn't find anything.
12466 if test -z "$aix_libpath"; then
12467 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12470 rm -f core conftest.err conftest.$ac_objext \
12471 conftest$ac_exeext conftest.$ac_ext
12472 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12474 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12476 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"
12477 else
12478 if test "$host_cpu" = ia64; then
12479 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12480 allow_undefined_flag_CXX="-z nodefs"
12481 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"
12482 else
12483 # Determine the default libpath from the value encoded in an
12484 # empty executable.
12485 if test x$gcc_no_link = xyes; then
12486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12489 /* end confdefs.h. */
12492 main ()
12496 return 0;
12498 _ACEOF
12499 if ac_fn_cxx_try_link "$LINENO"; then :
12501 lt_aix_libpath_sed='
12502 /Import File Strings/,/^$/ {
12503 /^0/ {
12504 s/^0 *\(.*\)$/\1/
12508 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12509 # Check for a 64-bit object if we didn't find anything.
12510 if test -z "$aix_libpath"; then
12511 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12514 rm -f core conftest.err conftest.$ac_objext \
12515 conftest$ac_exeext conftest.$ac_ext
12516 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12518 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12519 # Warning - without using the other run time loading flags,
12520 # -berok will link without error, but may produce a broken library.
12521 no_undefined_flag_CXX=' ${wl}-bernotok'
12522 allow_undefined_flag_CXX=' ${wl}-berok'
12523 if test "$with_gnu_ld" = yes; then
12524 # We only use this code for GNU lds that support --whole-archive.
12525 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12526 else
12527 # Exported symbols can be pulled into shared objects from archives
12528 whole_archive_flag_spec_CXX='$convenience'
12530 archive_cmds_need_lc_CXX=yes
12531 # This is similar to how AIX traditionally builds its shared
12532 # libraries.
12533 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'
12538 beos*)
12539 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12540 allow_undefined_flag_CXX=unsupported
12541 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12542 # support --undefined. This deserves some investigation. FIXME
12543 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12544 else
12545 ld_shlibs_CXX=no
12549 chorus*)
12550 case $cc_basename in
12552 # FIXME: insert proper C++ library support
12553 ld_shlibs_CXX=no
12555 esac
12558 cygwin* | mingw* | pw32* | cegcc*)
12559 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12560 # as there is no search path for DLLs.
12561 hardcode_libdir_flag_spec_CXX='-L$libdir'
12562 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12563 allow_undefined_flag_CXX=unsupported
12564 always_export_symbols_CXX=no
12565 enable_shared_with_static_runtimes_CXX=yes
12567 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12568 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'
12569 # If the export-symbols file already is a .def file (1st line
12570 # is EXPORTS), use it as is; otherwise, prepend...
12571 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12572 cp $export_symbols $output_objdir/$soname.def;
12573 else
12574 echo EXPORTS > $output_objdir/$soname.def;
12575 cat $export_symbols >> $output_objdir/$soname.def;
12577 $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'
12578 else
12579 ld_shlibs_CXX=no
12582 darwin* | rhapsody*)
12585 archive_cmds_need_lc_CXX=no
12586 hardcode_direct_CXX=no
12587 hardcode_automatic_CXX=yes
12588 hardcode_shlibpath_var_CXX=unsupported
12589 if test "$lt_cv_ld_force_load" = "yes"; then
12590 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\"`'
12591 else
12592 whole_archive_flag_spec_CXX=''
12594 link_all_deplibs_CXX=yes
12595 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12596 case $cc_basename in
12597 ifort*) _lt_dar_can_shared=yes ;;
12598 *) _lt_dar_can_shared=$GCC ;;
12599 esac
12600 if test "$_lt_dar_can_shared" = "yes"; then
12601 output_verbose_link_cmd=func_echo_all
12602 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}"
12603 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12604 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}"
12605 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}"
12606 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12607 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}"
12608 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}"
12611 else
12612 ld_shlibs_CXX=no
12617 dgux*)
12618 case $cc_basename in
12619 ec++*)
12620 # FIXME: insert proper C++ library support
12621 ld_shlibs_CXX=no
12623 ghcx*)
12624 # Green Hills C++ Compiler
12625 # FIXME: insert proper C++ library support
12626 ld_shlibs_CXX=no
12629 # FIXME: insert proper C++ library support
12630 ld_shlibs_CXX=no
12632 esac
12635 freebsd2.*)
12636 # C++ shared libraries reported to be fairly broken before
12637 # switch to ELF
12638 ld_shlibs_CXX=no
12641 freebsd-elf*)
12642 archive_cmds_need_lc_CXX=no
12645 freebsd* | dragonfly*)
12646 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12647 # conventions
12648 ld_shlibs_CXX=yes
12651 gnu*)
12654 haiku*)
12655 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12656 link_all_deplibs_CXX=yes
12659 hpux9*)
12660 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12661 hardcode_libdir_separator_CXX=:
12662 export_dynamic_flag_spec_CXX='${wl}-E'
12663 hardcode_direct_CXX=yes
12664 hardcode_minus_L_CXX=yes # Not in the search PATH,
12665 # but as the default
12666 # location of the library.
12668 case $cc_basename in
12669 CC*)
12670 # FIXME: insert proper C++ library support
12671 ld_shlibs_CXX=no
12673 aCC*)
12674 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'
12675 # Commands to make compiler produce verbose output that lists
12676 # what "hidden" libraries, object files and flags are used when
12677 # linking a shared library.
12679 # There doesn't appear to be a way to prevent this compiler from
12680 # explicitly linking system object files so we need to strip them
12681 # from the output so that they don't get included in the library
12682 # dependencies.
12683 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"'
12686 if test "$GXX" = yes; then
12687 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'
12688 else
12689 # FIXME: insert proper C++ library support
12690 ld_shlibs_CXX=no
12693 esac
12696 hpux10*|hpux11*)
12697 if test $with_gnu_ld = no; then
12698 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12699 hardcode_libdir_separator_CXX=:
12701 case $host_cpu in
12702 hppa*64*|ia64*)
12705 export_dynamic_flag_spec_CXX='${wl}-E'
12707 esac
12709 case $host_cpu in
12710 hppa*64*|ia64*)
12711 hardcode_direct_CXX=no
12712 hardcode_shlibpath_var_CXX=no
12715 hardcode_direct_CXX=yes
12716 hardcode_direct_absolute_CXX=yes
12717 hardcode_minus_L_CXX=yes # Not in the search PATH,
12718 # but as the default
12719 # location of the library.
12721 esac
12723 case $cc_basename in
12724 CC*)
12725 # FIXME: insert proper C++ library support
12726 ld_shlibs_CXX=no
12728 aCC*)
12729 case $host_cpu in
12730 hppa*64*)
12731 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12733 ia64*)
12734 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12737 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 esac
12740 # Commands to make compiler produce verbose output that lists
12741 # what "hidden" libraries, object files and flags are used when
12742 # linking a shared library.
12744 # There doesn't appear to be a way to prevent this compiler from
12745 # explicitly linking system object files so we need to strip them
12746 # from the output so that they don't get included in the library
12747 # dependencies.
12748 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"'
12751 if test "$GXX" = yes; then
12752 if test $with_gnu_ld = no; then
12753 case $host_cpu in
12754 hppa*64*)
12755 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12757 ia64*)
12758 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12761 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'
12763 esac
12765 else
12766 # FIXME: insert proper C++ library support
12767 ld_shlibs_CXX=no
12770 esac
12773 interix[3-9]*)
12774 hardcode_direct_CXX=no
12775 hardcode_shlibpath_var_CXX=no
12776 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12777 export_dynamic_flag_spec_CXX='${wl}-E'
12778 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12779 # Instead, shared libraries are loaded at an image base (0x10000000 by
12780 # default) and relocated if they conflict, which is a slow very memory
12781 # consuming and fragmenting process. To avoid this, we pick a random,
12782 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12783 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12784 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'
12785 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'
12787 irix5* | irix6*)
12788 case $cc_basename in
12789 CC*)
12790 # SGI C++
12791 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'
12793 # Archives containing C++ object files must be created using
12794 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12795 # necessary to make sure instantiated templates are included
12796 # in the archive.
12797 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12800 if test "$GXX" = yes; then
12801 if test "$with_gnu_ld" = no; then
12802 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'
12803 else
12804 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12807 link_all_deplibs_CXX=yes
12809 esac
12810 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12811 hardcode_libdir_separator_CXX=:
12812 inherit_rpath_CXX=yes
12815 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12816 case $cc_basename in
12817 KCC*)
12818 # Kuck and Associates, Inc. (KAI) C++ Compiler
12820 # KCC will only create a shared library if the output file
12821 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12822 # to its proper name (with version) after linking.
12823 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'
12824 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'
12825 # Commands to make compiler produce verbose output that lists
12826 # what "hidden" libraries, object files and flags are used when
12827 # linking a shared library.
12829 # There doesn't appear to be a way to prevent this compiler from
12830 # explicitly linking system object files so we need to strip them
12831 # from the output so that they don't get included in the library
12832 # dependencies.
12833 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"'
12835 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12836 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12838 # Archives containing C++ object files must be created using
12839 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12840 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12842 icpc* | ecpc* )
12843 # Intel C++
12844 with_gnu_ld=yes
12845 # version 8.0 and above of icpc choke on multiply defined symbols
12846 # if we add $predep_objects and $postdep_objects, however 7.1 and
12847 # earlier do not add the objects themselves.
12848 case `$CC -V 2>&1` in
12849 *"Version 7."*)
12850 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12851 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'
12853 *) # Version 8.0 or newer
12854 tmp_idyn=
12855 case $host_cpu in
12856 ia64*) tmp_idyn=' -i_dynamic';;
12857 esac
12858 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12859 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'
12861 esac
12862 archive_cmds_need_lc_CXX=no
12863 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12864 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12865 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12867 pgCC* | pgcpp*)
12868 # Portland Group C++ compiler
12869 case `$CC -V` in
12870 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12871 prelink_cmds_CXX='tpldir=Template.dir~
12872 rm -rf $tpldir~
12873 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12874 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12875 old_archive_cmds_CXX='tpldir=Template.dir~
12876 rm -rf $tpldir~
12877 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12878 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12879 $RANLIB $oldlib'
12880 archive_cmds_CXX='tpldir=Template.dir~
12881 rm -rf $tpldir~
12882 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12883 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12884 archive_expsym_cmds_CXX='tpldir=Template.dir~
12885 rm -rf $tpldir~
12886 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12887 $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'
12889 *) # Version 6 and above use weak symbols
12890 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12891 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'
12893 esac
12895 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12896 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12897 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'
12899 cxx*)
12900 # Compaq C++
12901 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12902 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'
12904 runpath_var=LD_RUN_PATH
12905 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12906 hardcode_libdir_separator_CXX=:
12908 # Commands to make compiler produce verbose output that lists
12909 # what "hidden" libraries, object files and flags are used when
12910 # linking a shared library.
12912 # There doesn't appear to be a way to prevent this compiler from
12913 # explicitly linking system object files so we need to strip them
12914 # from the output so that they don't get included in the library
12915 # dependencies.
12916 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'
12918 xl* | mpixl* | bgxl*)
12919 # IBM XL 8.0 on PPC, with GNU ld
12920 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12921 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12922 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12923 if test "x$supports_anon_versioning" = xyes; then
12924 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12925 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12926 echo "local: *; };" >> $output_objdir/$libname.ver~
12927 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12931 case `$CC -V 2>&1 | sed 5q` in
12932 *Sun\ C*)
12933 # Sun C++ 5.9
12934 no_undefined_flag_CXX=' -zdefs'
12935 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12936 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'
12937 hardcode_libdir_flag_spec_CXX='-R$libdir'
12938 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'
12939 compiler_needs_object_CXX=yes
12941 # Not sure whether something based on
12942 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12943 # would be better.
12944 output_verbose_link_cmd='func_echo_all'
12946 # Archives containing C++ object files must be created using
12947 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12948 # necessary to make sure instantiated templates are included
12949 # in the archive.
12950 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12952 esac
12954 esac
12957 lynxos*)
12958 # FIXME: insert proper C++ library support
12959 ld_shlibs_CXX=no
12962 m88k*)
12963 # FIXME: insert proper C++ library support
12964 ld_shlibs_CXX=no
12967 mvs*)
12968 case $cc_basename in
12969 cxx*)
12970 # FIXME: insert proper C++ library support
12971 ld_shlibs_CXX=no
12974 # FIXME: insert proper C++ library support
12975 ld_shlibs_CXX=no
12977 esac
12980 netbsd*)
12981 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12982 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12983 wlarc=
12984 hardcode_libdir_flag_spec_CXX='-R$libdir'
12985 hardcode_direct_CXX=yes
12986 hardcode_shlibpath_var_CXX=no
12988 # Workaround some broken pre-1.5 toolchains
12989 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12992 *nto* | *qnx*)
12993 ld_shlibs_CXX=yes
12996 openbsd2*)
12997 # C++ shared libraries are fairly broken
12998 ld_shlibs_CXX=no
13001 openbsd*)
13002 if test -f /usr/libexec/ld.so; then
13003 hardcode_direct_CXX=yes
13004 hardcode_shlibpath_var_CXX=no
13005 hardcode_direct_absolute_CXX=yes
13006 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13007 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13008 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13009 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13010 export_dynamic_flag_spec_CXX='${wl}-E'
13011 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13013 output_verbose_link_cmd=func_echo_all
13014 else
13015 ld_shlibs_CXX=no
13019 osf3* | osf4* | osf5*)
13020 case $cc_basename in
13021 KCC*)
13022 # Kuck and Associates, Inc. (KAI) C++ Compiler
13024 # KCC will only create a shared library if the output file
13025 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13026 # to its proper name (with version) after linking.
13027 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'
13029 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13030 hardcode_libdir_separator_CXX=:
13032 # Archives containing C++ object files must be created using
13033 # the KAI C++ compiler.
13034 case $host in
13035 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13036 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13037 esac
13039 RCC*)
13040 # Rational C++ 2.4.1
13041 # FIXME: insert proper C++ library support
13042 ld_shlibs_CXX=no
13044 cxx*)
13045 case $host in
13046 osf3*)
13047 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13048 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'
13049 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13052 allow_undefined_flag_CXX=' -expect_unresolved \*'
13053 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'
13054 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13055 echo "-hidden">> $lib.exp~
13056 $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~
13057 $RM $lib.exp'
13058 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13060 esac
13062 hardcode_libdir_separator_CXX=:
13064 # Commands to make compiler produce verbose output that lists
13065 # what "hidden" libraries, object files and flags are used when
13066 # linking a shared library.
13068 # There doesn't appear to be a way to prevent this compiler from
13069 # explicitly linking system object files so we need to strip them
13070 # from the output so that they don't get included in the library
13071 # dependencies.
13072 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"'
13075 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13076 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13077 case $host in
13078 osf3*)
13079 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'
13082 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'
13084 esac
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13087 hardcode_libdir_separator_CXX=:
13089 # Commands to make compiler produce verbose output that lists
13090 # what "hidden" libraries, object files and flags are used when
13091 # linking a shared library.
13092 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13094 else
13095 # FIXME: insert proper C++ library support
13096 ld_shlibs_CXX=no
13099 esac
13102 psos*)
13103 # FIXME: insert proper C++ library support
13104 ld_shlibs_CXX=no
13107 sunos4*)
13108 case $cc_basename in
13109 CC*)
13110 # Sun C++ 4.x
13111 # FIXME: insert proper C++ library support
13112 ld_shlibs_CXX=no
13114 lcc*)
13115 # Lucid
13116 # FIXME: insert proper C++ library support
13117 ld_shlibs_CXX=no
13120 # FIXME: insert proper C++ library support
13121 ld_shlibs_CXX=no
13123 esac
13126 solaris*)
13127 case $cc_basename in
13128 CC*)
13129 # Sun C++ 4.2, 5.x and Centerline C++
13130 archive_cmds_need_lc_CXX=yes
13131 no_undefined_flag_CXX=' -zdefs'
13132 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13133 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13134 $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'
13136 hardcode_libdir_flag_spec_CXX='-R$libdir'
13137 hardcode_shlibpath_var_CXX=no
13138 case $host_os in
13139 solaris2.[0-5] | solaris2.[0-5].*) ;;
13141 # The compiler driver will combine and reorder linker options,
13142 # but understands `-z linker_flag'.
13143 # Supported since Solaris 2.6 (maybe 2.5.1?)
13144 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13146 esac
13147 link_all_deplibs_CXX=yes
13149 output_verbose_link_cmd='func_echo_all'
13151 # Archives containing C++ object files must be created using
13152 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13153 # necessary to make sure instantiated templates are included
13154 # in the archive.
13155 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13157 gcx*)
13158 # Green Hills C++ Compiler
13159 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13161 # The C++ compiler must be used to create the archive.
13162 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13165 # GNU C++ compiler with Solaris linker
13166 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13167 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13168 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13169 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13170 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13171 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13173 # Commands to make compiler produce verbose output that lists
13174 # what "hidden" libraries, object files and flags are used when
13175 # linking a shared library.
13176 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13177 else
13178 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13179 # platform.
13180 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13181 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13182 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13184 # Commands to make compiler produce verbose output that lists
13185 # what "hidden" libraries, object files and flags are used when
13186 # linking a shared library.
13187 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13190 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13191 case $host_os in
13192 solaris2.[0-5] | solaris2.[0-5].*) ;;
13194 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13196 esac
13199 esac
13202 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13203 no_undefined_flag_CXX='${wl}-z,text'
13204 archive_cmds_need_lc_CXX=no
13205 hardcode_shlibpath_var_CXX=no
13206 runpath_var='LD_RUN_PATH'
13208 case $cc_basename in
13209 CC*)
13210 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13211 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13214 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13215 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 esac
13220 sysv5* | sco3.2v5* | sco5v6*)
13221 # Note: We can NOT use -z defs as we might desire, because we do not
13222 # link with -lc, and that would cause any symbols used from libc to
13223 # always be unresolved, which means just about no library would
13224 # ever link correctly. If we're not using GNU ld we use -z text
13225 # though, which does catch some bad symbols but isn't as heavy-handed
13226 # as -z defs.
13227 no_undefined_flag_CXX='${wl}-z,text'
13228 allow_undefined_flag_CXX='${wl}-z,nodefs'
13229 archive_cmds_need_lc_CXX=no
13230 hardcode_shlibpath_var_CXX=no
13231 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13232 hardcode_libdir_separator_CXX=':'
13233 link_all_deplibs_CXX=yes
13234 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13235 runpath_var='LD_RUN_PATH'
13237 case $cc_basename in
13238 CC*)
13239 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13240 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13241 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13242 '"$old_archive_cmds_CXX"
13243 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13244 '"$reload_cmds_CXX"
13247 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13248 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 esac
13253 tandem*)
13254 case $cc_basename in
13255 NCC*)
13256 # NonStop-UX NCC 3.20
13257 # FIXME: insert proper C++ library support
13258 ld_shlibs_CXX=no
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13264 esac
13267 vxworks*)
13268 # FIXME: insert proper C++ library support
13269 ld_shlibs_CXX=no
13273 # FIXME: insert proper C++ library support
13274 ld_shlibs_CXX=no
13276 esac
13278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13279 $as_echo "$ld_shlibs_CXX" >&6; }
13280 test "$ld_shlibs_CXX" = no && can_build_shared=no
13282 GCC_CXX="$GXX"
13283 LD_CXX="$LD"
13285 ## CAVEAT EMPTOR:
13286 ## There is no encapsulation within the following macros, do not change
13287 ## the running order or otherwise move them around unless you know exactly
13288 ## what you are doing...
13289 # Dependencies to place before and after the object being linked:
13290 predep_objects_CXX=
13291 postdep_objects_CXX=
13292 predeps_CXX=
13293 postdeps_CXX=
13294 compiler_lib_search_path_CXX=
13296 cat > conftest.$ac_ext <<_LT_EOF
13297 class Foo
13299 public:
13300 Foo (void) { a = 0; }
13301 private:
13302 int a;
13304 _LT_EOF
13306 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13307 (eval $ac_compile) 2>&5
13308 ac_status=$?
13309 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13310 test $ac_status = 0; }; then
13311 # Parse the compiler output and extract the necessary
13312 # objects, libraries and library flags.
13314 # Sentinel used to keep track of whether or not we are before
13315 # the conftest object file.
13316 pre_test_object_deps_done=no
13318 for p in `eval "$output_verbose_link_cmd"`; do
13319 case $p in
13321 -L* | -R* | -l*)
13322 # Some compilers place space between "-{L,R}" and the path.
13323 # Remove the space.
13324 if test $p = "-L" ||
13325 test $p = "-R"; then
13326 prev=$p
13327 continue
13328 else
13329 prev=
13332 if test "$pre_test_object_deps_done" = no; then
13333 case $p in
13334 -L* | -R*)
13335 # Internal compiler library paths should come after those
13336 # provided the user. The postdeps already come after the
13337 # user supplied libs so there is no need to process them.
13338 if test -z "$compiler_lib_search_path_CXX"; then
13339 compiler_lib_search_path_CXX="${prev}${p}"
13340 else
13341 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13344 # The "-l" case would never come before the object being
13345 # linked, so don't bother handling this case.
13346 esac
13347 else
13348 if test -z "$postdeps_CXX"; then
13349 postdeps_CXX="${prev}${p}"
13350 else
13351 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13356 *.$objext)
13357 # This assumes that the test object file only shows up
13358 # once in the compiler output.
13359 if test "$p" = "conftest.$objext"; then
13360 pre_test_object_deps_done=yes
13361 continue
13364 if test "$pre_test_object_deps_done" = no; then
13365 if test -z "$predep_objects_CXX"; then
13366 predep_objects_CXX="$p"
13367 else
13368 predep_objects_CXX="$predep_objects_CXX $p"
13370 else
13371 if test -z "$postdep_objects_CXX"; then
13372 postdep_objects_CXX="$p"
13373 else
13374 postdep_objects_CXX="$postdep_objects_CXX $p"
13379 *) ;; # Ignore the rest.
13381 esac
13382 done
13384 # Clean up.
13385 rm -f a.out a.exe
13386 else
13387 echo "libtool.m4: error: problem compiling CXX test program"
13390 $RM -f confest.$objext
13392 # PORTME: override above test on systems where it is broken
13393 case $host_os in
13394 interix[3-9]*)
13395 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13396 # hack all around it, let's just trust "g++" to DTRT.
13397 predep_objects_CXX=
13398 postdep_objects_CXX=
13399 postdeps_CXX=
13402 linux*)
13403 case `$CC -V 2>&1 | sed 5q` in
13404 *Sun\ C*)
13405 # Sun C++ 5.9
13407 # The more standards-conforming stlport4 library is
13408 # incompatible with the Cstd library. Avoid specifying
13409 # it if it's in CXXFLAGS. Ignore libCrun as
13410 # -library=stlport4 depends on it.
13411 case " $CXX $CXXFLAGS " in
13412 *" -library=stlport4 "*)
13413 solaris_use_stlport4=yes
13415 esac
13417 if test "$solaris_use_stlport4" != yes; then
13418 postdeps_CXX='-library=Cstd -library=Crun'
13421 esac
13424 solaris*)
13425 case $cc_basename in
13426 CC*)
13427 # The more standards-conforming stlport4 library is
13428 # incompatible with the Cstd library. Avoid specifying
13429 # it if it's in CXXFLAGS. Ignore libCrun as
13430 # -library=stlport4 depends on it.
13431 case " $CXX $CXXFLAGS " in
13432 *" -library=stlport4 "*)
13433 solaris_use_stlport4=yes
13435 esac
13437 # Adding this requires a known-good setup of shared libraries for
13438 # Sun compiler versions before 5.6, else PIC objects from an old
13439 # archive will be linked into the output, leading to subtle bugs.
13440 if test "$solaris_use_stlport4" != yes; then
13441 postdeps_CXX='-library=Cstd -library=Crun'
13444 esac
13446 esac
13449 case " $postdeps_CXX " in
13450 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13451 esac
13452 compiler_lib_search_dirs_CXX=
13453 if test -n "${compiler_lib_search_path_CXX}"; then
13454 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13487 lt_prog_compiler_wl_CXX=
13488 lt_prog_compiler_pic_CXX=
13489 lt_prog_compiler_static_CXX=
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13492 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13494 # C++ specific cases for pic, static, wl, etc.
13495 if test "$GXX" = yes; then
13496 lt_prog_compiler_wl_CXX='-Wl,'
13497 lt_prog_compiler_static_CXX='-static'
13499 case $host_os in
13500 aix*)
13501 # All AIX code is PIC.
13502 if test "$host_cpu" = ia64; then
13503 # AIX 5 now supports IA64 processor
13504 lt_prog_compiler_static_CXX='-Bstatic'
13506 lt_prog_compiler_pic_CXX='-fPIC'
13509 amigaos*)
13510 case $host_cpu in
13511 powerpc)
13512 # see comment about AmigaOS4 .so support
13513 lt_prog_compiler_pic_CXX='-fPIC'
13515 m68k)
13516 # FIXME: we need at least 68020 code to build shared libraries, but
13517 # adding the `-m68020' flag to GCC prevents building anything better,
13518 # like `-m68040'.
13519 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13521 esac
13524 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13525 # PIC is the default for these OSes.
13527 mingw* | cygwin* | os2* | pw32* | cegcc*)
13528 # This hack is so that the source file can tell whether it is being
13529 # built for inclusion in a dll (and should export symbols for example).
13530 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13531 # (--disable-auto-import) libraries
13532 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13534 darwin* | rhapsody*)
13535 # PIC is the default on this platform
13536 # Common symbols not allowed in MH_DYLIB files
13537 lt_prog_compiler_pic_CXX='-fno-common'
13539 *djgpp*)
13540 # DJGPP does not support shared libraries at all
13541 lt_prog_compiler_pic_CXX=
13543 haiku*)
13544 # PIC is the default for Haiku.
13545 # The "-static" flag exists, but is broken.
13546 lt_prog_compiler_static_CXX=
13548 interix[3-9]*)
13549 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13550 # Instead, we relocate shared libraries at runtime.
13552 sysv4*MP*)
13553 if test -d /usr/nec; then
13554 lt_prog_compiler_pic_CXX=-Kconform_pic
13557 hpux*)
13558 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13559 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13560 # sets the default TLS model and affects inlining.
13561 case $host_cpu in
13562 hppa*64*)
13565 lt_prog_compiler_pic_CXX='-fPIC'
13567 esac
13569 *qnx* | *nto*)
13570 # QNX uses GNU C++, but need to define -shared option too, otherwise
13571 # it will coredump.
13572 lt_prog_compiler_pic_CXX='-fPIC -shared'
13575 lt_prog_compiler_pic_CXX='-fPIC'
13577 esac
13578 else
13579 case $host_os in
13580 aix[4-9]*)
13581 # All AIX code is PIC.
13582 if test "$host_cpu" = ia64; then
13583 # AIX 5 now supports IA64 processor
13584 lt_prog_compiler_static_CXX='-Bstatic'
13585 else
13586 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13589 chorus*)
13590 case $cc_basename in
13591 cxch68*)
13592 # Green Hills C++ Compiler
13593 # _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"
13595 esac
13597 dgux*)
13598 case $cc_basename in
13599 ec++*)
13600 lt_prog_compiler_pic_CXX='-KPIC'
13602 ghcx*)
13603 # Green Hills C++ Compiler
13604 lt_prog_compiler_pic_CXX='-pic'
13608 esac
13610 freebsd* | dragonfly*)
13611 # FreeBSD uses GNU C++
13613 hpux9* | hpux10* | hpux11*)
13614 case $cc_basename in
13615 CC*)
13616 lt_prog_compiler_wl_CXX='-Wl,'
13617 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13618 if test "$host_cpu" != ia64; then
13619 lt_prog_compiler_pic_CXX='+Z'
13622 aCC*)
13623 lt_prog_compiler_wl_CXX='-Wl,'
13624 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13625 case $host_cpu in
13626 hppa*64*|ia64*)
13627 # +Z the default
13630 lt_prog_compiler_pic_CXX='+Z'
13632 esac
13636 esac
13638 interix*)
13639 # This is c89, which is MS Visual C++ (no shared libs)
13640 # Anyone wants to do a port?
13642 irix5* | irix6* | nonstopux*)
13643 case $cc_basename in
13644 CC*)
13645 lt_prog_compiler_wl_CXX='-Wl,'
13646 lt_prog_compiler_static_CXX='-non_shared'
13647 # CC pic flag -KPIC is the default.
13651 esac
13653 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13654 case $cc_basename in
13655 KCC*)
13656 # KAI C++ Compiler
13657 lt_prog_compiler_wl_CXX='--backend -Wl,'
13658 lt_prog_compiler_pic_CXX='-fPIC'
13660 ecpc* )
13661 # old Intel C++ for x86_64 which still supported -KPIC.
13662 lt_prog_compiler_wl_CXX='-Wl,'
13663 lt_prog_compiler_pic_CXX='-KPIC'
13664 lt_prog_compiler_static_CXX='-static'
13666 icpc* )
13667 # Intel C++, used to be incompatible with GCC.
13668 # ICC 10 doesn't accept -KPIC any more.
13669 lt_prog_compiler_wl_CXX='-Wl,'
13670 lt_prog_compiler_pic_CXX='-fPIC'
13671 lt_prog_compiler_static_CXX='-static'
13673 pgCC* | pgcpp*)
13674 # Portland Group C++ compiler
13675 lt_prog_compiler_wl_CXX='-Wl,'
13676 lt_prog_compiler_pic_CXX='-fpic'
13677 lt_prog_compiler_static_CXX='-Bstatic'
13679 cxx*)
13680 # Compaq C++
13681 # Make sure the PIC flag is empty. It appears that all Alpha
13682 # Linux and Compaq Tru64 Unix objects are PIC.
13683 lt_prog_compiler_pic_CXX=
13684 lt_prog_compiler_static_CXX='-non_shared'
13686 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13687 # IBM XL 8.0, 9.0 on PPC and BlueGene
13688 lt_prog_compiler_wl_CXX='-Wl,'
13689 lt_prog_compiler_pic_CXX='-qpic'
13690 lt_prog_compiler_static_CXX='-qstaticlink'
13693 case `$CC -V 2>&1 | sed 5q` in
13694 *Sun\ C*)
13695 # Sun C++ 5.9
13696 lt_prog_compiler_pic_CXX='-KPIC'
13697 lt_prog_compiler_static_CXX='-Bstatic'
13698 lt_prog_compiler_wl_CXX='-Qoption ld '
13700 esac
13702 esac
13704 lynxos*)
13706 m88k*)
13708 mvs*)
13709 case $cc_basename in
13710 cxx*)
13711 lt_prog_compiler_pic_CXX='-W c,exportall'
13715 esac
13717 netbsd*)
13719 *qnx* | *nto*)
13720 # QNX uses GNU C++, but need to define -shared option too, otherwise
13721 # it will coredump.
13722 lt_prog_compiler_pic_CXX='-fPIC -shared'
13724 osf3* | osf4* | osf5*)
13725 case $cc_basename in
13726 KCC*)
13727 lt_prog_compiler_wl_CXX='--backend -Wl,'
13729 RCC*)
13730 # Rational C++ 2.4.1
13731 lt_prog_compiler_pic_CXX='-pic'
13733 cxx*)
13734 # Digital/Compaq C++
13735 lt_prog_compiler_wl_CXX='-Wl,'
13736 # Make sure the PIC flag is empty. It appears that all Alpha
13737 # Linux and Compaq Tru64 Unix objects are PIC.
13738 lt_prog_compiler_pic_CXX=
13739 lt_prog_compiler_static_CXX='-non_shared'
13743 esac
13745 psos*)
13747 solaris*)
13748 case $cc_basename in
13749 CC*)
13750 # Sun C++ 4.2, 5.x and Centerline C++
13751 lt_prog_compiler_pic_CXX='-KPIC'
13752 lt_prog_compiler_static_CXX='-Bstatic'
13753 lt_prog_compiler_wl_CXX='-Qoption ld '
13755 gcx*)
13756 # Green Hills C++ Compiler
13757 lt_prog_compiler_pic_CXX='-PIC'
13761 esac
13763 sunos4*)
13764 case $cc_basename in
13765 CC*)
13766 # Sun C++ 4.x
13767 lt_prog_compiler_pic_CXX='-pic'
13768 lt_prog_compiler_static_CXX='-Bstatic'
13770 lcc*)
13771 # Lucid
13772 lt_prog_compiler_pic_CXX='-pic'
13776 esac
13778 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13779 case $cc_basename in
13780 CC*)
13781 lt_prog_compiler_wl_CXX='-Wl,'
13782 lt_prog_compiler_pic_CXX='-KPIC'
13783 lt_prog_compiler_static_CXX='-Bstatic'
13785 esac
13787 tandem*)
13788 case $cc_basename in
13789 NCC*)
13790 # NonStop-UX NCC 3.20
13791 lt_prog_compiler_pic_CXX='-KPIC'
13795 esac
13797 vxworks*)
13800 lt_prog_compiler_can_build_shared_CXX=no
13802 esac
13805 case $host_os in
13806 # For platforms which do not support PIC, -DPIC is meaningless:
13807 *djgpp*)
13808 lt_prog_compiler_pic_CXX=
13811 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13813 esac
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13815 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13820 # Check to make sure the PIC flag actually works.
13822 if test -n "$lt_prog_compiler_pic_CXX"; then
13823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13824 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13825 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13826 $as_echo_n "(cached) " >&6
13827 else
13828 lt_cv_prog_compiler_pic_works_CXX=no
13829 ac_outfile=conftest.$ac_objext
13830 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13831 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13832 # Insert the option either (1) after the last *FLAGS variable, or
13833 # (2) before a word containing "conftest.", or (3) at the end.
13834 # Note that $ac_compile itself does not contain backslashes and begins
13835 # with a dollar sign (not a hyphen), so the echo should work correctly.
13836 # The option is referenced via a variable to avoid confusing sed.
13837 lt_compile=`echo "$ac_compile" | $SED \
13838 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13839 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13840 -e 's:$: $lt_compiler_flag:'`
13841 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13842 (eval "$lt_compile" 2>conftest.err)
13843 ac_status=$?
13844 cat conftest.err >&5
13845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13846 if (exit $ac_status) && test -s "$ac_outfile"; then
13847 # The compiler can only warn and ignore the option if not recognized
13848 # So say no if there are warnings other than the usual output.
13849 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13850 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13851 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13852 lt_cv_prog_compiler_pic_works_CXX=yes
13855 $RM conftest*
13858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13859 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13861 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13862 case $lt_prog_compiler_pic_CXX in
13863 "" | " "*) ;;
13864 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13865 esac
13866 else
13867 lt_prog_compiler_pic_CXX=
13868 lt_prog_compiler_can_build_shared_CXX=no
13876 # Check to make sure the static flag actually works.
13878 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13880 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13881 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13882 $as_echo_n "(cached) " >&6
13883 else
13884 lt_cv_prog_compiler_static_works_CXX=no
13885 save_LDFLAGS="$LDFLAGS"
13886 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13887 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13888 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13889 # The linker can only warn and ignore the option if not recognized
13890 # So say no if there are warnings
13891 if test -s conftest.err; then
13892 # Append any errors to the config.log.
13893 cat conftest.err 1>&5
13894 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13895 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13896 if diff conftest.exp conftest.er2 >/dev/null; then
13897 lt_cv_prog_compiler_static_works_CXX=yes
13899 else
13900 lt_cv_prog_compiler_static_works_CXX=yes
13903 $RM -r conftest*
13904 LDFLAGS="$save_LDFLAGS"
13907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13908 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13910 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13912 else
13913 lt_prog_compiler_static_CXX=
13919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13920 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13921 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13922 $as_echo_n "(cached) " >&6
13923 else
13924 lt_cv_prog_compiler_c_o_CXX=no
13925 $RM -r conftest 2>/dev/null
13926 mkdir conftest
13927 cd conftest
13928 mkdir out
13929 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13931 lt_compiler_flag="-o out/conftest2.$ac_objext"
13932 # Insert the option either (1) after the last *FLAGS variable, or
13933 # (2) before a word containing "conftest.", or (3) at the end.
13934 # Note that $ac_compile itself does not contain backslashes and begins
13935 # with a dollar sign (not a hyphen), so the echo should work correctly.
13936 lt_compile=`echo "$ac_compile" | $SED \
13937 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13938 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13939 -e 's:$: $lt_compiler_flag:'`
13940 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13941 (eval "$lt_compile" 2>out/conftest.err)
13942 ac_status=$?
13943 cat out/conftest.err >&5
13944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13945 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13946 then
13947 # The compiler can only warn and ignore the option if not recognized
13948 # So say no if there are warnings
13949 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13950 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13951 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13952 lt_cv_prog_compiler_c_o_CXX=yes
13955 chmod u+w . 2>&5
13956 $RM conftest*
13957 # SGI C++ compiler will create directory out/ii_files/ for
13958 # template instantiation
13959 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13960 $RM out/* && rmdir out
13961 cd ..
13962 $RM -r conftest
13963 $RM conftest*
13966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13967 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13972 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13973 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13974 $as_echo_n "(cached) " >&6
13975 else
13976 lt_cv_prog_compiler_c_o_CXX=no
13977 $RM -r conftest 2>/dev/null
13978 mkdir conftest
13979 cd conftest
13980 mkdir out
13981 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13983 lt_compiler_flag="-o out/conftest2.$ac_objext"
13984 # Insert the option either (1) after the last *FLAGS variable, or
13985 # (2) before a word containing "conftest.", or (3) at the end.
13986 # Note that $ac_compile itself does not contain backslashes and begins
13987 # with a dollar sign (not a hyphen), so the echo should work correctly.
13988 lt_compile=`echo "$ac_compile" | $SED \
13989 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13990 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13991 -e 's:$: $lt_compiler_flag:'`
13992 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13993 (eval "$lt_compile" 2>out/conftest.err)
13994 ac_status=$?
13995 cat out/conftest.err >&5
13996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13997 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13998 then
13999 # The compiler can only warn and ignore the option if not recognized
14000 # So say no if there are warnings
14001 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14002 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14003 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14004 lt_cv_prog_compiler_c_o_CXX=yes
14007 chmod u+w . 2>&5
14008 $RM conftest*
14009 # SGI C++ compiler will create directory out/ii_files/ for
14010 # template instantiation
14011 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14012 $RM out/* && rmdir out
14013 cd ..
14014 $RM -r conftest
14015 $RM conftest*
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14019 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14024 hard_links="nottested"
14025 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14026 # do not overwrite the value of need_locks provided by the user
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14028 $as_echo_n "checking if we can lock with hard links... " >&6; }
14029 hard_links=yes
14030 $RM conftest*
14031 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14032 touch conftest.a
14033 ln conftest.a conftest.b 2>&5 || hard_links=no
14034 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14036 $as_echo "$hard_links" >&6; }
14037 if test "$hard_links" = no; then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14039 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14040 need_locks=warn
14042 else
14043 need_locks=no
14048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14049 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14051 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14052 case $host_os in
14053 aix[4-9]*)
14054 # If we're using GNU nm, then we don't want the "-C" option.
14055 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14056 # Also, AIX nm treats weak defined symbols like other global defined
14057 # symbols, whereas GNU nm marks them as "W".
14058 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14059 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'
14060 else
14061 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'
14064 pw32*)
14065 export_symbols_cmds_CXX="$ltdll_cmds"
14067 cygwin* | mingw* | cegcc*)
14068 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'
14071 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14073 esac
14074 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14077 $as_echo "$ld_shlibs_CXX" >&6; }
14078 test "$ld_shlibs_CXX" = no && can_build_shared=no
14080 with_gnu_ld_CXX=$with_gnu_ld
14088 # Do we need to explicitly link libc?
14090 case "x$archive_cmds_need_lc_CXX" in
14091 x|xyes)
14092 # Assume -lc should be added
14093 archive_cmds_need_lc_CXX=yes
14095 if test "$enable_shared" = yes && test "$GCC" = yes; then
14096 case $archive_cmds_CXX in
14097 *'~'*)
14098 # FIXME: we may have to deal with multi-command sequences.
14100 '$CC '*)
14101 # Test whether the compiler implicitly links with -lc since on some
14102 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14103 # to ld, don't add -lc before -lgcc.
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14105 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14106 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 $RM conftest*
14110 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14112 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14113 (eval $ac_compile) 2>&5
14114 ac_status=$?
14115 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14116 test $ac_status = 0; } 2>conftest.err; then
14117 soname=conftest
14118 lib=conftest
14119 libobjs=conftest.$ac_objext
14120 deplibs=
14121 wl=$lt_prog_compiler_wl_CXX
14122 pic_flag=$lt_prog_compiler_pic_CXX
14123 compiler_flags=-v
14124 linker_flags=-v
14125 verstring=
14126 output_objdir=.
14127 libname=conftest
14128 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14129 allow_undefined_flag_CXX=
14130 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14131 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14132 ac_status=$?
14133 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14134 test $ac_status = 0; }
14135 then
14136 lt_cv_archive_cmds_need_lc_CXX=no
14137 else
14138 lt_cv_archive_cmds_need_lc_CXX=yes
14140 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14141 else
14142 cat conftest.err 1>&5
14144 $RM conftest*
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14148 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14149 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14151 esac
14154 esac
14219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14220 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14222 library_names_spec=
14223 libname_spec='lib$name'
14224 soname_spec=
14225 shrext_cmds=".so"
14226 postinstall_cmds=
14227 postuninstall_cmds=
14228 finish_cmds=
14229 finish_eval=
14230 shlibpath_var=
14231 shlibpath_overrides_runpath=unknown
14232 version_type=none
14233 dynamic_linker="$host_os ld.so"
14234 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14235 need_lib_prefix=unknown
14236 hardcode_into_libs=no
14238 # when you set need_version to no, make sure it does not cause -set_version
14239 # flags to be left without arguments
14240 need_version=unknown
14242 case $host_os in
14243 aix3*)
14244 version_type=linux
14245 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14246 shlibpath_var=LIBPATH
14248 # AIX 3 has no versioning support, so we append a major version to the name.
14249 soname_spec='${libname}${release}${shared_ext}$major'
14252 aix[4-9]*)
14253 version_type=linux
14254 need_lib_prefix=no
14255 need_version=no
14256 hardcode_into_libs=yes
14257 if test "$host_cpu" = ia64; then
14258 # AIX 5 supports IA64
14259 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14260 shlibpath_var=LD_LIBRARY_PATH
14261 else
14262 # With GCC up to 2.95.x, collect2 would create an import file
14263 # for dependence libraries. The import file would start with
14264 # the line `#! .'. This would cause the generated library to
14265 # depend on `.', always an invalid library. This was fixed in
14266 # development snapshots of GCC prior to 3.0.
14267 case $host_os in
14268 aix4 | aix4.[01] | aix4.[01].*)
14269 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14270 echo ' yes '
14271 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14273 else
14274 can_build_shared=no
14277 esac
14278 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14279 # soname into executable. Probably we can add versioning support to
14280 # collect2, so additional links can be useful in future.
14281 if test "$aix_use_runtimelinking" = yes; then
14282 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14283 # instead of lib<name>.a to let people know that these are not
14284 # typical AIX shared libraries.
14285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14286 else
14287 # We preserve .a as extension for shared libraries through AIX4.2
14288 # and later when we are not doing run time linking.
14289 library_names_spec='${libname}${release}.a $libname.a'
14290 soname_spec='${libname}${release}${shared_ext}$major'
14292 shlibpath_var=LIBPATH
14296 amigaos*)
14297 case $host_cpu in
14298 powerpc)
14299 # Since July 2007 AmigaOS4 officially supports .so libraries.
14300 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14301 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14303 m68k)
14304 library_names_spec='$libname.ixlibrary $libname.a'
14305 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14306 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'
14308 esac
14311 beos*)
14312 library_names_spec='${libname}${shared_ext}'
14313 dynamic_linker="$host_os ld.so"
14314 shlibpath_var=LIBRARY_PATH
14317 bsdi[45]*)
14318 version_type=linux
14319 need_version=no
14320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14321 soname_spec='${libname}${release}${shared_ext}$major'
14322 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14323 shlibpath_var=LD_LIBRARY_PATH
14324 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14325 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14326 # the default ld.so.conf also contains /usr/contrib/lib and
14327 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14328 # libtool to hard-code these into programs
14331 cygwin* | mingw* | pw32* | cegcc*)
14332 version_type=windows
14333 shrext_cmds=".dll"
14334 need_version=no
14335 need_lib_prefix=no
14337 case $GCC,$host_os in
14338 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14339 library_names_spec='$libname.dll.a'
14340 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14341 postinstall_cmds='base_file=`basename \${file}`~
14342 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14343 dldir=$destdir/`dirname \$dlpath`~
14344 test -d \$dldir || mkdir -p \$dldir~
14345 $install_prog $dir/$dlname \$dldir/$dlname~
14346 chmod a+x \$dldir/$dlname~
14347 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14348 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14350 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14351 dlpath=$dir/\$dldll~
14352 $RM \$dlpath'
14353 shlibpath_overrides_runpath=yes
14355 case $host_os in
14356 cygwin*)
14357 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14358 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14361 mingw* | cegcc*)
14362 # MinGW DLLs use traditional 'lib' prefix
14363 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14365 pw32*)
14366 # pw32 DLLs use 'pw' prefix rather than 'lib'
14367 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14369 esac
14373 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14375 esac
14376 dynamic_linker='Win32 ld.exe'
14377 # FIXME: first we should search . and the directory the executable is in
14378 shlibpath_var=PATH
14381 darwin* | rhapsody*)
14382 dynamic_linker="$host_os dyld"
14383 version_type=darwin
14384 need_lib_prefix=no
14385 need_version=no
14386 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14387 soname_spec='${libname}${release}${major}$shared_ext'
14388 shlibpath_overrides_runpath=yes
14389 shlibpath_var=DYLD_LIBRARY_PATH
14390 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14392 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14395 dgux*)
14396 version_type=linux
14397 need_lib_prefix=no
14398 need_version=no
14399 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14400 soname_spec='${libname}${release}${shared_ext}$major'
14401 shlibpath_var=LD_LIBRARY_PATH
14404 freebsd* | dragonfly*)
14405 # DragonFly does not have aout. When/if they implement a new
14406 # versioning mechanism, adjust this.
14407 if test -x /usr/bin/objformat; then
14408 objformat=`/usr/bin/objformat`
14409 else
14410 case $host_os in
14411 freebsd[23].*) objformat=aout ;;
14412 *) objformat=elf ;;
14413 esac
14415 version_type=freebsd-$objformat
14416 case $version_type in
14417 freebsd-elf*)
14418 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14419 need_version=no
14420 need_lib_prefix=no
14422 freebsd-*)
14423 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14424 need_version=yes
14426 esac
14427 shlibpath_var=LD_LIBRARY_PATH
14428 case $host_os in
14429 freebsd2.*)
14430 shlibpath_overrides_runpath=yes
14432 freebsd3.[01]* | freebsdelf3.[01]*)
14433 shlibpath_overrides_runpath=yes
14434 hardcode_into_libs=yes
14436 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14437 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14438 shlibpath_overrides_runpath=no
14439 hardcode_into_libs=yes
14441 *) # from 4.6 on, and DragonFly
14442 shlibpath_overrides_runpath=yes
14443 hardcode_into_libs=yes
14445 esac
14448 gnu*)
14449 version_type=linux
14450 need_lib_prefix=no
14451 need_version=no
14452 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14453 soname_spec='${libname}${release}${shared_ext}$major'
14454 shlibpath_var=LD_LIBRARY_PATH
14455 hardcode_into_libs=yes
14458 haiku*)
14459 version_type=linux
14460 need_lib_prefix=no
14461 need_version=no
14462 dynamic_linker="$host_os runtime_loader"
14463 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14464 soname_spec='${libname}${release}${shared_ext}$major'
14465 shlibpath_var=LIBRARY_PATH
14466 shlibpath_overrides_runpath=yes
14467 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14468 hardcode_into_libs=yes
14471 hpux9* | hpux10* | hpux11*)
14472 # Give a soname corresponding to the major version so that dld.sl refuses to
14473 # link against other versions.
14474 version_type=sunos
14475 need_lib_prefix=no
14476 need_version=no
14477 case $host_cpu in
14478 ia64*)
14479 shrext_cmds='.so'
14480 hardcode_into_libs=yes
14481 dynamic_linker="$host_os dld.so"
14482 shlibpath_var=LD_LIBRARY_PATH
14483 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14484 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14485 soname_spec='${libname}${release}${shared_ext}$major'
14486 if test "X$HPUX_IA64_MODE" = X32; then
14487 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14488 else
14489 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14491 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14493 hppa*64*)
14494 shrext_cmds='.sl'
14495 hardcode_into_libs=yes
14496 dynamic_linker="$host_os dld.sl"
14497 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14498 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14502 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14505 shrext_cmds='.sl'
14506 dynamic_linker="$host_os dld.sl"
14507 shlibpath_var=SHLIB_PATH
14508 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14509 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14510 soname_spec='${libname}${release}${shared_ext}$major'
14512 esac
14513 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14514 postinstall_cmds='chmod 555 $lib'
14515 # or fails outright, so override atomically:
14516 install_override_mode=555
14519 interix[3-9]*)
14520 version_type=linux
14521 need_lib_prefix=no
14522 need_version=no
14523 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14524 soname_spec='${libname}${release}${shared_ext}$major'
14525 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14526 shlibpath_var=LD_LIBRARY_PATH
14527 shlibpath_overrides_runpath=no
14528 hardcode_into_libs=yes
14531 irix5* | irix6* | nonstopux*)
14532 case $host_os in
14533 nonstopux*) version_type=nonstopux ;;
14535 if test "$lt_cv_prog_gnu_ld" = yes; then
14536 version_type=linux
14537 else
14538 version_type=irix
14539 fi ;;
14540 esac
14541 need_lib_prefix=no
14542 need_version=no
14543 soname_spec='${libname}${release}${shared_ext}$major'
14544 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14545 case $host_os in
14546 irix5* | nonstopux*)
14547 libsuff= shlibsuff=
14550 case $LD in # libtool.m4 will add one of these switches to LD
14551 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14552 libsuff= shlibsuff= libmagic=32-bit;;
14553 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14554 libsuff=32 shlibsuff=N32 libmagic=N32;;
14555 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14556 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14557 *) libsuff= shlibsuff= libmagic=never-match;;
14558 esac
14560 esac
14561 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14562 shlibpath_overrides_runpath=no
14563 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14564 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14565 hardcode_into_libs=yes
14568 # No shared lib support for Linux oldld, aout, or coff.
14569 linux*oldld* | linux*aout* | linux*coff*)
14570 dynamic_linker=no
14573 # This must be Linux ELF.
14574 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14575 version_type=linux
14576 need_lib_prefix=no
14577 need_version=no
14578 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14579 soname_spec='${libname}${release}${shared_ext}$major'
14580 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14581 shlibpath_var=LD_LIBRARY_PATH
14582 shlibpath_overrides_runpath=no
14584 # Some binutils ld are patched to set DT_RUNPATH
14585 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14586 $as_echo_n "(cached) " >&6
14587 else
14588 lt_cv_shlibpath_overrides_runpath=no
14589 save_LDFLAGS=$LDFLAGS
14590 save_libdir=$libdir
14591 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14592 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14593 if test x$gcc_no_link = xyes; then
14594 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14597 /* end confdefs.h. */
14600 main ()
14604 return 0;
14606 _ACEOF
14607 if ac_fn_cxx_try_link "$LINENO"; then :
14608 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14609 lt_cv_shlibpath_overrides_runpath=yes
14612 rm -f core conftest.err conftest.$ac_objext \
14613 conftest$ac_exeext conftest.$ac_ext
14614 LDFLAGS=$save_LDFLAGS
14615 libdir=$save_libdir
14619 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14621 # This implies no fast_install, which is unacceptable.
14622 # Some rework will be needed to allow for fast_install
14623 # before this can be enabled.
14624 hardcode_into_libs=yes
14626 # Append ld.so.conf contents to the search path
14627 if test -f /etc/ld.so.conf; then
14628 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' ' '`
14629 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14632 # We used to test for /lib/ld.so.1 and disable shared libraries on
14633 # powerpc, because MkLinux only supported shared libraries with the
14634 # GNU dynamic linker. Since this was broken with cross compilers,
14635 # most powerpc-linux boxes support dynamic linking these days and
14636 # people can always --disable-shared, the test was removed, and we
14637 # assume the GNU/Linux dynamic linker is in use.
14638 dynamic_linker='GNU/Linux ld.so'
14641 netbsd*)
14642 version_type=sunos
14643 need_lib_prefix=no
14644 need_version=no
14645 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14646 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14647 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14648 dynamic_linker='NetBSD (a.out) ld.so'
14649 else
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 dynamic_linker='NetBSD ld.elf_so'
14654 shlibpath_var=LD_LIBRARY_PATH
14655 shlibpath_overrides_runpath=yes
14656 hardcode_into_libs=yes
14659 newsos6)
14660 version_type=linux
14661 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14662 shlibpath_var=LD_LIBRARY_PATH
14663 shlibpath_overrides_runpath=yes
14666 *nto* | *qnx*)
14667 version_type=qnx
14668 need_lib_prefix=no
14669 need_version=no
14670 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14671 soname_spec='${libname}${release}${shared_ext}$major'
14672 shlibpath_var=LD_LIBRARY_PATH
14673 shlibpath_overrides_runpath=no
14674 hardcode_into_libs=yes
14675 dynamic_linker='ldqnx.so'
14678 openbsd*)
14679 version_type=sunos
14680 sys_lib_dlsearch_path_spec="/usr/lib"
14681 need_lib_prefix=no
14682 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14683 case $host_os in
14684 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14685 *) need_version=no ;;
14686 esac
14687 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14688 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14689 shlibpath_var=LD_LIBRARY_PATH
14690 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14691 case $host_os in
14692 openbsd2.[89] | openbsd2.[89].*)
14693 shlibpath_overrides_runpath=no
14696 shlibpath_overrides_runpath=yes
14698 esac
14699 else
14700 shlibpath_overrides_runpath=yes
14704 os2*)
14705 libname_spec='$name'
14706 shrext_cmds=".dll"
14707 need_lib_prefix=no
14708 library_names_spec='$libname${shared_ext} $libname.a'
14709 dynamic_linker='OS/2 ld.exe'
14710 shlibpath_var=LIBPATH
14713 osf3* | osf4* | osf5*)
14714 version_type=osf
14715 need_lib_prefix=no
14716 need_version=no
14717 soname_spec='${libname}${release}${shared_ext}$major'
14718 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14719 shlibpath_var=LD_LIBRARY_PATH
14720 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14721 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14724 rdos*)
14725 dynamic_linker=no
14728 solaris*)
14729 version_type=linux
14730 need_lib_prefix=no
14731 need_version=no
14732 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14733 soname_spec='${libname}${release}${shared_ext}$major'
14734 shlibpath_var=LD_LIBRARY_PATH
14735 shlibpath_overrides_runpath=yes
14736 hardcode_into_libs=yes
14737 # ldd complains unless libraries are executable
14738 postinstall_cmds='chmod +x $lib'
14741 sunos4*)
14742 version_type=sunos
14743 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14744 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14745 shlibpath_var=LD_LIBRARY_PATH
14746 shlibpath_overrides_runpath=yes
14747 if test "$with_gnu_ld" = yes; then
14748 need_lib_prefix=no
14750 need_version=yes
14753 sysv4 | sysv4.3*)
14754 version_type=linux
14755 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14756 soname_spec='${libname}${release}${shared_ext}$major'
14757 shlibpath_var=LD_LIBRARY_PATH
14758 case $host_vendor in
14759 sni)
14760 shlibpath_overrides_runpath=no
14761 need_lib_prefix=no
14762 runpath_var=LD_RUN_PATH
14764 siemens)
14765 need_lib_prefix=no
14767 motorola)
14768 need_lib_prefix=no
14769 need_version=no
14770 shlibpath_overrides_runpath=no
14771 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14773 esac
14776 sysv4*MP*)
14777 if test -d /usr/nec ;then
14778 version_type=linux
14779 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14780 soname_spec='$libname${shared_ext}.$major'
14781 shlibpath_var=LD_LIBRARY_PATH
14785 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14786 version_type=freebsd-elf
14787 need_lib_prefix=no
14788 need_version=no
14789 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14790 soname_spec='${libname}${release}${shared_ext}$major'
14791 shlibpath_var=LD_LIBRARY_PATH
14792 shlibpath_overrides_runpath=yes
14793 hardcode_into_libs=yes
14794 if test "$with_gnu_ld" = yes; then
14795 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14796 else
14797 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14798 case $host_os in
14799 sco3.2v5*)
14800 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14802 esac
14804 sys_lib_dlsearch_path_spec='/usr/lib'
14807 tpf*)
14808 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14809 version_type=linux
14810 need_lib_prefix=no
14811 need_version=no
14812 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14813 shlibpath_var=LD_LIBRARY_PATH
14814 shlibpath_overrides_runpath=no
14815 hardcode_into_libs=yes
14818 uts4*)
14819 version_type=linux
14820 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14821 soname_spec='${libname}${release}${shared_ext}$major'
14822 shlibpath_var=LD_LIBRARY_PATH
14826 dynamic_linker=no
14828 esac
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14830 $as_echo "$dynamic_linker" >&6; }
14831 test "$dynamic_linker" = no && can_build_shared=no
14833 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14834 if test "$GCC" = yes; then
14835 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14838 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14839 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14841 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14842 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14883 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14884 hardcode_action_CXX=
14885 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14886 test -n "$runpath_var_CXX" ||
14887 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14889 # We can hardcode non-existent directories.
14890 if test "$hardcode_direct_CXX" != no &&
14891 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14892 # have to relink, otherwise we might link with an installed library
14893 # when we should be linking with a yet-to-be-installed one
14894 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14895 test "$hardcode_minus_L_CXX" != no; then
14896 # Linking always hardcodes the temporary library directory.
14897 hardcode_action_CXX=relink
14898 else
14899 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14900 hardcode_action_CXX=immediate
14902 else
14903 # We cannot hardcode anything, or else we can only hardcode existing
14904 # directories.
14905 hardcode_action_CXX=unsupported
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14908 $as_echo "$hardcode_action_CXX" >&6; }
14910 if test "$hardcode_action_CXX" = relink ||
14911 test "$inherit_rpath_CXX" = yes; then
14912 # Fast installation is not supported
14913 enable_fast_install=no
14914 elif test "$shlibpath_overrides_runpath" = yes ||
14915 test "$enable_shared" = no; then
14916 # Fast installation is not necessary
14917 enable_fast_install=needless
14926 fi # test -n "$compiler"
14928 CC=$lt_save_CC
14929 LDCXX=$LD
14930 LD=$lt_save_LD
14931 GCC=$lt_save_GCC
14932 with_gnu_ld=$lt_save_with_gnu_ld
14933 lt_cv_path_LDCXX=$lt_cv_path_LD
14934 lt_cv_path_LD=$lt_save_path_LD
14935 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14936 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14937 fi # test "$_lt_caught_CXX_error" != yes
14939 ac_ext=c
14940 ac_cpp='$CPP $CPPFLAGS'
14941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14957 ac_config_commands="$ac_config_commands libtool"
14962 # Only expand once:
14968 case $host in
14969 *-cygwin* | *-mingw*)
14970 # 'host' will be top-level target in the case of a target lib,
14971 # we must compare to with_cross_host to decide if this is a native
14972 # or cross-compiler and select where to install dlls appropriately.
14973 if test -n "$with_cross_host" &&
14974 test x"$with_cross_host" != x"no"; then
14975 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14976 else
14977 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14981 lt_host_flags=
14983 esac
14990 if test "$enable_vtable_verify" = yes; then
14991 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14992 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14996 # libtool variables for C++ shared and position-independent compiles.
14998 # Use glibcxx_lt_pic_flag to designate the automake variable
14999 # used to encapsulate the default libtool approach to creating objects
15000 # with position-independent code. Default: -prefer-pic.
15002 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15003 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15005 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15006 # creating position-independent objects. This varies with the target
15007 # hardware and operating system, but is often: -DPIC -fPIC.
15008 if test "$enable_shared" = yes; then
15009 glibcxx_lt_pic_flag="-prefer-pic"
15010 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15011 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15013 else
15014 glibcxx_lt_pic_flag=
15015 glibcxx_compiler_pic_flag=
15016 glibcxx_compiler_shared_flag=
15022 # Override the libtool's pic_flag and pic_mode.
15023 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15024 # NB: this impacts --with-pic and --without-pic.
15025 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15026 pic_mode='default'
15028 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15029 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15031 # Possibly disable most of the library.
15032 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15033 ## than just ignoring the results. Faster /and/ more correct, win win.
15035 # Check whether --enable-hosted-libstdcxx was given.
15036 if test "${enable_hosted_libstdcxx+set}" = set; then :
15037 enableval=$enable_hosted_libstdcxx;
15038 else
15039 case "$host" in
15040 arm*-*-symbianelf*)
15041 enable_hosted_libstdcxx=no
15044 enable_hosted_libstdcxx=yes
15046 esac
15049 if test "$enable_hosted_libstdcxx" = no; then
15050 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15051 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15052 is_hosted=no
15053 hosted_define=0
15054 enable_abi_check=no
15055 enable_libstdcxx_pch=no
15056 else
15057 is_hosted=yes
15058 hosted_define=1
15062 cat >>confdefs.h <<_ACEOF
15063 #define _GLIBCXX_HOSTED $hosted_define
15064 _ACEOF
15068 # Enable descriptive messages to standard output on termination.
15070 # Check whether --enable-libstdcxx-verbose was given.
15071 if test "${enable_libstdcxx_verbose+set}" = set; then :
15072 enableval=$enable_libstdcxx_verbose;
15073 else
15074 enable_libstdcxx_verbose=yes
15077 if test x"$enable_libstdcxx_verbose" = xyes; then
15078 verbose_define=1
15079 else
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15081 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15082 verbose_define=0
15085 cat >>confdefs.h <<_ACEOF
15086 #define _GLIBCXX_VERBOSE $verbose_define
15087 _ACEOF
15091 # Enable compiler support that doesn't require linking.
15093 # Check whether --enable-libstdcxx-pch was given.
15094 if test "${enable_libstdcxx_pch+set}" = set; then :
15095 enableval=$enable_libstdcxx_pch;
15096 case "$enableval" in
15097 yes|no) ;;
15098 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15099 esac
15101 else
15102 enable_libstdcxx_pch=$is_hosted
15106 if test $enable_libstdcxx_pch = yes; then
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15108 $as_echo_n "checking for compiler with PCH support... " >&6; }
15109 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15110 $as_echo_n "(cached) " >&6
15111 else
15112 ac_save_CXXFLAGS="$CXXFLAGS"
15113 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15115 ac_ext=cpp
15116 ac_cpp='$CXXCPP $CPPFLAGS'
15117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15121 echo '#include <math.h>' > conftest.h
15122 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15123 -o conftest.h.gch 1>&5 2>&1 &&
15124 echo '#error "pch failed"' > conftest.h &&
15125 echo '#include "conftest.h"' > conftest.cc &&
15126 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15127 then
15128 glibcxx_cv_prog_CXX_pch=yes
15129 else
15130 glibcxx_cv_prog_CXX_pch=no
15132 rm -f conftest*
15133 CXXFLAGS=$ac_save_CXXFLAGS
15134 ac_ext=c
15135 ac_cpp='$CPP $CPPFLAGS'
15136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15143 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15144 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15148 $as_echo_n "checking for enabled PCH... " >&6; }
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15150 $as_echo "$enable_libstdcxx_pch" >&6; }
15153 if test $enable_libstdcxx_pch = yes; then
15154 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15155 else
15156 glibcxx_PCHFLAGS=""
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15162 $as_echo_n "checking for thread model used by GCC... " >&6; }
15163 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15165 $as_echo "$target_thread_file" >&6; }
15167 case $target_thread_file in
15168 aix) thread_header=config/rs6000/gthr-aix.h ;;
15169 dce) thread_header=config/pa/gthr-dce.h ;;
15170 lynx) thread_header=config/gthr-lynx.h ;;
15171 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15172 posix) thread_header=gthr-posix.h ;;
15173 rtems) thread_header=config/gthr-rtems.h ;;
15174 single) thread_header=gthr-single.h ;;
15175 tpf) thread_header=config/s390/gthr-tpf.h ;;
15176 vxworks) thread_header=config/gthr-vxworks.h ;;
15177 win32) thread_header=config/i386/gthr-win32.h ;;
15178 esac
15184 ac_ext=cpp
15185 ac_cpp='$CXXCPP $CPPFLAGS'
15186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15190 old_CXXFLAGS="$CXXFLAGS"
15192 # Do link tests if possible, instead asm tests, limited to some platforms
15193 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15194 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15195 atomic_builtins_link_tests=no
15196 if test x$gcc_no_link != xyes; then
15197 # Can do link tests. Limit to some tested platforms
15198 case "$host" in
15199 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15200 atomic_builtins_link_tests=yes
15202 esac
15205 if test x$atomic_builtins_link_tests = xyes; then
15207 # Do link tests.
15209 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15212 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15213 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15217 if test x$gcc_no_link = xyes; then
15218 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15221 /* end confdefs.h. */
15224 main ()
15226 typedef bool atomic_type;
15227 atomic_type c1;
15228 atomic_type c2;
15229 atomic_type c3(0);
15230 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15231 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15232 __ATOMIC_RELAXED);
15233 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15234 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15237 return 0;
15239 _ACEOF
15240 if ac_fn_cxx_try_link "$LINENO"; then :
15241 glibcxx_cv_atomic_bool=yes
15242 else
15243 glibcxx_cv_atomic_bool=no
15245 rm -f core conftest.err conftest.$ac_objext \
15246 conftest$ac_exeext conftest.$ac_ext
15250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15251 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15254 $as_echo_n "checking for atomic builtins for short... " >&6; }
15255 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15256 $as_echo_n "(cached) " >&6
15257 else
15259 if test x$gcc_no_link = xyes; then
15260 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15263 /* end confdefs.h. */
15266 main ()
15268 typedef short atomic_type;
15269 atomic_type c1;
15270 atomic_type c2;
15271 atomic_type c3(0);
15272 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15273 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15274 __ATOMIC_RELAXED);
15275 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15276 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15279 return 0;
15281 _ACEOF
15282 if ac_fn_cxx_try_link "$LINENO"; then :
15283 glibcxx_cv_atomic_short=yes
15284 else
15285 glibcxx_cv_atomic_short=no
15287 rm -f core conftest.err conftest.$ac_objext \
15288 conftest$ac_exeext conftest.$ac_ext
15292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15293 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15296 $as_echo_n "checking for atomic builtins for int... " >&6; }
15297 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15298 $as_echo_n "(cached) " >&6
15299 else
15301 if test x$gcc_no_link = xyes; then
15302 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15308 main ()
15310 typedef int atomic_type;
15311 atomic_type c1;
15312 atomic_type c2;
15313 atomic_type c3(0);
15314 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15315 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15316 __ATOMIC_RELAXED);
15317 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15318 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15321 return 0;
15323 _ACEOF
15324 if ac_fn_cxx_try_link "$LINENO"; then :
15325 glibcxx_cv_atomic_int=yes
15326 else
15327 glibcxx_cv_atomic_int=no
15329 rm -f core conftest.err conftest.$ac_objext \
15330 conftest$ac_exeext conftest.$ac_ext
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15335 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15338 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15339 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15340 $as_echo_n "(cached) " >&6
15341 else
15343 if test x$gcc_no_link = xyes; then
15344 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15347 /* end confdefs.h. */
15350 main ()
15352 typedef long long atomic_type;
15353 atomic_type c1;
15354 atomic_type c2;
15355 atomic_type c3(0);
15356 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15357 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15358 __ATOMIC_RELAXED);
15359 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15360 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15363 return 0;
15365 _ACEOF
15366 if ac_fn_cxx_try_link "$LINENO"; then :
15367 glibcxx_cv_atomic_long_long=yes
15368 else
15369 glibcxx_cv_atomic_long_long=no
15371 rm -f core conftest.err conftest.$ac_objext \
15372 conftest$ac_exeext conftest.$ac_ext
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15377 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15379 else
15381 # Do asm tests.
15383 # Compile unoptimized.
15384 CXXFLAGS='-O0 -S'
15386 # Fake what AC_TRY_COMPILE does.
15388 cat > conftest.$ac_ext << EOF
15389 #line 15389 "configure"
15390 int main()
15392 typedef bool atomic_type;
15393 atomic_type c1;
15394 atomic_type c2;
15395 atomic_type c3(0);
15396 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15397 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15398 __ATOMIC_RELAXED);
15399 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15400 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15402 return 0;
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15407 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15408 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15409 (eval $ac_compile) 2>&5
15410 ac_status=$?
15411 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15412 test $ac_status = 0; }; then
15413 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15414 glibcxx_cv_atomic_bool=no
15415 else
15416 glibcxx_cv_atomic_bool=yes
15419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15420 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15421 rm -f conftest*
15423 cat > conftest.$ac_ext << EOF
15424 #line 15424 "configure"
15425 int main()
15427 typedef short atomic_type;
15428 atomic_type c1;
15429 atomic_type c2;
15430 atomic_type c3(0);
15431 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15432 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15433 __ATOMIC_RELAXED);
15434 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15435 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15437 return 0;
15441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15442 $as_echo_n "checking for atomic builtins for short... " >&6; }
15443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15444 (eval $ac_compile) 2>&5
15445 ac_status=$?
15446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15447 test $ac_status = 0; }; then
15448 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15449 glibcxx_cv_atomic_short=no
15450 else
15451 glibcxx_cv_atomic_short=yes
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15455 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15456 rm -f conftest*
15458 cat > conftest.$ac_ext << EOF
15459 #line 15459 "configure"
15460 int main()
15462 // NB: _Atomic_word not necessarily int.
15463 typedef int atomic_type;
15464 atomic_type c1;
15465 atomic_type c2;
15466 atomic_type c3(0);
15467 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15468 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15469 __ATOMIC_RELAXED);
15470 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15471 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15473 return 0;
15477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15478 $as_echo_n "checking for atomic builtins for int... " >&6; }
15479 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15480 (eval $ac_compile) 2>&5
15481 ac_status=$?
15482 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15483 test $ac_status = 0; }; then
15484 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15485 glibcxx_cv_atomic_int=no
15486 else
15487 glibcxx_cv_atomic_int=yes
15490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15491 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15492 rm -f conftest*
15494 cat > conftest.$ac_ext << EOF
15495 #line 15495 "configure"
15496 int main()
15498 typedef long long atomic_type;
15499 atomic_type c1;
15500 atomic_type c2;
15501 atomic_type c3(0);
15502 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15503 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15504 __ATOMIC_RELAXED);
15505 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15506 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15508 return 0;
15512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15513 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15514 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15515 (eval $ac_compile) 2>&5
15516 ac_status=$?
15517 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15518 test $ac_status = 0; }; then
15519 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15520 glibcxx_cv_atomic_long_long=no
15521 else
15522 glibcxx_cv_atomic_long_long=yes
15525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15526 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15527 rm -f conftest*
15531 CXXFLAGS="$old_CXXFLAGS"
15532 ac_ext=c
15533 ac_cpp='$CPP $CPPFLAGS'
15534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15539 # Set atomicity_dir to builtins if all but the long long test above passes.
15540 if test $glibcxx_cv_atomic_bool = yes \
15541 && test $glibcxx_cv_atomic_short = yes \
15542 && test $glibcxx_cv_atomic_int = yes; then
15544 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15546 atomicity_dir=cpu/generic/atomicity_builtins
15549 # If still generic, set to mutex.
15550 if test $atomicity_dir = "cpu/generic" ; then
15551 atomicity_dir=cpu/generic/atomicity_mutex
15552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15553 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15554 if test "x$target_thread_file" = xsingle; then
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15556 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15558 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15559 else
15560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15561 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15563 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15570 # Fake what AC_TRY_COMPILE does, without linking as this is
15571 # unnecessary for this test.
15573 cat > conftest.$ac_ext << EOF
15574 #line 15574 "configure"
15575 int main()
15577 _Decimal32 d1;
15578 _Decimal64 d2;
15579 _Decimal128 d3;
15580 return 0;
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15585 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15586 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15587 (eval $ac_compile) 2>&5
15588 ac_status=$?
15589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15590 test $ac_status = 0; }; then
15592 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15594 enable_dfp=yes
15595 else
15596 enable_dfp=no
15598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15599 $as_echo "$enable_dfp" >&6; }
15600 rm -f conftest*
15605 ac_ext=cpp
15606 ac_cpp='$CXXCPP $CPPFLAGS'
15607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15612 # Fake what AC_TRY_COMPILE does, without linking as this is
15613 # unnecessary for this test.
15615 cat > conftest.$ac_ext << EOF
15616 #line 15616 "configure"
15617 template<typename T1, typename T2>
15618 struct same
15619 { typedef T2 type; };
15621 template<typename T>
15622 struct same<T, T>;
15624 int main()
15626 typename same<long, __int128>::type i1;
15627 typename same<long long, __int128>::type i2;
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15632 $as_echo_n "checking for __int128... " >&6; }
15633 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15634 (eval $ac_compile) 2>&5
15635 ac_status=$?
15636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15637 test $ac_status = 0; }; then
15639 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15641 enable_int128=yes
15642 else
15643 enable_int128=no
15645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15646 $as_echo "$enable_int128" >&6; }
15647 rm -f conftest*
15649 cat > conftest.$ac_ext << EOF
15650 #line 15650 "configure"
15651 template<typename T1, typename T2>
15652 struct same
15653 { typedef T2 type; };
15655 template<typename T>
15656 struct same<T, T>;
15658 int main()
15660 typename same<double, __float128>::type f1;
15661 typename same<long double, __float128>::type f2;
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15666 $as_echo_n "checking for __float128... " >&6; }
15667 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15668 (eval $ac_compile) 2>&5
15669 ac_status=$?
15670 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15671 test $ac_status = 0; }; then
15673 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15675 enable_float128=yes
15676 else
15677 enable_float128=no
15679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15680 $as_echo "$enable_float128" >&6; }
15681 rm -f conftest*
15683 ac_ext=c
15684 ac_cpp='$CPP $CPPFLAGS'
15685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15690 if test "$enable_float128" = yes; then
15691 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15694 # Checks for compiler support that doesn't require linking.
15696 # All these tests are for C++; save the language and the compiler flags.
15697 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15698 # found in GLIBCXX_CONFIGURE.
15700 ac_ext=cpp
15701 ac_cpp='$CXXCPP $CPPFLAGS'
15702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15706 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15707 ac_save_CXXFLAGS="$CXXFLAGS"
15709 # Check for maintainer-mode bits.
15710 if test x"$USE_MAINTAINER_MODE" = xno; then
15711 WERROR=''
15712 else
15713 WERROR='-Werror'
15716 # Check for -ffunction-sections -fdata-sections
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15718 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15719 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15721 /* end confdefs.h. */
15722 int foo; void bar() { };
15724 main ()
15728 return 0;
15730 _ACEOF
15731 if ac_fn_cxx_try_compile "$LINENO"; then :
15732 ac_fdsections=yes
15733 else
15734 ac_fdsections=no
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737 if test "$ac_test_CXXFLAGS" = set; then
15738 CXXFLAGS="$ac_save_CXXFLAGS"
15739 else
15740 # this is the suspicious part
15741 CXXFLAGS=''
15743 if test x"$ac_fdsections" = x"yes"; then
15744 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15747 $as_echo "$ac_fdsections" >&6; }
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15759 # Enable all the variable C++ runtime options that don't require linking.
15761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15762 $as_echo_n "checking for underlying I/O to use... " >&6; }
15763 # Check whether --enable-cstdio was given.
15764 if test "${enable_cstdio+set}" = set; then :
15765 enableval=$enable_cstdio;
15766 case "$enableval" in
15767 stdio) ;;
15768 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15769 esac
15771 else
15772 enable_cstdio=stdio
15777 # Now that libio has been removed, you can have any color you want as long
15778 # as it's black. This is one big no-op until other packages are added, but
15779 # showing the framework never hurts.
15780 case ${enable_cstdio} in
15781 stdio)
15782 CSTDIO_H=config/io/c_io_stdio.h
15783 BASIC_FILE_H=config/io/basic_file_stdio.h
15784 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15786 $as_echo "stdio" >&6; }
15788 esac
15795 # Check whether --enable-clocale was given.
15796 if test "${enable_clocale+set}" = set; then :
15797 enableval=$enable_clocale;
15798 case "$enableval" in
15799 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15800 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15801 esac
15803 else
15804 enable_clocale=auto
15809 # Deal with gettext issues. Default to not using it (=no) until we detect
15810 # support for it later. Let the user turn it off via --e/d, but let that
15811 # default to on for easier handling.
15812 USE_NLS=no
15813 # Check whether --enable-nls was given.
15814 if test "${enable_nls+set}" = set; then :
15815 enableval=$enable_nls;
15816 else
15817 enable_nls=yes
15821 # Either a known package, or "auto"
15822 if test $enable_clocale = no || test $enable_clocale = yes; then
15823 enable_clocale=auto
15825 enable_clocale_flag=$enable_clocale
15827 # Probe for locale model to use if none specified.
15828 # Default to "generic".
15829 if test $enable_clocale_flag = auto; then
15830 case ${target_os} in
15831 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15832 enable_clocale_flag=gnu
15834 darwin* | freebsd*)
15835 enable_clocale_flag=darwin
15837 dragonfly*)
15838 enable_clocale_flag=dragonfly
15840 openbsd*)
15841 enable_clocale_flag=newlib
15844 if test x"$with_newlib" = x"yes"; then
15845 enable_clocale_flag=newlib
15846 else
15847 enable_clocale_flag=generic
15850 esac
15853 # Sanity check model, and test for special functionality.
15854 if test $enable_clocale_flag = gnu; then
15855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15856 /* end confdefs.h. */
15858 #include <features.h>
15859 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15860 _GLIBCXX_ok
15861 #endif
15863 _ACEOF
15864 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15865 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15866 enable_clocale_flag=gnu
15867 else
15868 enable_clocale_flag=generic
15870 rm -f conftest*
15873 # Set it to scream when it hurts.
15874 ac_save_CFLAGS="$CFLAGS"
15875 CFLAGS="-Wimplicit-function-declaration -Werror"
15877 # Use strxfrm_l if available.
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880 #define _GNU_SOURCE 1
15881 #include <string.h>
15882 #include <locale.h>
15884 main ()
15886 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15888 return 0;
15890 _ACEOF
15891 if ac_fn_c_try_compile "$LINENO"; then :
15893 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15898 # Use strerror_l if available.
15899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15900 /* end confdefs.h. */
15901 #define _GNU_SOURCE 1
15902 #include <string.h>
15903 #include <locale.h>
15905 main ()
15907 __locale_t loc; strerror_l(5, loc);
15909 return 0;
15911 _ACEOF
15912 if ac_fn_c_try_compile "$LINENO"; then :
15914 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15919 CFLAGS="$ac_save_CFLAGS"
15922 # Perhaps use strerror_r if available, and strerror_l isn't.
15923 ac_save_CFLAGS="$CFLAGS"
15924 CFLAGS="-Wimplicit-function-declaration -Werror"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15927 #define _GNU_SOURCE 1
15928 #include <string.h>
15929 #include <locale.h>
15931 main ()
15933 char s[128]; strerror_r(5, s, 128);
15935 return 0;
15937 _ACEOF
15938 if ac_fn_c_try_compile "$LINENO"; then :
15940 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15944 CFLAGS="$ac_save_CFLAGS"
15946 # Set configure bits for specified locale package
15947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15948 $as_echo_n "checking for C locale to use... " >&6; }
15949 case ${enable_clocale_flag} in
15950 generic)
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15952 $as_echo "generic" >&6; }
15954 CLOCALE_H=config/locale/generic/c_locale.h
15955 CLOCALE_CC=config/locale/generic/c_locale.cc
15956 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15957 CCOLLATE_CC=config/locale/generic/collate_members.cc
15958 CCTYPE_CC=config/locale/generic/ctype_members.cc
15959 CMESSAGES_H=config/locale/generic/messages_members.h
15960 CMESSAGES_CC=config/locale/generic/messages_members.cc
15961 CMONEY_CC=config/locale/generic/monetary_members.cc
15962 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15963 CTIME_H=config/locale/generic/time_members.h
15964 CTIME_CC=config/locale/generic/time_members.cc
15965 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15967 darwin)
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin or freebsd" >&5
15969 $as_echo "darwin or freebsd" >&6; }
15971 CLOCALE_H=config/locale/generic/c_locale.h
15972 CLOCALE_CC=config/locale/generic/c_locale.cc
15973 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15974 CCOLLATE_CC=config/locale/generic/collate_members.cc
15975 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15976 CMESSAGES_H=config/locale/generic/messages_members.h
15977 CMESSAGES_CC=config/locale/generic/messages_members.cc
15978 CMONEY_CC=config/locale/generic/monetary_members.cc
15979 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15980 CTIME_H=config/locale/generic/time_members.h
15981 CTIME_CC=config/locale/generic/time_members.cc
15982 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15985 dragonfly)
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly" >&5
15987 $as_echo "dragonfly" >&6; }
15989 CLOCALE_H=config/locale/generic/c_locale.h
15990 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15991 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15992 CCOLLATE_CC=config/locale/generic/collate_members.cc
15993 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15994 CMESSAGES_H=config/locale/generic/messages_members.h
15995 CMESSAGES_CC=config/locale/generic/messages_members.cc
15996 CMONEY_CC=config/locale/generic/monetary_members.cc
15997 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15998 CTIME_H=config/locale/generic/time_members.h
15999 CTIME_CC=config/locale/generic/time_members.cc
16000 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16003 gnu)
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16005 $as_echo "gnu" >&6; }
16007 # Declare intention to use gettext, and add support for specific
16008 # languages.
16009 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16010 ALL_LINGUAS="de fr"
16012 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16013 # Extract the first word of "msgfmt", so it can be a program name with args.
16014 set dummy msgfmt; ac_word=$2
16015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16016 $as_echo_n "checking for $ac_word... " >&6; }
16017 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16018 $as_echo_n "(cached) " >&6
16019 else
16020 if test -n "$check_msgfmt"; then
16021 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16022 else
16023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16024 for as_dir in $PATH
16026 IFS=$as_save_IFS
16027 test -z "$as_dir" && as_dir=.
16028 for ac_exec_ext in '' $ac_executable_extensions; do
16029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16030 ac_cv_prog_check_msgfmt="yes"
16031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16032 break 2
16034 done
16035 done
16036 IFS=$as_save_IFS
16038 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16041 check_msgfmt=$ac_cv_prog_check_msgfmt
16042 if test -n "$check_msgfmt"; then
16043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16044 $as_echo "$check_msgfmt" >&6; }
16045 else
16046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16047 $as_echo "no" >&6; }
16051 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16052 USE_NLS=yes
16054 # Export the build objects.
16055 for ling in $ALL_LINGUAS; do \
16056 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16057 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16058 done
16062 CLOCALE_H=config/locale/gnu/c_locale.h
16063 CLOCALE_CC=config/locale/gnu/c_locale.cc
16064 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16065 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16066 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16067 CMESSAGES_H=config/locale/gnu/messages_members.h
16068 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16069 CMONEY_CC=config/locale/gnu/monetary_members.cc
16070 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16071 CTIME_H=config/locale/gnu/time_members.h
16072 CTIME_CC=config/locale/gnu/time_members.cc
16073 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16075 ieee_1003.1-2001)
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16077 $as_echo "IEEE 1003.1" >&6; }
16079 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16080 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16081 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16082 CCOLLATE_CC=config/locale/generic/collate_members.cc
16083 CCTYPE_CC=config/locale/generic/ctype_members.cc
16084 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16085 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16086 CMONEY_CC=config/locale/generic/monetary_members.cc
16087 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16088 CTIME_H=config/locale/generic/time_members.h
16089 CTIME_CC=config/locale/generic/time_members.cc
16090 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16092 newlib)
16093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16094 $as_echo "newlib" >&6; }
16096 CLOCALE_H=config/locale/generic/c_locale.h
16097 CLOCALE_CC=config/locale/generic/c_locale.cc
16098 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16099 CCOLLATE_CC=config/locale/generic/collate_members.cc
16100 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16101 CMESSAGES_H=config/locale/generic/messages_members.h
16102 CMESSAGES_CC=config/locale/generic/messages_members.cc
16103 CMONEY_CC=config/locale/generic/monetary_members.cc
16104 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16105 CTIME_H=config/locale/generic/time_members.h
16106 CTIME_CC=config/locale/generic/time_members.cc
16107 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16109 esac
16111 # This is where the testsuite looks for locale catalogs, using the
16112 # -DLOCALEDIR define during testsuite compilation.
16113 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16116 # A standalone libintl (e.g., GNU libintl) may be in use.
16117 if test $USE_NLS = yes; then
16118 for ac_header in libintl.h
16119 do :
16120 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16121 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16122 cat >>confdefs.h <<_ACEOF
16123 #define HAVE_LIBINTL_H 1
16124 _ACEOF
16126 else
16127 USE_NLS=no
16130 done
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16133 $as_echo_n "checking for library containing gettext... " >&6; }
16134 if test "${ac_cv_search_gettext+set}" = set; then :
16135 $as_echo_n "(cached) " >&6
16136 else
16137 ac_func_search_save_LIBS=$LIBS
16138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16139 /* end confdefs.h. */
16141 /* Override any GCC internal prototype to avoid an error.
16142 Use char because int might match the return type of a GCC
16143 builtin and then its argument prototype would still apply. */
16144 #ifdef __cplusplus
16145 extern "C"
16146 #endif
16147 char gettext ();
16149 main ()
16151 return gettext ();
16153 return 0;
16155 _ACEOF
16156 for ac_lib in '' intl; do
16157 if test -z "$ac_lib"; then
16158 ac_res="none required"
16159 else
16160 ac_res=-l$ac_lib
16161 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16163 if test x$gcc_no_link = xyes; then
16164 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16166 if ac_fn_c_try_link "$LINENO"; then :
16167 ac_cv_search_gettext=$ac_res
16169 rm -f core conftest.err conftest.$ac_objext \
16170 conftest$ac_exeext
16171 if test "${ac_cv_search_gettext+set}" = set; then :
16172 break
16174 done
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16177 else
16178 ac_cv_search_gettext=no
16180 rm conftest.$ac_ext
16181 LIBS=$ac_func_search_save_LIBS
16183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16184 $as_echo "$ac_cv_search_gettext" >&6; }
16185 ac_res=$ac_cv_search_gettext
16186 if test "$ac_res" != no; then :
16187 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16189 else
16190 USE_NLS=no
16194 if test $USE_NLS = yes; then
16196 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16216 $as_echo_n "checking for std::allocator base class... " >&6; }
16217 # Check whether --enable-libstdcxx-allocator was given.
16218 if test "${enable_libstdcxx_allocator+set}" = set; then :
16219 enableval=$enable_libstdcxx_allocator;
16220 case "$enableval" in
16221 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16222 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16223 esac
16225 else
16226 enable_libstdcxx_allocator=auto
16231 # If they didn't use this option switch, or if they specified --enable
16232 # with no specific model, we'll have to look for one. If they
16233 # specified --disable (???), do likewise.
16234 if test $enable_libstdcxx_allocator = no ||
16235 test $enable_libstdcxx_allocator = yes;
16236 then
16237 enable_libstdcxx_allocator=auto
16240 # Either a known package, or "auto". Auto implies the default choice
16241 # for a particular platform.
16242 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16244 # Probe for host-specific support if no specific model is specified.
16245 # Default to "new".
16246 if test $enable_libstdcxx_allocator_flag = auto; then
16247 case ${target_os} in
16248 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16249 enable_libstdcxx_allocator_flag=new
16252 enable_libstdcxx_allocator_flag=new
16254 esac
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16257 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16260 # Set configure bits for specified locale package
16261 case ${enable_libstdcxx_allocator_flag} in
16262 bitmap)
16263 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16264 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16266 malloc)
16267 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16271 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16274 new)
16275 ALLOCATOR_H=config/allocator/new_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16278 pool)
16279 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16282 esac
16288 # Check whether --enable-cheaders was given.
16289 if test "${enable_cheaders+set}" = set; then :
16290 enableval=$enable_cheaders;
16291 case "$enableval" in
16292 c|c_std|c_global) ;;
16293 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16294 esac
16296 else
16297 enable_cheaders=$c_model
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16302 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16304 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16306 # Allow overrides to configure.host here.
16307 if test $enable_cheaders = c_global; then
16308 c_compatibility=yes
16317 # Check whether --enable-long-long was given.
16318 if test "${enable_long_long+set}" = set; then :
16319 enableval=$enable_long_long;
16320 case "$enableval" in
16321 yes|no) ;;
16322 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16323 esac
16325 else
16326 enable_long_long=yes
16330 if test $enable_long_long = yes; then
16332 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16336 $as_echo_n "checking for enabled long long specializations... " >&6; }
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16338 $as_echo "$enable_long_long" >&6; }
16341 # Check whether --enable-wchar_t was given.
16342 if test "${enable_wchar_t+set}" = set; then :
16343 enableval=$enable_wchar_t;
16344 case "$enableval" in
16345 yes|no) ;;
16346 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16347 esac
16349 else
16350 enable_wchar_t=yes
16355 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16356 for ac_header in wchar.h
16357 do :
16358 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16359 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16360 cat >>confdefs.h <<_ACEOF
16361 #define HAVE_WCHAR_H 1
16362 _ACEOF
16363 ac_has_wchar_h=yes
16364 else
16365 ac_has_wchar_h=no
16368 done
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16371 $as_echo_n "checking for mbstate_t... " >&6; }
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16374 #include <wchar.h>
16376 main ()
16378 mbstate_t teststate;
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_compile "$LINENO"; then :
16384 have_mbstate_t=yes
16385 else
16386 have_mbstate_t=no
16388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16390 $as_echo "$have_mbstate_t" >&6; }
16391 if test x"$have_mbstate_t" = xyes; then
16393 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16397 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16398 # ac_has_wchar_h.
16399 for ac_header in wctype.h
16400 do :
16401 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16402 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16403 cat >>confdefs.h <<_ACEOF
16404 #define HAVE_WCTYPE_H 1
16405 _ACEOF
16406 ac_has_wctype_h=yes
16407 else
16408 ac_has_wctype_h=no
16411 done
16414 if test x"$enable_wchar_t" = x"yes"; then
16417 ac_ext=cpp
16418 ac_cpp='$CXXCPP $CPPFLAGS'
16419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16424 if test x"$ac_has_wchar_h" = xyes &&
16425 test x"$ac_has_wctype_h" = xyes; then
16426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16427 /* end confdefs.h. */
16428 #include <wchar.h>
16429 #include <stddef.h>
16430 wint_t i;
16431 long l = WEOF;
16432 long j = WCHAR_MIN;
16433 long k = WCHAR_MAX;
16434 namespace test
16436 using ::btowc;
16437 using ::fgetwc;
16438 using ::fgetws;
16439 using ::fputwc;
16440 using ::fputws;
16441 using ::fwide;
16442 using ::fwprintf;
16443 using ::fwscanf;
16444 using ::getwc;
16445 using ::getwchar;
16446 using ::mbrlen;
16447 using ::mbrtowc;
16448 using ::mbsinit;
16449 using ::mbsrtowcs;
16450 using ::putwc;
16451 using ::putwchar;
16452 using ::swprintf;
16453 using ::swscanf;
16454 using ::ungetwc;
16455 using ::vfwprintf;
16456 using ::vswprintf;
16457 using ::vwprintf;
16458 using ::wcrtomb;
16459 using ::wcscat;
16460 using ::wcschr;
16461 using ::wcscmp;
16462 using ::wcscoll;
16463 using ::wcscpy;
16464 using ::wcscspn;
16465 using ::wcsftime;
16466 using ::wcslen;
16467 using ::wcsncat;
16468 using ::wcsncmp;
16469 using ::wcsncpy;
16470 using ::wcspbrk;
16471 using ::wcsrchr;
16472 using ::wcsrtombs;
16473 using ::wcsspn;
16474 using ::wcsstr;
16475 using ::wcstod;
16476 using ::wcstok;
16477 using ::wcstol;
16478 using ::wcstoul;
16479 using ::wcsxfrm;
16480 using ::wctob;
16481 using ::wmemchr;
16482 using ::wmemcmp;
16483 using ::wmemcpy;
16484 using ::wmemmove;
16485 using ::wmemset;
16486 using ::wprintf;
16487 using ::wscanf;
16491 main ()
16495 return 0;
16497 _ACEOF
16498 if ac_fn_cxx_try_compile "$LINENO"; then :
16500 else
16501 enable_wchar_t=no
16503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16504 else
16505 enable_wchar_t=no
16508 ac_ext=c
16509 ac_cpp='$CPP $CPPFLAGS'
16510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16516 if test x"$enable_wchar_t" = x"yes"; then
16518 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16523 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16525 $as_echo "$enable_wchar_t" >&6; }
16529 # Check whether --enable-c99 was given.
16530 if test "${enable_c99+set}" = set; then :
16531 enableval=$enable_c99;
16532 case "$enableval" in
16533 yes|no) ;;
16534 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16535 esac
16537 else
16538 enable_c99=yes
16543 if test x"$enable_c99" = x"yes"; then
16546 ac_ext=cpp
16547 ac_cpp='$CXXCPP $CPPFLAGS'
16548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16553 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
16554 # undefined and fake C99 facilities - like pre-standard snprintf - may be
16555 # spuriously enabled.
16556 # Long term, -std=c++0x could be even better, could manage to explicitly
16557 # request C99 facilities to the underlying C headers.
16558 ac_save_CXXFLAGS="$CXXFLAGS"
16559 CXXFLAGS="$CXXFLAGS -std=c++98"
16560 ac_save_LIBS="$LIBS"
16561 ac_save_gcc_no_link="$gcc_no_link"
16563 if test x$gcc_no_link != xyes; then
16564 # Use -fno-exceptions to that the C driver can link these tests without
16565 # hitting undefined references to personality routines.
16566 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16568 $as_echo_n "checking for sin in -lm... " >&6; }
16569 if test "${ac_cv_lib_m_sin+set}" = set; then :
16570 $as_echo_n "(cached) " >&6
16571 else
16572 ac_check_lib_save_LIBS=$LIBS
16573 LIBS="-lm $LIBS"
16574 if test x$gcc_no_link = xyes; then
16575 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16578 /* end confdefs.h. */
16580 /* Override any GCC internal prototype to avoid an error.
16581 Use char because int might match the return type of a GCC
16582 builtin and then its argument prototype would still apply. */
16583 #ifdef __cplusplus
16584 extern "C"
16585 #endif
16586 char sin ();
16588 main ()
16590 return sin ();
16592 return 0;
16594 _ACEOF
16595 if ac_fn_cxx_try_link "$LINENO"; then :
16596 ac_cv_lib_m_sin=yes
16597 else
16598 ac_cv_lib_m_sin=no
16600 rm -f core conftest.err conftest.$ac_objext \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS=$ac_check_lib_save_LIBS
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16605 $as_echo "$ac_cv_lib_m_sin" >&6; }
16606 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16608 LIBS="$LIBS -lm"
16610 else
16612 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16613 gcc_no_link=yes
16619 # Check for the existence of <math.h> functions used if C99 is enabled.
16620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h>" >&5
16621 $as_echo_n "checking for ISO C99 support in <math.h>... " >&6; }
16622 if test "${glibcxx_cv_c99_math+set}" = set; then :
16623 $as_echo_n "(cached) " >&6
16624 else
16626 if test x$gcc_no_link = xyes; then
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16629 #include <math.h>
16630 volatile double d1, d2;
16631 volatile int i;
16633 main ()
16635 i = fpclassify(d1);
16636 i = isfinite(d1);
16637 i = isinf(d1);
16638 i = isnan(d1);
16639 i = isnormal(d1);
16640 i = signbit(d1);
16641 i = isgreater(d1, d2);
16642 i = isgreaterequal(d1, d2);
16643 i = isless(d1, d2);
16644 i = islessequal(d1, d2);
16645 i = islessgreater(d1, d2);
16646 i = islessgreater(d1, d2);
16647 i = isunordered(d1, d2);
16650 return 0;
16652 _ACEOF
16653 if ac_fn_cxx_try_compile "$LINENO"; then :
16654 glibcxx_cv_c99_math=yes
16655 else
16656 glibcxx_cv_c99_math=no
16658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16659 else
16660 if test x$gcc_no_link = xyes; then
16661 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16664 /* end confdefs.h. */
16665 #include <math.h>
16666 volatile double d1, d2;
16667 volatile int i;
16669 main ()
16671 i = fpclassify(d1);
16672 i = isfinite(d1);
16673 i = isinf(d1);
16674 i = isnan(d1);
16675 i = isnormal(d1);
16676 i = signbit(d1);
16677 i = isgreater(d1, d2);
16678 i = isgreaterequal(d1, d2);
16679 i = isless(d1, d2);
16680 i = islessequal(d1, d2);
16681 i = islessgreater(d1, d2);
16682 i = islessgreater(d1, d2);
16683 i = isunordered(d1, d2);
16686 return 0;
16688 _ACEOF
16689 if ac_fn_cxx_try_link "$LINENO"; then :
16690 glibcxx_cv_c99_math=yes
16691 else
16692 glibcxx_cv_c99_math=no
16694 rm -f core conftest.err conftest.$ac_objext \
16695 conftest$ac_exeext conftest.$ac_ext
16700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math" >&5
16701 $as_echo "$glibcxx_cv_c99_math" >&6; }
16702 if test x"$glibcxx_cv_c99_math" = x"yes"; then
16704 $as_echo "#define _GLIBCXX_USE_C99_MATH 1" >>confdefs.h
16708 # Check for the existence of <complex.h> complex math functions.
16709 # This is necessary even though libstdc++ uses the builtin versions
16710 # of these functions, because if the builtin cannot be used, a reference
16711 # to the library function is emitted.
16712 for ac_header in tgmath.h
16713 do :
16714 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
16715 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
16716 cat >>confdefs.h <<_ACEOF
16717 #define HAVE_TGMATH_H 1
16718 _ACEOF
16719 ac_has_tgmath_h=yes
16720 else
16721 ac_has_tgmath_h=no
16724 done
16726 for ac_header in complex.h
16727 do :
16728 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
16729 if test "x$ac_cv_header_complex_h" = x""yes; then :
16730 cat >>confdefs.h <<_ACEOF
16731 #define HAVE_COMPLEX_H 1
16732 _ACEOF
16733 ac_has_complex_h=yes
16734 else
16735 ac_has_complex_h=no
16738 done
16740 glibcxx_cv_c99_complex=no;
16741 if test x"$ac_has_complex_h" = x"yes"; then
16742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h>" >&5
16743 $as_echo_n "checking for ISO C99 support in <complex.h>... " >&6; }
16744 if test x$gcc_no_link = xyes; then
16745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16746 /* end confdefs.h. */
16747 #include <complex.h>
16748 typedef __complex__ float float_type;
16749 typedef __complex__ double double_type;
16750 typedef __complex__ long double ld_type;
16751 volatile float_type tmpf;
16752 volatile double_type tmpd;
16753 volatile ld_type tmpld;
16754 volatile float f;
16755 volatile double d;
16756 volatile long double ld;
16758 main ()
16760 f = cabsf(tmpf);
16761 f = cargf(tmpf);
16762 tmpf = ccosf(tmpf);
16763 tmpf = ccoshf(tmpf);
16764 tmpf = cexpf(tmpf);
16765 tmpf = clogf(tmpf);
16766 tmpf = csinf(tmpf);
16767 tmpf = csinhf(tmpf);
16768 tmpf = csqrtf(tmpf);
16769 tmpf = ctanf(tmpf);
16770 tmpf = ctanhf(tmpf);
16771 tmpf = cpowf(tmpf, tmpf);
16772 tmpf = cprojf(tmpf);
16773 d = cabs(tmpd);
16774 d = carg(tmpd);
16775 tmpd = ccos(tmpd);
16776 tmpd = ccosh(tmpd);
16777 tmpd = cexp(tmpd);
16778 tmpd = clog(tmpd);
16779 tmpd = csin(tmpd);
16780 tmpd = csinh(tmpd);
16781 tmpd = csqrt(tmpd);
16782 tmpd = ctan(tmpd);
16783 tmpd = ctanh(tmpd);
16784 tmpd = cpow(tmpd, tmpd);
16785 tmpd = cproj(tmpd);
16786 ld = cabsl(tmpld);
16787 ld = cargl(tmpld);
16788 tmpld = ccosl(tmpld);
16789 tmpld = ccoshl(tmpld);
16790 tmpld = cexpl(tmpld);
16791 tmpld = clogl(tmpld);
16792 tmpld = csinl(tmpld);
16793 tmpld = csinhl(tmpld);
16794 tmpld = csqrtl(tmpld);
16795 tmpld = ctanl(tmpld);
16796 tmpld = ctanhl(tmpld);
16797 tmpld = cpowl(tmpld, tmpld);
16798 tmpld = cprojl(tmpld);
16801 return 0;
16803 _ACEOF
16804 if ac_fn_cxx_try_compile "$LINENO"; then :
16805 glibcxx_cv_c99_complex=yes
16806 else
16807 glibcxx_cv_c99_complex=no
16809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 else
16811 if test x$gcc_no_link = xyes; then
16812 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16815 /* end confdefs.h. */
16816 #include <complex.h>
16817 typedef __complex__ float float_type;
16818 typedef __complex__ double double_type;
16819 typedef __complex__ long double ld_type;
16820 volatile float_type tmpf;
16821 volatile double_type tmpd;
16822 volatile ld_type tmpld;
16823 volatile float f;
16824 volatile double d;
16825 volatile long double ld;
16827 main ()
16829 f = cabsf(tmpf);
16830 f = cargf(tmpf);
16831 tmpf = ccosf(tmpf);
16832 tmpf = ccoshf(tmpf);
16833 tmpf = cexpf(tmpf);
16834 tmpf = clogf(tmpf);
16835 tmpf = csinf(tmpf);
16836 tmpf = csinhf(tmpf);
16837 tmpf = csqrtf(tmpf);
16838 tmpf = ctanf(tmpf);
16839 tmpf = ctanhf(tmpf);
16840 tmpf = cpowf(tmpf, tmpf);
16841 tmpf = cprojf(tmpf);
16842 d = cabs(tmpd);
16843 d = carg(tmpd);
16844 tmpd = ccos(tmpd);
16845 tmpd = ccosh(tmpd);
16846 tmpd = cexp(tmpd);
16847 tmpd = clog(tmpd);
16848 tmpd = csin(tmpd);
16849 tmpd = csinh(tmpd);
16850 tmpd = csqrt(tmpd);
16851 tmpd = ctan(tmpd);
16852 tmpd = ctanh(tmpd);
16853 tmpd = cpow(tmpd, tmpd);
16854 tmpd = cproj(tmpd);
16855 ld = cabsl(tmpld);
16856 ld = cargl(tmpld);
16857 tmpld = ccosl(tmpld);
16858 tmpld = ccoshl(tmpld);
16859 tmpld = cexpl(tmpld);
16860 tmpld = clogl(tmpld);
16861 tmpld = csinl(tmpld);
16862 tmpld = csinhl(tmpld);
16863 tmpld = csqrtl(tmpld);
16864 tmpld = ctanl(tmpld);
16865 tmpld = ctanhl(tmpld);
16866 tmpld = cpowl(tmpld, tmpld);
16867 tmpld = cprojl(tmpld);
16870 return 0;
16872 _ACEOF
16873 if ac_fn_cxx_try_link "$LINENO"; then :
16874 glibcxx_cv_c99_complex=yes
16875 else
16876 glibcxx_cv_c99_complex=no
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex" >&5
16883 $as_echo "$glibcxx_cv_c99_complex" >&6; }
16884 if test x"$glibcxx_cv_c99_complex" = x"yes"; then
16886 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX 1" >>confdefs.h
16890 # Check for the existence in <stdio.h> of vscanf, et. al.
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h>" >&5
16892 $as_echo_n "checking for ISO C99 support in <stdio.h>... " >&6; }
16893 if test "${glibcxx_cv_c99_stdio+set}" = set; then :
16894 $as_echo_n "(cached) " >&6
16895 else
16897 if test x$gcc_no_link = xyes; then
16898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16899 /* end confdefs.h. */
16900 #include <stdio.h>
16901 #include <stdarg.h>
16902 void foo(char* fmt, ...)
16904 va_list args; va_start(args, fmt);
16905 vfscanf(stderr, "%i", args);
16906 vscanf("%i", args);
16907 vsnprintf(fmt, 0, "%i", args);
16908 vsscanf(fmt, "%i", args);
16909 snprintf(fmt, 0, "%i");
16912 main ()
16916 return 0;
16918 _ACEOF
16919 if ac_fn_cxx_try_compile "$LINENO"; then :
16920 glibcxx_cv_c99_stdio=yes
16921 else
16922 glibcxx_cv_c99_stdio=no
16924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16925 else
16926 if test x$gcc_no_link = xyes; then
16927 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16930 /* end confdefs.h. */
16931 #include <stdio.h>
16932 #include <stdarg.h>
16933 void foo(char* fmt, ...)
16935 va_list args; va_start(args, fmt);
16936 vfscanf(stderr, "%i", args);
16937 vscanf("%i", args);
16938 vsnprintf(fmt, 0, "%i", args);
16939 vsscanf(fmt, "%i", args);
16940 snprintf(fmt, 0, "%i");
16943 main ()
16947 return 0;
16949 _ACEOF
16950 if ac_fn_cxx_try_link "$LINENO"; then :
16951 glibcxx_cv_c99_stdio=yes
16952 else
16953 glibcxx_cv_c99_stdio=no
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio" >&5
16962 $as_echo "$glibcxx_cv_c99_stdio" >&6; }
16964 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h>" >&5
16966 $as_echo_n "checking for ISO C99 support in <stdlib.h>... " >&6; }
16967 if test "${glibcxx_cv_c99_stdlib+set}" = set; then :
16968 $as_echo_n "(cached) " >&6
16969 else
16971 if test x$gcc_no_link = xyes; then
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16974 #include <stdlib.h>
16975 volatile float f;
16976 volatile long double ld;
16977 volatile unsigned long long ll;
16978 lldiv_t mydivt;
16980 main ()
16982 char* tmp;
16983 f = strtof("gnu", &tmp);
16984 ld = strtold("gnu", &tmp);
16985 ll = strtoll("gnu", &tmp, 10);
16986 ll = strtoull("gnu", &tmp, 10);
16987 ll = llabs(10);
16988 mydivt = lldiv(10,1);
16989 ll = mydivt.quot;
16990 ll = mydivt.rem;
16991 ll = atoll("10");
16992 _Exit(0);
16995 return 0;
16997 _ACEOF
16998 if ac_fn_cxx_try_compile "$LINENO"; then :
16999 glibcxx_cv_c99_stdlib=yes
17000 else
17001 glibcxx_cv_c99_stdlib=no
17003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17004 else
17005 if test x$gcc_no_link = xyes; then
17006 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17009 /* end confdefs.h. */
17010 #include <stdlib.h>
17011 volatile float f;
17012 volatile long double ld;
17013 volatile unsigned long long ll;
17014 lldiv_t mydivt;
17016 main ()
17018 char* tmp;
17019 f = strtof("gnu", &tmp);
17020 ld = strtold("gnu", &tmp);
17021 ll = strtoll("gnu", &tmp, 10);
17022 ll = strtoull("gnu", &tmp, 10);
17023 ll = llabs(10);
17024 mydivt = lldiv(10,1);
17025 ll = mydivt.quot;
17026 ll = mydivt.rem;
17027 ll = atoll("10");
17028 _Exit(0);
17031 return 0;
17033 _ACEOF
17034 if ac_fn_cxx_try_link "$LINENO"; then :
17035 glibcxx_cv_c99_stdlib=yes
17036 else
17037 glibcxx_cv_c99_stdlib=no
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib" >&5
17046 $as_echo "$glibcxx_cv_c99_stdlib" >&6; }
17048 # Check for the existence in <wchar.h> of wcstold, etc.
17049 glibcxx_cv_c99_wchar=no;
17050 if test x"$ac_has_wchar_h" = xyes &&
17051 test x"$ac_has_wctype_h" = xyes; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h>" >&5
17053 $as_echo_n "checking for ISO C99 support in <wchar.h>... " >&6; }
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17056 #include <wchar.h>
17057 namespace test
17059 using ::wcstold;
17060 using ::wcstoll;
17061 using ::wcstoull;
17065 main ()
17069 return 0;
17071 _ACEOF
17072 if ac_fn_cxx_try_compile "$LINENO"; then :
17073 glibcxx_cv_c99_wchar=yes
17074 else
17075 glibcxx_cv_c99_wchar=no
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17079 # Checks for wide character functions that may not be present.
17080 # Injection of these is wrapped with guard macros.
17081 # NB: only put functions here, instead of immediately above, if
17082 # absolutely necessary.
17083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17084 /* end confdefs.h. */
17085 #include <wchar.h>
17086 namespace test { using ::vfwscanf; }
17088 main ()
17092 return 0;
17094 _ACEOF
17095 if ac_fn_cxx_try_compile "$LINENO"; then :
17097 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17103 /* end confdefs.h. */
17104 #include <wchar.h>
17105 namespace test { using ::vswscanf; }
17107 main ()
17111 return 0;
17113 _ACEOF
17114 if ac_fn_cxx_try_compile "$LINENO"; then :
17116 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 #include <wchar.h>
17124 namespace test { using ::vwscanf; }
17126 main ()
17130 return 0;
17132 _ACEOF
17133 if ac_fn_cxx_try_compile "$LINENO"; then :
17135 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <wchar.h>
17143 namespace test { using ::wcstof; }
17145 main ()
17149 return 0;
17151 _ACEOF
17152 if ac_fn_cxx_try_compile "$LINENO"; then :
17154 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17160 /* end confdefs.h. */
17161 #include <wctype.h>
17163 main ()
17165 wint_t t; int i = iswblank(t);
17167 return 0;
17169 _ACEOF
17170 if ac_fn_cxx_try_compile "$LINENO"; then :
17172 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar" >&5
17178 $as_echo "$glibcxx_cv_c99_wchar" >&6; }
17181 # Option parsed, now set things appropriately.
17182 if test x"$glibcxx_cv_c99_math" = x"no" ||
17183 test x"$glibcxx_cv_c99_complex" = x"no" ||
17184 test x"$glibcxx_cv_c99_stdio" = x"no" ||
17185 test x"$glibcxx_cv_c99_stdlib" = x"no" ||
17186 test x"$glibcxx_cv_c99_wchar" = x"no"; then
17187 enable_c99=no;
17188 else
17190 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17194 gcc_no_link="$ac_save_gcc_no_link"
17195 LIBS="$ac_save_LIBS"
17196 CXXFLAGS="$ac_save_CXXFLAGS"
17197 ac_ext=c
17198 ac_cpp='$CPP $CPPFLAGS'
17199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17206 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17208 $as_echo "$enable_c99" >&6; }
17211 # Check whether --enable-concept-checks was given.
17212 if test "${enable_concept_checks+set}" = set; then :
17213 enableval=$enable_concept_checks;
17214 case "$enableval" in
17215 yes|no) ;;
17216 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17217 esac
17219 else
17220 enable_concept_checks=no
17224 if test $enable_concept_checks = yes; then
17226 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17231 # Check whether --enable-libstdcxx-debug-flags was given.
17232 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17233 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17234 xno | x) enable_libstdcxx_debug_flags= ;;
17235 x-*) ;;
17236 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17237 esac
17238 else
17239 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17244 # Option parsed, now set things appropriately
17245 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17249 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17253 $as_echo_n "checking for additional debug build... " >&6; }
17254 # Check whether --enable-libstdcxx-debug was given.
17255 if test "${enable_libstdcxx_debug+set}" = set; then :
17256 enableval=$enable_libstdcxx_debug;
17257 case "$enableval" in
17258 yes|no) ;;
17259 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17260 esac
17262 else
17263 enable_libstdcxx_debug=no
17267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17268 $as_echo "$enable_libstdcxx_debug" >&6; }
17273 enable_parallel=no;
17275 # See if configured libgomp/omp.h exists. (libgomp may be in
17276 # noconfigdirs but not explicitly disabled.)
17277 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17278 enable_parallel=yes;
17279 else
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17281 $as_echo "$as_me: target-libgomp not built" >&6;}
17284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17285 $as_echo_n "checking for parallel mode support... " >&6; }
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17287 $as_echo "$enable_parallel" >&6; }
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17290 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17291 # Check whether --enable-cxx-flags was given.
17292 if test "${enable_cxx_flags+set}" = set; then :
17293 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17294 xno | x) enable_cxx_flags= ;;
17295 x-*) ;;
17296 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17297 esac
17298 else
17299 enable_cxx_flags=
17304 # Run through flags (either default or command-line) and set anything
17305 # extra (e.g., #defines) that must accompany particular g++ options.
17306 if test -n "$enable_cxx_flags"; then
17307 for f in $enable_cxx_flags; do
17308 case "$f" in
17309 -fhonor-std) ;;
17310 -*) ;;
17311 *) # and we're trying to pass /what/ exactly?
17312 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
17313 esac
17314 done
17317 EXTRA_CXX_FLAGS="$enable_cxx_flags"
17318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
17319 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
17323 # Check whether --enable-fully-dynamic-string was given.
17324 if test "${enable_fully_dynamic_string+set}" = set; then :
17325 enableval=$enable_fully_dynamic_string;
17326 case "$enableval" in
17327 yes|no) ;;
17328 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
17329 esac
17331 else
17332 enable_fully_dynamic_string=no
17336 if test $enable_fully_dynamic_string = yes; then
17337 enable_fully_dynamic_string_def=1
17338 else
17339 enable_fully_dynamic_string_def=0
17342 cat >>confdefs.h <<_ACEOF
17343 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
17344 _ACEOF
17349 # Check whether --enable-extern-template was given.
17350 if test "${enable_extern_template+set}" = set; then :
17351 enableval=$enable_extern_template;
17352 case "$enableval" in
17353 yes|no) ;;
17354 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
17355 esac
17357 else
17358 enable_extern_template=yes
17363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
17364 $as_echo_n "checking for extern template support... " >&6; }
17365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
17366 $as_echo "$enable_extern_template" >&6; }
17372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
17373 $as_echo_n "checking for custom python install directory... " >&6; }
17375 # Check whether --with-python-dir was given.
17376 if test "${with_python_dir+set}" = set; then :
17377 withval=$with_python_dir; with_python_dir=$withval
17378 else
17379 with_python_dir="no"
17382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
17383 $as_echo "${with_python_dir}" >&6; }
17385 # Needed for installing Python modules during make install.
17386 python_mod_dir="${with_python_dir}"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
17392 $as_echo_n "checking for -Werror... " >&6; }
17393 # Check whether --enable-werror was given.
17394 if test "${enable_werror+set}" = set; then :
17395 enableval=$enable_werror;
17396 case "$enableval" in
17397 yes|no) ;;
17398 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
17399 esac
17401 else
17402 enable_werror=yes
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
17407 $as_echo "$enable_werror" >&6; }
17412 # Check whether --enable-vtable-verify was given.
17413 if test "${enable_vtable_verify+set}" = set; then :
17414 enableval=$enable_vtable_verify;
17415 case "$enableval" in
17416 yes|no) ;;
17417 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
17418 esac
17420 else
17421 enable_vtable_verify=no
17426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
17427 $as_echo_n "checking for vtable verify support... " >&6; }
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
17429 $as_echo "$enable_vtable_verify" >&6; }
17431 vtv_cygmin=no
17432 if test $enable_vtable_verify = yes; then
17433 case ${target_os} in
17434 cygwin*|mingw32*)
17435 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17436 vtv_cygmin=yes
17439 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
17441 esac
17442 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
17443 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
17444 else
17445 VTV_CXXFLAGS=
17446 VTV_PCH_CXXFLAGS=
17447 VTV_CXXLINKFLAGS=
17453 if test x$vtv_cygmin = xyes; then
17454 VTV_CYGMIN_TRUE=
17455 VTV_CYGMIN_FALSE='#'
17456 else
17457 VTV_CYGMIN_TRUE='#'
17458 VTV_CYGMIN_FALSE=
17464 # Checks for operating systems support that doesn't require linking.
17468 ac_ext=cpp
17469 ac_cpp='$CXXCPP $CPPFLAGS'
17470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
17476 $as_echo_n "checking for gets declaration... " >&6; }
17477 if test "${glibcxx_cv_gets+set}" = set; then :
17478 $as_echo_n "(cached) " >&6
17479 else
17481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17482 /* end confdefs.h. */
17483 #include <stdio.h>
17484 namespace test
17486 using ::gets;
17489 _ACEOF
17490 if ac_fn_cxx_try_compile "$LINENO"; then :
17491 glibcxx_cv_gets=yes
17492 else
17493 glibcxx_cv_gets=no
17496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17500 if test $glibcxx_cv_gets = yes; then
17502 $as_echo "#define HAVE_GETS 1" >>confdefs.h
17505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
17506 $as_echo "$glibcxx_cv_gets" >&6; }
17508 ac_ext=c
17509 ac_cpp='$CPP $CPPFLAGS'
17510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
17518 $as_echo_n "checking for EOWNERDEAD... " >&6; }
17519 if test "${glibcxx_cv_system_error1+set}" = set; then :
17520 $as_echo_n "(cached) " >&6
17521 else
17523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17524 /* end confdefs.h. */
17525 #include <errno.h>
17527 main ()
17529 int i = EOWNERDEAD;
17531 return 0;
17533 _ACEOF
17534 if ac_fn_c_try_compile "$LINENO"; then :
17535 glibcxx_cv_system_error1=yes
17536 else
17537 glibcxx_cv_system_error1=no
17539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
17544 $as_echo "$glibcxx_cv_system_error1" >&6; }
17545 if test x"$glibcxx_cv_system_error1" = x"yes"; then
17547 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
17550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
17551 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
17552 if test "${glibcxx_cv_system_error2+set}" = set; then :
17553 $as_echo_n "(cached) " >&6
17554 else
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #include <errno.h>
17560 main ()
17562 int i = ENOTRECOVERABLE;
17564 return 0;
17566 _ACEOF
17567 if ac_fn_c_try_compile "$LINENO"; then :
17568 glibcxx_cv_system_error2=yes
17569 else
17570 glibcxx_cv_system_error2=no
17572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
17577 $as_echo "$glibcxx_cv_system_error2" >&6; }
17578 if test x"$glibcxx_cv_system_error2" = x"yes"; then
17580 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
17583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
17584 $as_echo_n "checking for ENOLINK... " >&6; }
17585 if test "${glibcxx_cv_system_error3+set}" = set; then :
17586 $as_echo_n "(cached) " >&6
17587 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <errno.h>
17593 main ()
17595 int i = ENOLINK;
17597 return 0;
17599 _ACEOF
17600 if ac_fn_c_try_compile "$LINENO"; then :
17601 glibcxx_cv_system_error3=yes
17602 else
17603 glibcxx_cv_system_error3=no
17605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
17610 $as_echo "$glibcxx_cv_system_error3" >&6; }
17611 if test x"$glibcxx_cv_system_error3" = x"yes"; then
17613 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
17616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
17617 $as_echo_n "checking for EPROTO... " >&6; }
17618 if test "${glibcxx_cv_system_error4+set}" = set; then :
17619 $as_echo_n "(cached) " >&6
17620 else
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 #include <errno.h>
17626 main ()
17628 int i = EPROTO;
17630 return 0;
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 glibcxx_cv_system_error4=yes
17635 else
17636 glibcxx_cv_system_error4=no
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
17643 $as_echo "$glibcxx_cv_system_error4" >&6; }
17644 if test x"$glibcxx_cv_system_error4" = x"yes"; then
17646 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
17649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
17650 $as_echo_n "checking for ENODATA... " >&6; }
17651 if test "${glibcxx_cv_system_error5+set}" = set; then :
17652 $as_echo_n "(cached) " >&6
17653 else
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <errno.h>
17659 main ()
17661 int i = ENODATA;
17663 return 0;
17665 _ACEOF
17666 if ac_fn_c_try_compile "$LINENO"; then :
17667 glibcxx_cv_system_error5=yes
17668 else
17669 glibcxx_cv_system_error5=no
17671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
17676 $as_echo "$glibcxx_cv_system_error5" >&6; }
17677 if test x"$glibcxx_cv_system_error5" = x"yes"; then
17679 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
17682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
17683 $as_echo_n "checking for ENOSR... " >&6; }
17684 if test "${glibcxx_cv_system_error6+set}" = set; then :
17685 $as_echo_n "(cached) " >&6
17686 else
17688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17689 /* end confdefs.h. */
17690 #include <errno.h>
17692 main ()
17694 int i = ENOSR;
17696 return 0;
17698 _ACEOF
17699 if ac_fn_c_try_compile "$LINENO"; then :
17700 glibcxx_cv_system_error6=yes
17701 else
17702 glibcxx_cv_system_error6=no
17704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
17709 $as_echo "$glibcxx_cv_system_error6" >&6; }
17710 if test x"$glibcxx_cv_system_error6" = x"yes"; then
17712 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
17715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
17716 $as_echo_n "checking for ENOSTR... " >&6; }
17717 if test "${glibcxx_cv_system_error7+set}" = set; then :
17718 $as_echo_n "(cached) " >&6
17719 else
17721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17722 /* end confdefs.h. */
17723 #include <errno.h>
17725 main ()
17727 int i = ENOSTR;
17729 return 0;
17731 _ACEOF
17732 if ac_fn_c_try_compile "$LINENO"; then :
17733 glibcxx_cv_system_error7=yes
17734 else
17735 glibcxx_cv_system_error7=no
17737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
17742 $as_echo "$glibcxx_cv_system_error7" >&6; }
17743 if test x"$glibcxx_cv_system_error7" = x"yes"; then
17745 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
17749 $as_echo_n "checking for ETIME... " >&6; }
17750 if test "${glibcxx_cv_system_error8+set}" = set; then :
17751 $as_echo_n "(cached) " >&6
17752 else
17754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17755 /* end confdefs.h. */
17756 #include <errno.h>
17758 main ()
17760 int i = ETIME;
17762 return 0;
17764 _ACEOF
17765 if ac_fn_c_try_compile "$LINENO"; then :
17766 glibcxx_cv_system_error8=yes
17767 else
17768 glibcxx_cv_system_error8=no
17770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
17775 $as_echo "$glibcxx_cv_system_error8" >&6; }
17776 if test x"$glibcxx_cv_system_error8" = x"yes"; then
17778 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
17781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
17782 $as_echo_n "checking for EBADMSG... " >&6; }
17783 if test "${glibcxx_cv_system_error9+set}" = set; then :
17784 $as_echo_n "(cached) " >&6
17785 else
17787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17788 /* end confdefs.h. */
17789 #include <errno.h>
17791 main ()
17793 int i = EBADMSG;
17795 return 0;
17797 _ACEOF
17798 if ac_fn_c_try_compile "$LINENO"; then :
17799 glibcxx_cv_system_error9=yes
17800 else
17801 glibcxx_cv_system_error9=no
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
17808 $as_echo "$glibcxx_cv_system_error9" >&6; }
17809 if test x"$glibcxx_cv_system_error9" = x"yes"; then
17811 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
17814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
17815 $as_echo_n "checking for ECANCELED... " >&6; }
17816 if test "${glibcxx_cv_system_error10+set}" = set; then :
17817 $as_echo_n "(cached) " >&6
17818 else
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17822 #include <errno.h>
17824 main ()
17826 int i = ECANCELED;
17828 return 0;
17830 _ACEOF
17831 if ac_fn_c_try_compile "$LINENO"; then :
17832 glibcxx_cv_system_error10=yes
17833 else
17834 glibcxx_cv_system_error10=no
17836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
17841 $as_echo "$glibcxx_cv_system_error10" >&6; }
17842 if test x"$glibcxx_cv_system_error10" = x"yes"; then
17844 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
17847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
17848 $as_echo_n "checking for EOVERFLOW... " >&6; }
17849 if test "${glibcxx_cv_system_error11+set}" = set; then :
17850 $as_echo_n "(cached) " >&6
17851 else
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #include <errno.h>
17857 main ()
17859 int i = EOVERFLOW;
17861 return 0;
17863 _ACEOF
17864 if ac_fn_c_try_compile "$LINENO"; then :
17865 glibcxx_cv_system_error11=yes
17866 else
17867 glibcxx_cv_system_error11=no
17869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
17874 $as_echo "$glibcxx_cv_system_error11" >&6; }
17875 if test x"$glibcxx_cv_system_error11" = x"yes"; then
17877 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
17881 $as_echo_n "checking for ENOTSUP... " >&6; }
17882 if test "${glibcxx_cv_system_error12+set}" = set; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 #include <errno.h>
17890 main ()
17892 int i = ENOTSUP;
17894 return 0;
17896 _ACEOF
17897 if ac_fn_c_try_compile "$LINENO"; then :
17898 glibcxx_cv_system_error12=yes
17899 else
17900 glibcxx_cv_system_error12=no
17902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
17907 $as_echo "$glibcxx_cv_system_error12" >&6; }
17908 if test x"$glibcxx_cv_system_error12" = x"yes"; then
17910 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
17913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
17914 $as_echo_n "checking for EIDRM... " >&6; }
17915 if test "${glibcxx_cv_system_error13+set}" = set; then :
17916 $as_echo_n "(cached) " >&6
17917 else
17919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17920 /* end confdefs.h. */
17921 #include <errno.h>
17923 main ()
17925 int i = EIDRM;
17927 return 0;
17929 _ACEOF
17930 if ac_fn_c_try_compile "$LINENO"; then :
17931 glibcxx_cv_system_error13=yes
17932 else
17933 glibcxx_cv_system_error13=no
17935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
17940 $as_echo "$glibcxx_cv_system_error13" >&6; }
17941 if test x"$glibcxx_cv_system_error13" = x"yes"; then
17943 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
17947 $as_echo_n "checking for ETXTBSY... " >&6; }
17948 if test "${glibcxx_cv_system_error14+set}" = set; then :
17949 $as_echo_n "(cached) " >&6
17950 else
17952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17953 /* end confdefs.h. */
17954 #include <errno.h>
17956 main ()
17958 int i = ETXTBSY;
17960 return 0;
17962 _ACEOF
17963 if ac_fn_c_try_compile "$LINENO"; then :
17964 glibcxx_cv_system_error14=yes
17965 else
17966 glibcxx_cv_system_error14=no
17968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
17973 $as_echo "$glibcxx_cv_system_error14" >&6; }
17974 if test x"$glibcxx_cv_system_error14" = x"yes"; then
17976 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
17980 $as_echo_n "checking for ECHILD... " >&6; }
17981 if test "${glibcxx_cv_system_error15+set}" = set; then :
17982 $as_echo_n "(cached) " >&6
17983 else
17985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17986 /* end confdefs.h. */
17987 #include <errno.h>
17989 main ()
17991 int i = ECHILD;
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_compile "$LINENO"; then :
17997 glibcxx_cv_system_error15=yes
17998 else
17999 glibcxx_cv_system_error15=no
18001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18006 $as_echo "$glibcxx_cv_system_error15" >&6; }
18007 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18009 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18013 $as_echo_n "checking for ENOSPC... " >&6; }
18014 if test "${glibcxx_cv_system_error16+set}" = set; then :
18015 $as_echo_n "(cached) " >&6
18016 else
18018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18019 /* end confdefs.h. */
18020 #include <errno.h>
18022 main ()
18024 int i = ENOSPC;
18026 return 0;
18028 _ACEOF
18029 if ac_fn_c_try_compile "$LINENO"; then :
18030 glibcxx_cv_system_error16=yes
18031 else
18032 glibcxx_cv_system_error16=no
18034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18039 $as_echo "$glibcxx_cv_system_error16" >&6; }
18040 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18042 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18046 $as_echo_n "checking for EPERM... " >&6; }
18047 if test "${glibcxx_cv_system_error17+set}" = set; then :
18048 $as_echo_n "(cached) " >&6
18049 else
18051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18052 /* end confdefs.h. */
18053 #include <errno.h>
18055 main ()
18057 int i = EPERM;
18059 return 0;
18061 _ACEOF
18062 if ac_fn_c_try_compile "$LINENO"; then :
18063 glibcxx_cv_system_error17=yes
18064 else
18065 glibcxx_cv_system_error17=no
18067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18072 $as_echo "$glibcxx_cv_system_error17" >&6; }
18073 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18075 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18079 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18080 if test "${glibcxx_cv_system_error18+set}" = set; then :
18081 $as_echo_n "(cached) " >&6
18082 else
18084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18085 /* end confdefs.h. */
18086 #include <errno.h>
18088 main ()
18090 int i = ETIMEDOUT;
18092 return 0;
18094 _ACEOF
18095 if ac_fn_c_try_compile "$LINENO"; then :
18096 glibcxx_cv_system_error18=yes
18097 else
18098 glibcxx_cv_system_error18=no
18100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18105 $as_echo "$glibcxx_cv_system_error18" >&6; }
18106 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18108 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18112 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18113 if test "${glibcxx_cv_system_error19+set}" = set; then :
18114 $as_echo_n "(cached) " >&6
18115 else
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18119 #include <errno.h>
18121 main ()
18123 int i = EWOULDBLOCK;
18125 return 0;
18127 _ACEOF
18128 if ac_fn_c_try_compile "$LINENO"; then :
18129 glibcxx_cv_system_error19=yes
18130 else
18131 glibcxx_cv_system_error19=no
18133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18138 $as_echo "$glibcxx_cv_system_error19" >&6; }
18139 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18141 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18147 # For the streamoff typedef.
18151 ac_ext=cpp
18152 ac_cpp='$CXXCPP $CPPFLAGS'
18153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
18159 $as_echo_n "checking for int64_t... " >&6; }
18160 if test "${glibcxx_cv_INT64_T+set}" = set; then :
18161 $as_echo_n "(cached) " >&6
18162 else
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18166 #include <stdint.h>
18168 main ()
18170 int64_t var;
18172 return 0;
18174 _ACEOF
18175 if ac_fn_cxx_try_compile "$LINENO"; then :
18176 glibcxx_cv_INT64_T=yes
18177 else
18178 glibcxx_cv_INT64_T=no
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18185 if test $glibcxx_cv_INT64_T = yes; then
18187 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
18189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
18190 $as_echo "$glibcxx_cv_INT64_T" >&6; }
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
18193 $as_echo_n "checking for int64_t as long... " >&6; }
18194 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
18195 $as_echo_n "(cached) " >&6
18196 else
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18200 #include <stdint.h>
18201 template<typename, typename> struct same { enum { value = -1 }; };
18202 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18203 int array[same<int64_t, long>::value];
18205 main ()
18209 return 0;
18211 _ACEOF
18212 if ac_fn_cxx_try_compile "$LINENO"; then :
18213 glibcxx_cv_int64_t_long=yes
18214 else
18215 glibcxx_cv_int64_t_long=no
18217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18222 if test $glibcxx_cv_int64_t_long = yes; then
18224 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
18226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
18227 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
18230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
18231 $as_echo_n "checking for int64_t as long long... " >&6; }
18232 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
18233 $as_echo_n "(cached) " >&6
18234 else
18236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18237 /* end confdefs.h. */
18238 #include <stdint.h>
18239 template<typename, typename> struct same { enum { value = -1 }; };
18240 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
18241 int array[same<int64_t, long long>::value];
18243 main ()
18247 return 0;
18249 _ACEOF
18250 if ac_fn_cxx_try_compile "$LINENO"; then :
18251 glibcxx_cv_int64_t_long_long=yes
18252 else
18253 glibcxx_cv_int64_t_long_long=no
18255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18260 if test $glibcxx_cv_int64_t_long_long = yes; then
18262 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
18264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
18265 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
18269 ac_ext=c
18270 ac_cpp='$CPP $CPPFLAGS'
18271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18277 # For LFS support.
18280 ac_ext=cpp
18281 ac_cpp='$CXXCPP $CPPFLAGS'
18282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18286 ac_save_CXXFLAGS="$CXXFLAGS"
18287 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
18289 $as_echo_n "checking for LFS support... " >&6; }
18290 if test "${glibcxx_cv_LFS+set}" = set; then :
18291 $as_echo_n "(cached) " >&6
18292 else
18294 if test x$gcc_no_link = xyes; then
18295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18296 /* end confdefs.h. */
18297 #include <unistd.h>
18298 #include <stdio.h>
18299 #include <sys/stat.h>
18302 main ()
18304 FILE* fp;
18305 fopen64("t", "w");
18306 fseeko64(fp, 0, SEEK_CUR);
18307 ftello64(fp);
18308 lseek64(1, 0, SEEK_CUR);
18309 struct stat64 buf;
18310 fstat64(1, &buf);
18312 return 0;
18314 _ACEOF
18315 if ac_fn_cxx_try_compile "$LINENO"; then :
18316 glibcxx_cv_LFS=yes
18317 else
18318 glibcxx_cv_LFS=no
18320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18321 else
18322 if test x$gcc_no_link = xyes; then
18323 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18326 /* end confdefs.h. */
18327 #include <unistd.h>
18328 #include <stdio.h>
18329 #include <sys/stat.h>
18332 main ()
18334 FILE* fp;
18335 fopen64("t", "w");
18336 fseeko64(fp, 0, SEEK_CUR);
18337 ftello64(fp);
18338 lseek64(1, 0, SEEK_CUR);
18339 struct stat64 buf;
18340 fstat64(1, &buf);
18342 return 0;
18344 _ACEOF
18345 if ac_fn_cxx_try_link "$LINENO"; then :
18346 glibcxx_cv_LFS=yes
18347 else
18348 glibcxx_cv_LFS=no
18350 rm -f core conftest.err conftest.$ac_objext \
18351 conftest$ac_exeext conftest.$ac_ext
18356 if test $glibcxx_cv_LFS = yes; then
18358 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
18362 $as_echo "$glibcxx_cv_LFS" >&6; }
18363 CXXFLAGS="$ac_save_CXXFLAGS"
18364 ac_ext=c
18365 ac_cpp='$CPP $CPPFLAGS'
18366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18372 # For showmanyc_helper().
18373 for ac_header in sys/ioctl.h sys/filio.h
18374 do :
18375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18376 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18377 eval as_val=\$$as_ac_Header
18378 if test "x$as_val" = x""yes; then :
18379 cat >>confdefs.h <<_ACEOF
18380 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18381 _ACEOF
18385 done
18390 ac_ext=cpp
18391 ac_cpp='$CXXCPP $CPPFLAGS'
18392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18396 ac_save_CXXFLAGS="$CXXFLAGS"
18397 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
18400 $as_echo_n "checking for poll... " >&6; }
18401 if test "${glibcxx_cv_POLL+set}" = set; then :
18402 $as_echo_n "(cached) " >&6
18403 else
18405 if test x$gcc_no_link = xyes; then
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_compile "$LINENO"; then :
18420 glibcxx_cv_POLL=yes
18421 else
18422 glibcxx_cv_POLL=no
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425 else
18426 if test x$gcc_no_link = xyes; then
18427 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18430 /* end confdefs.h. */
18431 #include <poll.h>
18433 main ()
18435 struct pollfd pfd[1];
18436 pfd[0].events = POLLIN;
18437 poll(pfd, 1, 0);
18439 return 0;
18441 _ACEOF
18442 if ac_fn_cxx_try_link "$LINENO"; then :
18443 glibcxx_cv_POLL=yes
18444 else
18445 glibcxx_cv_POLL=no
18447 rm -f core conftest.err conftest.$ac_objext \
18448 conftest$ac_exeext conftest.$ac_ext
18453 if test $glibcxx_cv_POLL = yes; then
18455 $as_echo "#define HAVE_POLL 1" >>confdefs.h
18458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
18459 $as_echo "$glibcxx_cv_POLL" >&6; }
18461 CXXFLAGS="$ac_save_CXXFLAGS"
18462 ac_ext=c
18463 ac_cpp='$CPP $CPPFLAGS'
18464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18472 ac_ext=cpp
18473 ac_cpp='$CXXCPP $CPPFLAGS'
18474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18478 ac_save_CXXFLAGS="$CXXFLAGS"
18479 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
18482 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
18483 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
18484 $as_echo_n "(cached) " >&6
18485 else
18487 if test x$gcc_no_link = xyes; then
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_compile "$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 conftest.$ac_ext
18507 else
18508 if test x$gcc_no_link = xyes; then
18509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #include <sys/stat.h>
18515 main ()
18517 struct stat buffer;
18518 fstat(0, &buffer);
18519 S_ISREG(buffer.st_mode);
18521 return 0;
18523 _ACEOF
18524 if ac_fn_cxx_try_link "$LINENO"; then :
18525 glibcxx_cv_S_ISREG=yes
18526 else
18527 glibcxx_cv_S_ISREG=no
18529 rm -f core conftest.err conftest.$ac_objext \
18530 conftest$ac_exeext conftest.$ac_ext
18535 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
18536 $as_echo_n "(cached) " >&6
18537 else
18539 if test x$gcc_no_link = xyes; then
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_compile "$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 conftest.$ac_ext
18559 else
18560 if test x$gcc_no_link = xyes; then
18561 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 #include <sys/stat.h>
18567 main ()
18569 struct stat buffer;
18570 fstat(0, &buffer);
18571 S_IFREG & buffer.st_mode;
18573 return 0;
18575 _ACEOF
18576 if ac_fn_cxx_try_link "$LINENO"; then :
18577 glibcxx_cv_S_IFREG=yes
18578 else
18579 glibcxx_cv_S_IFREG=no
18581 rm -f core conftest.err conftest.$ac_objext \
18582 conftest$ac_exeext conftest.$ac_ext
18587 res=no
18588 if test $glibcxx_cv_S_ISREG = yes; then
18590 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
18592 res=S_ISREG
18593 elif test $glibcxx_cv_S_IFREG = yes; then
18595 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
18597 res=S_IFREG
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
18600 $as_echo "$res" >&6; }
18602 CXXFLAGS="$ac_save_CXXFLAGS"
18603 ac_ext=c
18604 ac_cpp='$CPP $CPPFLAGS'
18605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18611 # For xsputn_2().
18612 for ac_header in sys/uio.h
18613 do :
18614 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
18615 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
18616 cat >>confdefs.h <<_ACEOF
18617 #define HAVE_SYS_UIO_H 1
18618 _ACEOF
18622 done
18627 ac_ext=cpp
18628 ac_cpp='$CXXCPP $CPPFLAGS'
18629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18633 ac_save_CXXFLAGS="$CXXFLAGS"
18634 CXXFLAGS="$CXXFLAGS -fno-exceptions"
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
18637 $as_echo_n "checking for writev... " >&6; }
18638 if test "${glibcxx_cv_WRITEV+set}" = set; then :
18639 $as_echo_n "(cached) " >&6
18640 else
18642 if test x$gcc_no_link = xyes; then
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 #include <sys/uio.h>
18647 main ()
18649 struct iovec iov[2];
18650 writev(0, iov, 0);
18652 return 0;
18654 _ACEOF
18655 if ac_fn_cxx_try_compile "$LINENO"; then :
18656 glibcxx_cv_WRITEV=yes
18657 else
18658 glibcxx_cv_WRITEV=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18661 else
18662 if test x$gcc_no_link = xyes; then
18663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18666 /* end confdefs.h. */
18667 #include <sys/uio.h>
18669 main ()
18671 struct iovec iov[2];
18672 writev(0, iov, 0);
18674 return 0;
18676 _ACEOF
18677 if ac_fn_cxx_try_link "$LINENO"; then :
18678 glibcxx_cv_WRITEV=yes
18679 else
18680 glibcxx_cv_WRITEV=no
18682 rm -f core conftest.err conftest.$ac_objext \
18683 conftest$ac_exeext conftest.$ac_ext
18688 if test $glibcxx_cv_WRITEV = yes; then
18690 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
18694 $as_echo "$glibcxx_cv_WRITEV" >&6; }
18696 CXXFLAGS="$ac_save_CXXFLAGS"
18697 ac_ext=c
18698 ac_cpp='$CPP $CPPFLAGS'
18699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18705 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
18706 # so that the check is done with the C compiler (not C++).
18707 # Checking with C++ can break a canadian cross build if either
18708 # file does not exist in C but does in C++.
18709 for ac_header in fenv.h complex.h
18710 do :
18711 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18712 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18713 eval as_val=\$$as_ac_Header
18714 if test "x$as_val" = x""yes; then :
18715 cat >>confdefs.h <<_ACEOF
18716 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18717 _ACEOF
18721 done
18724 # For C99 support to TR1.
18728 ac_ext=cpp
18729 ac_cpp='$CXXCPP $CPPFLAGS'
18730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18735 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
18736 # undefined and fake C99 facilities may be spuriously enabled.
18737 ac_save_CXXFLAGS="$CXXFLAGS"
18738 CXXFLAGS="$CXXFLAGS -std=c++98"
18740 # Check for the existence of <complex.h> complex math functions used
18741 # by tr1/complex.
18742 for ac_header in complex.h
18743 do :
18744 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18745 if test "x$ac_cv_header_complex_h" = x""yes; then :
18746 cat >>confdefs.h <<_ACEOF
18747 #define HAVE_COMPLEX_H 1
18748 _ACEOF
18749 ac_has_complex_h=yes
18750 else
18751 ac_has_complex_h=no
18754 done
18756 ac_c99_complex_tr1=no;
18757 if test x"$ac_has_complex_h" = x"yes"; then
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
18759 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
18760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18761 /* end confdefs.h. */
18762 #include <complex.h>
18764 main ()
18766 typedef __complex__ float float_type; float_type tmpf;
18767 cacosf(tmpf);
18768 casinf(tmpf);
18769 catanf(tmpf);
18770 cacoshf(tmpf);
18771 casinhf(tmpf);
18772 catanhf(tmpf);
18773 typedef __complex__ double double_type; double_type tmpd;
18774 cacos(tmpd);
18775 casin(tmpd);
18776 catan(tmpd);
18777 cacosh(tmpd);
18778 casinh(tmpd);
18779 catanh(tmpd);
18780 typedef __complex__ long double ld_type; ld_type tmpld;
18781 cacosl(tmpld);
18782 casinl(tmpld);
18783 catanl(tmpld);
18784 cacoshl(tmpld);
18785 casinhl(tmpld);
18786 catanhl(tmpld);
18789 return 0;
18791 _ACEOF
18792 if ac_fn_cxx_try_compile "$LINENO"; then :
18793 ac_c99_complex_tr1=yes
18794 else
18795 ac_c99_complex_tr1=no
18797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
18800 $as_echo "$ac_c99_complex_tr1" >&6; }
18801 if test x"$ac_c99_complex_tr1" = x"yes"; then
18803 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
18807 # Check for the existence of <ctype.h> functions.
18808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
18809 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
18810 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
18811 $as_echo_n "(cached) " >&6
18812 else
18814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18815 /* end confdefs.h. */
18816 #include <ctype.h>
18818 main ()
18820 int ch;
18821 int ret;
18822 ret = isblank(ch);
18825 return 0;
18827 _ACEOF
18828 if ac_fn_cxx_try_compile "$LINENO"; then :
18829 glibcxx_cv_c99_ctype_tr1=yes
18830 else
18831 glibcxx_cv_c99_ctype_tr1=no
18833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
18838 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
18839 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
18841 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
18845 # Check for the existence of <fenv.h> functions.
18846 for ac_header in fenv.h
18847 do :
18848 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
18849 if test "x$ac_cv_header_fenv_h" = x""yes; then :
18850 cat >>confdefs.h <<_ACEOF
18851 #define HAVE_FENV_H 1
18852 _ACEOF
18853 ac_has_fenv_h=yes
18854 else
18855 ac_has_fenv_h=no
18858 done
18860 ac_c99_fenv_tr1=no;
18861 if test x"$ac_has_fenv_h" = x"yes"; then
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
18863 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
18864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18865 /* end confdefs.h. */
18866 #include <fenv.h>
18868 main ()
18870 int except, mode;
18871 fexcept_t* pflag;
18872 fenv_t* penv;
18873 int ret;
18874 ret = feclearexcept(except);
18875 ret = fegetexceptflag(pflag, except);
18876 ret = feraiseexcept(except);
18877 ret = fesetexceptflag(pflag, except);
18878 ret = fetestexcept(except);
18879 ret = fegetround();
18880 ret = fesetround(mode);
18881 ret = fegetenv(penv);
18882 ret = feholdexcept(penv);
18883 ret = fesetenv(penv);
18884 ret = feupdateenv(penv);
18887 return 0;
18889 _ACEOF
18890 if ac_fn_cxx_try_compile "$LINENO"; then :
18891 ac_c99_fenv_tr1=yes
18892 else
18893 ac_c99_fenv_tr1=no
18895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
18898 $as_echo "$ac_c99_fenv_tr1" >&6; }
18899 if test x"$ac_c99_fenv_tr1" = x"yes"; then
18901 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
18905 # Check for the existence of <stdint.h> types.
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
18907 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
18908 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
18909 $as_echo_n "(cached) " >&6
18910 else
18912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18913 /* end confdefs.h. */
18914 #define __STDC_LIMIT_MACROS
18915 #define __STDC_CONSTANT_MACROS
18916 #include <stdint.h>
18918 main ()
18920 typedef int8_t my_int8_t;
18921 my_int8_t i8 = INT8_MIN;
18922 i8 = INT8_MAX;
18923 typedef int16_t my_int16_t;
18924 my_int16_t i16 = INT16_MIN;
18925 i16 = INT16_MAX;
18926 typedef int32_t my_int32_t;
18927 my_int32_t i32 = INT32_MIN;
18928 i32 = INT32_MAX;
18929 typedef int64_t my_int64_t;
18930 my_int64_t i64 = INT64_MIN;
18931 i64 = INT64_MAX;
18932 typedef int_fast8_t my_int_fast8_t;
18933 my_int_fast8_t if8 = INT_FAST8_MIN;
18934 if8 = INT_FAST8_MAX;
18935 typedef int_fast16_t my_int_fast16_t;
18936 my_int_fast16_t if16 = INT_FAST16_MIN;
18937 if16 = INT_FAST16_MAX;
18938 typedef int_fast32_t my_int_fast32_t;
18939 my_int_fast32_t if32 = INT_FAST32_MIN;
18940 if32 = INT_FAST32_MAX;
18941 typedef int_fast64_t my_int_fast64_t;
18942 my_int_fast64_t if64 = INT_FAST64_MIN;
18943 if64 = INT_FAST64_MAX;
18944 typedef int_least8_t my_int_least8_t;
18945 my_int_least8_t il8 = INT_LEAST8_MIN;
18946 il8 = INT_LEAST8_MAX;
18947 typedef int_least16_t my_int_least16_t;
18948 my_int_least16_t il16 = INT_LEAST16_MIN;
18949 il16 = INT_LEAST16_MAX;
18950 typedef int_least32_t my_int_least32_t;
18951 my_int_least32_t il32 = INT_LEAST32_MIN;
18952 il32 = INT_LEAST32_MAX;
18953 typedef int_least64_t my_int_least64_t;
18954 my_int_least64_t il64 = INT_LEAST64_MIN;
18955 il64 = INT_LEAST64_MAX;
18956 typedef intmax_t my_intmax_t;
18957 my_intmax_t im = INTMAX_MAX;
18958 im = INTMAX_MIN;
18959 typedef intptr_t my_intptr_t;
18960 my_intptr_t ip = INTPTR_MAX;
18961 ip = INTPTR_MIN;
18962 typedef uint8_t my_uint8_t;
18963 my_uint8_t ui8 = UINT8_MAX;
18964 ui8 = UINT8_MAX;
18965 typedef uint16_t my_uint16_t;
18966 my_uint16_t ui16 = UINT16_MAX;
18967 ui16 = UINT16_MAX;
18968 typedef uint32_t my_uint32_t;
18969 my_uint32_t ui32 = UINT32_MAX;
18970 ui32 = UINT32_MAX;
18971 typedef uint64_t my_uint64_t;
18972 my_uint64_t ui64 = UINT64_MAX;
18973 ui64 = UINT64_MAX;
18974 typedef uint_fast8_t my_uint_fast8_t;
18975 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
18976 uif8 = UINT_FAST8_MAX;
18977 typedef uint_fast16_t my_uint_fast16_t;
18978 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
18979 uif16 = UINT_FAST16_MAX;
18980 typedef uint_fast32_t my_uint_fast32_t;
18981 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
18982 uif32 = UINT_FAST32_MAX;
18983 typedef uint_fast64_t my_uint_fast64_t;
18984 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
18985 uif64 = UINT_FAST64_MAX;
18986 typedef uint_least8_t my_uint_least8_t;
18987 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
18988 uil8 = UINT_LEAST8_MAX;
18989 typedef uint_least16_t my_uint_least16_t;
18990 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
18991 uil16 = UINT_LEAST16_MAX;
18992 typedef uint_least32_t my_uint_least32_t;
18993 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
18994 uil32 = UINT_LEAST32_MAX;
18995 typedef uint_least64_t my_uint_least64_t;
18996 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
18997 uil64 = UINT_LEAST64_MAX;
18998 typedef uintmax_t my_uintmax_t;
18999 my_uintmax_t uim = UINTMAX_MAX;
19000 uim = UINTMAX_MAX;
19001 typedef uintptr_t my_uintptr_t;
19002 my_uintptr_t uip = UINTPTR_MAX;
19003 uip = UINTPTR_MAX;
19006 return 0;
19008 _ACEOF
19009 if ac_fn_cxx_try_compile "$LINENO"; then :
19010 glibcxx_cv_c99_stdint_tr1=yes
19011 else
19012 glibcxx_cv_c99_stdint_tr1=no
19014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19019 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19020 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19022 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19026 # Check for the existence of <math.h> functions.
19027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19028 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19029 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19030 $as_echo_n "(cached) " >&6
19031 else
19033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19034 /* end confdefs.h. */
19035 #include <math.h>
19037 main ()
19039 typedef double_t my_double_t;
19040 typedef float_t my_float_t;
19041 acosh(0.0);
19042 acoshf(0.0f);
19043 acoshl(0.0l);
19044 asinh(0.0);
19045 asinhf(0.0f);
19046 asinhl(0.0l);
19047 atanh(0.0);
19048 atanhf(0.0f);
19049 atanhl(0.0l);
19050 cbrt(0.0);
19051 cbrtf(0.0f);
19052 cbrtl(0.0l);
19053 copysign(0.0, 0.0);
19054 copysignf(0.0f, 0.0f);
19055 copysignl(0.0l, 0.0l);
19056 erf(0.0);
19057 erff(0.0f);
19058 erfl(0.0l);
19059 erfc(0.0);
19060 erfcf(0.0f);
19061 erfcl(0.0l);
19062 exp2(0.0);
19063 exp2f(0.0f);
19064 exp2l(0.0l);
19065 expm1(0.0);
19066 expm1f(0.0f);
19067 expm1l(0.0l);
19068 fdim(0.0, 0.0);
19069 fdimf(0.0f, 0.0f);
19070 fdiml(0.0l, 0.0l);
19071 fma(0.0, 0.0, 0.0);
19072 fmaf(0.0f, 0.0f, 0.0f);
19073 fmal(0.0l, 0.0l, 0.0l);
19074 fmax(0.0, 0.0);
19075 fmaxf(0.0f, 0.0f);
19076 fmaxl(0.0l, 0.0l);
19077 fmin(0.0, 0.0);
19078 fminf(0.0f, 0.0f);
19079 fminl(0.0l, 0.0l);
19080 hypot(0.0, 0.0);
19081 hypotf(0.0f, 0.0f);
19082 hypotl(0.0l, 0.0l);
19083 ilogb(0.0);
19084 ilogbf(0.0f);
19085 ilogbl(0.0l);
19086 lgamma(0.0);
19087 lgammaf(0.0f);
19088 lgammal(0.0l);
19089 llrint(0.0);
19090 llrintf(0.0f);
19091 llrintl(0.0l);
19092 llround(0.0);
19093 llroundf(0.0f);
19094 llroundl(0.0l);
19095 log1p(0.0);
19096 log1pf(0.0f);
19097 log1pl(0.0l);
19098 log2(0.0);
19099 log2f(0.0f);
19100 log2l(0.0l);
19101 logb(0.0);
19102 logbf(0.0f);
19103 logbl(0.0l);
19104 lrint(0.0);
19105 lrintf(0.0f);
19106 lrintl(0.0l);
19107 lround(0.0);
19108 lroundf(0.0f);
19109 lroundl(0.0l);
19110 nan(0);
19111 nanf(0);
19112 nanl(0);
19113 nearbyint(0.0);
19114 nearbyintf(0.0f);
19115 nearbyintl(0.0l);
19116 nextafter(0.0, 0.0);
19117 nextafterf(0.0f, 0.0f);
19118 nextafterl(0.0l, 0.0l);
19119 nexttoward(0.0, 0.0);
19120 nexttowardf(0.0f, 0.0f);
19121 nexttowardl(0.0l, 0.0l);
19122 remainder(0.0, 0.0);
19123 remainderf(0.0f, 0.0f);
19124 remainderl(0.0l, 0.0l);
19125 remquo(0.0, 0.0, 0);
19126 remquof(0.0f, 0.0f, 0);
19127 remquol(0.0l, 0.0l, 0);
19128 rint(0.0);
19129 rintf(0.0f);
19130 rintl(0.0l);
19131 round(0.0);
19132 roundf(0.0f);
19133 roundl(0.0l);
19134 scalbln(0.0, 0l);
19135 scalblnf(0.0f, 0l);
19136 scalblnl(0.0l, 0l);
19137 scalbn(0.0, 0);
19138 scalbnf(0.0f, 0);
19139 scalbnl(0.0l, 0);
19140 tgamma(0.0);
19141 tgammaf(0.0f);
19142 tgammal(0.0l);
19143 trunc(0.0);
19144 truncf(0.0f);
19145 truncl(0.0l);
19148 return 0;
19150 _ACEOF
19151 if ac_fn_cxx_try_compile "$LINENO"; then :
19152 glibcxx_cv_c99_math_tr1=yes
19153 else
19154 glibcxx_cv_c99_math_tr1=no
19156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
19161 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
19162 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
19164 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
19168 # Check for the existence of <inttypes.h> functions (NB: doesn't make
19169 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19170 ac_c99_inttypes_tr1=no;
19171 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
19173 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19175 /* end confdefs.h. */
19176 #include <inttypes.h>
19178 main ()
19180 intmax_t i, numer, denom, base;
19181 const char* s;
19182 char** endptr;
19183 intmax_t ret = imaxabs(i);
19184 imaxdiv_t dret = imaxdiv(numer, denom);
19185 ret = strtoimax(s, endptr, base);
19186 uintmax_t uret = strtoumax(s, endptr, base);
19189 return 0;
19191 _ACEOF
19192 if ac_fn_cxx_try_compile "$LINENO"; then :
19193 ac_c99_inttypes_tr1=yes
19194 else
19195 ac_c99_inttypes_tr1=no
19197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
19200 $as_echo "$ac_c99_inttypes_tr1" >&6; }
19201 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
19203 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
19207 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
19208 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
19209 ac_c99_inttypes_wchar_t_tr1=no;
19210 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
19212 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
19213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19214 /* end confdefs.h. */
19215 #include <inttypes.h>
19217 main ()
19219 intmax_t base;
19220 const wchar_t* s;
19221 wchar_t** endptr;
19222 intmax_t ret = wcstoimax(s, endptr, base);
19223 uintmax_t uret = wcstoumax(s, endptr, base);
19226 return 0;
19228 _ACEOF
19229 if ac_fn_cxx_try_compile "$LINENO"; then :
19230 ac_c99_inttypes_wchar_t_tr1=yes
19231 else
19232 ac_c99_inttypes_wchar_t_tr1=no
19234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
19237 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
19238 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
19240 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
19244 # Check for the existence of the <stdbool.h> header.
19245 for ac_header in stdbool.h
19246 do :
19247 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
19248 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
19249 cat >>confdefs.h <<_ACEOF
19250 #define HAVE_STDBOOL_H 1
19251 _ACEOF
19255 done
19258 # Check for the existence of the <stdalign.h> header.
19259 for ac_header in stdalign.h
19260 do :
19261 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
19262 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
19263 cat >>confdefs.h <<_ACEOF
19264 #define HAVE_STDALIGN_H 1
19265 _ACEOF
19269 done
19272 CXXFLAGS="$ac_save_CXXFLAGS"
19273 ac_ext=c
19274 ac_cpp='$CPP $CPPFLAGS'
19275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19281 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
19284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
19285 $as_echo_n "checking for the value of EOF... " >&6; }
19286 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
19287 $as_echo_n "(cached) " >&6
19288 else
19290 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
19292 else
19293 as_fn_error "computing EOF failed" "$LINENO" 5
19298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
19299 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
19301 cat >>confdefs.h <<_ACEOF
19302 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
19303 _ACEOF
19306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
19307 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
19308 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
19309 $as_echo_n "(cached) " >&6
19310 else
19312 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
19314 else
19315 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
19321 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
19323 cat >>confdefs.h <<_ACEOF
19324 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
19325 _ACEOF
19328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
19329 $as_echo_n "checking for the value of SEEK_END... " >&6; }
19330 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
19331 $as_echo_n "(cached) " >&6
19332 else
19334 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
19336 else
19337 as_fn_error "computing SEEK_END failed" "$LINENO" 5
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
19343 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
19345 cat >>confdefs.h <<_ACEOF
19346 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
19347 _ACEOF
19351 # For gettimeofday support.
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19355 $as_echo_n "checking for gettimeofday... " >&6; }
19358 ac_ext=cpp
19359 ac_cpp='$CXXCPP $CPPFLAGS'
19360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19364 ac_save_CXXFLAGS="$CXXFLAGS"
19365 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19367 ac_has_gettimeofday=no;
19368 for ac_header in sys/time.h
19369 do :
19370 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
19371 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
19372 cat >>confdefs.h <<_ACEOF
19373 #define HAVE_SYS_TIME_H 1
19374 _ACEOF
19375 ac_has_sys_time_h=yes
19376 else
19377 ac_has_sys_time_h=no
19380 done
19382 if test x"$ac_has_sys_time_h" = x"yes"; then
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
19384 $as_echo_n "checking for gettimeofday... " >&6; }
19385 if test x$gcc_no_link = xyes; then
19386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19387 /* end confdefs.h. */
19388 #include <sys/time.h>
19390 main ()
19392 timeval tv; gettimeofday(&tv, 0);
19394 return 0;
19396 _ACEOF
19397 if ac_fn_cxx_try_compile "$LINENO"; then :
19398 ac_has_gettimeofday=yes
19399 else
19400 ac_has_gettimeofday=no
19402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19403 else
19404 if test x$gcc_no_link = xyes; then
19405 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19408 /* end confdefs.h. */
19409 #include <sys/time.h>
19411 main ()
19413 timeval tv; gettimeofday(&tv, 0);
19415 return 0;
19417 _ACEOF
19418 if ac_fn_cxx_try_link "$LINENO"; then :
19419 ac_has_gettimeofday=yes
19420 else
19421 ac_has_gettimeofday=no
19423 rm -f core conftest.err conftest.$ac_objext \
19424 conftest$ac_exeext conftest.$ac_ext
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
19428 $as_echo "$ac_has_gettimeofday" >&6; }
19431 if test x"$ac_has_gettimeofday" = x"yes"; then
19433 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
19437 CXXFLAGS="$ac_save_CXXFLAGS"
19438 ac_ext=c
19439 ac_cpp='$CPP $CPPFLAGS'
19440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19446 # For clock_gettime, nanosleep and sched_yield support.
19449 # Check whether --enable-libstdcxx-time was given.
19450 if test "${enable_libstdcxx_time+set}" = set; then :
19451 enableval=$enable_libstdcxx_time;
19452 case "$enableval" in
19453 yes|no|rt) ;;
19454 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
19455 esac
19457 else
19458 enable_libstdcxx_time=auto
19464 ac_ext=cpp
19465 ac_cpp='$CXXCPP $CPPFLAGS'
19466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19470 ac_save_CXXFLAGS="$CXXFLAGS"
19471 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19472 ac_save_LIBS="$LIBS"
19474 ac_has_clock_monotonic=no
19475 ac_has_clock_realtime=no
19476 ac_has_nanosleep=no
19477 ac_has_sched_yield=no
19479 if test x"$enable_libstdcxx_time" = x"auto"; then
19481 case "${target_os}" in
19482 cygwin*)
19483 ac_has_nanosleep=yes
19485 darwin*)
19486 ac_has_nanosleep=yes
19487 ac_has_sched_yield=yes
19489 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
19490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
19491 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
19492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19493 /* end confdefs.h. */
19494 #include <features.h>
19496 main ()
19499 #if ! __GLIBC_PREREQ(2, 17)
19500 #error
19501 #endif
19504 return 0;
19506 _ACEOF
19507 if ac_fn_cxx_try_compile "$LINENO"; then :
19508 glibcxx_glibc217=yes
19509 else
19510 glibcxx_glibc217=no
19512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
19514 $as_echo "$glibcxx_glibc217" >&6; }
19516 if test x"$glibcxx_glibc217" = x"yes"; then
19517 ac_has_clock_monotonic=yes
19518 ac_has_clock_realtime=yes
19520 ac_has_nanosleep=yes
19521 ac_has_sched_yield=yes
19523 freebsd*|netbsd*|dragonfly*)
19524 ac_has_clock_monotonic=yes
19525 ac_has_clock_realtime=yes
19526 ac_has_nanosleep=yes
19527 ac_has_sched_yield=yes
19529 openbsd*)
19530 ac_has_clock_monotonic=yes
19531 ac_has_clock_realtime=yes
19532 ac_has_nanosleep=yes
19534 solaris*)
19535 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
19536 ac_has_clock_monotonic=yes
19537 ac_has_clock_realtime=yes
19538 ac_has_nanosleep=yes
19539 ac_has_sched_yield=yes
19541 esac
19543 elif test x"$enable_libstdcxx_time" != x"no"; then
19545 if test x"$enable_libstdcxx_time" = x"rt"; then
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19547 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19548 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19549 $as_echo_n "(cached) " >&6
19550 else
19551 ac_func_search_save_LIBS=$LIBS
19552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19553 /* end confdefs.h. */
19555 /* Override any GCC internal prototype to avoid an error.
19556 Use char because int might match the return type of a GCC
19557 builtin and then its argument prototype would still apply. */
19558 #ifdef __cplusplus
19559 extern "C"
19560 #endif
19561 char clock_gettime ();
19563 main ()
19565 return clock_gettime ();
19567 return 0;
19569 _ACEOF
19570 for ac_lib in '' rt posix4; do
19571 if test -z "$ac_lib"; then
19572 ac_res="none required"
19573 else
19574 ac_res=-l$ac_lib
19575 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19577 if test x$gcc_no_link = xyes; then
19578 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19580 if ac_fn_cxx_try_link "$LINENO"; then :
19581 ac_cv_search_clock_gettime=$ac_res
19583 rm -f core conftest.err conftest.$ac_objext \
19584 conftest$ac_exeext
19585 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19586 break
19588 done
19589 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19591 else
19592 ac_cv_search_clock_gettime=no
19594 rm conftest.$ac_ext
19595 LIBS=$ac_func_search_save_LIBS
19597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19598 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19599 ac_res=$ac_cv_search_clock_gettime
19600 if test "$ac_res" != no; then :
19601 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19606 $as_echo_n "checking for library containing nanosleep... " >&6; }
19607 if test "${ac_cv_search_nanosleep+set}" = set; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 ac_func_search_save_LIBS=$LIBS
19611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19612 /* end confdefs.h. */
19614 /* Override any GCC internal prototype to avoid an error.
19615 Use char because int might match the return type of a GCC
19616 builtin and then its argument prototype would still apply. */
19617 #ifdef __cplusplus
19618 extern "C"
19619 #endif
19620 char nanosleep ();
19622 main ()
19624 return nanosleep ();
19626 return 0;
19628 _ACEOF
19629 for ac_lib in '' rt posix4; do
19630 if test -z "$ac_lib"; then
19631 ac_res="none required"
19632 else
19633 ac_res=-l$ac_lib
19634 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19636 if test x$gcc_no_link = xyes; then
19637 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19639 if ac_fn_cxx_try_link "$LINENO"; then :
19640 ac_cv_search_nanosleep=$ac_res
19642 rm -f core conftest.err conftest.$ac_objext \
19643 conftest$ac_exeext
19644 if test "${ac_cv_search_nanosleep+set}" = set; then :
19645 break
19647 done
19648 if test "${ac_cv_search_nanosleep+set}" = set; then :
19650 else
19651 ac_cv_search_nanosleep=no
19653 rm conftest.$ac_ext
19654 LIBS=$ac_func_search_save_LIBS
19656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19657 $as_echo "$ac_cv_search_nanosleep" >&6; }
19658 ac_res=$ac_cv_search_nanosleep
19659 if test "$ac_res" != no; then :
19660 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19664 else
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19666 $as_echo_n "checking for library containing clock_gettime... " >&6; }
19667 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19668 $as_echo_n "(cached) " >&6
19669 else
19670 ac_func_search_save_LIBS=$LIBS
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19674 /* Override any GCC internal prototype to avoid an error.
19675 Use char because int might match the return type of a GCC
19676 builtin and then its argument prototype would still apply. */
19677 #ifdef __cplusplus
19678 extern "C"
19679 #endif
19680 char clock_gettime ();
19682 main ()
19684 return clock_gettime ();
19686 return 0;
19688 _ACEOF
19689 for ac_lib in '' posix4; do
19690 if test -z "$ac_lib"; then
19691 ac_res="none required"
19692 else
19693 ac_res=-l$ac_lib
19694 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19696 if test x$gcc_no_link = xyes; then
19697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19699 if ac_fn_cxx_try_link "$LINENO"; then :
19700 ac_cv_search_clock_gettime=$ac_res
19702 rm -f core conftest.err conftest.$ac_objext \
19703 conftest$ac_exeext
19704 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19705 break
19707 done
19708 if test "${ac_cv_search_clock_gettime+set}" = set; then :
19710 else
19711 ac_cv_search_clock_gettime=no
19713 rm conftest.$ac_ext
19714 LIBS=$ac_func_search_save_LIBS
19716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
19717 $as_echo "$ac_cv_search_clock_gettime" >&6; }
19718 ac_res=$ac_cv_search_clock_gettime
19719 if test "$ac_res" != no; then :
19720 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
19725 $as_echo_n "checking for library containing nanosleep... " >&6; }
19726 if test "${ac_cv_search_nanosleep+set}" = set; then :
19727 $as_echo_n "(cached) " >&6
19728 else
19729 ac_func_search_save_LIBS=$LIBS
19730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19731 /* end confdefs.h. */
19733 /* Override any GCC internal prototype to avoid an error.
19734 Use char because int might match the return type of a GCC
19735 builtin and then its argument prototype would still apply. */
19736 #ifdef __cplusplus
19737 extern "C"
19738 #endif
19739 char nanosleep ();
19741 main ()
19743 return nanosleep ();
19745 return 0;
19747 _ACEOF
19748 for ac_lib in '' posix4; do
19749 if test -z "$ac_lib"; then
19750 ac_res="none required"
19751 else
19752 ac_res=-l$ac_lib
19753 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19755 if test x$gcc_no_link = xyes; then
19756 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19758 if ac_fn_cxx_try_link "$LINENO"; then :
19759 ac_cv_search_nanosleep=$ac_res
19761 rm -f core conftest.err conftest.$ac_objext \
19762 conftest$ac_exeext
19763 if test "${ac_cv_search_nanosleep+set}" = set; then :
19764 break
19766 done
19767 if test "${ac_cv_search_nanosleep+set}" = set; then :
19769 else
19770 ac_cv_search_nanosleep=no
19772 rm conftest.$ac_ext
19773 LIBS=$ac_func_search_save_LIBS
19775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
19776 $as_echo "$ac_cv_search_nanosleep" >&6; }
19777 ac_res=$ac_cv_search_nanosleep
19778 if test "$ac_res" != no; then :
19779 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19785 case "$ac_cv_search_clock_gettime" in
19786 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
19788 esac
19789 case "$ac_cv_search_nanosleep" in
19790 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
19792 esac
19794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
19795 $as_echo_n "checking for library containing sched_yield... " >&6; }
19796 if test "${ac_cv_search_sched_yield+set}" = set; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 ac_func_search_save_LIBS=$LIBS
19800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19801 /* end confdefs.h. */
19803 /* Override any GCC internal prototype to avoid an error.
19804 Use char because int might match the return type of a GCC
19805 builtin and then its argument prototype would still apply. */
19806 #ifdef __cplusplus
19807 extern "C"
19808 #endif
19809 char sched_yield ();
19811 main ()
19813 return sched_yield ();
19815 return 0;
19817 _ACEOF
19818 for ac_lib in '' rt posix4; do
19819 if test -z "$ac_lib"; then
19820 ac_res="none required"
19821 else
19822 ac_res=-l$ac_lib
19823 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19825 if test x$gcc_no_link = xyes; then
19826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19828 if ac_fn_cxx_try_link "$LINENO"; then :
19829 ac_cv_search_sched_yield=$ac_res
19831 rm -f core conftest.err conftest.$ac_objext \
19832 conftest$ac_exeext
19833 if test "${ac_cv_search_sched_yield+set}" = set; then :
19834 break
19836 done
19837 if test "${ac_cv_search_sched_yield+set}" = set; then :
19839 else
19840 ac_cv_search_sched_yield=no
19842 rm conftest.$ac_ext
19843 LIBS=$ac_func_search_save_LIBS
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
19846 $as_echo "$ac_cv_search_sched_yield" >&6; }
19847 ac_res=$ac_cv_search_sched_yield
19848 if test "$ac_res" != no; then :
19849 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19854 case "$ac_cv_search_sched_yield" in
19855 -lposix4*)
19856 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19857 ac_has_sched_yield=yes
19859 -lrt*)
19860 if test x"$enable_libstdcxx_time" = x"rt"; then
19861 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
19862 ac_has_sched_yield=yes
19866 ac_has_sched_yield=yes
19868 esac
19870 for ac_header in unistd.h
19871 do :
19872 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
19873 if test "x$ac_cv_header_unistd_h" = x""yes; then :
19874 cat >>confdefs.h <<_ACEOF
19875 #define HAVE_UNISTD_H 1
19876 _ACEOF
19877 ac_has_unistd_h=yes
19878 else
19879 ac_has_unistd_h=no
19882 done
19885 if test x"$ac_has_unistd_h" = x"yes"; then
19886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
19887 $as_echo_n "checking for monotonic clock... " >&6; }
19888 if test x$gcc_no_link = xyes; then
19889 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19892 /* end confdefs.h. */
19893 #include <unistd.h>
19894 #include <time.h>
19897 main ()
19899 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
19900 timespec tp;
19901 #endif
19902 clock_gettime(CLOCK_MONOTONIC, &tp);
19905 return 0;
19907 _ACEOF
19908 if ac_fn_cxx_try_link "$LINENO"; then :
19909 ac_has_clock_monotonic=yes
19910 else
19911 ac_has_clock_monotonic=no
19913 rm -f core conftest.err conftest.$ac_objext \
19914 conftest$ac_exeext conftest.$ac_ext
19916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
19917 $as_echo "$ac_has_clock_monotonic" >&6; }
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
19920 $as_echo_n "checking for realtime clock... " >&6; }
19921 if test x$gcc_no_link = xyes; then
19922 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19925 /* end confdefs.h. */
19926 #include <unistd.h>
19927 #include <time.h>
19930 main ()
19932 #if _POSIX_TIMERS > 0
19933 timespec tp;
19934 #endif
19935 clock_gettime(CLOCK_REALTIME, &tp);
19938 return 0;
19940 _ACEOF
19941 if ac_fn_cxx_try_link "$LINENO"; then :
19942 ac_has_clock_realtime=yes
19943 else
19944 ac_has_clock_realtime=no
19946 rm -f core conftest.err conftest.$ac_objext \
19947 conftest$ac_exeext conftest.$ac_ext
19949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
19950 $as_echo "$ac_has_clock_realtime" >&6; }
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
19953 $as_echo_n "checking for nanosleep... " >&6; }
19954 if test x$gcc_no_link = xyes; then
19955 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19958 /* end confdefs.h. */
19959 #include <unistd.h>
19960 #include <time.h>
19963 main ()
19965 #if _POSIX_TIMERS > 0
19966 timespec tp;
19967 #endif
19968 nanosleep(&tp, 0);
19971 return 0;
19973 _ACEOF
19974 if ac_fn_cxx_try_link "$LINENO"; then :
19975 ac_has_nanosleep=yes
19976 else
19977 ac_has_nanosleep=no
19979 rm -f core conftest.err conftest.$ac_objext \
19980 conftest$ac_exeext conftest.$ac_ext
19982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
19983 $as_echo "$ac_has_nanosleep" >&6; }
19987 if test x"$ac_has_clock_monotonic" != x"yes"; then
19988 case ${target_os} in
19989 linux*)
19990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
19991 $as_echo_n "checking for clock_gettime syscall... " >&6; }
19992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19993 /* end confdefs.h. */
19994 #include <unistd.h>
19995 #include <time.h>
19996 #include <sys/syscall.h>
19999 main ()
20001 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20002 timespec tp;
20003 #endif
20004 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20005 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20008 return 0;
20010 _ACEOF
20011 if ac_fn_cxx_try_compile "$LINENO"; then :
20012 ac_has_clock_monotonic_syscall=yes
20013 else
20014 ac_has_clock_monotonic_syscall=no
20016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20018 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20019 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20021 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20023 ac_has_clock_monotonic=yes
20024 ac_has_clock_realtime=yes
20025 fi;;
20026 esac
20029 if test x"$ac_has_clock_monotonic" = x"yes"; then
20031 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20035 if test x"$ac_has_clock_realtime" = x"yes"; then
20037 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20041 if test x"$ac_has_sched_yield" = x"yes"; then
20043 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20047 if test x"$ac_has_nanosleep" = x"yes"; then
20049 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20051 else
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20053 $as_echo_n "checking for sleep... " >&6; }
20054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20055 /* end confdefs.h. */
20056 #include <unistd.h>
20058 main ()
20060 sleep(1)
20062 return 0;
20064 _ACEOF
20065 if ac_fn_cxx_try_compile "$LINENO"; then :
20066 ac_has_sleep=yes
20067 else
20068 ac_has_sleep=no
20070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20071 if test x"$ac_has_sleep" = x"yes"; then
20073 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20077 $as_echo "$ac_has_sleep" >&6; }
20078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20079 $as_echo_n "checking for usleep... " >&6; }
20080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20081 /* end confdefs.h. */
20082 #include <unistd.h>
20084 main ()
20086 sleep(1);
20087 usleep(100);
20089 return 0;
20091 _ACEOF
20092 if ac_fn_cxx_try_compile "$LINENO"; then :
20093 ac_has_usleep=yes
20094 else
20095 ac_has_usleep=no
20097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20098 if test x"$ac_has_usleep" = x"yes"; then
20100 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20104 $as_echo "$ac_has_usleep" >&6; }
20107 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20109 $as_echo_n "checking for Sleep... " >&6; }
20110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20111 /* end confdefs.h. */
20112 #include <windows.h>
20114 main ()
20116 Sleep(1)
20118 return 0;
20120 _ACEOF
20121 if ac_fn_cxx_try_compile "$LINENO"; then :
20122 ac_has_win32_sleep=yes
20123 else
20124 ac_has_win32_sleep=no
20126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20127 if test x"$ac_has_win32_sleep" = x"yes"; then
20129 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
20132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
20133 $as_echo "$ac_has_win32_sleep" >&6; }
20138 CXXFLAGS="$ac_save_CXXFLAGS"
20139 LIBS="$ac_save_LIBS"
20140 ac_ext=c
20141 ac_cpp='$CPP $CPPFLAGS'
20142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20148 # Check for tmpnam which is obsolescent in POSIX.1-2008
20150 ac_ext=cpp
20151 ac_cpp='$CXXCPP $CPPFLAGS'
20152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20156 ac_save_CXXFLAGS="$CXXFLAGS"
20157 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
20159 $as_echo_n "checking for tmpnam... " >&6; }
20160 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
20161 $as_echo_n "(cached) " >&6
20162 else
20163 if test x$gcc_no_link = xyes; then
20164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20165 /* end confdefs.h. */
20166 #include <stdio.h>
20168 main ()
20170 char *tmp = tmpnam(NULL);
20172 return 0;
20174 _ACEOF
20175 if ac_fn_cxx_try_compile "$LINENO"; then :
20176 glibcxx_cv_TMPNAM=yes
20177 else
20178 glibcxx_cv_TMPNAM=no
20180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20181 else
20182 if test x$gcc_no_link = xyes; then
20183 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20186 /* end confdefs.h. */
20187 #include <stdio.h>
20189 main ()
20191 char *tmp = tmpnam(NULL);
20193 return 0;
20195 _ACEOF
20196 if ac_fn_cxx_try_link "$LINENO"; then :
20197 glibcxx_cv_TMPNAM=yes
20198 else
20199 glibcxx_cv_TMPNAM=no
20201 rm -f core conftest.err conftest.$ac_objext \
20202 conftest$ac_exeext conftest.$ac_ext
20207 if test $glibcxx_cv_TMPNAM = yes; then
20209 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
20213 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
20214 CXXFLAGS="$ac_save_CXXFLAGS"
20215 ac_ext=c
20216 ac_cpp='$CPP $CPPFLAGS'
20217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20224 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
20225 if test "x$ac_cv_header_locale_h" = x""yes; then :
20227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
20228 $as_echo_n "checking for LC_MESSAGES... " >&6; }
20229 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
20230 $as_echo_n "(cached) " >&6
20231 else
20232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20233 /* end confdefs.h. */
20234 #include <locale.h>
20236 main ()
20238 return LC_MESSAGES
20240 return 0;
20242 _ACEOF
20243 if ac_fn_c_try_compile "$LINENO"; then :
20244 ac_cv_val_LC_MESSAGES=yes
20245 else
20246 ac_cv_val_LC_MESSAGES=no
20248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
20251 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
20252 if test $ac_cv_val_LC_MESSAGES = yes; then
20254 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
20263 # For hardware_concurrency
20264 for ac_header in sys/sysinfo.h
20265 do :
20266 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
20267 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
20268 cat >>confdefs.h <<_ACEOF
20269 #define HAVE_SYS_SYSINFO_H 1
20270 _ACEOF
20274 done
20279 ac_ext=cpp
20280 ac_cpp='$CXXCPP $CPPFLAGS'
20281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20285 ac_save_CXXFLAGS="$CXXFLAGS"
20286 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
20289 $as_echo_n "checking for get_nprocs... " >&6; }
20290 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
20291 $as_echo_n "(cached) " >&6
20292 else
20294 if test x$gcc_no_link = xyes; then
20295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20296 /* end confdefs.h. */
20297 #include <sys/sysinfo.h>
20299 main ()
20301 int n = get_nprocs();
20303 return 0;
20305 _ACEOF
20306 if ac_fn_cxx_try_compile "$LINENO"; then :
20307 glibcxx_cv_GET_NPROCS=yes
20308 else
20309 glibcxx_cv_GET_NPROCS=no
20311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 else
20313 if test x$gcc_no_link = xyes; then
20314 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h. */
20318 #include <sys/sysinfo.h>
20320 main ()
20322 int n = get_nprocs();
20324 return 0;
20326 _ACEOF
20327 if ac_fn_cxx_try_link "$LINENO"; then :
20328 glibcxx_cv_GET_NPROCS=yes
20329 else
20330 glibcxx_cv_GET_NPROCS=no
20332 rm -f core conftest.err conftest.$ac_objext \
20333 conftest$ac_exeext conftest.$ac_ext
20338 if test $glibcxx_cv_GET_NPROCS = yes; then
20340 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
20343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
20344 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
20346 CXXFLAGS="$ac_save_CXXFLAGS"
20347 ac_ext=c
20348 ac_cpp='$CPP $CPPFLAGS'
20349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20354 for ac_header in unistd.h
20355 do :
20356 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20357 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20358 cat >>confdefs.h <<_ACEOF
20359 #define HAVE_UNISTD_H 1
20360 _ACEOF
20364 done
20369 ac_ext=cpp
20370 ac_cpp='$CXXCPP $CPPFLAGS'
20371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20375 ac_save_CXXFLAGS="$CXXFLAGS"
20376 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
20379 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
20380 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
20381 $as_echo_n "(cached) " >&6
20382 else
20384 if test x$gcc_no_link = xyes; then
20385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20386 /* end confdefs.h. */
20387 #include <unistd.h>
20389 main ()
20391 int n = sysconf(_SC_NPROCESSORS_ONLN);
20393 return 0;
20395 _ACEOF
20396 if ac_fn_cxx_try_compile "$LINENO"; then :
20397 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20398 else
20399 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20402 else
20403 if test x$gcc_no_link = xyes; then
20404 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20407 /* end confdefs.h. */
20408 #include <unistd.h>
20410 main ()
20412 int n = sysconf(_SC_NPROCESSORS_ONLN);
20414 return 0;
20416 _ACEOF
20417 if ac_fn_cxx_try_link "$LINENO"; then :
20418 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
20419 else
20420 glibcxx_cv_SC_NPROCESSORS_ONLN=no
20422 rm -f core conftest.err conftest.$ac_objext \
20423 conftest$ac_exeext conftest.$ac_ext
20428 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
20430 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
20433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
20434 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
20436 CXXFLAGS="$ac_save_CXXFLAGS"
20437 ac_ext=c
20438 ac_cpp='$CPP $CPPFLAGS'
20439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20447 ac_ext=cpp
20448 ac_cpp='$CXXCPP $CPPFLAGS'
20449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20453 ac_save_CXXFLAGS="$CXXFLAGS"
20454 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
20457 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
20458 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
20459 $as_echo_n "(cached) " >&6
20460 else
20462 if test x$gcc_no_link = xyes; then
20463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20464 /* end confdefs.h. */
20465 #include <unistd.h>
20467 main ()
20469 int n = sysconf(_SC_NPROC_ONLN);
20471 return 0;
20473 _ACEOF
20474 if ac_fn_cxx_try_compile "$LINENO"; then :
20475 glibcxx_cv_SC_NPROC_ONLN=yes
20476 else
20477 glibcxx_cv_SC_NPROC_ONLN=no
20479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20480 else
20481 if test x$gcc_no_link = xyes; then
20482 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20485 /* end confdefs.h. */
20486 #include <unistd.h>
20488 main ()
20490 int n = sysconf(_SC_NPROC_ONLN);
20492 return 0;
20494 _ACEOF
20495 if ac_fn_cxx_try_link "$LINENO"; then :
20496 glibcxx_cv_SC_NPROC_ONLN=yes
20497 else
20498 glibcxx_cv_SC_NPROC_ONLN=no
20500 rm -f core conftest.err conftest.$ac_objext \
20501 conftest$ac_exeext conftest.$ac_ext
20506 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
20508 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
20511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
20512 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
20514 CXXFLAGS="$ac_save_CXXFLAGS"
20515 ac_ext=c
20516 ac_cpp='$CPP $CPPFLAGS'
20517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20525 ac_ext=cpp
20526 ac_cpp='$CXXCPP $CPPFLAGS'
20527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20531 ac_save_CXXFLAGS="$CXXFLAGS"
20532 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
20535 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
20536 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
20537 $as_echo_n "(cached) " >&6
20538 else
20540 if test x$gcc_no_link = xyes; then
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20543 #include <pthread.h>
20545 main ()
20547 int n = pthread_num_processors_np();
20549 return 0;
20551 _ACEOF
20552 if ac_fn_cxx_try_compile "$LINENO"; then :
20553 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20554 else
20555 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20558 else
20559 if test x$gcc_no_link = xyes; then
20560 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20563 /* end confdefs.h. */
20564 #include <pthread.h>
20566 main ()
20568 int n = pthread_num_processors_np();
20570 return 0;
20572 _ACEOF
20573 if ac_fn_cxx_try_link "$LINENO"; then :
20574 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
20575 else
20576 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
20578 rm -f core conftest.err conftest.$ac_objext \
20579 conftest$ac_exeext conftest.$ac_ext
20584 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
20586 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
20590 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
20592 CXXFLAGS="$ac_save_CXXFLAGS"
20593 ac_ext=c
20594 ac_cpp='$CPP $CPPFLAGS'
20595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20603 ac_ext=cpp
20604 ac_cpp='$CXXCPP $CPPFLAGS'
20605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20609 ac_save_CXXFLAGS="$CXXFLAGS"
20610 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
20613 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
20614 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
20615 $as_echo_n "(cached) " >&6
20616 else
20618 if test x$gcc_no_link = xyes; then
20619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20620 /* end confdefs.h. */
20622 #include <stddef.h>
20623 #include <sys/sysctl.h>
20626 main ()
20629 int count;
20630 size_t size = sizeof(count);
20631 int mib[] = { CTL_HW, HW_NCPU };
20632 sysctl(mib, 2, &count, &size, NULL, 0);
20635 return 0;
20637 _ACEOF
20638 if ac_fn_cxx_try_compile "$LINENO"; then :
20639 glibcxx_cv_SYSCTL_HW_NCPU=yes
20640 else
20641 glibcxx_cv_SYSCTL_HW_NCPU=no
20643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20644 else
20645 if test x$gcc_no_link = xyes; then
20646 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20649 /* end confdefs.h. */
20651 #include <stddef.h>
20652 #include <sys/sysctl.h>
20655 main ()
20658 int count;
20659 size_t size = sizeof(count);
20660 int mib[] = { CTL_HW, HW_NCPU };
20661 sysctl(mib, 2, &count, &size, NULL, 0);
20664 return 0;
20666 _ACEOF
20667 if ac_fn_cxx_try_link "$LINENO"; then :
20668 glibcxx_cv_SYSCTL_HW_NCPU=yes
20669 else
20670 glibcxx_cv_SYSCTL_HW_NCPU=no
20672 rm -f core conftest.err conftest.$ac_objext \
20673 conftest$ac_exeext conftest.$ac_ext
20678 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
20680 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
20683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
20684 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
20686 CXXFLAGS="$ac_save_CXXFLAGS"
20687 ac_ext=c
20688 ac_cpp='$CPP $CPPFLAGS'
20689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
20696 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
20697 # Note that this test has to be run with the C language.
20698 # Otherwise, sdt.h will try to include some headers from
20699 # libstdc++ itself.
20701 ac_ext=c
20702 ac_cpp='$CPP $CPPFLAGS'
20703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20707 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
20708 $as_echo_n "(cached) " >&6
20709 else
20711 # Because we have to run the test in C, we use grep rather
20712 # than the compiler to check for the bug. The bug is that
20713 # were strings without trailing whitespace, causing g++
20714 # to look for operator"". The pattern searches for the fixed
20715 # output.
20716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20717 /* end confdefs.h. */
20719 #include <sys/sdt.h>
20720 int f() { STAP_PROBE(hi, bob); }
20722 _ACEOF
20723 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20724 $EGREP " \",\" " >/dev/null 2>&1; then :
20725 glibcxx_cv_sys_sdt_h=yes
20726 else
20727 glibcxx_cv_sys_sdt_h=no
20729 rm -f conftest*
20734 ac_ext=c
20735 ac_cpp='$CPP $CPPFLAGS'
20736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20740 if test $glibcxx_cv_sys_sdt_h = yes; then
20742 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
20745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
20746 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
20749 # Check for available headers.
20750 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
20751 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
20752 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
20753 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
20754 wchar.h wctype.h
20755 do :
20756 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20757 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20758 eval as_val=\$$as_ac_Header
20759 if test "x$as_val" = x""yes; then :
20760 cat >>confdefs.h <<_ACEOF
20761 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20762 _ACEOF
20766 done
20769 # Only do link tests if native. Else, hardcode.
20770 if $GLIBCXX_IS_NATIVE; then
20772 # We can do more elaborate tests that assume a working linker.
20773 CANADIAN=no
20777 # Check whether --with-gnu-ld was given.
20778 if test "${with_gnu_ld+set}" = set; then :
20779 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
20780 else
20781 with_gnu_ld=no
20784 ac_prog=ld
20785 if test "$GCC" = yes; then
20786 # Check if gcc -print-prog-name=ld gives a path.
20787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
20788 $as_echo_n "checking for ld used by $CC... " >&6; }
20789 case $host in
20790 *-*-mingw*)
20791 # gcc leaves a trailing carriage return which upsets mingw
20792 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
20794 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
20795 esac
20796 case $ac_prog in
20797 # Accept absolute paths.
20798 [\\/]* | ?:[\\/]*)
20799 re_direlt='/[^/][^/]*/\.\./'
20800 # Canonicalize the pathname of ld
20801 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
20802 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
20803 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
20804 done
20805 test -z "$LD" && LD="$ac_prog"
20808 # If it fails, then pretend we aren't using GCC.
20809 ac_prog=ld
20812 # If it is relative, then search for the first ld in PATH.
20813 with_gnu_ld=unknown
20815 esac
20816 elif test "$with_gnu_ld" = yes; then
20817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
20818 $as_echo_n "checking for GNU ld... " >&6; }
20819 else
20820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
20821 $as_echo_n "checking for non-GNU ld... " >&6; }
20823 if test "${lt_cv_path_LD+set}" = set; then :
20824 $as_echo_n "(cached) " >&6
20825 else
20826 if test -z "$LD"; then
20827 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
20828 for ac_dir in $PATH; do
20829 IFS="$lt_save_ifs"
20830 test -z "$ac_dir" && ac_dir=.
20831 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
20832 lt_cv_path_LD="$ac_dir/$ac_prog"
20833 # Check to see if the program is GNU ld. I'd rather use --version,
20834 # but apparently some variants of GNU ld only accept -v.
20835 # Break only if it was the GNU/non-GNU ld that we prefer.
20836 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
20837 *GNU* | *'with BFD'*)
20838 test "$with_gnu_ld" != no && break
20841 test "$with_gnu_ld" != yes && break
20843 esac
20845 done
20846 IFS="$lt_save_ifs"
20847 else
20848 lt_cv_path_LD="$LD" # Let the user override the test with a path.
20852 LD="$lt_cv_path_LD"
20853 if test -n "$LD"; then
20854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
20855 $as_echo "$LD" >&6; }
20856 else
20857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20858 $as_echo "no" >&6; }
20860 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
20862 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
20863 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
20864 $as_echo_n "(cached) " >&6
20865 else
20866 # I'd rather use --version here, but apparently some GNU lds only accept -v.
20867 case `$LD -v 2>&1 </dev/null` in
20868 *GNU* | *'with BFD'*)
20869 lt_cv_prog_gnu_ld=yes
20872 lt_cv_prog_gnu_ld=no
20874 esac
20876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
20877 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
20878 with_gnu_ld=$lt_cv_prog_gnu_ld
20886 # If we're not using GNU ld, then there's no point in even trying these
20887 # tests. Check for that first. We should have already tested for gld
20888 # by now (in libtool), but require it now just to be safe...
20889 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
20890 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
20894 # The name set by libtool depends on the version of libtool. Shame on us
20895 # for depending on an impl detail, but c'est la vie. Older versions used
20896 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
20897 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
20898 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
20899 # set (hence we're using an older libtool), then set it.
20900 if test x${with_gnu_ld+set} != xset; then
20901 if test x${ac_cv_prog_gnu_ld+set} != xset; then
20902 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
20903 with_gnu_ld=no
20904 else
20905 with_gnu_ld=$ac_cv_prog_gnu_ld
20909 # Start by getting the version number. I think the libtool test already
20910 # does some of this, but throws away the result.
20911 glibcxx_ld_is_gold=no
20912 if test x"$with_gnu_ld" = x"yes"; then
20913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
20914 $as_echo_n "checking for ld version... " >&6; }
20916 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
20917 glibcxx_ld_is_gold=yes
20919 ldver=`$LD --version 2>/dev/null |
20920 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'`
20922 glibcxx_gnu_ld_version=`echo $ldver | \
20923 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
20925 $as_echo "$glibcxx_gnu_ld_version" >&6; }
20928 # Set --gc-sections.
20929 glibcxx_have_gc_sections=no
20930 if test "$glibcxx_ld_is_gold" = "yes"; then
20931 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
20932 glibcxx_have_gc_sections=yes
20934 else
20935 glibcxx_gcsections_min_ld=21602
20936 if test x"$with_gnu_ld" = x"yes" &&
20937 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
20938 glibcxx_have_gc_sections=yes
20941 if test "$glibcxx_have_gc_sections" = "yes"; then
20942 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
20943 # NB: This flag only works reliably after 2.16.1. Configure tests
20944 # for this are difficult, so hard wire a value that should work.
20946 ac_test_CFLAGS="${CFLAGS+set}"
20947 ac_save_CFLAGS="$CFLAGS"
20948 CFLAGS='-Wl,--gc-sections'
20950 # Check for -Wl,--gc-sections
20951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
20952 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
20953 if test x$gcc_no_link = xyes; then
20954 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h. */
20958 int one(void) { return 1; }
20959 int two(void) { return 2; }
20962 main ()
20964 two();
20966 return 0;
20968 _ACEOF
20969 if ac_fn_c_try_link "$LINENO"; then :
20970 ac_gcsections=yes
20971 else
20972 ac_gcsections=no
20974 rm -f core conftest.err conftest.$ac_objext \
20975 conftest$ac_exeext conftest.$ac_ext
20976 if test "$ac_gcsections" = "yes"; then
20977 rm -f conftest.c
20978 touch conftest.c
20979 if $CC -c conftest.c; then
20980 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
20981 grep "Warning: gc-sections option ignored" > /dev/null; then
20982 ac_gcsections=no
20985 rm -f conftest.c conftest.o conftest
20987 if test "$ac_gcsections" = "yes"; then
20988 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
20990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
20991 $as_echo "$ac_gcsections" >&6; }
20993 if test "$ac_test_CFLAGS" = set; then
20994 CFLAGS="$ac_save_CFLAGS"
20995 else
20996 # this is the suspicious part
20997 CFLAGS=''
21001 # Set -z,relro.
21002 # Note this is only for shared objects.
21003 ac_ld_relro=no
21004 if test x"$with_gnu_ld" = x"yes"; then
21005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21006 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21007 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21008 if test -n "$cxx_z_relo"; then
21009 OPT_LDFLAGS="-Wl,-z,relro"
21010 ac_ld_relro=yes
21012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21013 $as_echo "$ac_ld_relro" >&6; }
21016 # Set linker optimization flags.
21017 if test x"$with_gnu_ld" = x"yes"; then
21018 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21025 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21026 ac_save_CXXFLAGS="$CXXFLAGS"
21027 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21030 $as_echo_n "checking for sin in -lm... " >&6; }
21031 if test "${ac_cv_lib_m_sin+set}" = set; then :
21032 $as_echo_n "(cached) " >&6
21033 else
21034 ac_check_lib_save_LIBS=$LIBS
21035 LIBS="-lm $LIBS"
21036 if test x$gcc_no_link = xyes; then
21037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21040 /* end confdefs.h. */
21042 /* Override any GCC internal prototype to avoid an error.
21043 Use char because int might match the return type of a GCC
21044 builtin and then its argument prototype would still apply. */
21045 #ifdef __cplusplus
21046 extern "C"
21047 #endif
21048 char sin ();
21050 main ()
21052 return sin ();
21054 return 0;
21056 _ACEOF
21057 if ac_fn_c_try_link "$LINENO"; then :
21058 ac_cv_lib_m_sin=yes
21059 else
21060 ac_cv_lib_m_sin=no
21062 rm -f core conftest.err conftest.$ac_objext \
21063 conftest$ac_exeext conftest.$ac_ext
21064 LIBS=$ac_check_lib_save_LIBS
21066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21067 $as_echo "$ac_cv_lib_m_sin" >&6; }
21068 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21069 libm="-lm"
21072 ac_save_LIBS="$LIBS"
21073 LIBS="$LIBS $libm"
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
21078 $as_echo_n "checking for isinf declaration... " >&6; }
21079 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
21080 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
21081 $as_echo_n "(cached) " >&6
21082 else
21085 ac_ext=cpp
21086 ac_cpp='$CXXCPP $CPPFLAGS'
21087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21093 #include <math.h>
21094 #ifdef HAVE_IEEEFP_H
21095 #include <ieeefp.h>
21096 #endif
21099 main ()
21101 isinf(0);
21103 return 0;
21105 _ACEOF
21106 if ac_fn_cxx_try_compile "$LINENO"; then :
21107 glibcxx_cv_func_isinf_use=yes
21108 else
21109 glibcxx_cv_func_isinf_use=no
21111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21112 ac_ext=c
21113 ac_cpp='$CPP $CPPFLAGS'
21114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
21123 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
21125 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
21126 for ac_func in isinf
21127 do :
21128 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
21129 if test "x$ac_cv_func_isinf" = x""yes; then :
21130 cat >>confdefs.h <<_ACEOF
21131 #define HAVE_ISINF 1
21132 _ACEOF
21135 done
21137 else
21139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
21140 $as_echo_n "checking for _isinf declaration... " >&6; }
21141 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
21142 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
21143 $as_echo_n "(cached) " >&6
21144 else
21147 ac_ext=cpp
21148 ac_cpp='$CXXCPP $CPPFLAGS'
21149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21154 /* end confdefs.h. */
21155 #include <math.h>
21156 #ifdef HAVE_IEEEFP_H
21157 #include <ieeefp.h>
21158 #endif
21161 main ()
21163 _isinf(0);
21165 return 0;
21167 _ACEOF
21168 if ac_fn_cxx_try_compile "$LINENO"; then :
21169 glibcxx_cv_func__isinf_use=yes
21170 else
21171 glibcxx_cv_func__isinf_use=no
21173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21174 ac_ext=c
21175 ac_cpp='$CPP $CPPFLAGS'
21176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
21185 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
21187 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
21188 for ac_func in _isinf
21189 do :
21190 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
21191 if test "x$ac_cv_func__isinf" = x""yes; then :
21192 cat >>confdefs.h <<_ACEOF
21193 #define HAVE__ISINF 1
21194 _ACEOF
21197 done
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
21207 $as_echo_n "checking for isnan declaration... " >&6; }
21208 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
21209 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
21210 $as_echo_n "(cached) " >&6
21211 else
21214 ac_ext=cpp
21215 ac_cpp='$CXXCPP $CPPFLAGS'
21216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21221 /* end confdefs.h. */
21222 #include <math.h>
21223 #ifdef HAVE_IEEEFP_H
21224 #include <ieeefp.h>
21225 #endif
21228 main ()
21230 isnan(0);
21232 return 0;
21234 _ACEOF
21235 if ac_fn_cxx_try_compile "$LINENO"; then :
21236 glibcxx_cv_func_isnan_use=yes
21237 else
21238 glibcxx_cv_func_isnan_use=no
21240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21241 ac_ext=c
21242 ac_cpp='$CPP $CPPFLAGS'
21243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
21252 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
21254 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
21255 for ac_func in isnan
21256 do :
21257 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
21258 if test "x$ac_cv_func_isnan" = x""yes; then :
21259 cat >>confdefs.h <<_ACEOF
21260 #define HAVE_ISNAN 1
21261 _ACEOF
21264 done
21266 else
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
21269 $as_echo_n "checking for _isnan declaration... " >&6; }
21270 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
21271 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
21272 $as_echo_n "(cached) " >&6
21273 else
21276 ac_ext=cpp
21277 ac_cpp='$CXXCPP $CPPFLAGS'
21278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21283 /* end confdefs.h. */
21284 #include <math.h>
21285 #ifdef HAVE_IEEEFP_H
21286 #include <ieeefp.h>
21287 #endif
21290 main ()
21292 _isnan(0);
21294 return 0;
21296 _ACEOF
21297 if ac_fn_cxx_try_compile "$LINENO"; then :
21298 glibcxx_cv_func__isnan_use=yes
21299 else
21300 glibcxx_cv_func__isnan_use=no
21302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21303 ac_ext=c
21304 ac_cpp='$CPP $CPPFLAGS'
21305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
21314 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
21316 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
21317 for ac_func in _isnan
21318 do :
21319 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
21320 if test "x$ac_cv_func__isnan" = x""yes; then :
21321 cat >>confdefs.h <<_ACEOF
21322 #define HAVE__ISNAN 1
21323 _ACEOF
21326 done
21335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
21336 $as_echo_n "checking for finite declaration... " >&6; }
21337 if test x${glibcxx_cv_func_finite_use+set} != xset; then
21338 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
21339 $as_echo_n "(cached) " >&6
21340 else
21343 ac_ext=cpp
21344 ac_cpp='$CXXCPP $CPPFLAGS'
21345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21350 /* end confdefs.h. */
21351 #include <math.h>
21352 #ifdef HAVE_IEEEFP_H
21353 #include <ieeefp.h>
21354 #endif
21357 main ()
21359 finite(0);
21361 return 0;
21363 _ACEOF
21364 if ac_fn_cxx_try_compile "$LINENO"; then :
21365 glibcxx_cv_func_finite_use=yes
21366 else
21367 glibcxx_cv_func_finite_use=no
21369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21370 ac_ext=c
21371 ac_cpp='$CPP $CPPFLAGS'
21372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
21381 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
21383 if test x$glibcxx_cv_func_finite_use = x"yes"; then
21384 for ac_func in finite
21385 do :
21386 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
21387 if test "x$ac_cv_func_finite" = x""yes; then :
21388 cat >>confdefs.h <<_ACEOF
21389 #define HAVE_FINITE 1
21390 _ACEOF
21393 done
21395 else
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
21398 $as_echo_n "checking for _finite declaration... " >&6; }
21399 if test x${glibcxx_cv_func__finite_use+set} != xset; then
21400 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
21401 $as_echo_n "(cached) " >&6
21402 else
21405 ac_ext=cpp
21406 ac_cpp='$CXXCPP $CPPFLAGS'
21407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21412 /* end confdefs.h. */
21413 #include <math.h>
21414 #ifdef HAVE_IEEEFP_H
21415 #include <ieeefp.h>
21416 #endif
21419 main ()
21421 _finite(0);
21423 return 0;
21425 _ACEOF
21426 if ac_fn_cxx_try_compile "$LINENO"; then :
21427 glibcxx_cv_func__finite_use=yes
21428 else
21429 glibcxx_cv_func__finite_use=no
21431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21432 ac_ext=c
21433 ac_cpp='$CPP $CPPFLAGS'
21434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
21443 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
21445 if test x$glibcxx_cv_func__finite_use = x"yes"; then
21446 for ac_func in _finite
21447 do :
21448 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
21449 if test "x$ac_cv_func__finite" = x""yes; then :
21450 cat >>confdefs.h <<_ACEOF
21451 #define HAVE__FINITE 1
21452 _ACEOF
21455 done
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
21465 $as_echo_n "checking for sincos declaration... " >&6; }
21466 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
21467 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
21468 $as_echo_n "(cached) " >&6
21469 else
21472 ac_ext=cpp
21473 ac_cpp='$CXXCPP $CPPFLAGS'
21474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21479 /* end confdefs.h. */
21480 #include <math.h>
21482 main ()
21484 sincos(0, 0, 0);
21486 return 0;
21488 _ACEOF
21489 if ac_fn_cxx_try_compile "$LINENO"; then :
21490 glibcxx_cv_func_sincos_use=yes
21491 else
21492 glibcxx_cv_func_sincos_use=no
21494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21495 ac_ext=c
21496 ac_cpp='$CPP $CPPFLAGS'
21497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
21506 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
21508 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
21509 for ac_func in sincos
21510 do :
21511 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
21512 if test "x$ac_cv_func_sincos" = x""yes; then :
21513 cat >>confdefs.h <<_ACEOF
21514 #define HAVE_SINCOS 1
21515 _ACEOF
21518 done
21520 else
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
21523 $as_echo_n "checking for _sincos declaration... " >&6; }
21524 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
21525 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
21526 $as_echo_n "(cached) " >&6
21527 else
21530 ac_ext=cpp
21531 ac_cpp='$CXXCPP $CPPFLAGS'
21532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21537 /* end confdefs.h. */
21538 #include <math.h>
21540 main ()
21542 _sincos(0, 0, 0);
21544 return 0;
21546 _ACEOF
21547 if ac_fn_cxx_try_compile "$LINENO"; then :
21548 glibcxx_cv_func__sincos_use=yes
21549 else
21550 glibcxx_cv_func__sincos_use=no
21552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21553 ac_ext=c
21554 ac_cpp='$CPP $CPPFLAGS'
21555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
21564 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
21566 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
21567 for ac_func in _sincos
21568 do :
21569 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
21570 if test "x$ac_cv_func__sincos" = x""yes; then :
21571 cat >>confdefs.h <<_ACEOF
21572 #define HAVE__SINCOS 1
21573 _ACEOF
21576 done
21585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
21586 $as_echo_n "checking for fpclass declaration... " >&6; }
21587 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
21588 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
21589 $as_echo_n "(cached) " >&6
21590 else
21593 ac_ext=cpp
21594 ac_cpp='$CXXCPP $CPPFLAGS'
21595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21600 /* end confdefs.h. */
21601 #include <math.h>
21602 #ifdef HAVE_IEEEFP_H
21603 #include <ieeefp.h>
21604 #endif
21607 main ()
21609 fpclass(0);
21611 return 0;
21613 _ACEOF
21614 if ac_fn_cxx_try_compile "$LINENO"; then :
21615 glibcxx_cv_func_fpclass_use=yes
21616 else
21617 glibcxx_cv_func_fpclass_use=no
21619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21620 ac_ext=c
21621 ac_cpp='$CPP $CPPFLAGS'
21622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
21631 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
21633 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
21634 for ac_func in fpclass
21635 do :
21636 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
21637 if test "x$ac_cv_func_fpclass" = x""yes; then :
21638 cat >>confdefs.h <<_ACEOF
21639 #define HAVE_FPCLASS 1
21640 _ACEOF
21643 done
21645 else
21647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
21648 $as_echo_n "checking for _fpclass declaration... " >&6; }
21649 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
21650 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
21651 $as_echo_n "(cached) " >&6
21652 else
21655 ac_ext=cpp
21656 ac_cpp='$CXXCPP $CPPFLAGS'
21657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21662 /* end confdefs.h. */
21663 #include <math.h>
21664 #ifdef HAVE_IEEEFP_H
21665 #include <ieeefp.h>
21666 #endif
21669 main ()
21671 _fpclass(0);
21673 return 0;
21675 _ACEOF
21676 if ac_fn_cxx_try_compile "$LINENO"; then :
21677 glibcxx_cv_func__fpclass_use=yes
21678 else
21679 glibcxx_cv_func__fpclass_use=no
21681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21682 ac_ext=c
21683 ac_cpp='$CPP $CPPFLAGS'
21684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
21693 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
21695 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
21696 for ac_func in _fpclass
21697 do :
21698 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
21699 if test "x$ac_cv_func__fpclass" = x""yes; then :
21700 cat >>confdefs.h <<_ACEOF
21701 #define HAVE__FPCLASS 1
21702 _ACEOF
21705 done
21714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
21715 $as_echo_n "checking for qfpclass declaration... " >&6; }
21716 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
21717 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
21718 $as_echo_n "(cached) " >&6
21719 else
21722 ac_ext=cpp
21723 ac_cpp='$CXXCPP $CPPFLAGS'
21724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21729 /* end confdefs.h. */
21730 #include <math.h>
21731 #ifdef HAVE_IEEEFP_H
21732 #include <ieeefp.h>
21733 #endif
21736 main ()
21738 qfpclass(0);
21740 return 0;
21742 _ACEOF
21743 if ac_fn_cxx_try_compile "$LINENO"; then :
21744 glibcxx_cv_func_qfpclass_use=yes
21745 else
21746 glibcxx_cv_func_qfpclass_use=no
21748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21749 ac_ext=c
21750 ac_cpp='$CPP $CPPFLAGS'
21751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
21760 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
21762 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
21763 for ac_func in qfpclass
21764 do :
21765 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
21766 if test "x$ac_cv_func_qfpclass" = x""yes; then :
21767 cat >>confdefs.h <<_ACEOF
21768 #define HAVE_QFPCLASS 1
21769 _ACEOF
21772 done
21774 else
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
21777 $as_echo_n "checking for _qfpclass declaration... " >&6; }
21778 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
21779 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
21780 $as_echo_n "(cached) " >&6
21781 else
21784 ac_ext=cpp
21785 ac_cpp='$CXXCPP $CPPFLAGS'
21786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21791 /* end confdefs.h. */
21792 #include <math.h>
21793 #ifdef HAVE_IEEEFP_H
21794 #include <ieeefp.h>
21795 #endif
21798 main ()
21800 _qfpclass(0);
21802 return 0;
21804 _ACEOF
21805 if ac_fn_cxx_try_compile "$LINENO"; then :
21806 glibcxx_cv_func__qfpclass_use=yes
21807 else
21808 glibcxx_cv_func__qfpclass_use=no
21810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21811 ac_ext=c
21812 ac_cpp='$CPP $CPPFLAGS'
21813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
21822 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
21824 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
21825 for ac_func in _qfpclass
21826 do :
21827 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
21828 if test "x$ac_cv_func__qfpclass" = x""yes; then :
21829 cat >>confdefs.h <<_ACEOF
21830 #define HAVE__QFPCLASS 1
21831 _ACEOF
21834 done
21843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
21844 $as_echo_n "checking for hypot declaration... " >&6; }
21845 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
21846 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
21847 $as_echo_n "(cached) " >&6
21848 else
21851 ac_ext=cpp
21852 ac_cpp='$CXXCPP $CPPFLAGS'
21853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21858 /* end confdefs.h. */
21859 #include <math.h>
21861 main ()
21863 hypot(0, 0);
21865 return 0;
21867 _ACEOF
21868 if ac_fn_cxx_try_compile "$LINENO"; then :
21869 glibcxx_cv_func_hypot_use=yes
21870 else
21871 glibcxx_cv_func_hypot_use=no
21873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21874 ac_ext=c
21875 ac_cpp='$CPP $CPPFLAGS'
21876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
21885 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
21887 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
21888 for ac_func in hypot
21889 do :
21890 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
21891 if test "x$ac_cv_func_hypot" = x""yes; then :
21892 cat >>confdefs.h <<_ACEOF
21893 #define HAVE_HYPOT 1
21894 _ACEOF
21897 done
21899 else
21901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
21902 $as_echo_n "checking for _hypot declaration... " >&6; }
21903 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
21904 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
21905 $as_echo_n "(cached) " >&6
21906 else
21909 ac_ext=cpp
21910 ac_cpp='$CXXCPP $CPPFLAGS'
21911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21916 /* end confdefs.h. */
21917 #include <math.h>
21919 main ()
21921 _hypot(0, 0);
21923 return 0;
21925 _ACEOF
21926 if ac_fn_cxx_try_compile "$LINENO"; then :
21927 glibcxx_cv_func__hypot_use=yes
21928 else
21929 glibcxx_cv_func__hypot_use=no
21931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21932 ac_ext=c
21933 ac_cpp='$CPP $CPPFLAGS'
21934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
21943 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
21945 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
21946 for ac_func in _hypot
21947 do :
21948 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
21949 if test "x$ac_cv_func__hypot" = x""yes; then :
21950 cat >>confdefs.h <<_ACEOF
21951 #define HAVE__HYPOT 1
21952 _ACEOF
21955 done
21964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
21965 $as_echo_n "checking for float trig functions... " >&6; }
21966 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
21967 $as_echo_n "(cached) " >&6
21968 else
21971 ac_ext=cpp
21972 ac_cpp='$CXXCPP $CPPFLAGS'
21973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21978 /* end confdefs.h. */
21979 #include <math.h>
21981 main ()
21983 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
21985 return 0;
21987 _ACEOF
21988 if ac_fn_cxx_try_compile "$LINENO"; then :
21989 glibcxx_cv_func_float_trig_use=yes
21990 else
21991 glibcxx_cv_func_float_trig_use=no
21993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21994 ac_ext=c
21995 ac_cpp='$CPP $CPPFLAGS'
21996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22003 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22004 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22005 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22006 do :
22007 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22008 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22009 eval as_val=\$$as_ac_var
22010 if test "x$as_val" = x""yes; then :
22011 cat >>confdefs.h <<_ACEOF
22012 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22013 _ACEOF
22016 done
22018 else
22019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22020 $as_echo_n "checking for _float trig functions... " >&6; }
22021 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22022 $as_echo_n "(cached) " >&6
22023 else
22026 ac_ext=cpp
22027 ac_cpp='$CXXCPP $CPPFLAGS'
22028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22033 /* end confdefs.h. */
22034 #include <math.h>
22036 main ()
22038 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22040 return 0;
22042 _ACEOF
22043 if ac_fn_cxx_try_compile "$LINENO"; then :
22044 glibcxx_cv_func__float_trig_use=yes
22045 else
22046 glibcxx_cv_func__float_trig_use=no
22048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22049 ac_ext=c
22050 ac_cpp='$CPP $CPPFLAGS'
22051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22058 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22059 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22060 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22061 do :
22062 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22063 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22064 eval as_val=\$$as_ac_var
22065 if test "x$as_val" = x""yes; then :
22066 cat >>confdefs.h <<_ACEOF
22067 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22068 _ACEOF
22071 done
22080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
22081 $as_echo_n "checking for float round functions... " >&6; }
22082 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
22083 $as_echo_n "(cached) " >&6
22084 else
22087 ac_ext=cpp
22088 ac_cpp='$CXXCPP $CPPFLAGS'
22089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22094 /* end confdefs.h. */
22095 #include <math.h>
22097 main ()
22099 ceilf (0); floorf (0);
22101 return 0;
22103 _ACEOF
22104 if ac_fn_cxx_try_compile "$LINENO"; then :
22105 glibcxx_cv_func_float_round_use=yes
22106 else
22107 glibcxx_cv_func_float_round_use=no
22109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22110 ac_ext=c
22111 ac_cpp='$CPP $CPPFLAGS'
22112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
22119 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
22120 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
22121 for ac_func in ceilf floorf
22122 do :
22123 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22124 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22125 eval as_val=\$$as_ac_var
22126 if test "x$as_val" = x""yes; then :
22127 cat >>confdefs.h <<_ACEOF
22128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22129 _ACEOF
22132 done
22134 else
22135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
22136 $as_echo_n "checking for _float round functions... " >&6; }
22137 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
22138 $as_echo_n "(cached) " >&6
22139 else
22142 ac_ext=cpp
22143 ac_cpp='$CXXCPP $CPPFLAGS'
22144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22149 /* end confdefs.h. */
22150 #include <math.h>
22152 main ()
22154 _ceilf (0); _floorf (0);
22156 return 0;
22158 _ACEOF
22159 if ac_fn_cxx_try_compile "$LINENO"; then :
22160 glibcxx_cv_func__float_round_use=yes
22161 else
22162 glibcxx_cv_func__float_round_use=no
22164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22165 ac_ext=c
22166 ac_cpp='$CPP $CPPFLAGS'
22167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
22174 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
22175 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
22176 for ac_func in _ceilf _floorf
22177 do :
22178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22180 eval as_val=\$$as_ac_var
22181 if test "x$as_val" = x""yes; then :
22182 cat >>confdefs.h <<_ACEOF
22183 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22184 _ACEOF
22187 done
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
22198 $as_echo_n "checking for expf declaration... " >&6; }
22199 if test x${glibcxx_cv_func_expf_use+set} != xset; then
22200 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
22201 $as_echo_n "(cached) " >&6
22202 else
22205 ac_ext=cpp
22206 ac_cpp='$CXXCPP $CPPFLAGS'
22207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22212 /* end confdefs.h. */
22213 #include <math.h>
22214 #ifdef HAVE_IEEEFP_H
22215 #include <ieeefp.h>
22216 #endif
22219 main ()
22221 expf(0);
22223 return 0;
22225 _ACEOF
22226 if ac_fn_cxx_try_compile "$LINENO"; then :
22227 glibcxx_cv_func_expf_use=yes
22228 else
22229 glibcxx_cv_func_expf_use=no
22231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22232 ac_ext=c
22233 ac_cpp='$CPP $CPPFLAGS'
22234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
22243 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
22245 if test x$glibcxx_cv_func_expf_use = x"yes"; then
22246 for ac_func in expf
22247 do :
22248 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
22249 if test "x$ac_cv_func_expf" = x""yes; then :
22250 cat >>confdefs.h <<_ACEOF
22251 #define HAVE_EXPF 1
22252 _ACEOF
22255 done
22257 else
22259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
22260 $as_echo_n "checking for _expf declaration... " >&6; }
22261 if test x${glibcxx_cv_func__expf_use+set} != xset; then
22262 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
22263 $as_echo_n "(cached) " >&6
22264 else
22267 ac_ext=cpp
22268 ac_cpp='$CXXCPP $CPPFLAGS'
22269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22274 /* end confdefs.h. */
22275 #include <math.h>
22276 #ifdef HAVE_IEEEFP_H
22277 #include <ieeefp.h>
22278 #endif
22281 main ()
22283 _expf(0);
22285 return 0;
22287 _ACEOF
22288 if ac_fn_cxx_try_compile "$LINENO"; then :
22289 glibcxx_cv_func__expf_use=yes
22290 else
22291 glibcxx_cv_func__expf_use=no
22293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22294 ac_ext=c
22295 ac_cpp='$CPP $CPPFLAGS'
22296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
22305 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
22307 if test x$glibcxx_cv_func__expf_use = x"yes"; then
22308 for ac_func in _expf
22309 do :
22310 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
22311 if test "x$ac_cv_func__expf" = x""yes; then :
22312 cat >>confdefs.h <<_ACEOF
22313 #define HAVE__EXPF 1
22314 _ACEOF
22317 done
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
22327 $as_echo_n "checking for isnanf declaration... " >&6; }
22328 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
22329 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
22330 $as_echo_n "(cached) " >&6
22331 else
22334 ac_ext=cpp
22335 ac_cpp='$CXXCPP $CPPFLAGS'
22336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22341 /* end confdefs.h. */
22342 #include <math.h>
22343 #ifdef HAVE_IEEEFP_H
22344 #include <ieeefp.h>
22345 #endif
22348 main ()
22350 isnanf(0);
22352 return 0;
22354 _ACEOF
22355 if ac_fn_cxx_try_compile "$LINENO"; then :
22356 glibcxx_cv_func_isnanf_use=yes
22357 else
22358 glibcxx_cv_func_isnanf_use=no
22360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22361 ac_ext=c
22362 ac_cpp='$CPP $CPPFLAGS'
22363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
22372 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
22374 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
22375 for ac_func in isnanf
22376 do :
22377 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
22378 if test "x$ac_cv_func_isnanf" = x""yes; then :
22379 cat >>confdefs.h <<_ACEOF
22380 #define HAVE_ISNANF 1
22381 _ACEOF
22384 done
22386 else
22388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
22389 $as_echo_n "checking for _isnanf declaration... " >&6; }
22390 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
22391 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
22392 $as_echo_n "(cached) " >&6
22393 else
22396 ac_ext=cpp
22397 ac_cpp='$CXXCPP $CPPFLAGS'
22398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22403 /* end confdefs.h. */
22404 #include <math.h>
22405 #ifdef HAVE_IEEEFP_H
22406 #include <ieeefp.h>
22407 #endif
22410 main ()
22412 _isnanf(0);
22414 return 0;
22416 _ACEOF
22417 if ac_fn_cxx_try_compile "$LINENO"; then :
22418 glibcxx_cv_func__isnanf_use=yes
22419 else
22420 glibcxx_cv_func__isnanf_use=no
22422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22423 ac_ext=c
22424 ac_cpp='$CPP $CPPFLAGS'
22425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
22434 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
22436 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
22437 for ac_func in _isnanf
22438 do :
22439 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
22440 if test "x$ac_cv_func__isnanf" = x""yes; then :
22441 cat >>confdefs.h <<_ACEOF
22442 #define HAVE__ISNANF 1
22443 _ACEOF
22446 done
22455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
22456 $as_echo_n "checking for isinff declaration... " >&6; }
22457 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
22458 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
22459 $as_echo_n "(cached) " >&6
22460 else
22463 ac_ext=cpp
22464 ac_cpp='$CXXCPP $CPPFLAGS'
22465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22470 /* end confdefs.h. */
22471 #include <math.h>
22472 #ifdef HAVE_IEEEFP_H
22473 #include <ieeefp.h>
22474 #endif
22477 main ()
22479 isinff(0);
22481 return 0;
22483 _ACEOF
22484 if ac_fn_cxx_try_compile "$LINENO"; then :
22485 glibcxx_cv_func_isinff_use=yes
22486 else
22487 glibcxx_cv_func_isinff_use=no
22489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22490 ac_ext=c
22491 ac_cpp='$CPP $CPPFLAGS'
22492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
22501 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
22503 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
22504 for ac_func in isinff
22505 do :
22506 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
22507 if test "x$ac_cv_func_isinff" = x""yes; then :
22508 cat >>confdefs.h <<_ACEOF
22509 #define HAVE_ISINFF 1
22510 _ACEOF
22513 done
22515 else
22517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
22518 $as_echo_n "checking for _isinff declaration... " >&6; }
22519 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
22520 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
22521 $as_echo_n "(cached) " >&6
22522 else
22525 ac_ext=cpp
22526 ac_cpp='$CXXCPP $CPPFLAGS'
22527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22532 /* end confdefs.h. */
22533 #include <math.h>
22534 #ifdef HAVE_IEEEFP_H
22535 #include <ieeefp.h>
22536 #endif
22539 main ()
22541 _isinff(0);
22543 return 0;
22545 _ACEOF
22546 if ac_fn_cxx_try_compile "$LINENO"; then :
22547 glibcxx_cv_func__isinff_use=yes
22548 else
22549 glibcxx_cv_func__isinff_use=no
22551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22552 ac_ext=c
22553 ac_cpp='$CPP $CPPFLAGS'
22554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
22563 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
22565 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
22566 for ac_func in _isinff
22567 do :
22568 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
22569 if test "x$ac_cv_func__isinff" = x""yes; then :
22570 cat >>confdefs.h <<_ACEOF
22571 #define HAVE__ISINFF 1
22572 _ACEOF
22575 done
22584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
22585 $as_echo_n "checking for atan2f declaration... " >&6; }
22586 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
22587 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
22588 $as_echo_n "(cached) " >&6
22589 else
22592 ac_ext=cpp
22593 ac_cpp='$CXXCPP $CPPFLAGS'
22594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22599 /* end confdefs.h. */
22600 #include <math.h>
22602 main ()
22604 atan2f(0, 0);
22606 return 0;
22608 _ACEOF
22609 if ac_fn_cxx_try_compile "$LINENO"; then :
22610 glibcxx_cv_func_atan2f_use=yes
22611 else
22612 glibcxx_cv_func_atan2f_use=no
22614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22615 ac_ext=c
22616 ac_cpp='$CPP $CPPFLAGS'
22617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
22626 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
22628 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
22629 for ac_func in atan2f
22630 do :
22631 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
22632 if test "x$ac_cv_func_atan2f" = x""yes; then :
22633 cat >>confdefs.h <<_ACEOF
22634 #define HAVE_ATAN2F 1
22635 _ACEOF
22638 done
22640 else
22642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
22643 $as_echo_n "checking for _atan2f declaration... " >&6; }
22644 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
22645 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
22646 $as_echo_n "(cached) " >&6
22647 else
22650 ac_ext=cpp
22651 ac_cpp='$CXXCPP $CPPFLAGS'
22652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22657 /* end confdefs.h. */
22658 #include <math.h>
22660 main ()
22662 _atan2f(0, 0);
22664 return 0;
22666 _ACEOF
22667 if ac_fn_cxx_try_compile "$LINENO"; then :
22668 glibcxx_cv_func__atan2f_use=yes
22669 else
22670 glibcxx_cv_func__atan2f_use=no
22672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22673 ac_ext=c
22674 ac_cpp='$CPP $CPPFLAGS'
22675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
22684 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
22686 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
22687 for ac_func in _atan2f
22688 do :
22689 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
22690 if test "x$ac_cv_func__atan2f" = x""yes; then :
22691 cat >>confdefs.h <<_ACEOF
22692 #define HAVE__ATAN2F 1
22693 _ACEOF
22696 done
22705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
22706 $as_echo_n "checking for fabsf declaration... " >&6; }
22707 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
22708 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
22709 $as_echo_n "(cached) " >&6
22710 else
22713 ac_ext=cpp
22714 ac_cpp='$CXXCPP $CPPFLAGS'
22715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22720 /* end confdefs.h. */
22721 #include <math.h>
22722 #ifdef HAVE_IEEEFP_H
22723 #include <ieeefp.h>
22724 #endif
22727 main ()
22729 fabsf(0);
22731 return 0;
22733 _ACEOF
22734 if ac_fn_cxx_try_compile "$LINENO"; then :
22735 glibcxx_cv_func_fabsf_use=yes
22736 else
22737 glibcxx_cv_func_fabsf_use=no
22739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22740 ac_ext=c
22741 ac_cpp='$CPP $CPPFLAGS'
22742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
22751 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
22753 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
22754 for ac_func in fabsf
22755 do :
22756 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
22757 if test "x$ac_cv_func_fabsf" = x""yes; then :
22758 cat >>confdefs.h <<_ACEOF
22759 #define HAVE_FABSF 1
22760 _ACEOF
22763 done
22765 else
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
22768 $as_echo_n "checking for _fabsf declaration... " >&6; }
22769 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
22770 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
22771 $as_echo_n "(cached) " >&6
22772 else
22775 ac_ext=cpp
22776 ac_cpp='$CXXCPP $CPPFLAGS'
22777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22782 /* end confdefs.h. */
22783 #include <math.h>
22784 #ifdef HAVE_IEEEFP_H
22785 #include <ieeefp.h>
22786 #endif
22789 main ()
22791 _fabsf(0);
22793 return 0;
22795 _ACEOF
22796 if ac_fn_cxx_try_compile "$LINENO"; then :
22797 glibcxx_cv_func__fabsf_use=yes
22798 else
22799 glibcxx_cv_func__fabsf_use=no
22801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22802 ac_ext=c
22803 ac_cpp='$CPP $CPPFLAGS'
22804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
22813 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
22815 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
22816 for ac_func in _fabsf
22817 do :
22818 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
22819 if test "x$ac_cv_func__fabsf" = x""yes; then :
22820 cat >>confdefs.h <<_ACEOF
22821 #define HAVE__FABSF 1
22822 _ACEOF
22825 done
22834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
22835 $as_echo_n "checking for fmodf declaration... " >&6; }
22836 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
22837 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
22838 $as_echo_n "(cached) " >&6
22839 else
22842 ac_ext=cpp
22843 ac_cpp='$CXXCPP $CPPFLAGS'
22844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22849 /* end confdefs.h. */
22850 #include <math.h>
22852 main ()
22854 fmodf(0, 0);
22856 return 0;
22858 _ACEOF
22859 if ac_fn_cxx_try_compile "$LINENO"; then :
22860 glibcxx_cv_func_fmodf_use=yes
22861 else
22862 glibcxx_cv_func_fmodf_use=no
22864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22865 ac_ext=c
22866 ac_cpp='$CPP $CPPFLAGS'
22867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
22876 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
22878 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
22879 for ac_func in fmodf
22880 do :
22881 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
22882 if test "x$ac_cv_func_fmodf" = x""yes; then :
22883 cat >>confdefs.h <<_ACEOF
22884 #define HAVE_FMODF 1
22885 _ACEOF
22888 done
22890 else
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
22893 $as_echo_n "checking for _fmodf declaration... " >&6; }
22894 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
22895 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
22896 $as_echo_n "(cached) " >&6
22897 else
22900 ac_ext=cpp
22901 ac_cpp='$CXXCPP $CPPFLAGS'
22902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22907 /* end confdefs.h. */
22908 #include <math.h>
22910 main ()
22912 _fmodf(0, 0);
22914 return 0;
22916 _ACEOF
22917 if ac_fn_cxx_try_compile "$LINENO"; then :
22918 glibcxx_cv_func__fmodf_use=yes
22919 else
22920 glibcxx_cv_func__fmodf_use=no
22922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22923 ac_ext=c
22924 ac_cpp='$CPP $CPPFLAGS'
22925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
22934 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
22936 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
22937 for ac_func in _fmodf
22938 do :
22939 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
22940 if test "x$ac_cv_func__fmodf" = x""yes; then :
22941 cat >>confdefs.h <<_ACEOF
22942 #define HAVE__FMODF 1
22943 _ACEOF
22946 done
22955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
22956 $as_echo_n "checking for frexpf declaration... " >&6; }
22957 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
22958 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
22959 $as_echo_n "(cached) " >&6
22960 else
22963 ac_ext=cpp
22964 ac_cpp='$CXXCPP $CPPFLAGS'
22965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22970 /* end confdefs.h. */
22971 #include <math.h>
22973 main ()
22975 frexpf(0, 0);
22977 return 0;
22979 _ACEOF
22980 if ac_fn_cxx_try_compile "$LINENO"; then :
22981 glibcxx_cv_func_frexpf_use=yes
22982 else
22983 glibcxx_cv_func_frexpf_use=no
22985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22986 ac_ext=c
22987 ac_cpp='$CPP $CPPFLAGS'
22988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
22997 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
22999 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23000 for ac_func in frexpf
23001 do :
23002 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23003 if test "x$ac_cv_func_frexpf" = x""yes; then :
23004 cat >>confdefs.h <<_ACEOF
23005 #define HAVE_FREXPF 1
23006 _ACEOF
23009 done
23011 else
23013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23014 $as_echo_n "checking for _frexpf declaration... " >&6; }
23015 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23016 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23017 $as_echo_n "(cached) " >&6
23018 else
23021 ac_ext=cpp
23022 ac_cpp='$CXXCPP $CPPFLAGS'
23023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23028 /* end confdefs.h. */
23029 #include <math.h>
23031 main ()
23033 _frexpf(0, 0);
23035 return 0;
23037 _ACEOF
23038 if ac_fn_cxx_try_compile "$LINENO"; then :
23039 glibcxx_cv_func__frexpf_use=yes
23040 else
23041 glibcxx_cv_func__frexpf_use=no
23043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23044 ac_ext=c
23045 ac_cpp='$CPP $CPPFLAGS'
23046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23055 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23057 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23058 for ac_func in _frexpf
23059 do :
23060 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23061 if test "x$ac_cv_func__frexpf" = x""yes; then :
23062 cat >>confdefs.h <<_ACEOF
23063 #define HAVE__FREXPF 1
23064 _ACEOF
23067 done
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
23077 $as_echo_n "checking for hypotf declaration... " >&6; }
23078 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
23079 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
23080 $as_echo_n "(cached) " >&6
23081 else
23084 ac_ext=cpp
23085 ac_cpp='$CXXCPP $CPPFLAGS'
23086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23092 #include <math.h>
23094 main ()
23096 hypotf(0, 0);
23098 return 0;
23100 _ACEOF
23101 if ac_fn_cxx_try_compile "$LINENO"; then :
23102 glibcxx_cv_func_hypotf_use=yes
23103 else
23104 glibcxx_cv_func_hypotf_use=no
23106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23107 ac_ext=c
23108 ac_cpp='$CPP $CPPFLAGS'
23109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
23118 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
23120 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
23121 for ac_func in hypotf
23122 do :
23123 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
23124 if test "x$ac_cv_func_hypotf" = x""yes; then :
23125 cat >>confdefs.h <<_ACEOF
23126 #define HAVE_HYPOTF 1
23127 _ACEOF
23130 done
23132 else
23134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
23135 $as_echo_n "checking for _hypotf declaration... " >&6; }
23136 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
23137 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
23138 $as_echo_n "(cached) " >&6
23139 else
23142 ac_ext=cpp
23143 ac_cpp='$CXXCPP $CPPFLAGS'
23144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23149 /* end confdefs.h. */
23150 #include <math.h>
23152 main ()
23154 _hypotf(0, 0);
23156 return 0;
23158 _ACEOF
23159 if ac_fn_cxx_try_compile "$LINENO"; then :
23160 glibcxx_cv_func__hypotf_use=yes
23161 else
23162 glibcxx_cv_func__hypotf_use=no
23164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23165 ac_ext=c
23166 ac_cpp='$CPP $CPPFLAGS'
23167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
23176 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
23178 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
23179 for ac_func in _hypotf
23180 do :
23181 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
23182 if test "x$ac_cv_func__hypotf" = x""yes; then :
23183 cat >>confdefs.h <<_ACEOF
23184 #define HAVE__HYPOTF 1
23185 _ACEOF
23188 done
23197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
23198 $as_echo_n "checking for ldexpf declaration... " >&6; }
23199 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
23200 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
23201 $as_echo_n "(cached) " >&6
23202 else
23205 ac_ext=cpp
23206 ac_cpp='$CXXCPP $CPPFLAGS'
23207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23212 /* end confdefs.h. */
23213 #include <math.h>
23215 main ()
23217 ldexpf(0, 0);
23219 return 0;
23221 _ACEOF
23222 if ac_fn_cxx_try_compile "$LINENO"; then :
23223 glibcxx_cv_func_ldexpf_use=yes
23224 else
23225 glibcxx_cv_func_ldexpf_use=no
23227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23228 ac_ext=c
23229 ac_cpp='$CPP $CPPFLAGS'
23230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
23239 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
23241 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
23242 for ac_func in ldexpf
23243 do :
23244 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
23245 if test "x$ac_cv_func_ldexpf" = x""yes; then :
23246 cat >>confdefs.h <<_ACEOF
23247 #define HAVE_LDEXPF 1
23248 _ACEOF
23251 done
23253 else
23255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
23256 $as_echo_n "checking for _ldexpf declaration... " >&6; }
23257 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
23258 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
23259 $as_echo_n "(cached) " >&6
23260 else
23263 ac_ext=cpp
23264 ac_cpp='$CXXCPP $CPPFLAGS'
23265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23270 /* end confdefs.h. */
23271 #include <math.h>
23273 main ()
23275 _ldexpf(0, 0);
23277 return 0;
23279 _ACEOF
23280 if ac_fn_cxx_try_compile "$LINENO"; then :
23281 glibcxx_cv_func__ldexpf_use=yes
23282 else
23283 glibcxx_cv_func__ldexpf_use=no
23285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23286 ac_ext=c
23287 ac_cpp='$CPP $CPPFLAGS'
23288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
23297 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
23299 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
23300 for ac_func in _ldexpf
23301 do :
23302 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
23303 if test "x$ac_cv_func__ldexpf" = x""yes; then :
23304 cat >>confdefs.h <<_ACEOF
23305 #define HAVE__LDEXPF 1
23306 _ACEOF
23309 done
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
23319 $as_echo_n "checking for logf declaration... " >&6; }
23320 if test x${glibcxx_cv_func_logf_use+set} != xset; then
23321 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
23322 $as_echo_n "(cached) " >&6
23323 else
23326 ac_ext=cpp
23327 ac_cpp='$CXXCPP $CPPFLAGS'
23328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23333 /* end confdefs.h. */
23334 #include <math.h>
23335 #ifdef HAVE_IEEEFP_H
23336 #include <ieeefp.h>
23337 #endif
23340 main ()
23342 logf(0);
23344 return 0;
23346 _ACEOF
23347 if ac_fn_cxx_try_compile "$LINENO"; then :
23348 glibcxx_cv_func_logf_use=yes
23349 else
23350 glibcxx_cv_func_logf_use=no
23352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23353 ac_ext=c
23354 ac_cpp='$CPP $CPPFLAGS'
23355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
23364 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
23366 if test x$glibcxx_cv_func_logf_use = x"yes"; then
23367 for ac_func in logf
23368 do :
23369 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
23370 if test "x$ac_cv_func_logf" = x""yes; then :
23371 cat >>confdefs.h <<_ACEOF
23372 #define HAVE_LOGF 1
23373 _ACEOF
23376 done
23378 else
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
23381 $as_echo_n "checking for _logf declaration... " >&6; }
23382 if test x${glibcxx_cv_func__logf_use+set} != xset; then
23383 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
23384 $as_echo_n "(cached) " >&6
23385 else
23388 ac_ext=cpp
23389 ac_cpp='$CXXCPP $CPPFLAGS'
23390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23395 /* end confdefs.h. */
23396 #include <math.h>
23397 #ifdef HAVE_IEEEFP_H
23398 #include <ieeefp.h>
23399 #endif
23402 main ()
23404 _logf(0);
23406 return 0;
23408 _ACEOF
23409 if ac_fn_cxx_try_compile "$LINENO"; then :
23410 glibcxx_cv_func__logf_use=yes
23411 else
23412 glibcxx_cv_func__logf_use=no
23414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23415 ac_ext=c
23416 ac_cpp='$CPP $CPPFLAGS'
23417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
23426 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
23428 if test x$glibcxx_cv_func__logf_use = x"yes"; then
23429 for ac_func in _logf
23430 do :
23431 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
23432 if test "x$ac_cv_func__logf" = x""yes; then :
23433 cat >>confdefs.h <<_ACEOF
23434 #define HAVE__LOGF 1
23435 _ACEOF
23438 done
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
23448 $as_echo_n "checking for log10f declaration... " >&6; }
23449 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
23450 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
23451 $as_echo_n "(cached) " >&6
23452 else
23455 ac_ext=cpp
23456 ac_cpp='$CXXCPP $CPPFLAGS'
23457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23462 /* end confdefs.h. */
23463 #include <math.h>
23464 #ifdef HAVE_IEEEFP_H
23465 #include <ieeefp.h>
23466 #endif
23469 main ()
23471 log10f(0);
23473 return 0;
23475 _ACEOF
23476 if ac_fn_cxx_try_compile "$LINENO"; then :
23477 glibcxx_cv_func_log10f_use=yes
23478 else
23479 glibcxx_cv_func_log10f_use=no
23481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23482 ac_ext=c
23483 ac_cpp='$CPP $CPPFLAGS'
23484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
23493 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
23495 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
23496 for ac_func in log10f
23497 do :
23498 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
23499 if test "x$ac_cv_func_log10f" = x""yes; then :
23500 cat >>confdefs.h <<_ACEOF
23501 #define HAVE_LOG10F 1
23502 _ACEOF
23505 done
23507 else
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
23510 $as_echo_n "checking for _log10f declaration... " >&6; }
23511 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
23512 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
23513 $as_echo_n "(cached) " >&6
23514 else
23517 ac_ext=cpp
23518 ac_cpp='$CXXCPP $CPPFLAGS'
23519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23524 /* end confdefs.h. */
23525 #include <math.h>
23526 #ifdef HAVE_IEEEFP_H
23527 #include <ieeefp.h>
23528 #endif
23531 main ()
23533 _log10f(0);
23535 return 0;
23537 _ACEOF
23538 if ac_fn_cxx_try_compile "$LINENO"; then :
23539 glibcxx_cv_func__log10f_use=yes
23540 else
23541 glibcxx_cv_func__log10f_use=no
23543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23544 ac_ext=c
23545 ac_cpp='$CPP $CPPFLAGS'
23546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
23555 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
23557 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
23558 for ac_func in _log10f
23559 do :
23560 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
23561 if test "x$ac_cv_func__log10f" = x""yes; then :
23562 cat >>confdefs.h <<_ACEOF
23563 #define HAVE__LOG10F 1
23564 _ACEOF
23567 done
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
23577 $as_echo_n "checking for modff declaration... " >&6; }
23578 if test x${glibcxx_cv_func_modff_use+set} != xset; then
23579 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
23580 $as_echo_n "(cached) " >&6
23581 else
23584 ac_ext=cpp
23585 ac_cpp='$CXXCPP $CPPFLAGS'
23586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23591 /* end confdefs.h. */
23592 #include <math.h>
23594 main ()
23596 modff(0, 0);
23598 return 0;
23600 _ACEOF
23601 if ac_fn_cxx_try_compile "$LINENO"; then :
23602 glibcxx_cv_func_modff_use=yes
23603 else
23604 glibcxx_cv_func_modff_use=no
23606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23607 ac_ext=c
23608 ac_cpp='$CPP $CPPFLAGS'
23609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
23618 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
23620 if test x$glibcxx_cv_func_modff_use = x"yes"; then
23621 for ac_func in modff
23622 do :
23623 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
23624 if test "x$ac_cv_func_modff" = x""yes; then :
23625 cat >>confdefs.h <<_ACEOF
23626 #define HAVE_MODFF 1
23627 _ACEOF
23630 done
23632 else
23634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
23635 $as_echo_n "checking for _modff declaration... " >&6; }
23636 if test x${glibcxx_cv_func__modff_use+set} != xset; then
23637 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
23638 $as_echo_n "(cached) " >&6
23639 else
23642 ac_ext=cpp
23643 ac_cpp='$CXXCPP $CPPFLAGS'
23644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23649 /* end confdefs.h. */
23650 #include <math.h>
23652 main ()
23654 _modff(0, 0);
23656 return 0;
23658 _ACEOF
23659 if ac_fn_cxx_try_compile "$LINENO"; then :
23660 glibcxx_cv_func__modff_use=yes
23661 else
23662 glibcxx_cv_func__modff_use=no
23664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23665 ac_ext=c
23666 ac_cpp='$CPP $CPPFLAGS'
23667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
23676 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
23678 if test x$glibcxx_cv_func__modff_use = x"yes"; then
23679 for ac_func in _modff
23680 do :
23681 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
23682 if test "x$ac_cv_func__modff" = x""yes; then :
23683 cat >>confdefs.h <<_ACEOF
23684 #define HAVE__MODFF 1
23685 _ACEOF
23688 done
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
23698 $as_echo_n "checking for modf declaration... " >&6; }
23699 if test x${glibcxx_cv_func_modf_use+set} != xset; then
23700 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
23701 $as_echo_n "(cached) " >&6
23702 else
23705 ac_ext=cpp
23706 ac_cpp='$CXXCPP $CPPFLAGS'
23707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23712 /* end confdefs.h. */
23713 #include <math.h>
23715 main ()
23717 modf(0, 0);
23719 return 0;
23721 _ACEOF
23722 if ac_fn_cxx_try_compile "$LINENO"; then :
23723 glibcxx_cv_func_modf_use=yes
23724 else
23725 glibcxx_cv_func_modf_use=no
23727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23728 ac_ext=c
23729 ac_cpp='$CPP $CPPFLAGS'
23730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
23739 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
23741 if test x$glibcxx_cv_func_modf_use = x"yes"; then
23742 for ac_func in modf
23743 do :
23744 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
23745 if test "x$ac_cv_func_modf" = x""yes; then :
23746 cat >>confdefs.h <<_ACEOF
23747 #define HAVE_MODF 1
23748 _ACEOF
23751 done
23753 else
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
23756 $as_echo_n "checking for _modf declaration... " >&6; }
23757 if test x${glibcxx_cv_func__modf_use+set} != xset; then
23758 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
23759 $as_echo_n "(cached) " >&6
23760 else
23763 ac_ext=cpp
23764 ac_cpp='$CXXCPP $CPPFLAGS'
23765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23770 /* end confdefs.h. */
23771 #include <math.h>
23773 main ()
23775 _modf(0, 0);
23777 return 0;
23779 _ACEOF
23780 if ac_fn_cxx_try_compile "$LINENO"; then :
23781 glibcxx_cv_func__modf_use=yes
23782 else
23783 glibcxx_cv_func__modf_use=no
23785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23786 ac_ext=c
23787 ac_cpp='$CPP $CPPFLAGS'
23788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
23797 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
23799 if test x$glibcxx_cv_func__modf_use = x"yes"; then
23800 for ac_func in _modf
23801 do :
23802 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
23803 if test "x$ac_cv_func__modf" = x""yes; then :
23804 cat >>confdefs.h <<_ACEOF
23805 #define HAVE__MODF 1
23806 _ACEOF
23809 done
23818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
23819 $as_echo_n "checking for powf declaration... " >&6; }
23820 if test x${glibcxx_cv_func_powf_use+set} != xset; then
23821 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
23822 $as_echo_n "(cached) " >&6
23823 else
23826 ac_ext=cpp
23827 ac_cpp='$CXXCPP $CPPFLAGS'
23828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23833 /* end confdefs.h. */
23834 #include <math.h>
23836 main ()
23838 powf(0, 0);
23840 return 0;
23842 _ACEOF
23843 if ac_fn_cxx_try_compile "$LINENO"; then :
23844 glibcxx_cv_func_powf_use=yes
23845 else
23846 glibcxx_cv_func_powf_use=no
23848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23849 ac_ext=c
23850 ac_cpp='$CPP $CPPFLAGS'
23851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
23860 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
23862 if test x$glibcxx_cv_func_powf_use = x"yes"; then
23863 for ac_func in powf
23864 do :
23865 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
23866 if test "x$ac_cv_func_powf" = x""yes; then :
23867 cat >>confdefs.h <<_ACEOF
23868 #define HAVE_POWF 1
23869 _ACEOF
23872 done
23874 else
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
23877 $as_echo_n "checking for _powf declaration... " >&6; }
23878 if test x${glibcxx_cv_func__powf_use+set} != xset; then
23879 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
23880 $as_echo_n "(cached) " >&6
23881 else
23884 ac_ext=cpp
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23891 /* end confdefs.h. */
23892 #include <math.h>
23894 main ()
23896 _powf(0, 0);
23898 return 0;
23900 _ACEOF
23901 if ac_fn_cxx_try_compile "$LINENO"; then :
23902 glibcxx_cv_func__powf_use=yes
23903 else
23904 glibcxx_cv_func__powf_use=no
23906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23907 ac_ext=c
23908 ac_cpp='$CPP $CPPFLAGS'
23909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
23918 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
23920 if test x$glibcxx_cv_func__powf_use = x"yes"; then
23921 for ac_func in _powf
23922 do :
23923 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
23924 if test "x$ac_cv_func__powf" = x""yes; then :
23925 cat >>confdefs.h <<_ACEOF
23926 #define HAVE__POWF 1
23927 _ACEOF
23930 done
23939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
23940 $as_echo_n "checking for sqrtf declaration... " >&6; }
23941 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
23942 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
23943 $as_echo_n "(cached) " >&6
23944 else
23947 ac_ext=cpp
23948 ac_cpp='$CXXCPP $CPPFLAGS'
23949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23954 /* end confdefs.h. */
23955 #include <math.h>
23956 #ifdef HAVE_IEEEFP_H
23957 #include <ieeefp.h>
23958 #endif
23961 main ()
23963 sqrtf(0);
23965 return 0;
23967 _ACEOF
23968 if ac_fn_cxx_try_compile "$LINENO"; then :
23969 glibcxx_cv_func_sqrtf_use=yes
23970 else
23971 glibcxx_cv_func_sqrtf_use=no
23973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23974 ac_ext=c
23975 ac_cpp='$CPP $CPPFLAGS'
23976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
23985 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
23987 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
23988 for ac_func in sqrtf
23989 do :
23990 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
23991 if test "x$ac_cv_func_sqrtf" = x""yes; then :
23992 cat >>confdefs.h <<_ACEOF
23993 #define HAVE_SQRTF 1
23994 _ACEOF
23997 done
23999 else
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24002 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24003 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24004 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24017 #include <math.h>
24018 #ifdef HAVE_IEEEFP_H
24019 #include <ieeefp.h>
24020 #endif
24023 main ()
24025 _sqrtf(0);
24027 return 0;
24029 _ACEOF
24030 if ac_fn_cxx_try_compile "$LINENO"; then :
24031 glibcxx_cv_func__sqrtf_use=yes
24032 else
24033 glibcxx_cv_func__sqrtf_use=no
24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24036 ac_ext=c
24037 ac_cpp='$CPP $CPPFLAGS'
24038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24047 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24049 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24050 for ac_func in _sqrtf
24051 do :
24052 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24053 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24054 cat >>confdefs.h <<_ACEOF
24055 #define HAVE__SQRTF 1
24056 _ACEOF
24059 done
24068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24069 $as_echo_n "checking for sincosf declaration... " >&6; }
24070 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24071 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24072 $as_echo_n "(cached) " >&6
24073 else
24076 ac_ext=cpp
24077 ac_cpp='$CXXCPP $CPPFLAGS'
24078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h. */
24084 #include <math.h>
24086 main ()
24088 sincosf(0, 0, 0);
24090 return 0;
24092 _ACEOF
24093 if ac_fn_cxx_try_compile "$LINENO"; then :
24094 glibcxx_cv_func_sincosf_use=yes
24095 else
24096 glibcxx_cv_func_sincosf_use=no
24098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24099 ac_ext=c
24100 ac_cpp='$CPP $CPPFLAGS'
24101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
24110 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
24112 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
24113 for ac_func in sincosf
24114 do :
24115 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
24116 if test "x$ac_cv_func_sincosf" = x""yes; then :
24117 cat >>confdefs.h <<_ACEOF
24118 #define HAVE_SINCOSF 1
24119 _ACEOF
24122 done
24124 else
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
24127 $as_echo_n "checking for _sincosf declaration... " >&6; }
24128 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
24129 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
24130 $as_echo_n "(cached) " >&6
24131 else
24134 ac_ext=cpp
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24141 /* end confdefs.h. */
24142 #include <math.h>
24144 main ()
24146 _sincosf(0, 0, 0);
24148 return 0;
24150 _ACEOF
24151 if ac_fn_cxx_try_compile "$LINENO"; then :
24152 glibcxx_cv_func__sincosf_use=yes
24153 else
24154 glibcxx_cv_func__sincosf_use=no
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 ac_ext=c
24158 ac_cpp='$CPP $CPPFLAGS'
24159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
24168 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
24170 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
24171 for ac_func in _sincosf
24172 do :
24173 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
24174 if test "x$ac_cv_func__sincosf" = x""yes; then :
24175 cat >>confdefs.h <<_ACEOF
24176 #define HAVE__SINCOSF 1
24177 _ACEOF
24180 done
24189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
24190 $as_echo_n "checking for finitef declaration... " >&6; }
24191 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
24192 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
24193 $as_echo_n "(cached) " >&6
24194 else
24197 ac_ext=cpp
24198 ac_cpp='$CXXCPP $CPPFLAGS'
24199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24204 /* end confdefs.h. */
24205 #include <math.h>
24206 #ifdef HAVE_IEEEFP_H
24207 #include <ieeefp.h>
24208 #endif
24211 main ()
24213 finitef(0);
24215 return 0;
24217 _ACEOF
24218 if ac_fn_cxx_try_compile "$LINENO"; then :
24219 glibcxx_cv_func_finitef_use=yes
24220 else
24221 glibcxx_cv_func_finitef_use=no
24223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24224 ac_ext=c
24225 ac_cpp='$CPP $CPPFLAGS'
24226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
24235 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
24237 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
24238 for ac_func in finitef
24239 do :
24240 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
24241 if test "x$ac_cv_func_finitef" = x""yes; then :
24242 cat >>confdefs.h <<_ACEOF
24243 #define HAVE_FINITEF 1
24244 _ACEOF
24247 done
24249 else
24251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
24252 $as_echo_n "checking for _finitef declaration... " >&6; }
24253 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
24254 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
24255 $as_echo_n "(cached) " >&6
24256 else
24259 ac_ext=cpp
24260 ac_cpp='$CXXCPP $CPPFLAGS'
24261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24266 /* end confdefs.h. */
24267 #include <math.h>
24268 #ifdef HAVE_IEEEFP_H
24269 #include <ieeefp.h>
24270 #endif
24273 main ()
24275 _finitef(0);
24277 return 0;
24279 _ACEOF
24280 if ac_fn_cxx_try_compile "$LINENO"; then :
24281 glibcxx_cv_func__finitef_use=yes
24282 else
24283 glibcxx_cv_func__finitef_use=no
24285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24286 ac_ext=c
24287 ac_cpp='$CPP $CPPFLAGS'
24288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
24297 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
24299 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
24300 for ac_func in _finitef
24301 do :
24302 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
24303 if test "x$ac_cv_func__finitef" = x""yes; then :
24304 cat >>confdefs.h <<_ACEOF
24305 #define HAVE__FINITEF 1
24306 _ACEOF
24309 done
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
24319 $as_echo_n "checking for long double trig functions... " >&6; }
24320 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
24321 $as_echo_n "(cached) " >&6
24322 else
24325 ac_ext=cpp
24326 ac_cpp='$CXXCPP $CPPFLAGS'
24327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24332 /* end confdefs.h. */
24333 #include <math.h>
24335 main ()
24337 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
24339 return 0;
24341 _ACEOF
24342 if ac_fn_cxx_try_compile "$LINENO"; then :
24343 glibcxx_cv_func_long_double_trig_use=yes
24344 else
24345 glibcxx_cv_func_long_double_trig_use=no
24347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24348 ac_ext=c
24349 ac_cpp='$CPP $CPPFLAGS'
24350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
24357 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
24358 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
24359 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
24360 do :
24361 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24362 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24363 eval as_val=\$$as_ac_var
24364 if test "x$as_val" = x""yes; then :
24365 cat >>confdefs.h <<_ACEOF
24366 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24367 _ACEOF
24370 done
24372 else
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
24374 $as_echo_n "checking for _long double trig functions... " >&6; }
24375 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
24376 $as_echo_n "(cached) " >&6
24377 else
24380 ac_ext=cpp
24381 ac_cpp='$CXXCPP $CPPFLAGS'
24382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24387 /* end confdefs.h. */
24388 #include <math.h>
24390 main ()
24392 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
24394 return 0;
24396 _ACEOF
24397 if ac_fn_cxx_try_compile "$LINENO"; then :
24398 glibcxx_cv_func__long_double_trig_use=yes
24399 else
24400 glibcxx_cv_func__long_double_trig_use=no
24402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24403 ac_ext=c
24404 ac_cpp='$CPP $CPPFLAGS'
24405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
24412 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
24413 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
24414 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
24415 do :
24416 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24417 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24418 eval as_val=\$$as_ac_var
24419 if test "x$as_val" = x""yes; then :
24420 cat >>confdefs.h <<_ACEOF
24421 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24422 _ACEOF
24425 done
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
24435 $as_echo_n "checking for long double round functions... " >&6; }
24436 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
24437 $as_echo_n "(cached) " >&6
24438 else
24441 ac_ext=cpp
24442 ac_cpp='$CXXCPP $CPPFLAGS'
24443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24448 /* end confdefs.h. */
24449 #include <math.h>
24451 main ()
24453 ceill (0); floorl (0);
24455 return 0;
24457 _ACEOF
24458 if ac_fn_cxx_try_compile "$LINENO"; then :
24459 glibcxx_cv_func_long_double_round_use=yes
24460 else
24461 glibcxx_cv_func_long_double_round_use=no
24463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24464 ac_ext=c
24465 ac_cpp='$CPP $CPPFLAGS'
24466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
24473 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
24474 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
24475 for ac_func in ceill floorl
24476 do :
24477 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24478 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24479 eval as_val=\$$as_ac_var
24480 if test "x$as_val" = x""yes; then :
24481 cat >>confdefs.h <<_ACEOF
24482 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24483 _ACEOF
24486 done
24488 else
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
24490 $as_echo_n "checking for _long double round functions... " >&6; }
24491 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
24492 $as_echo_n "(cached) " >&6
24493 else
24496 ac_ext=cpp
24497 ac_cpp='$CXXCPP $CPPFLAGS'
24498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24503 /* end confdefs.h. */
24504 #include <math.h>
24506 main ()
24508 _ceill (0); _floorl (0);
24510 return 0;
24512 _ACEOF
24513 if ac_fn_cxx_try_compile "$LINENO"; then :
24514 glibcxx_cv_func__long_double_round_use=yes
24515 else
24516 glibcxx_cv_func__long_double_round_use=no
24518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24519 ac_ext=c
24520 ac_cpp='$CPP $CPPFLAGS'
24521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
24528 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
24529 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
24530 for ac_func in _ceill _floorl
24531 do :
24532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
24533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
24534 eval as_val=\$$as_ac_var
24535 if test "x$as_val" = x""yes; then :
24536 cat >>confdefs.h <<_ACEOF
24537 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
24538 _ACEOF
24541 done
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
24552 $as_echo_n "checking for isnanl declaration... " >&6; }
24553 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
24554 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
24555 $as_echo_n "(cached) " >&6
24556 else
24559 ac_ext=cpp
24560 ac_cpp='$CXXCPP $CPPFLAGS'
24561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24567 #include <math.h>
24568 #ifdef HAVE_IEEEFP_H
24569 #include <ieeefp.h>
24570 #endif
24573 main ()
24575 isnanl(0);
24577 return 0;
24579 _ACEOF
24580 if ac_fn_cxx_try_compile "$LINENO"; then :
24581 glibcxx_cv_func_isnanl_use=yes
24582 else
24583 glibcxx_cv_func_isnanl_use=no
24585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
24597 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
24599 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
24600 for ac_func in isnanl
24601 do :
24602 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
24603 if test "x$ac_cv_func_isnanl" = x""yes; then :
24604 cat >>confdefs.h <<_ACEOF
24605 #define HAVE_ISNANL 1
24606 _ACEOF
24609 done
24611 else
24613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
24614 $as_echo_n "checking for _isnanl declaration... " >&6; }
24615 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
24616 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
24617 $as_echo_n "(cached) " >&6
24618 else
24621 ac_ext=cpp
24622 ac_cpp='$CXXCPP $CPPFLAGS'
24623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24628 /* end confdefs.h. */
24629 #include <math.h>
24630 #ifdef HAVE_IEEEFP_H
24631 #include <ieeefp.h>
24632 #endif
24635 main ()
24637 _isnanl(0);
24639 return 0;
24641 _ACEOF
24642 if ac_fn_cxx_try_compile "$LINENO"; then :
24643 glibcxx_cv_func__isnanl_use=yes
24644 else
24645 glibcxx_cv_func__isnanl_use=no
24647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24648 ac_ext=c
24649 ac_cpp='$CPP $CPPFLAGS'
24650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
24659 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
24661 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
24662 for ac_func in _isnanl
24663 do :
24664 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
24665 if test "x$ac_cv_func__isnanl" = x""yes; then :
24666 cat >>confdefs.h <<_ACEOF
24667 #define HAVE__ISNANL 1
24668 _ACEOF
24671 done
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
24681 $as_echo_n "checking for isinfl declaration... " >&6; }
24682 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
24683 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24697 #ifdef HAVE_IEEEFP_H
24698 #include <ieeefp.h>
24699 #endif
24702 main ()
24704 isinfl(0);
24706 return 0;
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func_isinfl_use=yes
24711 else
24712 glibcxx_cv_func_isinfl_use=no
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
24726 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
24728 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
24729 for ac_func in isinfl
24730 do :
24731 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
24732 if test "x$ac_cv_func_isinfl" = x""yes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE_ISINFL 1
24735 _ACEOF
24738 done
24740 else
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
24743 $as_echo_n "checking for _isinfl declaration... " >&6; }
24744 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
24745 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
24746 $as_echo_n "(cached) " >&6
24747 else
24750 ac_ext=cpp
24751 ac_cpp='$CXXCPP $CPPFLAGS'
24752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24757 /* end confdefs.h. */
24758 #include <math.h>
24759 #ifdef HAVE_IEEEFP_H
24760 #include <ieeefp.h>
24761 #endif
24764 main ()
24766 _isinfl(0);
24768 return 0;
24770 _ACEOF
24771 if ac_fn_cxx_try_compile "$LINENO"; then :
24772 glibcxx_cv_func__isinfl_use=yes
24773 else
24774 glibcxx_cv_func__isinfl_use=no
24776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24777 ac_ext=c
24778 ac_cpp='$CPP $CPPFLAGS'
24779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
24788 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
24790 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
24791 for ac_func in _isinfl
24792 do :
24793 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
24794 if test "x$ac_cv_func__isinfl" = x""yes; then :
24795 cat >>confdefs.h <<_ACEOF
24796 #define HAVE__ISINFL 1
24797 _ACEOF
24800 done
24809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
24810 $as_echo_n "checking for atan2l declaration... " >&6; }
24811 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
24812 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
24813 $as_echo_n "(cached) " >&6
24814 else
24817 ac_ext=cpp
24818 ac_cpp='$CXXCPP $CPPFLAGS'
24819 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24820 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24821 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24824 /* end confdefs.h. */
24825 #include <math.h>
24827 main ()
24829 atan2l(0, 0);
24831 return 0;
24833 _ACEOF
24834 if ac_fn_cxx_try_compile "$LINENO"; then :
24835 glibcxx_cv_func_atan2l_use=yes
24836 else
24837 glibcxx_cv_func_atan2l_use=no
24839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24840 ac_ext=c
24841 ac_cpp='$CPP $CPPFLAGS'
24842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
24851 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
24853 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
24854 for ac_func in atan2l
24855 do :
24856 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
24857 if test "x$ac_cv_func_atan2l" = x""yes; then :
24858 cat >>confdefs.h <<_ACEOF
24859 #define HAVE_ATAN2L 1
24860 _ACEOF
24863 done
24865 else
24867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
24868 $as_echo_n "checking for _atan2l declaration... " >&6; }
24869 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
24870 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
24871 $as_echo_n "(cached) " >&6
24872 else
24875 ac_ext=cpp
24876 ac_cpp='$CXXCPP $CPPFLAGS'
24877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24882 /* end confdefs.h. */
24883 #include <math.h>
24885 main ()
24887 _atan2l(0, 0);
24889 return 0;
24891 _ACEOF
24892 if ac_fn_cxx_try_compile "$LINENO"; then :
24893 glibcxx_cv_func__atan2l_use=yes
24894 else
24895 glibcxx_cv_func__atan2l_use=no
24897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24898 ac_ext=c
24899 ac_cpp='$CPP $CPPFLAGS'
24900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
24909 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
24911 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
24912 for ac_func in _atan2l
24913 do :
24914 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
24915 if test "x$ac_cv_func__atan2l" = x""yes; then :
24916 cat >>confdefs.h <<_ACEOF
24917 #define HAVE__ATAN2L 1
24918 _ACEOF
24921 done
24930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
24931 $as_echo_n "checking for expl declaration... " >&6; }
24932 if test x${glibcxx_cv_func_expl_use+set} != xset; then
24933 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
24934 $as_echo_n "(cached) " >&6
24935 else
24938 ac_ext=cpp
24939 ac_cpp='$CXXCPP $CPPFLAGS'
24940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24945 /* end confdefs.h. */
24946 #include <math.h>
24947 #ifdef HAVE_IEEEFP_H
24948 #include <ieeefp.h>
24949 #endif
24952 main ()
24954 expl(0);
24956 return 0;
24958 _ACEOF
24959 if ac_fn_cxx_try_compile "$LINENO"; then :
24960 glibcxx_cv_func_expl_use=yes
24961 else
24962 glibcxx_cv_func_expl_use=no
24964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24965 ac_ext=c
24966 ac_cpp='$CPP $CPPFLAGS'
24967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
24976 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
24978 if test x$glibcxx_cv_func_expl_use = x"yes"; then
24979 for ac_func in expl
24980 do :
24981 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
24982 if test "x$ac_cv_func_expl" = x""yes; then :
24983 cat >>confdefs.h <<_ACEOF
24984 #define HAVE_EXPL 1
24985 _ACEOF
24988 done
24990 else
24992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
24993 $as_echo_n "checking for _expl declaration... " >&6; }
24994 if test x${glibcxx_cv_func__expl_use+set} != xset; then
24995 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
24996 $as_echo_n "(cached) " >&6
24997 else
25000 ac_ext=cpp
25001 ac_cpp='$CXXCPP $CPPFLAGS'
25002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25007 /* end confdefs.h. */
25008 #include <math.h>
25009 #ifdef HAVE_IEEEFP_H
25010 #include <ieeefp.h>
25011 #endif
25014 main ()
25016 _expl(0);
25018 return 0;
25020 _ACEOF
25021 if ac_fn_cxx_try_compile "$LINENO"; then :
25022 glibcxx_cv_func__expl_use=yes
25023 else
25024 glibcxx_cv_func__expl_use=no
25026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25027 ac_ext=c
25028 ac_cpp='$CPP $CPPFLAGS'
25029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25038 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25040 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25041 for ac_func in _expl
25042 do :
25043 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25044 if test "x$ac_cv_func__expl" = x""yes; then :
25045 cat >>confdefs.h <<_ACEOF
25046 #define HAVE__EXPL 1
25047 _ACEOF
25050 done
25059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25060 $as_echo_n "checking for fabsl declaration... " >&6; }
25061 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25062 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25063 $as_echo_n "(cached) " >&6
25064 else
25067 ac_ext=cpp
25068 ac_cpp='$CXXCPP $CPPFLAGS'
25069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25074 /* end confdefs.h. */
25075 #include <math.h>
25076 #ifdef HAVE_IEEEFP_H
25077 #include <ieeefp.h>
25078 #endif
25081 main ()
25083 fabsl(0);
25085 return 0;
25087 _ACEOF
25088 if ac_fn_cxx_try_compile "$LINENO"; then :
25089 glibcxx_cv_func_fabsl_use=yes
25090 else
25091 glibcxx_cv_func_fabsl_use=no
25093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25094 ac_ext=c
25095 ac_cpp='$CPP $CPPFLAGS'
25096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
25105 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
25107 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
25108 for ac_func in fabsl
25109 do :
25110 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
25111 if test "x$ac_cv_func_fabsl" = x""yes; then :
25112 cat >>confdefs.h <<_ACEOF
25113 #define HAVE_FABSL 1
25114 _ACEOF
25117 done
25119 else
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
25122 $as_echo_n "checking for _fabsl declaration... " >&6; }
25123 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
25124 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
25125 $as_echo_n "(cached) " >&6
25126 else
25129 ac_ext=cpp
25130 ac_cpp='$CXXCPP $CPPFLAGS'
25131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25136 /* end confdefs.h. */
25137 #include <math.h>
25138 #ifdef HAVE_IEEEFP_H
25139 #include <ieeefp.h>
25140 #endif
25143 main ()
25145 _fabsl(0);
25147 return 0;
25149 _ACEOF
25150 if ac_fn_cxx_try_compile "$LINENO"; then :
25151 glibcxx_cv_func__fabsl_use=yes
25152 else
25153 glibcxx_cv_func__fabsl_use=no
25155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25156 ac_ext=c
25157 ac_cpp='$CPP $CPPFLAGS'
25158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
25167 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
25169 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
25170 for ac_func in _fabsl
25171 do :
25172 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
25173 if test "x$ac_cv_func__fabsl" = x""yes; then :
25174 cat >>confdefs.h <<_ACEOF
25175 #define HAVE__FABSL 1
25176 _ACEOF
25179 done
25188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
25189 $as_echo_n "checking for fmodl declaration... " >&6; }
25190 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
25191 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
25192 $as_echo_n "(cached) " >&6
25193 else
25196 ac_ext=cpp
25197 ac_cpp='$CXXCPP $CPPFLAGS'
25198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25203 /* end confdefs.h. */
25204 #include <math.h>
25206 main ()
25208 fmodl(0, 0);
25210 return 0;
25212 _ACEOF
25213 if ac_fn_cxx_try_compile "$LINENO"; then :
25214 glibcxx_cv_func_fmodl_use=yes
25215 else
25216 glibcxx_cv_func_fmodl_use=no
25218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25219 ac_ext=c
25220 ac_cpp='$CPP $CPPFLAGS'
25221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
25230 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
25232 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
25233 for ac_func in fmodl
25234 do :
25235 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
25236 if test "x$ac_cv_func_fmodl" = x""yes; then :
25237 cat >>confdefs.h <<_ACEOF
25238 #define HAVE_FMODL 1
25239 _ACEOF
25242 done
25244 else
25246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
25247 $as_echo_n "checking for _fmodl declaration... " >&6; }
25248 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
25249 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
25250 $as_echo_n "(cached) " >&6
25251 else
25254 ac_ext=cpp
25255 ac_cpp='$CXXCPP $CPPFLAGS'
25256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25261 /* end confdefs.h. */
25262 #include <math.h>
25264 main ()
25266 _fmodl(0, 0);
25268 return 0;
25270 _ACEOF
25271 if ac_fn_cxx_try_compile "$LINENO"; then :
25272 glibcxx_cv_func__fmodl_use=yes
25273 else
25274 glibcxx_cv_func__fmodl_use=no
25276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25277 ac_ext=c
25278 ac_cpp='$CPP $CPPFLAGS'
25279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
25288 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
25290 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
25291 for ac_func in _fmodl
25292 do :
25293 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
25294 if test "x$ac_cv_func__fmodl" = x""yes; then :
25295 cat >>confdefs.h <<_ACEOF
25296 #define HAVE__FMODL 1
25297 _ACEOF
25300 done
25309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
25310 $as_echo_n "checking for frexpl declaration... " >&6; }
25311 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
25312 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
25313 $as_echo_n "(cached) " >&6
25314 else
25317 ac_ext=cpp
25318 ac_cpp='$CXXCPP $CPPFLAGS'
25319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25324 /* end confdefs.h. */
25325 #include <math.h>
25327 main ()
25329 frexpl(0, 0);
25331 return 0;
25333 _ACEOF
25334 if ac_fn_cxx_try_compile "$LINENO"; then :
25335 glibcxx_cv_func_frexpl_use=yes
25336 else
25337 glibcxx_cv_func_frexpl_use=no
25339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25340 ac_ext=c
25341 ac_cpp='$CPP $CPPFLAGS'
25342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
25351 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
25353 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
25354 for ac_func in frexpl
25355 do :
25356 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
25357 if test "x$ac_cv_func_frexpl" = x""yes; then :
25358 cat >>confdefs.h <<_ACEOF
25359 #define HAVE_FREXPL 1
25360 _ACEOF
25363 done
25365 else
25367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
25368 $as_echo_n "checking for _frexpl declaration... " >&6; }
25369 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
25370 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
25371 $as_echo_n "(cached) " >&6
25372 else
25375 ac_ext=cpp
25376 ac_cpp='$CXXCPP $CPPFLAGS'
25377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25382 /* end confdefs.h. */
25383 #include <math.h>
25385 main ()
25387 _frexpl(0, 0);
25389 return 0;
25391 _ACEOF
25392 if ac_fn_cxx_try_compile "$LINENO"; then :
25393 glibcxx_cv_func__frexpl_use=yes
25394 else
25395 glibcxx_cv_func__frexpl_use=no
25397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25398 ac_ext=c
25399 ac_cpp='$CPP $CPPFLAGS'
25400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
25409 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
25411 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
25412 for ac_func in _frexpl
25413 do :
25414 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
25415 if test "x$ac_cv_func__frexpl" = x""yes; then :
25416 cat >>confdefs.h <<_ACEOF
25417 #define HAVE__FREXPL 1
25418 _ACEOF
25421 done
25430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
25431 $as_echo_n "checking for hypotl declaration... " >&6; }
25432 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
25433 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
25434 $as_echo_n "(cached) " >&6
25435 else
25438 ac_ext=cpp
25439 ac_cpp='$CXXCPP $CPPFLAGS'
25440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25445 /* end confdefs.h. */
25446 #include <math.h>
25448 main ()
25450 hypotl(0, 0);
25452 return 0;
25454 _ACEOF
25455 if ac_fn_cxx_try_compile "$LINENO"; then :
25456 glibcxx_cv_func_hypotl_use=yes
25457 else
25458 glibcxx_cv_func_hypotl_use=no
25460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25461 ac_ext=c
25462 ac_cpp='$CPP $CPPFLAGS'
25463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
25472 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
25474 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
25475 for ac_func in hypotl
25476 do :
25477 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
25478 if test "x$ac_cv_func_hypotl" = x""yes; then :
25479 cat >>confdefs.h <<_ACEOF
25480 #define HAVE_HYPOTL 1
25481 _ACEOF
25484 done
25486 else
25488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
25489 $as_echo_n "checking for _hypotl declaration... " >&6; }
25490 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
25491 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
25492 $as_echo_n "(cached) " >&6
25493 else
25496 ac_ext=cpp
25497 ac_cpp='$CXXCPP $CPPFLAGS'
25498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25503 /* end confdefs.h. */
25504 #include <math.h>
25506 main ()
25508 _hypotl(0, 0);
25510 return 0;
25512 _ACEOF
25513 if ac_fn_cxx_try_compile "$LINENO"; then :
25514 glibcxx_cv_func__hypotl_use=yes
25515 else
25516 glibcxx_cv_func__hypotl_use=no
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25519 ac_ext=c
25520 ac_cpp='$CPP $CPPFLAGS'
25521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
25530 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
25532 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
25533 for ac_func in _hypotl
25534 do :
25535 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
25536 if test "x$ac_cv_func__hypotl" = x""yes; then :
25537 cat >>confdefs.h <<_ACEOF
25538 #define HAVE__HYPOTL 1
25539 _ACEOF
25542 done
25551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
25552 $as_echo_n "checking for ldexpl declaration... " >&6; }
25553 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
25554 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
25555 $as_echo_n "(cached) " >&6
25556 else
25559 ac_ext=cpp
25560 ac_cpp='$CXXCPP $CPPFLAGS'
25561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25566 /* end confdefs.h. */
25567 #include <math.h>
25569 main ()
25571 ldexpl(0, 0);
25573 return 0;
25575 _ACEOF
25576 if ac_fn_cxx_try_compile "$LINENO"; then :
25577 glibcxx_cv_func_ldexpl_use=yes
25578 else
25579 glibcxx_cv_func_ldexpl_use=no
25581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25582 ac_ext=c
25583 ac_cpp='$CPP $CPPFLAGS'
25584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
25593 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
25595 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
25596 for ac_func in ldexpl
25597 do :
25598 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
25599 if test "x$ac_cv_func_ldexpl" = x""yes; then :
25600 cat >>confdefs.h <<_ACEOF
25601 #define HAVE_LDEXPL 1
25602 _ACEOF
25605 done
25607 else
25609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
25610 $as_echo_n "checking for _ldexpl declaration... " >&6; }
25611 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
25612 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
25613 $as_echo_n "(cached) " >&6
25614 else
25617 ac_ext=cpp
25618 ac_cpp='$CXXCPP $CPPFLAGS'
25619 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25620 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25621 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25624 /* end confdefs.h. */
25625 #include <math.h>
25627 main ()
25629 _ldexpl(0, 0);
25631 return 0;
25633 _ACEOF
25634 if ac_fn_cxx_try_compile "$LINENO"; then :
25635 glibcxx_cv_func__ldexpl_use=yes
25636 else
25637 glibcxx_cv_func__ldexpl_use=no
25639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25640 ac_ext=c
25641 ac_cpp='$CPP $CPPFLAGS'
25642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
25651 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
25653 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
25654 for ac_func in _ldexpl
25655 do :
25656 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
25657 if test "x$ac_cv_func__ldexpl" = x""yes; then :
25658 cat >>confdefs.h <<_ACEOF
25659 #define HAVE__LDEXPL 1
25660 _ACEOF
25663 done
25672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
25673 $as_echo_n "checking for logl declaration... " >&6; }
25674 if test x${glibcxx_cv_func_logl_use+set} != xset; then
25675 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
25676 $as_echo_n "(cached) " >&6
25677 else
25680 ac_ext=cpp
25681 ac_cpp='$CXXCPP $CPPFLAGS'
25682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25687 /* end confdefs.h. */
25688 #include <math.h>
25689 #ifdef HAVE_IEEEFP_H
25690 #include <ieeefp.h>
25691 #endif
25694 main ()
25696 logl(0);
25698 return 0;
25700 _ACEOF
25701 if ac_fn_cxx_try_compile "$LINENO"; then :
25702 glibcxx_cv_func_logl_use=yes
25703 else
25704 glibcxx_cv_func_logl_use=no
25706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25707 ac_ext=c
25708 ac_cpp='$CPP $CPPFLAGS'
25709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
25718 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
25720 if test x$glibcxx_cv_func_logl_use = x"yes"; then
25721 for ac_func in logl
25722 do :
25723 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
25724 if test "x$ac_cv_func_logl" = x""yes; then :
25725 cat >>confdefs.h <<_ACEOF
25726 #define HAVE_LOGL 1
25727 _ACEOF
25730 done
25732 else
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
25735 $as_echo_n "checking for _logl declaration... " >&6; }
25736 if test x${glibcxx_cv_func__logl_use+set} != xset; then
25737 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
25738 $as_echo_n "(cached) " >&6
25739 else
25742 ac_ext=cpp
25743 ac_cpp='$CXXCPP $CPPFLAGS'
25744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25749 /* end confdefs.h. */
25750 #include <math.h>
25751 #ifdef HAVE_IEEEFP_H
25752 #include <ieeefp.h>
25753 #endif
25756 main ()
25758 _logl(0);
25760 return 0;
25762 _ACEOF
25763 if ac_fn_cxx_try_compile "$LINENO"; then :
25764 glibcxx_cv_func__logl_use=yes
25765 else
25766 glibcxx_cv_func__logl_use=no
25768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25769 ac_ext=c
25770 ac_cpp='$CPP $CPPFLAGS'
25771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
25780 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
25782 if test x$glibcxx_cv_func__logl_use = x"yes"; then
25783 for ac_func in _logl
25784 do :
25785 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
25786 if test "x$ac_cv_func__logl" = x""yes; then :
25787 cat >>confdefs.h <<_ACEOF
25788 #define HAVE__LOGL 1
25789 _ACEOF
25792 done
25801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
25802 $as_echo_n "checking for log10l declaration... " >&6; }
25803 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
25804 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
25805 $as_echo_n "(cached) " >&6
25806 else
25809 ac_ext=cpp
25810 ac_cpp='$CXXCPP $CPPFLAGS'
25811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25816 /* end confdefs.h. */
25817 #include <math.h>
25818 #ifdef HAVE_IEEEFP_H
25819 #include <ieeefp.h>
25820 #endif
25823 main ()
25825 log10l(0);
25827 return 0;
25829 _ACEOF
25830 if ac_fn_cxx_try_compile "$LINENO"; then :
25831 glibcxx_cv_func_log10l_use=yes
25832 else
25833 glibcxx_cv_func_log10l_use=no
25835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25836 ac_ext=c
25837 ac_cpp='$CPP $CPPFLAGS'
25838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
25847 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
25849 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
25850 for ac_func in log10l
25851 do :
25852 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
25853 if test "x$ac_cv_func_log10l" = x""yes; then :
25854 cat >>confdefs.h <<_ACEOF
25855 #define HAVE_LOG10L 1
25856 _ACEOF
25859 done
25861 else
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
25864 $as_echo_n "checking for _log10l declaration... " >&6; }
25865 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
25866 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
25867 $as_echo_n "(cached) " >&6
25868 else
25871 ac_ext=cpp
25872 ac_cpp='$CXXCPP $CPPFLAGS'
25873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25878 /* end confdefs.h. */
25879 #include <math.h>
25880 #ifdef HAVE_IEEEFP_H
25881 #include <ieeefp.h>
25882 #endif
25885 main ()
25887 _log10l(0);
25889 return 0;
25891 _ACEOF
25892 if ac_fn_cxx_try_compile "$LINENO"; then :
25893 glibcxx_cv_func__log10l_use=yes
25894 else
25895 glibcxx_cv_func__log10l_use=no
25897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25898 ac_ext=c
25899 ac_cpp='$CPP $CPPFLAGS'
25900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
25909 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
25911 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
25912 for ac_func in _log10l
25913 do :
25914 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
25915 if test "x$ac_cv_func__log10l" = x""yes; then :
25916 cat >>confdefs.h <<_ACEOF
25917 #define HAVE__LOG10L 1
25918 _ACEOF
25921 done
25930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
25931 $as_echo_n "checking for modfl declaration... " >&6; }
25932 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
25933 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
25934 $as_echo_n "(cached) " >&6
25935 else
25938 ac_ext=cpp
25939 ac_cpp='$CXXCPP $CPPFLAGS'
25940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25945 /* end confdefs.h. */
25946 #include <math.h>
25948 main ()
25950 modfl(0, 0);
25952 return 0;
25954 _ACEOF
25955 if ac_fn_cxx_try_compile "$LINENO"; then :
25956 glibcxx_cv_func_modfl_use=yes
25957 else
25958 glibcxx_cv_func_modfl_use=no
25960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25961 ac_ext=c
25962 ac_cpp='$CPP $CPPFLAGS'
25963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
25972 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
25974 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
25975 for ac_func in modfl
25976 do :
25977 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
25978 if test "x$ac_cv_func_modfl" = x""yes; then :
25979 cat >>confdefs.h <<_ACEOF
25980 #define HAVE_MODFL 1
25981 _ACEOF
25984 done
25986 else
25988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
25989 $as_echo_n "checking for _modfl declaration... " >&6; }
25990 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
25991 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
25992 $as_echo_n "(cached) " >&6
25993 else
25996 ac_ext=cpp
25997 ac_cpp='$CXXCPP $CPPFLAGS'
25998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26003 /* end confdefs.h. */
26004 #include <math.h>
26006 main ()
26008 _modfl(0, 0);
26010 return 0;
26012 _ACEOF
26013 if ac_fn_cxx_try_compile "$LINENO"; then :
26014 glibcxx_cv_func__modfl_use=yes
26015 else
26016 glibcxx_cv_func__modfl_use=no
26018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26019 ac_ext=c
26020 ac_cpp='$CPP $CPPFLAGS'
26021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26030 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26032 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26033 for ac_func in _modfl
26034 do :
26035 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26036 if test "x$ac_cv_func__modfl" = x""yes; then :
26037 cat >>confdefs.h <<_ACEOF
26038 #define HAVE__MODFL 1
26039 _ACEOF
26042 done
26051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26052 $as_echo_n "checking for powl declaration... " >&6; }
26053 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26054 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26055 $as_echo_n "(cached) " >&6
26056 else
26059 ac_ext=cpp
26060 ac_cpp='$CXXCPP $CPPFLAGS'
26061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26066 /* end confdefs.h. */
26067 #include <math.h>
26069 main ()
26071 powl(0, 0);
26073 return 0;
26075 _ACEOF
26076 if ac_fn_cxx_try_compile "$LINENO"; then :
26077 glibcxx_cv_func_powl_use=yes
26078 else
26079 glibcxx_cv_func_powl_use=no
26081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26082 ac_ext=c
26083 ac_cpp='$CPP $CPPFLAGS'
26084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
26093 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
26095 if test x$glibcxx_cv_func_powl_use = x"yes"; then
26096 for ac_func in powl
26097 do :
26098 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
26099 if test "x$ac_cv_func_powl" = x""yes; then :
26100 cat >>confdefs.h <<_ACEOF
26101 #define HAVE_POWL 1
26102 _ACEOF
26105 done
26107 else
26109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
26110 $as_echo_n "checking for _powl declaration... " >&6; }
26111 if test x${glibcxx_cv_func__powl_use+set} != xset; then
26112 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
26113 $as_echo_n "(cached) " >&6
26114 else
26117 ac_ext=cpp
26118 ac_cpp='$CXXCPP $CPPFLAGS'
26119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26124 /* end confdefs.h. */
26125 #include <math.h>
26127 main ()
26129 _powl(0, 0);
26131 return 0;
26133 _ACEOF
26134 if ac_fn_cxx_try_compile "$LINENO"; then :
26135 glibcxx_cv_func__powl_use=yes
26136 else
26137 glibcxx_cv_func__powl_use=no
26139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26140 ac_ext=c
26141 ac_cpp='$CPP $CPPFLAGS'
26142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
26151 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
26153 if test x$glibcxx_cv_func__powl_use = x"yes"; then
26154 for ac_func in _powl
26155 do :
26156 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
26157 if test "x$ac_cv_func__powl" = x""yes; then :
26158 cat >>confdefs.h <<_ACEOF
26159 #define HAVE__POWL 1
26160 _ACEOF
26163 done
26172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
26173 $as_echo_n "checking for sqrtl declaration... " >&6; }
26174 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
26175 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
26176 $as_echo_n "(cached) " >&6
26177 else
26180 ac_ext=cpp
26181 ac_cpp='$CXXCPP $CPPFLAGS'
26182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26187 /* end confdefs.h. */
26188 #include <math.h>
26189 #ifdef HAVE_IEEEFP_H
26190 #include <ieeefp.h>
26191 #endif
26194 main ()
26196 sqrtl(0);
26198 return 0;
26200 _ACEOF
26201 if ac_fn_cxx_try_compile "$LINENO"; then :
26202 glibcxx_cv_func_sqrtl_use=yes
26203 else
26204 glibcxx_cv_func_sqrtl_use=no
26206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26207 ac_ext=c
26208 ac_cpp='$CPP $CPPFLAGS'
26209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
26218 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
26220 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
26221 for ac_func in sqrtl
26222 do :
26223 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
26224 if test "x$ac_cv_func_sqrtl" = x""yes; then :
26225 cat >>confdefs.h <<_ACEOF
26226 #define HAVE_SQRTL 1
26227 _ACEOF
26230 done
26232 else
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
26235 $as_echo_n "checking for _sqrtl declaration... " >&6; }
26236 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
26237 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
26238 $as_echo_n "(cached) " >&6
26239 else
26242 ac_ext=cpp
26243 ac_cpp='$CXXCPP $CPPFLAGS'
26244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26249 /* end confdefs.h. */
26250 #include <math.h>
26251 #ifdef HAVE_IEEEFP_H
26252 #include <ieeefp.h>
26253 #endif
26256 main ()
26258 _sqrtl(0);
26260 return 0;
26262 _ACEOF
26263 if ac_fn_cxx_try_compile "$LINENO"; then :
26264 glibcxx_cv_func__sqrtl_use=yes
26265 else
26266 glibcxx_cv_func__sqrtl_use=no
26268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26269 ac_ext=c
26270 ac_cpp='$CPP $CPPFLAGS'
26271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
26280 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
26282 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
26283 for ac_func in _sqrtl
26284 do :
26285 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
26286 if test "x$ac_cv_func__sqrtl" = x""yes; then :
26287 cat >>confdefs.h <<_ACEOF
26288 #define HAVE__SQRTL 1
26289 _ACEOF
26292 done
26301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
26302 $as_echo_n "checking for sincosl declaration... " >&6; }
26303 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
26304 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
26305 $as_echo_n "(cached) " >&6
26306 else
26309 ac_ext=cpp
26310 ac_cpp='$CXXCPP $CPPFLAGS'
26311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26316 /* end confdefs.h. */
26317 #include <math.h>
26319 main ()
26321 sincosl(0, 0, 0);
26323 return 0;
26325 _ACEOF
26326 if ac_fn_cxx_try_compile "$LINENO"; then :
26327 glibcxx_cv_func_sincosl_use=yes
26328 else
26329 glibcxx_cv_func_sincosl_use=no
26331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26332 ac_ext=c
26333 ac_cpp='$CPP $CPPFLAGS'
26334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
26343 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
26345 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
26346 for ac_func in sincosl
26347 do :
26348 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
26349 if test "x$ac_cv_func_sincosl" = x""yes; then :
26350 cat >>confdefs.h <<_ACEOF
26351 #define HAVE_SINCOSL 1
26352 _ACEOF
26355 done
26357 else
26359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
26360 $as_echo_n "checking for _sincosl declaration... " >&6; }
26361 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
26362 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
26363 $as_echo_n "(cached) " >&6
26364 else
26367 ac_ext=cpp
26368 ac_cpp='$CXXCPP $CPPFLAGS'
26369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26374 /* end confdefs.h. */
26375 #include <math.h>
26377 main ()
26379 _sincosl(0, 0, 0);
26381 return 0;
26383 _ACEOF
26384 if ac_fn_cxx_try_compile "$LINENO"; then :
26385 glibcxx_cv_func__sincosl_use=yes
26386 else
26387 glibcxx_cv_func__sincosl_use=no
26389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26390 ac_ext=c
26391 ac_cpp='$CPP $CPPFLAGS'
26392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
26401 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
26403 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
26404 for ac_func in _sincosl
26405 do :
26406 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
26407 if test "x$ac_cv_func__sincosl" = x""yes; then :
26408 cat >>confdefs.h <<_ACEOF
26409 #define HAVE__SINCOSL 1
26410 _ACEOF
26413 done
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
26423 $as_echo_n "checking for finitel declaration... " >&6; }
26424 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
26425 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
26426 $as_echo_n "(cached) " >&6
26427 else
26430 ac_ext=cpp
26431 ac_cpp='$CXXCPP $CPPFLAGS'
26432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26437 /* end confdefs.h. */
26438 #include <math.h>
26439 #ifdef HAVE_IEEEFP_H
26440 #include <ieeefp.h>
26441 #endif
26444 main ()
26446 finitel(0);
26448 return 0;
26450 _ACEOF
26451 if ac_fn_cxx_try_compile "$LINENO"; then :
26452 glibcxx_cv_func_finitel_use=yes
26453 else
26454 glibcxx_cv_func_finitel_use=no
26456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26457 ac_ext=c
26458 ac_cpp='$CPP $CPPFLAGS'
26459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
26468 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
26470 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
26471 for ac_func in finitel
26472 do :
26473 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
26474 if test "x$ac_cv_func_finitel" = x""yes; then :
26475 cat >>confdefs.h <<_ACEOF
26476 #define HAVE_FINITEL 1
26477 _ACEOF
26480 done
26482 else
26484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
26485 $as_echo_n "checking for _finitel declaration... " >&6; }
26486 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
26487 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
26488 $as_echo_n "(cached) " >&6
26489 else
26492 ac_ext=cpp
26493 ac_cpp='$CXXCPP $CPPFLAGS'
26494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26499 /* end confdefs.h. */
26500 #include <math.h>
26501 #ifdef HAVE_IEEEFP_H
26502 #include <ieeefp.h>
26503 #endif
26506 main ()
26508 _finitel(0);
26510 return 0;
26512 _ACEOF
26513 if ac_fn_cxx_try_compile "$LINENO"; then :
26514 glibcxx_cv_func__finitel_use=yes
26515 else
26516 glibcxx_cv_func__finitel_use=no
26518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26519 ac_ext=c
26520 ac_cpp='$CPP $CPPFLAGS'
26521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
26530 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
26532 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
26533 for ac_func in _finitel
26534 do :
26535 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
26536 if test "x$ac_cv_func__finitel" = x""yes; then :
26537 cat >>confdefs.h <<_ACEOF
26538 #define HAVE__FINITEL 1
26539 _ACEOF
26542 done
26550 LIBS="$ac_save_LIBS"
26551 CXXFLAGS="$ac_save_CXXFLAGS"
26554 ac_test_CXXFLAGS="${CXXFLAGS+set}"
26555 ac_save_CXXFLAGS="$CXXFLAGS"
26556 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
26559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
26560 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
26561 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
26562 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
26563 $as_echo_n "(cached) " >&6
26564 else
26567 ac_ext=cpp
26568 ac_cpp='$CXXCPP $CPPFLAGS'
26569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26574 /* end confdefs.h. */
26575 #include <stdlib.h>
26577 main ()
26579 at_quick_exit(0);
26581 return 0;
26583 _ACEOF
26584 if ac_fn_cxx_try_compile "$LINENO"; then :
26585 glibcxx_cv_func_at_quick_exit_use=yes
26586 else
26587 glibcxx_cv_func_at_quick_exit_use=no
26589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26590 ac_ext=c
26591 ac_cpp='$CPP $CPPFLAGS'
26592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
26601 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
26602 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
26603 for ac_func in at_quick_exit
26604 do :
26605 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
26606 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
26607 cat >>confdefs.h <<_ACEOF
26608 #define HAVE_AT_QUICK_EXIT 1
26609 _ACEOF
26612 done
26617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
26618 $as_echo_n "checking for quick_exit declaration... " >&6; }
26619 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
26620 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
26621 $as_echo_n "(cached) " >&6
26622 else
26625 ac_ext=cpp
26626 ac_cpp='$CXXCPP $CPPFLAGS'
26627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26632 /* end confdefs.h. */
26633 #include <stdlib.h>
26635 main ()
26637 quick_exit(0);
26639 return 0;
26641 _ACEOF
26642 if ac_fn_cxx_try_compile "$LINENO"; then :
26643 glibcxx_cv_func_quick_exit_use=yes
26644 else
26645 glibcxx_cv_func_quick_exit_use=no
26647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26648 ac_ext=c
26649 ac_cpp='$CPP $CPPFLAGS'
26650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
26659 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
26660 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
26661 for ac_func in quick_exit
26662 do :
26663 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
26664 if test "x$ac_cv_func_quick_exit" = x""yes; then :
26665 cat >>confdefs.h <<_ACEOF
26666 #define HAVE_QUICK_EXIT 1
26667 _ACEOF
26670 done
26675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
26676 $as_echo_n "checking for strtold declaration... " >&6; }
26677 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
26678 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
26679 $as_echo_n "(cached) " >&6
26680 else
26683 ac_ext=cpp
26684 ac_cpp='$CXXCPP $CPPFLAGS'
26685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26690 /* end confdefs.h. */
26691 #include <stdlib.h>
26693 main ()
26695 strtold(0, 0);
26697 return 0;
26699 _ACEOF
26700 if ac_fn_cxx_try_compile "$LINENO"; then :
26701 glibcxx_cv_func_strtold_use=yes
26702 else
26703 glibcxx_cv_func_strtold_use=no
26705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26706 ac_ext=c
26707 ac_cpp='$CPP $CPPFLAGS'
26708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
26717 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
26718 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
26719 for ac_func in strtold
26720 do :
26721 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
26722 if test "x$ac_cv_func_strtold" = x""yes; then :
26723 cat >>confdefs.h <<_ACEOF
26724 #define HAVE_STRTOLD 1
26725 _ACEOF
26728 done
26735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
26736 $as_echo_n "checking for strtof declaration... " >&6; }
26737 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
26738 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
26739 $as_echo_n "(cached) " >&6
26740 else
26743 ac_ext=cpp
26744 ac_cpp='$CXXCPP $CPPFLAGS'
26745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26750 /* end confdefs.h. */
26751 #include <stdlib.h>
26753 main ()
26755 strtof(0, 0);
26757 return 0;
26759 _ACEOF
26760 if ac_fn_cxx_try_compile "$LINENO"; then :
26761 glibcxx_cv_func_strtof_use=yes
26762 else
26763 glibcxx_cv_func_strtof_use=no
26765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26766 ac_ext=c
26767 ac_cpp='$CPP $CPPFLAGS'
26768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
26777 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
26778 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
26779 for ac_func in strtof
26780 do :
26781 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
26782 if test "x$ac_cv_func_strtof" = x""yes; then :
26783 cat >>confdefs.h <<_ACEOF
26784 #define HAVE_STRTOF 1
26785 _ACEOF
26788 done
26795 CXXFLAGS="$ac_save_CXXFLAGS"
26798 # For /dev/random and /dev/urandom for TR1.
26801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
26802 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
26803 if test "${glibcxx_cv_random_tr1+set}" = set; then :
26804 $as_echo_n "(cached) " >&6
26805 else
26807 if test -r /dev/random && test -r /dev/urandom; then
26808 ## For MSys environment the test above is detect as false-positive
26809 ## on mingw-targets. So disable it explicit for them.
26810 case ${target_os} in
26811 *mingw*) glibcxx_cv_random_tr1=no ;;
26812 *) glibcxx_cv_random_tr1=yes ;;
26813 esac
26814 else
26815 glibcxx_cv_random_tr1=no;
26820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
26821 $as_echo "$glibcxx_cv_random_tr1" >&6; }
26823 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
26825 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
26831 # For TLS support.
26834 # Check whether --enable-tls was given.
26835 if test "${enable_tls+set}" = set; then :
26836 enableval=$enable_tls;
26837 case "$enableval" in
26838 yes|no) ;;
26839 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
26840 esac
26842 else
26843 enable_tls=yes
26847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
26848 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
26849 if test "${gcc_cv_have_tls+set}" = set; then :
26850 $as_echo_n "(cached) " >&6
26851 else
26853 if test "$cross_compiling" = yes; then :
26854 if test x$gcc_no_link = xyes; then
26855 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26858 /* end confdefs.h. */
26859 __thread int a; int b; int main() { return a = b; }
26860 _ACEOF
26861 if ac_fn_c_try_link "$LINENO"; then :
26862 chktls_save_LDFLAGS="$LDFLAGS"
26863 case $host in
26864 *-*-linux*)
26865 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
26867 esac
26868 chktls_save_CFLAGS="$CFLAGS"
26869 CFLAGS="-fPIC $CFLAGS"
26870 if test x$gcc_no_link = xyes; then
26871 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26874 /* end confdefs.h. */
26875 int f() { return 0; }
26876 _ACEOF
26877 if ac_fn_c_try_link "$LINENO"; then :
26878 if test x$gcc_no_link = xyes; then
26879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26882 /* end confdefs.h. */
26883 __thread int a; int b; int f() { return a = b; }
26884 _ACEOF
26885 if ac_fn_c_try_link "$LINENO"; then :
26886 gcc_cv_have_tls=yes
26887 else
26888 gcc_cv_have_tls=no
26890 rm -f core conftest.err conftest.$ac_objext \
26891 conftest$ac_exeext conftest.$ac_ext
26892 else
26893 gcc_cv_have_tls=yes
26895 rm -f core conftest.err conftest.$ac_objext \
26896 conftest$ac_exeext conftest.$ac_ext
26897 CFLAGS="$chktls_save_CFLAGS"
26898 LDFLAGS="$chktls_save_LDFLAGS"
26899 else
26900 gcc_cv_have_tls=no
26902 rm -f core conftest.err conftest.$ac_objext \
26903 conftest$ac_exeext conftest.$ac_ext
26906 else
26907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26908 /* end confdefs.h. */
26909 __thread int a; int b; int main() { return a = b; }
26910 _ACEOF
26911 if ac_fn_c_try_run "$LINENO"; then :
26912 chktls_save_LDFLAGS="$LDFLAGS"
26913 LDFLAGS="-static $LDFLAGS"
26914 if test x$gcc_no_link = xyes; then
26915 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26918 /* end confdefs.h. */
26919 int main() { return 0; }
26920 _ACEOF
26921 if ac_fn_c_try_link "$LINENO"; then :
26922 if test "$cross_compiling" = yes; then :
26923 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26924 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26925 as_fn_error "cannot run test program while cross compiling
26926 See \`config.log' for more details." "$LINENO" 5; }
26927 else
26928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26929 /* end confdefs.h. */
26930 __thread int a; int b; int main() { return a = b; }
26931 _ACEOF
26932 if ac_fn_c_try_run "$LINENO"; then :
26933 gcc_cv_have_tls=yes
26934 else
26935 gcc_cv_have_tls=no
26937 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
26938 conftest.$ac_objext conftest.beam conftest.$ac_ext
26941 else
26942 gcc_cv_have_tls=yes
26944 rm -f core conftest.err conftest.$ac_objext \
26945 conftest$ac_exeext conftest.$ac_ext
26946 LDFLAGS="$chktls_save_LDFLAGS"
26947 if test $gcc_cv_have_tls = yes; then
26948 chktls_save_CFLAGS="$CFLAGS"
26949 thread_CFLAGS=failed
26950 for flag in '' '-pthread' '-lpthread'; do
26951 CFLAGS="$flag $chktls_save_CFLAGS"
26952 if test x$gcc_no_link = xyes; then
26953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
26955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26956 /* end confdefs.h. */
26957 #include <pthread.h>
26958 void *g(void *d) { return NULL; }
26960 main ()
26962 pthread_t t; pthread_create(&t,NULL,g,NULL);
26964 return 0;
26966 _ACEOF
26967 if ac_fn_c_try_link "$LINENO"; then :
26968 thread_CFLAGS="$flag"
26970 rm -f core conftest.err conftest.$ac_objext \
26971 conftest$ac_exeext conftest.$ac_ext
26972 if test "X$thread_CFLAGS" != Xfailed; then
26973 break
26975 done
26976 CFLAGS="$chktls_save_CFLAGS"
26977 if test "X$thread_CFLAGS" != Xfailed; then
26978 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
26979 if test "$cross_compiling" = yes; then :
26980 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
26981 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
26982 as_fn_error "cannot run test program while cross compiling
26983 See \`config.log' for more details." "$LINENO" 5; }
26984 else
26985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26986 /* end confdefs.h. */
26987 #include <pthread.h>
26988 __thread int a;
26989 static int *volatile a_in_other_thread;
26990 static void *
26991 thread_func (void *arg)
26993 a_in_other_thread = &a;
26994 return (void *)0;
26997 main ()
26999 pthread_t thread;
27000 void *thread_retval;
27001 int *volatile a_in_main_thread;
27002 a_in_main_thread = &a;
27003 if (pthread_create (&thread, (pthread_attr_t *)0,
27004 thread_func, (void *)0))
27005 return 0;
27006 if (pthread_join (thread, &thread_retval))
27007 return 0;
27008 return (a_in_other_thread == a_in_main_thread);
27010 return 0;
27012 _ACEOF
27013 if ac_fn_c_try_run "$LINENO"; then :
27014 gcc_cv_have_tls=yes
27015 else
27016 gcc_cv_have_tls=no
27018 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27019 conftest.$ac_objext conftest.beam conftest.$ac_ext
27022 CFLAGS="$chktls_save_CFLAGS"
27025 else
27026 gcc_cv_have_tls=no
27028 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27029 conftest.$ac_objext conftest.beam conftest.$ac_ext
27033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27034 $as_echo "$gcc_cv_have_tls" >&6; }
27035 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27037 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27041 for ac_func in __cxa_thread_atexit_impl
27042 do :
27043 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27044 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27045 cat >>confdefs.h <<_ACEOF
27046 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27047 _ACEOF
27050 done
27053 # For iconv support.
27055 if test "X$prefix" = "XNONE"; then
27056 acl_final_prefix="$ac_default_prefix"
27057 else
27058 acl_final_prefix="$prefix"
27060 if test "X$exec_prefix" = "XNONE"; then
27061 acl_final_exec_prefix='${prefix}'
27062 else
27063 acl_final_exec_prefix="$exec_prefix"
27065 acl_save_prefix="$prefix"
27066 prefix="$acl_final_prefix"
27067 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
27068 prefix="$acl_save_prefix"
27071 # Check whether --with-gnu-ld was given.
27072 if test "${with_gnu_ld+set}" = set; then :
27073 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
27074 else
27075 with_gnu_ld=no
27078 # Prepare PATH_SEPARATOR.
27079 # The user is always right.
27080 if test "${PATH_SEPARATOR+set}" != set; then
27081 echo "#! /bin/sh" >conf$$.sh
27082 echo "exit 0" >>conf$$.sh
27083 chmod +x conf$$.sh
27084 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
27085 PATH_SEPARATOR=';'
27086 else
27087 PATH_SEPARATOR=:
27089 rm -f conf$$.sh
27091 ac_prog=ld
27092 if test "$GCC" = yes; then
27093 # Check if gcc -print-prog-name=ld gives a path.
27094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
27095 $as_echo_n "checking for ld used by GCC... " >&6; }
27096 case $host in
27097 *-*-mingw*)
27098 # gcc leaves a trailing carriage return which upsets mingw
27099 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
27101 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
27102 esac
27103 case $ac_prog in
27104 # Accept absolute paths.
27105 [\\/]* | [A-Za-z]:[\\/]*)
27106 re_direlt='/[^/][^/]*/\.\./'
27107 # Canonicalize the path of ld
27108 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
27109 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
27110 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
27111 done
27112 test -z "$LD" && LD="$ac_prog"
27115 # If it fails, then pretend we aren't using GCC.
27116 ac_prog=ld
27119 # If it is relative, then search for the first ld in PATH.
27120 with_gnu_ld=unknown
27122 esac
27123 elif test "$with_gnu_ld" = yes; then
27124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
27125 $as_echo_n "checking for GNU ld... " >&6; }
27126 else
27127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
27128 $as_echo_n "checking for non-GNU ld... " >&6; }
27130 if test "${acl_cv_path_LD+set}" = set; then :
27131 $as_echo_n "(cached) " >&6
27132 else
27133 if test -z "$LD"; then
27134 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
27135 for ac_dir in $PATH; do
27136 test -z "$ac_dir" && ac_dir=.
27137 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
27138 acl_cv_path_LD="$ac_dir/$ac_prog"
27139 # Check to see if the program is GNU ld. I'd rather use --version,
27140 # but apparently some GNU ld's only accept -v.
27141 # Break only if it was the GNU/non-GNU ld that we prefer.
27142 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
27143 test "$with_gnu_ld" != no && break
27144 else
27145 test "$with_gnu_ld" != yes && break
27148 done
27149 IFS="$ac_save_ifs"
27150 else
27151 acl_cv_path_LD="$LD" # Let the user override the test with a path.
27155 LD="$acl_cv_path_LD"
27156 if test -n "$LD"; then
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
27158 $as_echo "$LD" >&6; }
27159 else
27160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
27161 $as_echo "no" >&6; }
27163 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
27164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
27165 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
27166 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
27167 $as_echo_n "(cached) " >&6
27168 else
27169 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
27170 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
27171 acl_cv_prog_gnu_ld=yes
27172 else
27173 acl_cv_prog_gnu_ld=no
27176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
27177 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
27178 with_gnu_ld=$acl_cv_prog_gnu_ld
27182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
27183 $as_echo_n "checking for shared library run path origin... " >&6; }
27184 if test "${acl_cv_rpath+set}" = set; then :
27185 $as_echo_n "(cached) " >&6
27186 else
27188 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
27189 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
27190 . ./conftest.sh
27191 rm -f ./conftest.sh
27192 acl_cv_rpath=done
27195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
27196 $as_echo "$acl_cv_rpath" >&6; }
27197 wl="$acl_cv_wl"
27198 libext="$acl_cv_libext"
27199 shlibext="$acl_cv_shlibext"
27200 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
27201 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
27202 hardcode_direct="$acl_cv_hardcode_direct"
27203 hardcode_minus_L="$acl_cv_hardcode_minus_L"
27204 # Check whether --enable-rpath was given.
27205 if test "${enable_rpath+set}" = set; then :
27206 enableval=$enable_rpath; :
27207 else
27208 enable_rpath=yes
27218 use_additional=yes
27220 acl_save_prefix="$prefix"
27221 prefix="$acl_final_prefix"
27222 acl_save_exec_prefix="$exec_prefix"
27223 exec_prefix="$acl_final_exec_prefix"
27225 eval additional_includedir=\"$includedir\"
27226 eval additional_libdir=\"$libdir\"
27228 exec_prefix="$acl_save_exec_prefix"
27229 prefix="$acl_save_prefix"
27232 # Check whether --with-libiconv-prefix was given.
27233 if test "${with_libiconv_prefix+set}" = set; then :
27234 withval=$with_libiconv_prefix;
27235 if test "X$withval" = "Xno"; then
27236 use_additional=no
27237 else
27238 if test "X$withval" = "X"; then
27240 acl_save_prefix="$prefix"
27241 prefix="$acl_final_prefix"
27242 acl_save_exec_prefix="$exec_prefix"
27243 exec_prefix="$acl_final_exec_prefix"
27245 eval additional_includedir=\"$includedir\"
27246 eval additional_libdir=\"$libdir\"
27248 exec_prefix="$acl_save_exec_prefix"
27249 prefix="$acl_save_prefix"
27251 else
27252 additional_includedir="$withval/include"
27253 additional_libdir="$withval/lib"
27259 LIBICONV=
27260 LTLIBICONV=
27261 INCICONV=
27262 rpathdirs=
27263 ltrpathdirs=
27264 names_already_handled=
27265 names_next_round='iconv '
27266 while test -n "$names_next_round"; do
27267 names_this_round="$names_next_round"
27268 names_next_round=
27269 for name in $names_this_round; do
27270 already_handled=
27271 for n in $names_already_handled; do
27272 if test "$n" = "$name"; then
27273 already_handled=yes
27274 break
27276 done
27277 if test -z "$already_handled"; then
27278 names_already_handled="$names_already_handled $name"
27279 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
27280 eval value=\"\$HAVE_LIB$uppername\"
27281 if test -n "$value"; then
27282 if test "$value" = yes; then
27283 eval value=\"\$LIB$uppername\"
27284 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
27285 eval value=\"\$LTLIB$uppername\"
27286 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
27287 else
27290 else
27291 found_dir=
27292 found_la=
27293 found_so=
27294 found_a=
27295 if test $use_additional = yes; then
27296 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
27297 found_dir="$additional_libdir"
27298 found_so="$additional_libdir/lib$name.$shlibext"
27299 if test -f "$additional_libdir/lib$name.la"; then
27300 found_la="$additional_libdir/lib$name.la"
27302 else
27303 if test -f "$additional_libdir/lib$name.$libext"; then
27304 found_dir="$additional_libdir"
27305 found_a="$additional_libdir/lib$name.$libext"
27306 if test -f "$additional_libdir/lib$name.la"; then
27307 found_la="$additional_libdir/lib$name.la"
27312 if test "X$found_dir" = "X"; then
27313 for x in $LDFLAGS $LTLIBICONV; do
27315 acl_save_prefix="$prefix"
27316 prefix="$acl_final_prefix"
27317 acl_save_exec_prefix="$exec_prefix"
27318 exec_prefix="$acl_final_exec_prefix"
27319 eval x=\"$x\"
27320 exec_prefix="$acl_save_exec_prefix"
27321 prefix="$acl_save_prefix"
27323 case "$x" in
27324 -L*)
27325 dir=`echo "X$x" | sed -e 's/^X-L//'`
27326 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
27327 found_dir="$dir"
27328 found_so="$dir/lib$name.$shlibext"
27329 if test -f "$dir/lib$name.la"; then
27330 found_la="$dir/lib$name.la"
27332 else
27333 if test -f "$dir/lib$name.$libext"; then
27334 found_dir="$dir"
27335 found_a="$dir/lib$name.$libext"
27336 if test -f "$dir/lib$name.la"; then
27337 found_la="$dir/lib$name.la"
27342 esac
27343 if test "X$found_dir" != "X"; then
27344 break
27346 done
27348 if test "X$found_dir" != "X"; then
27349 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
27350 if test "X$found_so" != "X"; then
27351 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
27352 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27353 else
27354 haveit=
27355 for x in $ltrpathdirs; do
27356 if test "X$x" = "X$found_dir"; then
27357 haveit=yes
27358 break
27360 done
27361 if test -z "$haveit"; then
27362 ltrpathdirs="$ltrpathdirs $found_dir"
27364 if test "$hardcode_direct" = yes; then
27365 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27366 else
27367 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
27368 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27369 haveit=
27370 for x in $rpathdirs; do
27371 if test "X$x" = "X$found_dir"; then
27372 haveit=yes
27373 break
27375 done
27376 if test -z "$haveit"; then
27377 rpathdirs="$rpathdirs $found_dir"
27379 else
27380 haveit=
27381 for x in $LDFLAGS $LIBICONV; do
27383 acl_save_prefix="$prefix"
27384 prefix="$acl_final_prefix"
27385 acl_save_exec_prefix="$exec_prefix"
27386 exec_prefix="$acl_final_exec_prefix"
27387 eval x=\"$x\"
27388 exec_prefix="$acl_save_exec_prefix"
27389 prefix="$acl_save_prefix"
27391 if test "X$x" = "X-L$found_dir"; then
27392 haveit=yes
27393 break
27395 done
27396 if test -z "$haveit"; then
27397 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
27399 if test "$hardcode_minus_L" != no; then
27400 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
27401 else
27402 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27407 else
27408 if test "X$found_a" != "X"; then
27409 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
27410 else
27411 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
27414 additional_includedir=
27415 case "$found_dir" in
27416 */lib | */lib/)
27417 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
27418 additional_includedir="$basedir/include"
27420 esac
27421 if test "X$additional_includedir" != "X"; then
27422 if test "X$additional_includedir" != "X/usr/include"; then
27423 haveit=
27424 if test "X$additional_includedir" = "X/usr/local/include"; then
27425 if test -n "$GCC"; then
27426 case $host_os in
27427 linux*) haveit=yes;;
27428 esac
27431 if test -z "$haveit"; then
27432 for x in $CPPFLAGS $INCICONV; do
27434 acl_save_prefix="$prefix"
27435 prefix="$acl_final_prefix"
27436 acl_save_exec_prefix="$exec_prefix"
27437 exec_prefix="$acl_final_exec_prefix"
27438 eval x=\"$x\"
27439 exec_prefix="$acl_save_exec_prefix"
27440 prefix="$acl_save_prefix"
27442 if test "X$x" = "X-I$additional_includedir"; then
27443 haveit=yes
27444 break
27446 done
27447 if test -z "$haveit"; then
27448 if test -d "$additional_includedir"; then
27449 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
27455 if test -n "$found_la"; then
27456 save_libdir="$libdir"
27457 case "$found_la" in
27458 */* | *\\*) . "$found_la" ;;
27459 *) . "./$found_la" ;;
27460 esac
27461 libdir="$save_libdir"
27462 for dep in $dependency_libs; do
27463 case "$dep" in
27464 -L*)
27465 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
27466 if test "X$additional_libdir" != "X/usr/lib"; then
27467 haveit=
27468 if test "X$additional_libdir" = "X/usr/local/lib"; then
27469 if test -n "$GCC"; then
27470 case $host_os in
27471 linux*) haveit=yes;;
27472 esac
27475 if test -z "$haveit"; then
27476 haveit=
27477 for x in $LDFLAGS $LIBICONV; do
27479 acl_save_prefix="$prefix"
27480 prefix="$acl_final_prefix"
27481 acl_save_exec_prefix="$exec_prefix"
27482 exec_prefix="$acl_final_exec_prefix"
27483 eval x=\"$x\"
27484 exec_prefix="$acl_save_exec_prefix"
27485 prefix="$acl_save_prefix"
27487 if test "X$x" = "X-L$additional_libdir"; then
27488 haveit=yes
27489 break
27491 done
27492 if test -z "$haveit"; then
27493 if test -d "$additional_libdir"; then
27494 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
27497 haveit=
27498 for x in $LDFLAGS $LTLIBICONV; do
27500 acl_save_prefix="$prefix"
27501 prefix="$acl_final_prefix"
27502 acl_save_exec_prefix="$exec_prefix"
27503 exec_prefix="$acl_final_exec_prefix"
27504 eval x=\"$x\"
27505 exec_prefix="$acl_save_exec_prefix"
27506 prefix="$acl_save_prefix"
27508 if test "X$x" = "X-L$additional_libdir"; then
27509 haveit=yes
27510 break
27512 done
27513 if test -z "$haveit"; then
27514 if test -d "$additional_libdir"; then
27515 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
27521 -R*)
27522 dir=`echo "X$dep" | sed -e 's/^X-R//'`
27523 if test "$enable_rpath" != no; then
27524 haveit=
27525 for x in $rpathdirs; do
27526 if test "X$x" = "X$dir"; then
27527 haveit=yes
27528 break
27530 done
27531 if test -z "$haveit"; then
27532 rpathdirs="$rpathdirs $dir"
27534 haveit=
27535 for x in $ltrpathdirs; do
27536 if test "X$x" = "X$dir"; then
27537 haveit=yes
27538 break
27540 done
27541 if test -z "$haveit"; then
27542 ltrpathdirs="$ltrpathdirs $dir"
27546 -l*)
27547 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
27549 *.la)
27550 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
27553 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
27554 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
27556 esac
27557 done
27559 else
27560 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
27561 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
27565 done
27566 done
27567 if test "X$rpathdirs" != "X"; then
27568 if test -n "$hardcode_libdir_separator"; then
27569 alldirs=
27570 for found_dir in $rpathdirs; do
27571 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
27572 done
27573 acl_save_libdir="$libdir"
27574 libdir="$alldirs"
27575 eval flag=\"$hardcode_libdir_flag_spec\"
27576 libdir="$acl_save_libdir"
27577 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27578 else
27579 for found_dir in $rpathdirs; do
27580 acl_save_libdir="$libdir"
27581 libdir="$found_dir"
27582 eval flag=\"$hardcode_libdir_flag_spec\"
27583 libdir="$acl_save_libdir"
27584 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
27585 done
27588 if test "X$ltrpathdirs" != "X"; then
27589 for found_dir in $ltrpathdirs; do
27590 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
27591 done
27600 am_save_CPPFLAGS="$CPPFLAGS"
27602 for element in $INCICONV; do
27603 haveit=
27604 for x in $CPPFLAGS; do
27606 acl_save_prefix="$prefix"
27607 prefix="$acl_final_prefix"
27608 acl_save_exec_prefix="$exec_prefix"
27609 exec_prefix="$acl_final_exec_prefix"
27610 eval x=\"$x\"
27611 exec_prefix="$acl_save_exec_prefix"
27612 prefix="$acl_save_prefix"
27614 if test "X$x" = "X$element"; then
27615 haveit=yes
27616 break
27618 done
27619 if test -z "$haveit"; then
27620 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
27622 done
27625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
27626 $as_echo_n "checking for iconv... " >&6; }
27627 if test "${am_cv_func_iconv+set}" = set; then :
27628 $as_echo_n "(cached) " >&6
27629 else
27631 am_cv_func_iconv="no, consider installing GNU libiconv"
27632 am_cv_lib_iconv=no
27633 if test x$gcc_no_link = xyes; then
27634 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27637 /* end confdefs.h. */
27638 #include <stdlib.h>
27639 #include <iconv.h>
27641 main ()
27643 iconv_t cd = iconv_open("","");
27644 iconv(cd,NULL,NULL,NULL,NULL);
27645 iconv_close(cd);
27647 return 0;
27649 _ACEOF
27650 if ac_fn_c_try_link "$LINENO"; then :
27651 am_cv_func_iconv=yes
27653 rm -f core conftest.err conftest.$ac_objext \
27654 conftest$ac_exeext conftest.$ac_ext
27655 if test "$am_cv_func_iconv" != yes; then
27656 am_save_LIBS="$LIBS"
27657 LIBS="$LIBS $LIBICONV"
27658 if test x$gcc_no_link = xyes; then
27659 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27662 /* end confdefs.h. */
27663 #include <stdlib.h>
27664 #include <iconv.h>
27666 main ()
27668 iconv_t cd = iconv_open("","");
27669 iconv(cd,NULL,NULL,NULL,NULL);
27670 iconv_close(cd);
27672 return 0;
27674 _ACEOF
27675 if ac_fn_c_try_link "$LINENO"; then :
27676 am_cv_lib_iconv=yes
27677 am_cv_func_iconv=yes
27679 rm -f core conftest.err conftest.$ac_objext \
27680 conftest$ac_exeext conftest.$ac_ext
27681 LIBS="$am_save_LIBS"
27685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
27686 $as_echo "$am_cv_func_iconv" >&6; }
27687 if test "$am_cv_func_iconv" = yes; then
27689 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27692 if test "$am_cv_lib_iconv" = yes; then
27693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
27694 $as_echo_n "checking how to link with libiconv... " >&6; }
27695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
27696 $as_echo "$LIBICONV" >&6; }
27697 else
27698 CPPFLAGS="$am_save_CPPFLAGS"
27699 LIBICONV=
27700 LTLIBICONV=
27705 if test "$am_cv_func_iconv" = yes; then
27706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
27707 $as_echo_n "checking for iconv declaration... " >&6; }
27708 if test "${am_cv_proto_iconv+set}" = set; then :
27709 $as_echo_n "(cached) " >&6
27710 else
27712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27713 /* end confdefs.h. */
27715 #include <stdlib.h>
27716 #include <iconv.h>
27717 extern
27718 #ifdef __cplusplus
27720 #endif
27721 #if defined(__STDC__) || defined(__cplusplus)
27722 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
27723 #else
27724 size_t iconv();
27725 #endif
27728 main ()
27732 return 0;
27734 _ACEOF
27735 if ac_fn_c_try_compile "$LINENO"; then :
27736 am_cv_proto_iconv_arg1=""
27737 else
27738 am_cv_proto_iconv_arg1="const"
27740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27741 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);"
27744 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
27746 }$am_cv_proto_iconv" >&5
27747 $as_echo "${ac_t:-
27748 }$am_cv_proto_iconv" >&6; }
27750 cat >>confdefs.h <<_ACEOF
27751 #define ICONV_CONST $am_cv_proto_iconv_arg1
27752 _ACEOF
27757 else
27759 # This lets us hard-code the functionality we know we'll have in the cross
27760 # target environment. "Let" is a sugar-coated word placed on an especially
27761 # dull and tedious hack, actually.
27763 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
27764 # that involve linking, can't be used:
27765 # "cannot open sim-crt0.o"
27766 # "cannot open crt0.o"
27767 # etc. All this is because there currently exists no unified, consistent
27768 # way for top level CC information to be passed down to target directories:
27769 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
27770 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
27771 # crosses can be removed.
27773 # If Canadian cross, then don't pick up tools from the build directory.
27774 # Used only in GLIBCXX_EXPORT_INCLUDES.
27775 if test -n "$with_cross_host" &&
27776 test x"$build_alias" != x"$with_cross_host" &&
27777 test x"$build" != x"$target";
27778 then
27779 CANADIAN=yes
27780 else
27781 CANADIAN=no
27784 # Construct crosses by hand, eliminating bits that need ld...
27785 # GLIBCXX_CHECK_MATH_SUPPORT
27787 # First, test for "known" system libraries. We may be using newlib even
27788 # on a hosted environment.
27789 if test "x${with_newlib}" = "xyes"; then
27790 os_include_dir="os/newlib"
27791 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
27794 # GLIBCXX_CHECK_STDLIB_SUPPORT
27795 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
27798 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
27800 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
27802 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
27804 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
27806 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
27808 $as_echo "#define HAVE_COSF 1" >>confdefs.h
27810 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
27812 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
27814 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
27816 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
27818 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
27820 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
27822 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
27824 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
27826 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
27828 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
27830 $as_echo "#define HAVE_POWF 1" >>confdefs.h
27832 $as_echo "#define HAVE_SINF 1" >>confdefs.h
27834 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
27836 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
27838 $as_echo "#define HAVE_TANF 1" >>confdefs.h
27840 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
27843 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
27845 else
27847 # Base decisions on target environment.
27848 case "${host}" in
27849 arm*-*-symbianelf*)
27850 # This is a freestanding configuration; there is nothing to do here.
27853 mips*-sde-elf*)
27854 # These definitions are for the SDE C library rather than newlib.
27855 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27858 # All these tests are for C++; save the language and the compiler flags.
27859 # The CXXFLAGS thing is suspicious, but based on similar bits previously
27860 # found in GLIBCXX_CONFIGURE.
27862 ac_ext=cpp
27863 ac_cpp='$CXXCPP $CPPFLAGS'
27864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27868 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27869 ac_save_CXXFLAGS="$CXXFLAGS"
27871 # Check for maintainer-mode bits.
27872 if test x"$USE_MAINTAINER_MODE" = xno; then
27873 WERROR=''
27874 else
27875 WERROR='-Werror'
27878 # Check for -ffunction-sections -fdata-sections
27879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
27880 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
27881 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
27882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27883 /* end confdefs.h. */
27884 int foo; void bar() { };
27886 main ()
27890 return 0;
27892 _ACEOF
27893 if ac_fn_cxx_try_compile "$LINENO"; then :
27894 ac_fdsections=yes
27895 else
27896 ac_fdsections=no
27898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27899 if test "$ac_test_CXXFLAGS" = set; then
27900 CXXFLAGS="$ac_save_CXXFLAGS"
27901 else
27902 # this is the suspicious part
27903 CXXFLAGS=''
27905 if test x"$ac_fdsections" = x"yes"; then
27906 SECTION_FLAGS='-ffunction-sections -fdata-sections'
27908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
27909 $as_echo "$ac_fdsections" >&6; }
27911 ac_ext=c
27912 ac_cpp='$CPP $CPPFLAGS'
27913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27921 # If we're not using GNU ld, then there's no point in even trying these
27922 # tests. Check for that first. We should have already tested for gld
27923 # by now (in libtool), but require it now just to be safe...
27924 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
27925 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
27929 # The name set by libtool depends on the version of libtool. Shame on us
27930 # for depending on an impl detail, but c'est la vie. Older versions used
27931 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
27932 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
27933 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
27934 # set (hence we're using an older libtool), then set it.
27935 if test x${with_gnu_ld+set} != xset; then
27936 if test x${ac_cv_prog_gnu_ld+set} != xset; then
27937 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
27938 with_gnu_ld=no
27939 else
27940 with_gnu_ld=$ac_cv_prog_gnu_ld
27944 # Start by getting the version number. I think the libtool test already
27945 # does some of this, but throws away the result.
27946 glibcxx_ld_is_gold=no
27947 if test x"$with_gnu_ld" = x"yes"; then
27948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
27949 $as_echo_n "checking for ld version... " >&6; }
27951 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
27952 glibcxx_ld_is_gold=yes
27954 ldver=`$LD --version 2>/dev/null |
27955 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'`
27957 glibcxx_gnu_ld_version=`echo $ldver | \
27958 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
27959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
27960 $as_echo "$glibcxx_gnu_ld_version" >&6; }
27963 # Set --gc-sections.
27964 glibcxx_have_gc_sections=no
27965 if test "$glibcxx_ld_is_gold" = "yes"; then
27966 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
27967 glibcxx_have_gc_sections=yes
27969 else
27970 glibcxx_gcsections_min_ld=21602
27971 if test x"$with_gnu_ld" = x"yes" &&
27972 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
27973 glibcxx_have_gc_sections=yes
27976 if test "$glibcxx_have_gc_sections" = "yes"; then
27977 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
27978 # NB: This flag only works reliably after 2.16.1. Configure tests
27979 # for this are difficult, so hard wire a value that should work.
27981 ac_test_CFLAGS="${CFLAGS+set}"
27982 ac_save_CFLAGS="$CFLAGS"
27983 CFLAGS='-Wl,--gc-sections'
27985 # Check for -Wl,--gc-sections
27986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
27987 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
27988 if test x$gcc_no_link = xyes; then
27989 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27992 /* end confdefs.h. */
27993 int one(void) { return 1; }
27994 int two(void) { return 2; }
27997 main ()
27999 two();
28001 return 0;
28003 _ACEOF
28004 if ac_fn_c_try_link "$LINENO"; then :
28005 ac_gcsections=yes
28006 else
28007 ac_gcsections=no
28009 rm -f core conftest.err conftest.$ac_objext \
28010 conftest$ac_exeext conftest.$ac_ext
28011 if test "$ac_gcsections" = "yes"; then
28012 rm -f conftest.c
28013 touch conftest.c
28014 if $CC -c conftest.c; then
28015 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
28016 grep "Warning: gc-sections option ignored" > /dev/null; then
28017 ac_gcsections=no
28020 rm -f conftest.c conftest.o conftest
28022 if test "$ac_gcsections" = "yes"; then
28023 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
28025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
28026 $as_echo "$ac_gcsections" >&6; }
28028 if test "$ac_test_CFLAGS" = set; then
28029 CFLAGS="$ac_save_CFLAGS"
28030 else
28031 # this is the suspicious part
28032 CFLAGS=''
28036 # Set -z,relro.
28037 # Note this is only for shared objects.
28038 ac_ld_relro=no
28039 if test x"$with_gnu_ld" = x"yes"; then
28040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
28041 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
28042 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
28043 if test -n "$cxx_z_relo"; then
28044 OPT_LDFLAGS="-Wl,-z,relro"
28045 ac_ld_relro=yes
28047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
28048 $as_echo "$ac_ld_relro" >&6; }
28051 # Set linker optimization flags.
28052 if test x"$with_gnu_ld" = x"yes"; then
28053 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
28060 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28061 ac_save_CXXFLAGS="$CXXFLAGS"
28062 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
28064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
28065 $as_echo_n "checking for sin in -lm... " >&6; }
28066 if test "${ac_cv_lib_m_sin+set}" = set; then :
28067 $as_echo_n "(cached) " >&6
28068 else
28069 ac_check_lib_save_LIBS=$LIBS
28070 LIBS="-lm $LIBS"
28071 if test x$gcc_no_link = xyes; then
28072 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28075 /* end confdefs.h. */
28077 /* Override any GCC internal prototype to avoid an error.
28078 Use char because int might match the return type of a GCC
28079 builtin and then its argument prototype would still apply. */
28080 #ifdef __cplusplus
28081 extern "C"
28082 #endif
28083 char sin ();
28085 main ()
28087 return sin ();
28089 return 0;
28091 _ACEOF
28092 if ac_fn_c_try_link "$LINENO"; then :
28093 ac_cv_lib_m_sin=yes
28094 else
28095 ac_cv_lib_m_sin=no
28097 rm -f core conftest.err conftest.$ac_objext \
28098 conftest$ac_exeext conftest.$ac_ext
28099 LIBS=$ac_check_lib_save_LIBS
28101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
28102 $as_echo "$ac_cv_lib_m_sin" >&6; }
28103 if test "x$ac_cv_lib_m_sin" = x""yes; then :
28104 libm="-lm"
28107 ac_save_LIBS="$LIBS"
28108 LIBS="$LIBS $libm"
28112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
28113 $as_echo_n "checking for isinf declaration... " >&6; }
28114 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
28115 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
28116 $as_echo_n "(cached) " >&6
28117 else
28120 ac_ext=cpp
28121 ac_cpp='$CXXCPP $CPPFLAGS'
28122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28127 /* end confdefs.h. */
28128 #include <math.h>
28129 #ifdef HAVE_IEEEFP_H
28130 #include <ieeefp.h>
28131 #endif
28134 main ()
28136 isinf(0);
28138 return 0;
28140 _ACEOF
28141 if ac_fn_cxx_try_compile "$LINENO"; then :
28142 glibcxx_cv_func_isinf_use=yes
28143 else
28144 glibcxx_cv_func_isinf_use=no
28146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28147 ac_ext=c
28148 ac_cpp='$CPP $CPPFLAGS'
28149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
28158 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
28160 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
28161 for ac_func in isinf
28162 do :
28163 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
28164 if test "x$ac_cv_func_isinf" = x""yes; then :
28165 cat >>confdefs.h <<_ACEOF
28166 #define HAVE_ISINF 1
28167 _ACEOF
28170 done
28172 else
28174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
28175 $as_echo_n "checking for _isinf declaration... " >&6; }
28176 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
28177 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
28178 $as_echo_n "(cached) " >&6
28179 else
28182 ac_ext=cpp
28183 ac_cpp='$CXXCPP $CPPFLAGS'
28184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28189 /* end confdefs.h. */
28190 #include <math.h>
28191 #ifdef HAVE_IEEEFP_H
28192 #include <ieeefp.h>
28193 #endif
28196 main ()
28198 _isinf(0);
28200 return 0;
28202 _ACEOF
28203 if ac_fn_cxx_try_compile "$LINENO"; then :
28204 glibcxx_cv_func__isinf_use=yes
28205 else
28206 glibcxx_cv_func__isinf_use=no
28208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28209 ac_ext=c
28210 ac_cpp='$CPP $CPPFLAGS'
28211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
28220 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
28222 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
28223 for ac_func in _isinf
28224 do :
28225 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
28226 if test "x$ac_cv_func__isinf" = x""yes; then :
28227 cat >>confdefs.h <<_ACEOF
28228 #define HAVE__ISINF 1
28229 _ACEOF
28232 done
28241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
28242 $as_echo_n "checking for isnan declaration... " >&6; }
28243 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
28244 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
28245 $as_echo_n "(cached) " >&6
28246 else
28249 ac_ext=cpp
28250 ac_cpp='$CXXCPP $CPPFLAGS'
28251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28256 /* end confdefs.h. */
28257 #include <math.h>
28258 #ifdef HAVE_IEEEFP_H
28259 #include <ieeefp.h>
28260 #endif
28263 main ()
28265 isnan(0);
28267 return 0;
28269 _ACEOF
28270 if ac_fn_cxx_try_compile "$LINENO"; then :
28271 glibcxx_cv_func_isnan_use=yes
28272 else
28273 glibcxx_cv_func_isnan_use=no
28275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28276 ac_ext=c
28277 ac_cpp='$CPP $CPPFLAGS'
28278 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28279 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28280 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
28287 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
28289 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
28290 for ac_func in isnan
28291 do :
28292 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
28293 if test "x$ac_cv_func_isnan" = x""yes; then :
28294 cat >>confdefs.h <<_ACEOF
28295 #define HAVE_ISNAN 1
28296 _ACEOF
28299 done
28301 else
28303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
28304 $as_echo_n "checking for _isnan declaration... " >&6; }
28305 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
28306 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
28307 $as_echo_n "(cached) " >&6
28308 else
28311 ac_ext=cpp
28312 ac_cpp='$CXXCPP $CPPFLAGS'
28313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28318 /* end confdefs.h. */
28319 #include <math.h>
28320 #ifdef HAVE_IEEEFP_H
28321 #include <ieeefp.h>
28322 #endif
28325 main ()
28327 _isnan(0);
28329 return 0;
28331 _ACEOF
28332 if ac_fn_cxx_try_compile "$LINENO"; then :
28333 glibcxx_cv_func__isnan_use=yes
28334 else
28335 glibcxx_cv_func__isnan_use=no
28337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28338 ac_ext=c
28339 ac_cpp='$CPP $CPPFLAGS'
28340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
28349 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
28351 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
28352 for ac_func in _isnan
28353 do :
28354 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
28355 if test "x$ac_cv_func__isnan" = x""yes; then :
28356 cat >>confdefs.h <<_ACEOF
28357 #define HAVE__ISNAN 1
28358 _ACEOF
28361 done
28370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
28371 $as_echo_n "checking for finite declaration... " >&6; }
28372 if test x${glibcxx_cv_func_finite_use+set} != xset; then
28373 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
28374 $as_echo_n "(cached) " >&6
28375 else
28378 ac_ext=cpp
28379 ac_cpp='$CXXCPP $CPPFLAGS'
28380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28385 /* end confdefs.h. */
28386 #include <math.h>
28387 #ifdef HAVE_IEEEFP_H
28388 #include <ieeefp.h>
28389 #endif
28392 main ()
28394 finite(0);
28396 return 0;
28398 _ACEOF
28399 if ac_fn_cxx_try_compile "$LINENO"; then :
28400 glibcxx_cv_func_finite_use=yes
28401 else
28402 glibcxx_cv_func_finite_use=no
28404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28405 ac_ext=c
28406 ac_cpp='$CPP $CPPFLAGS'
28407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
28416 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
28418 if test x$glibcxx_cv_func_finite_use = x"yes"; then
28419 for ac_func in finite
28420 do :
28421 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
28422 if test "x$ac_cv_func_finite" = x""yes; then :
28423 cat >>confdefs.h <<_ACEOF
28424 #define HAVE_FINITE 1
28425 _ACEOF
28428 done
28430 else
28432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
28433 $as_echo_n "checking for _finite declaration... " >&6; }
28434 if test x${glibcxx_cv_func__finite_use+set} != xset; then
28435 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
28436 $as_echo_n "(cached) " >&6
28437 else
28440 ac_ext=cpp
28441 ac_cpp='$CXXCPP $CPPFLAGS'
28442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28447 /* end confdefs.h. */
28448 #include <math.h>
28449 #ifdef HAVE_IEEEFP_H
28450 #include <ieeefp.h>
28451 #endif
28454 main ()
28456 _finite(0);
28458 return 0;
28460 _ACEOF
28461 if ac_fn_cxx_try_compile "$LINENO"; then :
28462 glibcxx_cv_func__finite_use=yes
28463 else
28464 glibcxx_cv_func__finite_use=no
28466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28467 ac_ext=c
28468 ac_cpp='$CPP $CPPFLAGS'
28469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
28478 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
28480 if test x$glibcxx_cv_func__finite_use = x"yes"; then
28481 for ac_func in _finite
28482 do :
28483 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
28484 if test "x$ac_cv_func__finite" = x""yes; then :
28485 cat >>confdefs.h <<_ACEOF
28486 #define HAVE__FINITE 1
28487 _ACEOF
28490 done
28499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
28500 $as_echo_n "checking for sincos declaration... " >&6; }
28501 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
28502 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
28503 $as_echo_n "(cached) " >&6
28504 else
28507 ac_ext=cpp
28508 ac_cpp='$CXXCPP $CPPFLAGS'
28509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28514 /* end confdefs.h. */
28515 #include <math.h>
28517 main ()
28519 sincos(0, 0, 0);
28521 return 0;
28523 _ACEOF
28524 if ac_fn_cxx_try_compile "$LINENO"; then :
28525 glibcxx_cv_func_sincos_use=yes
28526 else
28527 glibcxx_cv_func_sincos_use=no
28529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28530 ac_ext=c
28531 ac_cpp='$CPP $CPPFLAGS'
28532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
28541 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
28543 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
28544 for ac_func in sincos
28545 do :
28546 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
28547 if test "x$ac_cv_func_sincos" = x""yes; then :
28548 cat >>confdefs.h <<_ACEOF
28549 #define HAVE_SINCOS 1
28550 _ACEOF
28553 done
28555 else
28557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
28558 $as_echo_n "checking for _sincos declaration... " >&6; }
28559 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
28560 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
28561 $as_echo_n "(cached) " >&6
28562 else
28565 ac_ext=cpp
28566 ac_cpp='$CXXCPP $CPPFLAGS'
28567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28572 /* end confdefs.h. */
28573 #include <math.h>
28575 main ()
28577 _sincos(0, 0, 0);
28579 return 0;
28581 _ACEOF
28582 if ac_fn_cxx_try_compile "$LINENO"; then :
28583 glibcxx_cv_func__sincos_use=yes
28584 else
28585 glibcxx_cv_func__sincos_use=no
28587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28588 ac_ext=c
28589 ac_cpp='$CPP $CPPFLAGS'
28590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
28599 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
28601 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
28602 for ac_func in _sincos
28603 do :
28604 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
28605 if test "x$ac_cv_func__sincos" = x""yes; then :
28606 cat >>confdefs.h <<_ACEOF
28607 #define HAVE__SINCOS 1
28608 _ACEOF
28611 done
28620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
28621 $as_echo_n "checking for fpclass declaration... " >&6; }
28622 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
28623 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
28624 $as_echo_n "(cached) " >&6
28625 else
28628 ac_ext=cpp
28629 ac_cpp='$CXXCPP $CPPFLAGS'
28630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28635 /* end confdefs.h. */
28636 #include <math.h>
28637 #ifdef HAVE_IEEEFP_H
28638 #include <ieeefp.h>
28639 #endif
28642 main ()
28644 fpclass(0);
28646 return 0;
28648 _ACEOF
28649 if ac_fn_cxx_try_compile "$LINENO"; then :
28650 glibcxx_cv_func_fpclass_use=yes
28651 else
28652 glibcxx_cv_func_fpclass_use=no
28654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28655 ac_ext=c
28656 ac_cpp='$CPP $CPPFLAGS'
28657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
28666 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
28668 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
28669 for ac_func in fpclass
28670 do :
28671 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
28672 if test "x$ac_cv_func_fpclass" = x""yes; then :
28673 cat >>confdefs.h <<_ACEOF
28674 #define HAVE_FPCLASS 1
28675 _ACEOF
28678 done
28680 else
28682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
28683 $as_echo_n "checking for _fpclass declaration... " >&6; }
28684 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
28685 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
28686 $as_echo_n "(cached) " >&6
28687 else
28690 ac_ext=cpp
28691 ac_cpp='$CXXCPP $CPPFLAGS'
28692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28697 /* end confdefs.h. */
28698 #include <math.h>
28699 #ifdef HAVE_IEEEFP_H
28700 #include <ieeefp.h>
28701 #endif
28704 main ()
28706 _fpclass(0);
28708 return 0;
28710 _ACEOF
28711 if ac_fn_cxx_try_compile "$LINENO"; then :
28712 glibcxx_cv_func__fpclass_use=yes
28713 else
28714 glibcxx_cv_func__fpclass_use=no
28716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28717 ac_ext=c
28718 ac_cpp='$CPP $CPPFLAGS'
28719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
28728 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
28730 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
28731 for ac_func in _fpclass
28732 do :
28733 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
28734 if test "x$ac_cv_func__fpclass" = x""yes; then :
28735 cat >>confdefs.h <<_ACEOF
28736 #define HAVE__FPCLASS 1
28737 _ACEOF
28740 done
28749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
28750 $as_echo_n "checking for qfpclass declaration... " >&6; }
28751 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
28752 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
28753 $as_echo_n "(cached) " >&6
28754 else
28757 ac_ext=cpp
28758 ac_cpp='$CXXCPP $CPPFLAGS'
28759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28764 /* end confdefs.h. */
28765 #include <math.h>
28766 #ifdef HAVE_IEEEFP_H
28767 #include <ieeefp.h>
28768 #endif
28771 main ()
28773 qfpclass(0);
28775 return 0;
28777 _ACEOF
28778 if ac_fn_cxx_try_compile "$LINENO"; then :
28779 glibcxx_cv_func_qfpclass_use=yes
28780 else
28781 glibcxx_cv_func_qfpclass_use=no
28783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28784 ac_ext=c
28785 ac_cpp='$CPP $CPPFLAGS'
28786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
28795 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
28797 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
28798 for ac_func in qfpclass
28799 do :
28800 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
28801 if test "x$ac_cv_func_qfpclass" = x""yes; then :
28802 cat >>confdefs.h <<_ACEOF
28803 #define HAVE_QFPCLASS 1
28804 _ACEOF
28807 done
28809 else
28811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
28812 $as_echo_n "checking for _qfpclass declaration... " >&6; }
28813 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
28814 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
28815 $as_echo_n "(cached) " >&6
28816 else
28819 ac_ext=cpp
28820 ac_cpp='$CXXCPP $CPPFLAGS'
28821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28826 /* end confdefs.h. */
28827 #include <math.h>
28828 #ifdef HAVE_IEEEFP_H
28829 #include <ieeefp.h>
28830 #endif
28833 main ()
28835 _qfpclass(0);
28837 return 0;
28839 _ACEOF
28840 if ac_fn_cxx_try_compile "$LINENO"; then :
28841 glibcxx_cv_func__qfpclass_use=yes
28842 else
28843 glibcxx_cv_func__qfpclass_use=no
28845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28846 ac_ext=c
28847 ac_cpp='$CPP $CPPFLAGS'
28848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
28857 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
28859 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
28860 for ac_func in _qfpclass
28861 do :
28862 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
28863 if test "x$ac_cv_func__qfpclass" = x""yes; then :
28864 cat >>confdefs.h <<_ACEOF
28865 #define HAVE__QFPCLASS 1
28866 _ACEOF
28869 done
28878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
28879 $as_echo_n "checking for hypot declaration... " >&6; }
28880 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
28881 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
28882 $as_echo_n "(cached) " >&6
28883 else
28886 ac_ext=cpp
28887 ac_cpp='$CXXCPP $CPPFLAGS'
28888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28893 /* end confdefs.h. */
28894 #include <math.h>
28896 main ()
28898 hypot(0, 0);
28900 return 0;
28902 _ACEOF
28903 if ac_fn_cxx_try_compile "$LINENO"; then :
28904 glibcxx_cv_func_hypot_use=yes
28905 else
28906 glibcxx_cv_func_hypot_use=no
28908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28909 ac_ext=c
28910 ac_cpp='$CPP $CPPFLAGS'
28911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
28920 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
28922 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
28923 for ac_func in hypot
28924 do :
28925 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
28926 if test "x$ac_cv_func_hypot" = x""yes; then :
28927 cat >>confdefs.h <<_ACEOF
28928 #define HAVE_HYPOT 1
28929 _ACEOF
28932 done
28934 else
28936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
28937 $as_echo_n "checking for _hypot declaration... " >&6; }
28938 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
28939 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
28940 $as_echo_n "(cached) " >&6
28941 else
28944 ac_ext=cpp
28945 ac_cpp='$CXXCPP $CPPFLAGS'
28946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28951 /* end confdefs.h. */
28952 #include <math.h>
28954 main ()
28956 _hypot(0, 0);
28958 return 0;
28960 _ACEOF
28961 if ac_fn_cxx_try_compile "$LINENO"; then :
28962 glibcxx_cv_func__hypot_use=yes
28963 else
28964 glibcxx_cv_func__hypot_use=no
28966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28967 ac_ext=c
28968 ac_cpp='$CPP $CPPFLAGS'
28969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
28978 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
28980 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
28981 for ac_func in _hypot
28982 do :
28983 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
28984 if test "x$ac_cv_func__hypot" = x""yes; then :
28985 cat >>confdefs.h <<_ACEOF
28986 #define HAVE__HYPOT 1
28987 _ACEOF
28990 done
28999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29000 $as_echo_n "checking for float trig functions... " >&6; }
29001 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29002 $as_echo_n "(cached) " >&6
29003 else
29006 ac_ext=cpp
29007 ac_cpp='$CXXCPP $CPPFLAGS'
29008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29013 /* end confdefs.h. */
29014 #include <math.h>
29016 main ()
29018 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
29020 return 0;
29022 _ACEOF
29023 if ac_fn_cxx_try_compile "$LINENO"; then :
29024 glibcxx_cv_func_float_trig_use=yes
29025 else
29026 glibcxx_cv_func_float_trig_use=no
29028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29029 ac_ext=c
29030 ac_cpp='$CPP $CPPFLAGS'
29031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
29038 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
29039 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
29040 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
29041 do :
29042 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29043 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29044 eval as_val=\$$as_ac_var
29045 if test "x$as_val" = x""yes; then :
29046 cat >>confdefs.h <<_ACEOF
29047 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29048 _ACEOF
29051 done
29053 else
29054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
29055 $as_echo_n "checking for _float trig functions... " >&6; }
29056 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
29057 $as_echo_n "(cached) " >&6
29058 else
29061 ac_ext=cpp
29062 ac_cpp='$CXXCPP $CPPFLAGS'
29063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29068 /* end confdefs.h. */
29069 #include <math.h>
29071 main ()
29073 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
29075 return 0;
29077 _ACEOF
29078 if ac_fn_cxx_try_compile "$LINENO"; then :
29079 glibcxx_cv_func__float_trig_use=yes
29080 else
29081 glibcxx_cv_func__float_trig_use=no
29083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29084 ac_ext=c
29085 ac_cpp='$CPP $CPPFLAGS'
29086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
29093 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
29094 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
29095 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
29096 do :
29097 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29098 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29099 eval as_val=\$$as_ac_var
29100 if test "x$as_val" = x""yes; then :
29101 cat >>confdefs.h <<_ACEOF
29102 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29103 _ACEOF
29106 done
29115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
29116 $as_echo_n "checking for float round functions... " >&6; }
29117 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
29118 $as_echo_n "(cached) " >&6
29119 else
29122 ac_ext=cpp
29123 ac_cpp='$CXXCPP $CPPFLAGS'
29124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29129 /* end confdefs.h. */
29130 #include <math.h>
29132 main ()
29134 ceilf (0); floorf (0);
29136 return 0;
29138 _ACEOF
29139 if ac_fn_cxx_try_compile "$LINENO"; then :
29140 glibcxx_cv_func_float_round_use=yes
29141 else
29142 glibcxx_cv_func_float_round_use=no
29144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29145 ac_ext=c
29146 ac_cpp='$CPP $CPPFLAGS'
29147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
29154 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
29155 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
29156 for ac_func in ceilf floorf
29157 do :
29158 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29159 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29160 eval as_val=\$$as_ac_var
29161 if test "x$as_val" = x""yes; then :
29162 cat >>confdefs.h <<_ACEOF
29163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29164 _ACEOF
29167 done
29169 else
29170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
29171 $as_echo_n "checking for _float round functions... " >&6; }
29172 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
29173 $as_echo_n "(cached) " >&6
29174 else
29177 ac_ext=cpp
29178 ac_cpp='$CXXCPP $CPPFLAGS'
29179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29184 /* end confdefs.h. */
29185 #include <math.h>
29187 main ()
29189 _ceilf (0); _floorf (0);
29191 return 0;
29193 _ACEOF
29194 if ac_fn_cxx_try_compile "$LINENO"; then :
29195 glibcxx_cv_func__float_round_use=yes
29196 else
29197 glibcxx_cv_func__float_round_use=no
29199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29200 ac_ext=c
29201 ac_cpp='$CPP $CPPFLAGS'
29202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
29209 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
29210 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
29211 for ac_func in _ceilf _floorf
29212 do :
29213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
29214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
29215 eval as_val=\$$as_ac_var
29216 if test "x$as_val" = x""yes; then :
29217 cat >>confdefs.h <<_ACEOF
29218 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
29219 _ACEOF
29222 done
29232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
29233 $as_echo_n "checking for expf declaration... " >&6; }
29234 if test x${glibcxx_cv_func_expf_use+set} != xset; then
29235 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
29236 $as_echo_n "(cached) " >&6
29237 else
29240 ac_ext=cpp
29241 ac_cpp='$CXXCPP $CPPFLAGS'
29242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29247 /* end confdefs.h. */
29248 #include <math.h>
29249 #ifdef HAVE_IEEEFP_H
29250 #include <ieeefp.h>
29251 #endif
29254 main ()
29256 expf(0);
29258 return 0;
29260 _ACEOF
29261 if ac_fn_cxx_try_compile "$LINENO"; then :
29262 glibcxx_cv_func_expf_use=yes
29263 else
29264 glibcxx_cv_func_expf_use=no
29266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29267 ac_ext=c
29268 ac_cpp='$CPP $CPPFLAGS'
29269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
29278 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
29280 if test x$glibcxx_cv_func_expf_use = x"yes"; then
29281 for ac_func in expf
29282 do :
29283 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
29284 if test "x$ac_cv_func_expf" = x""yes; then :
29285 cat >>confdefs.h <<_ACEOF
29286 #define HAVE_EXPF 1
29287 _ACEOF
29290 done
29292 else
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
29295 $as_echo_n "checking for _expf declaration... " >&6; }
29296 if test x${glibcxx_cv_func__expf_use+set} != xset; then
29297 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
29298 $as_echo_n "(cached) " >&6
29299 else
29302 ac_ext=cpp
29303 ac_cpp='$CXXCPP $CPPFLAGS'
29304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29309 /* end confdefs.h. */
29310 #include <math.h>
29311 #ifdef HAVE_IEEEFP_H
29312 #include <ieeefp.h>
29313 #endif
29316 main ()
29318 _expf(0);
29320 return 0;
29322 _ACEOF
29323 if ac_fn_cxx_try_compile "$LINENO"; then :
29324 glibcxx_cv_func__expf_use=yes
29325 else
29326 glibcxx_cv_func__expf_use=no
29328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29329 ac_ext=c
29330 ac_cpp='$CPP $CPPFLAGS'
29331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
29340 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
29342 if test x$glibcxx_cv_func__expf_use = x"yes"; then
29343 for ac_func in _expf
29344 do :
29345 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
29346 if test "x$ac_cv_func__expf" = x""yes; then :
29347 cat >>confdefs.h <<_ACEOF
29348 #define HAVE__EXPF 1
29349 _ACEOF
29352 done
29361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
29362 $as_echo_n "checking for isnanf declaration... " >&6; }
29363 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
29364 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
29365 $as_echo_n "(cached) " >&6
29366 else
29369 ac_ext=cpp
29370 ac_cpp='$CXXCPP $CPPFLAGS'
29371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29376 /* end confdefs.h. */
29377 #include <math.h>
29378 #ifdef HAVE_IEEEFP_H
29379 #include <ieeefp.h>
29380 #endif
29383 main ()
29385 isnanf(0);
29387 return 0;
29389 _ACEOF
29390 if ac_fn_cxx_try_compile "$LINENO"; then :
29391 glibcxx_cv_func_isnanf_use=yes
29392 else
29393 glibcxx_cv_func_isnanf_use=no
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396 ac_ext=c
29397 ac_cpp='$CPP $CPPFLAGS'
29398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
29407 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
29409 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
29410 for ac_func in isnanf
29411 do :
29412 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
29413 if test "x$ac_cv_func_isnanf" = x""yes; then :
29414 cat >>confdefs.h <<_ACEOF
29415 #define HAVE_ISNANF 1
29416 _ACEOF
29419 done
29421 else
29423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
29424 $as_echo_n "checking for _isnanf declaration... " >&6; }
29425 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
29426 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
29427 $as_echo_n "(cached) " >&6
29428 else
29431 ac_ext=cpp
29432 ac_cpp='$CXXCPP $CPPFLAGS'
29433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29438 /* end confdefs.h. */
29439 #include <math.h>
29440 #ifdef HAVE_IEEEFP_H
29441 #include <ieeefp.h>
29442 #endif
29445 main ()
29447 _isnanf(0);
29449 return 0;
29451 _ACEOF
29452 if ac_fn_cxx_try_compile "$LINENO"; then :
29453 glibcxx_cv_func__isnanf_use=yes
29454 else
29455 glibcxx_cv_func__isnanf_use=no
29457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29458 ac_ext=c
29459 ac_cpp='$CPP $CPPFLAGS'
29460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
29469 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
29471 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
29472 for ac_func in _isnanf
29473 do :
29474 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
29475 if test "x$ac_cv_func__isnanf" = x""yes; then :
29476 cat >>confdefs.h <<_ACEOF
29477 #define HAVE__ISNANF 1
29478 _ACEOF
29481 done
29490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
29491 $as_echo_n "checking for isinff declaration... " >&6; }
29492 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
29493 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
29494 $as_echo_n "(cached) " >&6
29495 else
29498 ac_ext=cpp
29499 ac_cpp='$CXXCPP $CPPFLAGS'
29500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29505 /* end confdefs.h. */
29506 #include <math.h>
29507 #ifdef HAVE_IEEEFP_H
29508 #include <ieeefp.h>
29509 #endif
29512 main ()
29514 isinff(0);
29516 return 0;
29518 _ACEOF
29519 if ac_fn_cxx_try_compile "$LINENO"; then :
29520 glibcxx_cv_func_isinff_use=yes
29521 else
29522 glibcxx_cv_func_isinff_use=no
29524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29525 ac_ext=c
29526 ac_cpp='$CPP $CPPFLAGS'
29527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
29536 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
29538 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
29539 for ac_func in isinff
29540 do :
29541 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
29542 if test "x$ac_cv_func_isinff" = x""yes; then :
29543 cat >>confdefs.h <<_ACEOF
29544 #define HAVE_ISINFF 1
29545 _ACEOF
29548 done
29550 else
29552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
29553 $as_echo_n "checking for _isinff declaration... " >&6; }
29554 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
29555 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
29556 $as_echo_n "(cached) " >&6
29557 else
29560 ac_ext=cpp
29561 ac_cpp='$CXXCPP $CPPFLAGS'
29562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29567 /* end confdefs.h. */
29568 #include <math.h>
29569 #ifdef HAVE_IEEEFP_H
29570 #include <ieeefp.h>
29571 #endif
29574 main ()
29576 _isinff(0);
29578 return 0;
29580 _ACEOF
29581 if ac_fn_cxx_try_compile "$LINENO"; then :
29582 glibcxx_cv_func__isinff_use=yes
29583 else
29584 glibcxx_cv_func__isinff_use=no
29586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29587 ac_ext=c
29588 ac_cpp='$CPP $CPPFLAGS'
29589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
29598 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
29600 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
29601 for ac_func in _isinff
29602 do :
29603 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
29604 if test "x$ac_cv_func__isinff" = x""yes; then :
29605 cat >>confdefs.h <<_ACEOF
29606 #define HAVE__ISINFF 1
29607 _ACEOF
29610 done
29619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
29620 $as_echo_n "checking for atan2f declaration... " >&6; }
29621 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
29622 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
29623 $as_echo_n "(cached) " >&6
29624 else
29627 ac_ext=cpp
29628 ac_cpp='$CXXCPP $CPPFLAGS'
29629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29634 /* end confdefs.h. */
29635 #include <math.h>
29637 main ()
29639 atan2f(0, 0);
29641 return 0;
29643 _ACEOF
29644 if ac_fn_cxx_try_compile "$LINENO"; then :
29645 glibcxx_cv_func_atan2f_use=yes
29646 else
29647 glibcxx_cv_func_atan2f_use=no
29649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29650 ac_ext=c
29651 ac_cpp='$CPP $CPPFLAGS'
29652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
29661 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
29663 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
29664 for ac_func in atan2f
29665 do :
29666 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
29667 if test "x$ac_cv_func_atan2f" = x""yes; then :
29668 cat >>confdefs.h <<_ACEOF
29669 #define HAVE_ATAN2F 1
29670 _ACEOF
29673 done
29675 else
29677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
29678 $as_echo_n "checking for _atan2f declaration... " >&6; }
29679 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
29680 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
29681 $as_echo_n "(cached) " >&6
29682 else
29685 ac_ext=cpp
29686 ac_cpp='$CXXCPP $CPPFLAGS'
29687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29692 /* end confdefs.h. */
29693 #include <math.h>
29695 main ()
29697 _atan2f(0, 0);
29699 return 0;
29701 _ACEOF
29702 if ac_fn_cxx_try_compile "$LINENO"; then :
29703 glibcxx_cv_func__atan2f_use=yes
29704 else
29705 glibcxx_cv_func__atan2f_use=no
29707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29708 ac_ext=c
29709 ac_cpp='$CPP $CPPFLAGS'
29710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
29719 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
29721 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
29722 for ac_func in _atan2f
29723 do :
29724 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
29725 if test "x$ac_cv_func__atan2f" = x""yes; then :
29726 cat >>confdefs.h <<_ACEOF
29727 #define HAVE__ATAN2F 1
29728 _ACEOF
29731 done
29740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
29741 $as_echo_n "checking for fabsf declaration... " >&6; }
29742 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
29743 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
29744 $as_echo_n "(cached) " >&6
29745 else
29748 ac_ext=cpp
29749 ac_cpp='$CXXCPP $CPPFLAGS'
29750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29755 /* end confdefs.h. */
29756 #include <math.h>
29757 #ifdef HAVE_IEEEFP_H
29758 #include <ieeefp.h>
29759 #endif
29762 main ()
29764 fabsf(0);
29766 return 0;
29768 _ACEOF
29769 if ac_fn_cxx_try_compile "$LINENO"; then :
29770 glibcxx_cv_func_fabsf_use=yes
29771 else
29772 glibcxx_cv_func_fabsf_use=no
29774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29775 ac_ext=c
29776 ac_cpp='$CPP $CPPFLAGS'
29777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
29786 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
29788 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
29789 for ac_func in fabsf
29790 do :
29791 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
29792 if test "x$ac_cv_func_fabsf" = x""yes; then :
29793 cat >>confdefs.h <<_ACEOF
29794 #define HAVE_FABSF 1
29795 _ACEOF
29798 done
29800 else
29802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
29803 $as_echo_n "checking for _fabsf declaration... " >&6; }
29804 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
29805 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
29806 $as_echo_n "(cached) " >&6
29807 else
29810 ac_ext=cpp
29811 ac_cpp='$CXXCPP $CPPFLAGS'
29812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29817 /* end confdefs.h. */
29818 #include <math.h>
29819 #ifdef HAVE_IEEEFP_H
29820 #include <ieeefp.h>
29821 #endif
29824 main ()
29826 _fabsf(0);
29828 return 0;
29830 _ACEOF
29831 if ac_fn_cxx_try_compile "$LINENO"; then :
29832 glibcxx_cv_func__fabsf_use=yes
29833 else
29834 glibcxx_cv_func__fabsf_use=no
29836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29837 ac_ext=c
29838 ac_cpp='$CPP $CPPFLAGS'
29839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
29848 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
29850 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
29851 for ac_func in _fabsf
29852 do :
29853 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
29854 if test "x$ac_cv_func__fabsf" = x""yes; then :
29855 cat >>confdefs.h <<_ACEOF
29856 #define HAVE__FABSF 1
29857 _ACEOF
29860 done
29869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
29870 $as_echo_n "checking for fmodf declaration... " >&6; }
29871 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
29872 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
29873 $as_echo_n "(cached) " >&6
29874 else
29877 ac_ext=cpp
29878 ac_cpp='$CXXCPP $CPPFLAGS'
29879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29884 /* end confdefs.h. */
29885 #include <math.h>
29887 main ()
29889 fmodf(0, 0);
29891 return 0;
29893 _ACEOF
29894 if ac_fn_cxx_try_compile "$LINENO"; then :
29895 glibcxx_cv_func_fmodf_use=yes
29896 else
29897 glibcxx_cv_func_fmodf_use=no
29899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29900 ac_ext=c
29901 ac_cpp='$CPP $CPPFLAGS'
29902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
29911 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
29913 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
29914 for ac_func in fmodf
29915 do :
29916 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
29917 if test "x$ac_cv_func_fmodf" = x""yes; then :
29918 cat >>confdefs.h <<_ACEOF
29919 #define HAVE_FMODF 1
29920 _ACEOF
29923 done
29925 else
29927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
29928 $as_echo_n "checking for _fmodf declaration... " >&6; }
29929 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
29930 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
29931 $as_echo_n "(cached) " >&6
29932 else
29935 ac_ext=cpp
29936 ac_cpp='$CXXCPP $CPPFLAGS'
29937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29942 /* end confdefs.h. */
29943 #include <math.h>
29945 main ()
29947 _fmodf(0, 0);
29949 return 0;
29951 _ACEOF
29952 if ac_fn_cxx_try_compile "$LINENO"; then :
29953 glibcxx_cv_func__fmodf_use=yes
29954 else
29955 glibcxx_cv_func__fmodf_use=no
29957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29958 ac_ext=c
29959 ac_cpp='$CPP $CPPFLAGS'
29960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
29969 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
29971 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
29972 for ac_func in _fmodf
29973 do :
29974 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
29975 if test "x$ac_cv_func__fmodf" = x""yes; then :
29976 cat >>confdefs.h <<_ACEOF
29977 #define HAVE__FMODF 1
29978 _ACEOF
29981 done
29990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
29991 $as_echo_n "checking for frexpf declaration... " >&6; }
29992 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
29993 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
29994 $as_echo_n "(cached) " >&6
29995 else
29998 ac_ext=cpp
29999 ac_cpp='$CXXCPP $CPPFLAGS'
30000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30005 /* end confdefs.h. */
30006 #include <math.h>
30008 main ()
30010 frexpf(0, 0);
30012 return 0;
30014 _ACEOF
30015 if ac_fn_cxx_try_compile "$LINENO"; then :
30016 glibcxx_cv_func_frexpf_use=yes
30017 else
30018 glibcxx_cv_func_frexpf_use=no
30020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30021 ac_ext=c
30022 ac_cpp='$CPP $CPPFLAGS'
30023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
30032 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
30034 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
30035 for ac_func in frexpf
30036 do :
30037 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
30038 if test "x$ac_cv_func_frexpf" = x""yes; then :
30039 cat >>confdefs.h <<_ACEOF
30040 #define HAVE_FREXPF 1
30041 _ACEOF
30044 done
30046 else
30048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
30049 $as_echo_n "checking for _frexpf declaration... " >&6; }
30050 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
30051 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
30052 $as_echo_n "(cached) " >&6
30053 else
30056 ac_ext=cpp
30057 ac_cpp='$CXXCPP $CPPFLAGS'
30058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30063 /* end confdefs.h. */
30064 #include <math.h>
30066 main ()
30068 _frexpf(0, 0);
30070 return 0;
30072 _ACEOF
30073 if ac_fn_cxx_try_compile "$LINENO"; then :
30074 glibcxx_cv_func__frexpf_use=yes
30075 else
30076 glibcxx_cv_func__frexpf_use=no
30078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30079 ac_ext=c
30080 ac_cpp='$CPP $CPPFLAGS'
30081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
30090 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
30092 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
30093 for ac_func in _frexpf
30094 do :
30095 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
30096 if test "x$ac_cv_func__frexpf" = x""yes; then :
30097 cat >>confdefs.h <<_ACEOF
30098 #define HAVE__FREXPF 1
30099 _ACEOF
30102 done
30111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
30112 $as_echo_n "checking for hypotf declaration... " >&6; }
30113 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
30114 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
30115 $as_echo_n "(cached) " >&6
30116 else
30119 ac_ext=cpp
30120 ac_cpp='$CXXCPP $CPPFLAGS'
30121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30126 /* end confdefs.h. */
30127 #include <math.h>
30129 main ()
30131 hypotf(0, 0);
30133 return 0;
30135 _ACEOF
30136 if ac_fn_cxx_try_compile "$LINENO"; then :
30137 glibcxx_cv_func_hypotf_use=yes
30138 else
30139 glibcxx_cv_func_hypotf_use=no
30141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30142 ac_ext=c
30143 ac_cpp='$CPP $CPPFLAGS'
30144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
30153 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
30155 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
30156 for ac_func in hypotf
30157 do :
30158 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
30159 if test "x$ac_cv_func_hypotf" = x""yes; then :
30160 cat >>confdefs.h <<_ACEOF
30161 #define HAVE_HYPOTF 1
30162 _ACEOF
30165 done
30167 else
30169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
30170 $as_echo_n "checking for _hypotf declaration... " >&6; }
30171 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
30172 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
30173 $as_echo_n "(cached) " >&6
30174 else
30177 ac_ext=cpp
30178 ac_cpp='$CXXCPP $CPPFLAGS'
30179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30184 /* end confdefs.h. */
30185 #include <math.h>
30187 main ()
30189 _hypotf(0, 0);
30191 return 0;
30193 _ACEOF
30194 if ac_fn_cxx_try_compile "$LINENO"; then :
30195 glibcxx_cv_func__hypotf_use=yes
30196 else
30197 glibcxx_cv_func__hypotf_use=no
30199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30200 ac_ext=c
30201 ac_cpp='$CPP $CPPFLAGS'
30202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
30211 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
30213 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
30214 for ac_func in _hypotf
30215 do :
30216 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
30217 if test "x$ac_cv_func__hypotf" = x""yes; then :
30218 cat >>confdefs.h <<_ACEOF
30219 #define HAVE__HYPOTF 1
30220 _ACEOF
30223 done
30232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
30233 $as_echo_n "checking for ldexpf declaration... " >&6; }
30234 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
30235 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
30236 $as_echo_n "(cached) " >&6
30237 else
30240 ac_ext=cpp
30241 ac_cpp='$CXXCPP $CPPFLAGS'
30242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30247 /* end confdefs.h. */
30248 #include <math.h>
30250 main ()
30252 ldexpf(0, 0);
30254 return 0;
30256 _ACEOF
30257 if ac_fn_cxx_try_compile "$LINENO"; then :
30258 glibcxx_cv_func_ldexpf_use=yes
30259 else
30260 glibcxx_cv_func_ldexpf_use=no
30262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30263 ac_ext=c
30264 ac_cpp='$CPP $CPPFLAGS'
30265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
30274 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
30276 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
30277 for ac_func in ldexpf
30278 do :
30279 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
30280 if test "x$ac_cv_func_ldexpf" = x""yes; then :
30281 cat >>confdefs.h <<_ACEOF
30282 #define HAVE_LDEXPF 1
30283 _ACEOF
30286 done
30288 else
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
30291 $as_echo_n "checking for _ldexpf declaration... " >&6; }
30292 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
30293 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
30294 $as_echo_n "(cached) " >&6
30295 else
30298 ac_ext=cpp
30299 ac_cpp='$CXXCPP $CPPFLAGS'
30300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30305 /* end confdefs.h. */
30306 #include <math.h>
30308 main ()
30310 _ldexpf(0, 0);
30312 return 0;
30314 _ACEOF
30315 if ac_fn_cxx_try_compile "$LINENO"; then :
30316 glibcxx_cv_func__ldexpf_use=yes
30317 else
30318 glibcxx_cv_func__ldexpf_use=no
30320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30321 ac_ext=c
30322 ac_cpp='$CPP $CPPFLAGS'
30323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
30332 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
30334 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
30335 for ac_func in _ldexpf
30336 do :
30337 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
30338 if test "x$ac_cv_func__ldexpf" = x""yes; then :
30339 cat >>confdefs.h <<_ACEOF
30340 #define HAVE__LDEXPF 1
30341 _ACEOF
30344 done
30353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
30354 $as_echo_n "checking for logf declaration... " >&6; }
30355 if test x${glibcxx_cv_func_logf_use+set} != xset; then
30356 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
30357 $as_echo_n "(cached) " >&6
30358 else
30361 ac_ext=cpp
30362 ac_cpp='$CXXCPP $CPPFLAGS'
30363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30368 /* end confdefs.h. */
30369 #include <math.h>
30370 #ifdef HAVE_IEEEFP_H
30371 #include <ieeefp.h>
30372 #endif
30375 main ()
30377 logf(0);
30379 return 0;
30381 _ACEOF
30382 if ac_fn_cxx_try_compile "$LINENO"; then :
30383 glibcxx_cv_func_logf_use=yes
30384 else
30385 glibcxx_cv_func_logf_use=no
30387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30388 ac_ext=c
30389 ac_cpp='$CPP $CPPFLAGS'
30390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
30399 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
30401 if test x$glibcxx_cv_func_logf_use = x"yes"; then
30402 for ac_func in logf
30403 do :
30404 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
30405 if test "x$ac_cv_func_logf" = x""yes; then :
30406 cat >>confdefs.h <<_ACEOF
30407 #define HAVE_LOGF 1
30408 _ACEOF
30411 done
30413 else
30415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
30416 $as_echo_n "checking for _logf declaration... " >&6; }
30417 if test x${glibcxx_cv_func__logf_use+set} != xset; then
30418 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
30419 $as_echo_n "(cached) " >&6
30420 else
30423 ac_ext=cpp
30424 ac_cpp='$CXXCPP $CPPFLAGS'
30425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30430 /* end confdefs.h. */
30431 #include <math.h>
30432 #ifdef HAVE_IEEEFP_H
30433 #include <ieeefp.h>
30434 #endif
30437 main ()
30439 _logf(0);
30441 return 0;
30443 _ACEOF
30444 if ac_fn_cxx_try_compile "$LINENO"; then :
30445 glibcxx_cv_func__logf_use=yes
30446 else
30447 glibcxx_cv_func__logf_use=no
30449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30450 ac_ext=c
30451 ac_cpp='$CPP $CPPFLAGS'
30452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
30461 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
30463 if test x$glibcxx_cv_func__logf_use = x"yes"; then
30464 for ac_func in _logf
30465 do :
30466 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
30467 if test "x$ac_cv_func__logf" = x""yes; then :
30468 cat >>confdefs.h <<_ACEOF
30469 #define HAVE__LOGF 1
30470 _ACEOF
30473 done
30482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
30483 $as_echo_n "checking for log10f declaration... " >&6; }
30484 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
30485 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
30486 $as_echo_n "(cached) " >&6
30487 else
30490 ac_ext=cpp
30491 ac_cpp='$CXXCPP $CPPFLAGS'
30492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30497 /* end confdefs.h. */
30498 #include <math.h>
30499 #ifdef HAVE_IEEEFP_H
30500 #include <ieeefp.h>
30501 #endif
30504 main ()
30506 log10f(0);
30508 return 0;
30510 _ACEOF
30511 if ac_fn_cxx_try_compile "$LINENO"; then :
30512 glibcxx_cv_func_log10f_use=yes
30513 else
30514 glibcxx_cv_func_log10f_use=no
30516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30517 ac_ext=c
30518 ac_cpp='$CPP $CPPFLAGS'
30519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
30528 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
30530 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
30531 for ac_func in log10f
30532 do :
30533 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
30534 if test "x$ac_cv_func_log10f" = x""yes; then :
30535 cat >>confdefs.h <<_ACEOF
30536 #define HAVE_LOG10F 1
30537 _ACEOF
30540 done
30542 else
30544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
30545 $as_echo_n "checking for _log10f declaration... " >&6; }
30546 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
30547 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
30548 $as_echo_n "(cached) " >&6
30549 else
30552 ac_ext=cpp
30553 ac_cpp='$CXXCPP $CPPFLAGS'
30554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30559 /* end confdefs.h. */
30560 #include <math.h>
30561 #ifdef HAVE_IEEEFP_H
30562 #include <ieeefp.h>
30563 #endif
30566 main ()
30568 _log10f(0);
30570 return 0;
30572 _ACEOF
30573 if ac_fn_cxx_try_compile "$LINENO"; then :
30574 glibcxx_cv_func__log10f_use=yes
30575 else
30576 glibcxx_cv_func__log10f_use=no
30578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30579 ac_ext=c
30580 ac_cpp='$CPP $CPPFLAGS'
30581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
30590 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
30592 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
30593 for ac_func in _log10f
30594 do :
30595 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
30596 if test "x$ac_cv_func__log10f" = x""yes; then :
30597 cat >>confdefs.h <<_ACEOF
30598 #define HAVE__LOG10F 1
30599 _ACEOF
30602 done
30611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
30612 $as_echo_n "checking for modff declaration... " >&6; }
30613 if test x${glibcxx_cv_func_modff_use+set} != xset; then
30614 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
30615 $as_echo_n "(cached) " >&6
30616 else
30619 ac_ext=cpp
30620 ac_cpp='$CXXCPP $CPPFLAGS'
30621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30626 /* end confdefs.h. */
30627 #include <math.h>
30629 main ()
30631 modff(0, 0);
30633 return 0;
30635 _ACEOF
30636 if ac_fn_cxx_try_compile "$LINENO"; then :
30637 glibcxx_cv_func_modff_use=yes
30638 else
30639 glibcxx_cv_func_modff_use=no
30641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30642 ac_ext=c
30643 ac_cpp='$CPP $CPPFLAGS'
30644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
30653 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
30655 if test x$glibcxx_cv_func_modff_use = x"yes"; then
30656 for ac_func in modff
30657 do :
30658 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
30659 if test "x$ac_cv_func_modff" = x""yes; then :
30660 cat >>confdefs.h <<_ACEOF
30661 #define HAVE_MODFF 1
30662 _ACEOF
30665 done
30667 else
30669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
30670 $as_echo_n "checking for _modff declaration... " >&6; }
30671 if test x${glibcxx_cv_func__modff_use+set} != xset; then
30672 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
30673 $as_echo_n "(cached) " >&6
30674 else
30677 ac_ext=cpp
30678 ac_cpp='$CXXCPP $CPPFLAGS'
30679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30684 /* end confdefs.h. */
30685 #include <math.h>
30687 main ()
30689 _modff(0, 0);
30691 return 0;
30693 _ACEOF
30694 if ac_fn_cxx_try_compile "$LINENO"; then :
30695 glibcxx_cv_func__modff_use=yes
30696 else
30697 glibcxx_cv_func__modff_use=no
30699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30700 ac_ext=c
30701 ac_cpp='$CPP $CPPFLAGS'
30702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
30711 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
30713 if test x$glibcxx_cv_func__modff_use = x"yes"; then
30714 for ac_func in _modff
30715 do :
30716 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
30717 if test "x$ac_cv_func__modff" = x""yes; then :
30718 cat >>confdefs.h <<_ACEOF
30719 #define HAVE__MODFF 1
30720 _ACEOF
30723 done
30732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
30733 $as_echo_n "checking for modf declaration... " >&6; }
30734 if test x${glibcxx_cv_func_modf_use+set} != xset; then
30735 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
30736 $as_echo_n "(cached) " >&6
30737 else
30740 ac_ext=cpp
30741 ac_cpp='$CXXCPP $CPPFLAGS'
30742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30747 /* end confdefs.h. */
30748 #include <math.h>
30750 main ()
30752 modf(0, 0);
30754 return 0;
30756 _ACEOF
30757 if ac_fn_cxx_try_compile "$LINENO"; then :
30758 glibcxx_cv_func_modf_use=yes
30759 else
30760 glibcxx_cv_func_modf_use=no
30762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30763 ac_ext=c
30764 ac_cpp='$CPP $CPPFLAGS'
30765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
30774 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
30776 if test x$glibcxx_cv_func_modf_use = x"yes"; then
30777 for ac_func in modf
30778 do :
30779 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
30780 if test "x$ac_cv_func_modf" = x""yes; then :
30781 cat >>confdefs.h <<_ACEOF
30782 #define HAVE_MODF 1
30783 _ACEOF
30786 done
30788 else
30790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
30791 $as_echo_n "checking for _modf declaration... " >&6; }
30792 if test x${glibcxx_cv_func__modf_use+set} != xset; then
30793 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
30794 $as_echo_n "(cached) " >&6
30795 else
30798 ac_ext=cpp
30799 ac_cpp='$CXXCPP $CPPFLAGS'
30800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30805 /* end confdefs.h. */
30806 #include <math.h>
30808 main ()
30810 _modf(0, 0);
30812 return 0;
30814 _ACEOF
30815 if ac_fn_cxx_try_compile "$LINENO"; then :
30816 glibcxx_cv_func__modf_use=yes
30817 else
30818 glibcxx_cv_func__modf_use=no
30820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30821 ac_ext=c
30822 ac_cpp='$CPP $CPPFLAGS'
30823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
30832 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
30834 if test x$glibcxx_cv_func__modf_use = x"yes"; then
30835 for ac_func in _modf
30836 do :
30837 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
30838 if test "x$ac_cv_func__modf" = x""yes; then :
30839 cat >>confdefs.h <<_ACEOF
30840 #define HAVE__MODF 1
30841 _ACEOF
30844 done
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
30854 $as_echo_n "checking for powf declaration... " >&6; }
30855 if test x${glibcxx_cv_func_powf_use+set} != xset; then
30856 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30861 ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30869 #include <math.h>
30871 main ()
30873 powf(0, 0);
30875 return 0;
30877 _ACEOF
30878 if ac_fn_cxx_try_compile "$LINENO"; then :
30879 glibcxx_cv_func_powf_use=yes
30880 else
30881 glibcxx_cv_func_powf_use=no
30883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30884 ac_ext=c
30885 ac_cpp='$CPP $CPPFLAGS'
30886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
30895 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
30897 if test x$glibcxx_cv_func_powf_use = x"yes"; then
30898 for ac_func in powf
30899 do :
30900 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
30901 if test "x$ac_cv_func_powf" = x""yes; then :
30902 cat >>confdefs.h <<_ACEOF
30903 #define HAVE_POWF 1
30904 _ACEOF
30907 done
30909 else
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
30912 $as_echo_n "checking for _powf declaration... " >&6; }
30913 if test x${glibcxx_cv_func__powf_use+set} != xset; then
30914 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
30915 $as_echo_n "(cached) " >&6
30916 else
30919 ac_ext=cpp
30920 ac_cpp='$CXXCPP $CPPFLAGS'
30921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30926 /* end confdefs.h. */
30927 #include <math.h>
30929 main ()
30931 _powf(0, 0);
30933 return 0;
30935 _ACEOF
30936 if ac_fn_cxx_try_compile "$LINENO"; then :
30937 glibcxx_cv_func__powf_use=yes
30938 else
30939 glibcxx_cv_func__powf_use=no
30941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30942 ac_ext=c
30943 ac_cpp='$CPP $CPPFLAGS'
30944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
30953 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
30955 if test x$glibcxx_cv_func__powf_use = x"yes"; then
30956 for ac_func in _powf
30957 do :
30958 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
30959 if test "x$ac_cv_func__powf" = x""yes; then :
30960 cat >>confdefs.h <<_ACEOF
30961 #define HAVE__POWF 1
30962 _ACEOF
30965 done
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
30975 $as_echo_n "checking for sqrtf declaration... " >&6; }
30976 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
30977 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
30978 $as_echo_n "(cached) " >&6
30979 else
30982 ac_ext=cpp
30983 ac_cpp='$CXXCPP $CPPFLAGS'
30984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30989 /* end confdefs.h. */
30990 #include <math.h>
30991 #ifdef HAVE_IEEEFP_H
30992 #include <ieeefp.h>
30993 #endif
30996 main ()
30998 sqrtf(0);
31000 return 0;
31002 _ACEOF
31003 if ac_fn_cxx_try_compile "$LINENO"; then :
31004 glibcxx_cv_func_sqrtf_use=yes
31005 else
31006 glibcxx_cv_func_sqrtf_use=no
31008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31009 ac_ext=c
31010 ac_cpp='$CPP $CPPFLAGS'
31011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
31020 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
31022 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
31023 for ac_func in sqrtf
31024 do :
31025 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
31026 if test "x$ac_cv_func_sqrtf" = x""yes; then :
31027 cat >>confdefs.h <<_ACEOF
31028 #define HAVE_SQRTF 1
31029 _ACEOF
31032 done
31034 else
31036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
31037 $as_echo_n "checking for _sqrtf declaration... " >&6; }
31038 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
31039 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
31040 $as_echo_n "(cached) " >&6
31041 else
31044 ac_ext=cpp
31045 ac_cpp='$CXXCPP $CPPFLAGS'
31046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31051 /* end confdefs.h. */
31052 #include <math.h>
31053 #ifdef HAVE_IEEEFP_H
31054 #include <ieeefp.h>
31055 #endif
31058 main ()
31060 _sqrtf(0);
31062 return 0;
31064 _ACEOF
31065 if ac_fn_cxx_try_compile "$LINENO"; then :
31066 glibcxx_cv_func__sqrtf_use=yes
31067 else
31068 glibcxx_cv_func__sqrtf_use=no
31070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31071 ac_ext=c
31072 ac_cpp='$CPP $CPPFLAGS'
31073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
31082 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
31084 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
31085 for ac_func in _sqrtf
31086 do :
31087 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
31088 if test "x$ac_cv_func__sqrtf" = x""yes; then :
31089 cat >>confdefs.h <<_ACEOF
31090 #define HAVE__SQRTF 1
31091 _ACEOF
31094 done
31103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
31104 $as_echo_n "checking for sincosf declaration... " >&6; }
31105 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
31106 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
31107 $as_echo_n "(cached) " >&6
31108 else
31111 ac_ext=cpp
31112 ac_cpp='$CXXCPP $CPPFLAGS'
31113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31118 /* end confdefs.h. */
31119 #include <math.h>
31121 main ()
31123 sincosf(0, 0, 0);
31125 return 0;
31127 _ACEOF
31128 if ac_fn_cxx_try_compile "$LINENO"; then :
31129 glibcxx_cv_func_sincosf_use=yes
31130 else
31131 glibcxx_cv_func_sincosf_use=no
31133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31134 ac_ext=c
31135 ac_cpp='$CPP $CPPFLAGS'
31136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
31145 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
31147 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
31148 for ac_func in sincosf
31149 do :
31150 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
31151 if test "x$ac_cv_func_sincosf" = x""yes; then :
31152 cat >>confdefs.h <<_ACEOF
31153 #define HAVE_SINCOSF 1
31154 _ACEOF
31157 done
31159 else
31161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
31162 $as_echo_n "checking for _sincosf declaration... " >&6; }
31163 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
31164 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
31165 $as_echo_n "(cached) " >&6
31166 else
31169 ac_ext=cpp
31170 ac_cpp='$CXXCPP $CPPFLAGS'
31171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31176 /* end confdefs.h. */
31177 #include <math.h>
31179 main ()
31181 _sincosf(0, 0, 0);
31183 return 0;
31185 _ACEOF
31186 if ac_fn_cxx_try_compile "$LINENO"; then :
31187 glibcxx_cv_func__sincosf_use=yes
31188 else
31189 glibcxx_cv_func__sincosf_use=no
31191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31192 ac_ext=c
31193 ac_cpp='$CPP $CPPFLAGS'
31194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
31203 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
31205 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
31206 for ac_func in _sincosf
31207 do :
31208 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
31209 if test "x$ac_cv_func__sincosf" = x""yes; then :
31210 cat >>confdefs.h <<_ACEOF
31211 #define HAVE__SINCOSF 1
31212 _ACEOF
31215 done
31224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
31225 $as_echo_n "checking for finitef declaration... " >&6; }
31226 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
31227 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
31228 $as_echo_n "(cached) " >&6
31229 else
31232 ac_ext=cpp
31233 ac_cpp='$CXXCPP $CPPFLAGS'
31234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31239 /* end confdefs.h. */
31240 #include <math.h>
31241 #ifdef HAVE_IEEEFP_H
31242 #include <ieeefp.h>
31243 #endif
31246 main ()
31248 finitef(0);
31250 return 0;
31252 _ACEOF
31253 if ac_fn_cxx_try_compile "$LINENO"; then :
31254 glibcxx_cv_func_finitef_use=yes
31255 else
31256 glibcxx_cv_func_finitef_use=no
31258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31259 ac_ext=c
31260 ac_cpp='$CPP $CPPFLAGS'
31261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
31270 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
31272 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
31273 for ac_func in finitef
31274 do :
31275 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
31276 if test "x$ac_cv_func_finitef" = x""yes; then :
31277 cat >>confdefs.h <<_ACEOF
31278 #define HAVE_FINITEF 1
31279 _ACEOF
31282 done
31284 else
31286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
31287 $as_echo_n "checking for _finitef declaration... " >&6; }
31288 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
31289 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
31290 $as_echo_n "(cached) " >&6
31291 else
31294 ac_ext=cpp
31295 ac_cpp='$CXXCPP $CPPFLAGS'
31296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31301 /* end confdefs.h. */
31302 #include <math.h>
31303 #ifdef HAVE_IEEEFP_H
31304 #include <ieeefp.h>
31305 #endif
31308 main ()
31310 _finitef(0);
31312 return 0;
31314 _ACEOF
31315 if ac_fn_cxx_try_compile "$LINENO"; then :
31316 glibcxx_cv_func__finitef_use=yes
31317 else
31318 glibcxx_cv_func__finitef_use=no
31320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31321 ac_ext=c
31322 ac_cpp='$CPP $CPPFLAGS'
31323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
31332 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
31334 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
31335 for ac_func in _finitef
31336 do :
31337 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
31338 if test "x$ac_cv_func__finitef" = x""yes; then :
31339 cat >>confdefs.h <<_ACEOF
31340 #define HAVE__FINITEF 1
31341 _ACEOF
31344 done
31353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
31354 $as_echo_n "checking for long double trig functions... " >&6; }
31355 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
31356 $as_echo_n "(cached) " >&6
31357 else
31360 ac_ext=cpp
31361 ac_cpp='$CXXCPP $CPPFLAGS'
31362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31367 /* end confdefs.h. */
31368 #include <math.h>
31370 main ()
31372 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
31374 return 0;
31376 _ACEOF
31377 if ac_fn_cxx_try_compile "$LINENO"; then :
31378 glibcxx_cv_func_long_double_trig_use=yes
31379 else
31380 glibcxx_cv_func_long_double_trig_use=no
31382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31383 ac_ext=c
31384 ac_cpp='$CPP $CPPFLAGS'
31385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
31392 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
31393 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
31394 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
31395 do :
31396 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31397 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31398 eval as_val=\$$as_ac_var
31399 if test "x$as_val" = x""yes; then :
31400 cat >>confdefs.h <<_ACEOF
31401 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31402 _ACEOF
31405 done
31407 else
31408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
31409 $as_echo_n "checking for _long double trig functions... " >&6; }
31410 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
31411 $as_echo_n "(cached) " >&6
31412 else
31415 ac_ext=cpp
31416 ac_cpp='$CXXCPP $CPPFLAGS'
31417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31422 /* end confdefs.h. */
31423 #include <math.h>
31425 main ()
31427 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
31429 return 0;
31431 _ACEOF
31432 if ac_fn_cxx_try_compile "$LINENO"; then :
31433 glibcxx_cv_func__long_double_trig_use=yes
31434 else
31435 glibcxx_cv_func__long_double_trig_use=no
31437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31438 ac_ext=c
31439 ac_cpp='$CPP $CPPFLAGS'
31440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
31447 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
31448 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
31449 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
31450 do :
31451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31453 eval as_val=\$$as_ac_var
31454 if test "x$as_val" = x""yes; then :
31455 cat >>confdefs.h <<_ACEOF
31456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31457 _ACEOF
31460 done
31469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
31470 $as_echo_n "checking for long double round functions... " >&6; }
31471 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
31472 $as_echo_n "(cached) " >&6
31473 else
31476 ac_ext=cpp
31477 ac_cpp='$CXXCPP $CPPFLAGS'
31478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31483 /* end confdefs.h. */
31484 #include <math.h>
31486 main ()
31488 ceill (0); floorl (0);
31490 return 0;
31492 _ACEOF
31493 if ac_fn_cxx_try_compile "$LINENO"; then :
31494 glibcxx_cv_func_long_double_round_use=yes
31495 else
31496 glibcxx_cv_func_long_double_round_use=no
31498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31499 ac_ext=c
31500 ac_cpp='$CPP $CPPFLAGS'
31501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
31508 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
31509 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
31510 for ac_func in ceill floorl
31511 do :
31512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31514 eval as_val=\$$as_ac_var
31515 if test "x$as_val" = x""yes; then :
31516 cat >>confdefs.h <<_ACEOF
31517 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31518 _ACEOF
31521 done
31523 else
31524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
31525 $as_echo_n "checking for _long double round functions... " >&6; }
31526 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
31527 $as_echo_n "(cached) " >&6
31528 else
31531 ac_ext=cpp
31532 ac_cpp='$CXXCPP $CPPFLAGS'
31533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31538 /* end confdefs.h. */
31539 #include <math.h>
31541 main ()
31543 _ceill (0); _floorl (0);
31545 return 0;
31547 _ACEOF
31548 if ac_fn_cxx_try_compile "$LINENO"; then :
31549 glibcxx_cv_func__long_double_round_use=yes
31550 else
31551 glibcxx_cv_func__long_double_round_use=no
31553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31554 ac_ext=c
31555 ac_cpp='$CPP $CPPFLAGS'
31556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
31563 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
31564 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
31565 for ac_func in _ceill _floorl
31566 do :
31567 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
31568 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
31569 eval as_val=\$$as_ac_var
31570 if test "x$as_val" = x""yes; then :
31571 cat >>confdefs.h <<_ACEOF
31572 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
31573 _ACEOF
31576 done
31586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
31587 $as_echo_n "checking for isnanl declaration... " >&6; }
31588 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
31589 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
31590 $as_echo_n "(cached) " >&6
31591 else
31594 ac_ext=cpp
31595 ac_cpp='$CXXCPP $CPPFLAGS'
31596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31601 /* end confdefs.h. */
31602 #include <math.h>
31603 #ifdef HAVE_IEEEFP_H
31604 #include <ieeefp.h>
31605 #endif
31608 main ()
31610 isnanl(0);
31612 return 0;
31614 _ACEOF
31615 if ac_fn_cxx_try_compile "$LINENO"; then :
31616 glibcxx_cv_func_isnanl_use=yes
31617 else
31618 glibcxx_cv_func_isnanl_use=no
31620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31621 ac_ext=c
31622 ac_cpp='$CPP $CPPFLAGS'
31623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
31632 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
31634 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
31635 for ac_func in isnanl
31636 do :
31637 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
31638 if test "x$ac_cv_func_isnanl" = x""yes; then :
31639 cat >>confdefs.h <<_ACEOF
31640 #define HAVE_ISNANL 1
31641 _ACEOF
31644 done
31646 else
31648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
31649 $as_echo_n "checking for _isnanl declaration... " >&6; }
31650 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
31651 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
31652 $as_echo_n "(cached) " >&6
31653 else
31656 ac_ext=cpp
31657 ac_cpp='$CXXCPP $CPPFLAGS'
31658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31663 /* end confdefs.h. */
31664 #include <math.h>
31665 #ifdef HAVE_IEEEFP_H
31666 #include <ieeefp.h>
31667 #endif
31670 main ()
31672 _isnanl(0);
31674 return 0;
31676 _ACEOF
31677 if ac_fn_cxx_try_compile "$LINENO"; then :
31678 glibcxx_cv_func__isnanl_use=yes
31679 else
31680 glibcxx_cv_func__isnanl_use=no
31682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31683 ac_ext=c
31684 ac_cpp='$CPP $CPPFLAGS'
31685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
31694 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
31696 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
31697 for ac_func in _isnanl
31698 do :
31699 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
31700 if test "x$ac_cv_func__isnanl" = x""yes; then :
31701 cat >>confdefs.h <<_ACEOF
31702 #define HAVE__ISNANL 1
31703 _ACEOF
31706 done
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
31716 $as_echo_n "checking for isinfl declaration... " >&6; }
31717 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
31718 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
31719 $as_echo_n "(cached) " >&6
31720 else
31723 ac_ext=cpp
31724 ac_cpp='$CXXCPP $CPPFLAGS'
31725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31730 /* end confdefs.h. */
31731 #include <math.h>
31732 #ifdef HAVE_IEEEFP_H
31733 #include <ieeefp.h>
31734 #endif
31737 main ()
31739 isinfl(0);
31741 return 0;
31743 _ACEOF
31744 if ac_fn_cxx_try_compile "$LINENO"; then :
31745 glibcxx_cv_func_isinfl_use=yes
31746 else
31747 glibcxx_cv_func_isinfl_use=no
31749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31750 ac_ext=c
31751 ac_cpp='$CPP $CPPFLAGS'
31752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
31761 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
31763 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
31764 for ac_func in isinfl
31765 do :
31766 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
31767 if test "x$ac_cv_func_isinfl" = x""yes; then :
31768 cat >>confdefs.h <<_ACEOF
31769 #define HAVE_ISINFL 1
31770 _ACEOF
31773 done
31775 else
31777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
31778 $as_echo_n "checking for _isinfl declaration... " >&6; }
31779 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
31780 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
31781 $as_echo_n "(cached) " >&6
31782 else
31785 ac_ext=cpp
31786 ac_cpp='$CXXCPP $CPPFLAGS'
31787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31792 /* end confdefs.h. */
31793 #include <math.h>
31794 #ifdef HAVE_IEEEFP_H
31795 #include <ieeefp.h>
31796 #endif
31799 main ()
31801 _isinfl(0);
31803 return 0;
31805 _ACEOF
31806 if ac_fn_cxx_try_compile "$LINENO"; then :
31807 glibcxx_cv_func__isinfl_use=yes
31808 else
31809 glibcxx_cv_func__isinfl_use=no
31811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31812 ac_ext=c
31813 ac_cpp='$CPP $CPPFLAGS'
31814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
31823 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
31825 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
31826 for ac_func in _isinfl
31827 do :
31828 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
31829 if test "x$ac_cv_func__isinfl" = x""yes; then :
31830 cat >>confdefs.h <<_ACEOF
31831 #define HAVE__ISINFL 1
31832 _ACEOF
31835 done
31844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
31845 $as_echo_n "checking for atan2l declaration... " >&6; }
31846 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
31847 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
31848 $as_echo_n "(cached) " >&6
31849 else
31852 ac_ext=cpp
31853 ac_cpp='$CXXCPP $CPPFLAGS'
31854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31859 /* end confdefs.h. */
31860 #include <math.h>
31862 main ()
31864 atan2l(0, 0);
31866 return 0;
31868 _ACEOF
31869 if ac_fn_cxx_try_compile "$LINENO"; then :
31870 glibcxx_cv_func_atan2l_use=yes
31871 else
31872 glibcxx_cv_func_atan2l_use=no
31874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31875 ac_ext=c
31876 ac_cpp='$CPP $CPPFLAGS'
31877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
31886 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
31888 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
31889 for ac_func in atan2l
31890 do :
31891 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
31892 if test "x$ac_cv_func_atan2l" = x""yes; then :
31893 cat >>confdefs.h <<_ACEOF
31894 #define HAVE_ATAN2L 1
31895 _ACEOF
31898 done
31900 else
31902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
31903 $as_echo_n "checking for _atan2l declaration... " >&6; }
31904 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
31905 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
31906 $as_echo_n "(cached) " >&6
31907 else
31910 ac_ext=cpp
31911 ac_cpp='$CXXCPP $CPPFLAGS'
31912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31917 /* end confdefs.h. */
31918 #include <math.h>
31920 main ()
31922 _atan2l(0, 0);
31924 return 0;
31926 _ACEOF
31927 if ac_fn_cxx_try_compile "$LINENO"; then :
31928 glibcxx_cv_func__atan2l_use=yes
31929 else
31930 glibcxx_cv_func__atan2l_use=no
31932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31933 ac_ext=c
31934 ac_cpp='$CPP $CPPFLAGS'
31935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
31944 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
31946 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
31947 for ac_func in _atan2l
31948 do :
31949 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
31950 if test "x$ac_cv_func__atan2l" = x""yes; then :
31951 cat >>confdefs.h <<_ACEOF
31952 #define HAVE__ATAN2L 1
31953 _ACEOF
31956 done
31965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
31966 $as_echo_n "checking for expl declaration... " >&6; }
31967 if test x${glibcxx_cv_func_expl_use+set} != xset; then
31968 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
31969 $as_echo_n "(cached) " >&6
31970 else
31973 ac_ext=cpp
31974 ac_cpp='$CXXCPP $CPPFLAGS'
31975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31980 /* end confdefs.h. */
31981 #include <math.h>
31982 #ifdef HAVE_IEEEFP_H
31983 #include <ieeefp.h>
31984 #endif
31987 main ()
31989 expl(0);
31991 return 0;
31993 _ACEOF
31994 if ac_fn_cxx_try_compile "$LINENO"; then :
31995 glibcxx_cv_func_expl_use=yes
31996 else
31997 glibcxx_cv_func_expl_use=no
31999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32000 ac_ext=c
32001 ac_cpp='$CPP $CPPFLAGS'
32002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32011 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32013 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32014 for ac_func in expl
32015 do :
32016 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
32017 if test "x$ac_cv_func_expl" = x""yes; then :
32018 cat >>confdefs.h <<_ACEOF
32019 #define HAVE_EXPL 1
32020 _ACEOF
32023 done
32025 else
32027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
32028 $as_echo_n "checking for _expl declaration... " >&6; }
32029 if test x${glibcxx_cv_func__expl_use+set} != xset; then
32030 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
32031 $as_echo_n "(cached) " >&6
32032 else
32035 ac_ext=cpp
32036 ac_cpp='$CXXCPP $CPPFLAGS'
32037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32042 /* end confdefs.h. */
32043 #include <math.h>
32044 #ifdef HAVE_IEEEFP_H
32045 #include <ieeefp.h>
32046 #endif
32049 main ()
32051 _expl(0);
32053 return 0;
32055 _ACEOF
32056 if ac_fn_cxx_try_compile "$LINENO"; then :
32057 glibcxx_cv_func__expl_use=yes
32058 else
32059 glibcxx_cv_func__expl_use=no
32061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32062 ac_ext=c
32063 ac_cpp='$CPP $CPPFLAGS'
32064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
32073 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
32075 if test x$glibcxx_cv_func__expl_use = x"yes"; then
32076 for ac_func in _expl
32077 do :
32078 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
32079 if test "x$ac_cv_func__expl" = x""yes; then :
32080 cat >>confdefs.h <<_ACEOF
32081 #define HAVE__EXPL 1
32082 _ACEOF
32085 done
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
32095 $as_echo_n "checking for fabsl declaration... " >&6; }
32096 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
32097 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
32098 $as_echo_n "(cached) " >&6
32099 else
32102 ac_ext=cpp
32103 ac_cpp='$CXXCPP $CPPFLAGS'
32104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32109 /* end confdefs.h. */
32110 #include <math.h>
32111 #ifdef HAVE_IEEEFP_H
32112 #include <ieeefp.h>
32113 #endif
32116 main ()
32118 fabsl(0);
32120 return 0;
32122 _ACEOF
32123 if ac_fn_cxx_try_compile "$LINENO"; then :
32124 glibcxx_cv_func_fabsl_use=yes
32125 else
32126 glibcxx_cv_func_fabsl_use=no
32128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32129 ac_ext=c
32130 ac_cpp='$CPP $CPPFLAGS'
32131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
32140 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
32142 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
32143 for ac_func in fabsl
32144 do :
32145 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
32146 if test "x$ac_cv_func_fabsl" = x""yes; then :
32147 cat >>confdefs.h <<_ACEOF
32148 #define HAVE_FABSL 1
32149 _ACEOF
32152 done
32154 else
32156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
32157 $as_echo_n "checking for _fabsl declaration... " >&6; }
32158 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
32159 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
32160 $as_echo_n "(cached) " >&6
32161 else
32164 ac_ext=cpp
32165 ac_cpp='$CXXCPP $CPPFLAGS'
32166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32171 /* end confdefs.h. */
32172 #include <math.h>
32173 #ifdef HAVE_IEEEFP_H
32174 #include <ieeefp.h>
32175 #endif
32178 main ()
32180 _fabsl(0);
32182 return 0;
32184 _ACEOF
32185 if ac_fn_cxx_try_compile "$LINENO"; then :
32186 glibcxx_cv_func__fabsl_use=yes
32187 else
32188 glibcxx_cv_func__fabsl_use=no
32190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32191 ac_ext=c
32192 ac_cpp='$CPP $CPPFLAGS'
32193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
32202 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
32204 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
32205 for ac_func in _fabsl
32206 do :
32207 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
32208 if test "x$ac_cv_func__fabsl" = x""yes; then :
32209 cat >>confdefs.h <<_ACEOF
32210 #define HAVE__FABSL 1
32211 _ACEOF
32214 done
32223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
32224 $as_echo_n "checking for fmodl declaration... " >&6; }
32225 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
32226 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
32227 $as_echo_n "(cached) " >&6
32228 else
32231 ac_ext=cpp
32232 ac_cpp='$CXXCPP $CPPFLAGS'
32233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32238 /* end confdefs.h. */
32239 #include <math.h>
32241 main ()
32243 fmodl(0, 0);
32245 return 0;
32247 _ACEOF
32248 if ac_fn_cxx_try_compile "$LINENO"; then :
32249 glibcxx_cv_func_fmodl_use=yes
32250 else
32251 glibcxx_cv_func_fmodl_use=no
32253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32254 ac_ext=c
32255 ac_cpp='$CPP $CPPFLAGS'
32256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
32265 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
32267 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
32268 for ac_func in fmodl
32269 do :
32270 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
32271 if test "x$ac_cv_func_fmodl" = x""yes; then :
32272 cat >>confdefs.h <<_ACEOF
32273 #define HAVE_FMODL 1
32274 _ACEOF
32277 done
32279 else
32281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
32282 $as_echo_n "checking for _fmodl declaration... " >&6; }
32283 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
32284 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
32285 $as_echo_n "(cached) " >&6
32286 else
32289 ac_ext=cpp
32290 ac_cpp='$CXXCPP $CPPFLAGS'
32291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32296 /* end confdefs.h. */
32297 #include <math.h>
32299 main ()
32301 _fmodl(0, 0);
32303 return 0;
32305 _ACEOF
32306 if ac_fn_cxx_try_compile "$LINENO"; then :
32307 glibcxx_cv_func__fmodl_use=yes
32308 else
32309 glibcxx_cv_func__fmodl_use=no
32311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32312 ac_ext=c
32313 ac_cpp='$CPP $CPPFLAGS'
32314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
32323 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
32325 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
32326 for ac_func in _fmodl
32327 do :
32328 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
32329 if test "x$ac_cv_func__fmodl" = x""yes; then :
32330 cat >>confdefs.h <<_ACEOF
32331 #define HAVE__FMODL 1
32332 _ACEOF
32335 done
32344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
32345 $as_echo_n "checking for frexpl declaration... " >&6; }
32346 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
32347 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
32348 $as_echo_n "(cached) " >&6
32349 else
32352 ac_ext=cpp
32353 ac_cpp='$CXXCPP $CPPFLAGS'
32354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32359 /* end confdefs.h. */
32360 #include <math.h>
32362 main ()
32364 frexpl(0, 0);
32366 return 0;
32368 _ACEOF
32369 if ac_fn_cxx_try_compile "$LINENO"; then :
32370 glibcxx_cv_func_frexpl_use=yes
32371 else
32372 glibcxx_cv_func_frexpl_use=no
32374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32375 ac_ext=c
32376 ac_cpp='$CPP $CPPFLAGS'
32377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
32386 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
32388 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
32389 for ac_func in frexpl
32390 do :
32391 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
32392 if test "x$ac_cv_func_frexpl" = x""yes; then :
32393 cat >>confdefs.h <<_ACEOF
32394 #define HAVE_FREXPL 1
32395 _ACEOF
32398 done
32400 else
32402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
32403 $as_echo_n "checking for _frexpl declaration... " >&6; }
32404 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
32405 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
32406 $as_echo_n "(cached) " >&6
32407 else
32410 ac_ext=cpp
32411 ac_cpp='$CXXCPP $CPPFLAGS'
32412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32417 /* end confdefs.h. */
32418 #include <math.h>
32420 main ()
32422 _frexpl(0, 0);
32424 return 0;
32426 _ACEOF
32427 if ac_fn_cxx_try_compile "$LINENO"; then :
32428 glibcxx_cv_func__frexpl_use=yes
32429 else
32430 glibcxx_cv_func__frexpl_use=no
32432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32433 ac_ext=c
32434 ac_cpp='$CPP $CPPFLAGS'
32435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
32444 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
32446 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
32447 for ac_func in _frexpl
32448 do :
32449 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
32450 if test "x$ac_cv_func__frexpl" = x""yes; then :
32451 cat >>confdefs.h <<_ACEOF
32452 #define HAVE__FREXPL 1
32453 _ACEOF
32456 done
32465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
32466 $as_echo_n "checking for hypotl declaration... " >&6; }
32467 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
32468 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
32469 $as_echo_n "(cached) " >&6
32470 else
32473 ac_ext=cpp
32474 ac_cpp='$CXXCPP $CPPFLAGS'
32475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32480 /* end confdefs.h. */
32481 #include <math.h>
32483 main ()
32485 hypotl(0, 0);
32487 return 0;
32489 _ACEOF
32490 if ac_fn_cxx_try_compile "$LINENO"; then :
32491 glibcxx_cv_func_hypotl_use=yes
32492 else
32493 glibcxx_cv_func_hypotl_use=no
32495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32496 ac_ext=c
32497 ac_cpp='$CPP $CPPFLAGS'
32498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
32507 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
32509 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
32510 for ac_func in hypotl
32511 do :
32512 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
32513 if test "x$ac_cv_func_hypotl" = x""yes; then :
32514 cat >>confdefs.h <<_ACEOF
32515 #define HAVE_HYPOTL 1
32516 _ACEOF
32519 done
32521 else
32523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
32524 $as_echo_n "checking for _hypotl declaration... " >&6; }
32525 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
32526 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
32527 $as_echo_n "(cached) " >&6
32528 else
32531 ac_ext=cpp
32532 ac_cpp='$CXXCPP $CPPFLAGS'
32533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32538 /* end confdefs.h. */
32539 #include <math.h>
32541 main ()
32543 _hypotl(0, 0);
32545 return 0;
32547 _ACEOF
32548 if ac_fn_cxx_try_compile "$LINENO"; then :
32549 glibcxx_cv_func__hypotl_use=yes
32550 else
32551 glibcxx_cv_func__hypotl_use=no
32553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32554 ac_ext=c
32555 ac_cpp='$CPP $CPPFLAGS'
32556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
32565 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
32567 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
32568 for ac_func in _hypotl
32569 do :
32570 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
32571 if test "x$ac_cv_func__hypotl" = x""yes; then :
32572 cat >>confdefs.h <<_ACEOF
32573 #define HAVE__HYPOTL 1
32574 _ACEOF
32577 done
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
32587 $as_echo_n "checking for ldexpl declaration... " >&6; }
32588 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
32589 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
32590 $as_echo_n "(cached) " >&6
32591 else
32594 ac_ext=cpp
32595 ac_cpp='$CXXCPP $CPPFLAGS'
32596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32601 /* end confdefs.h. */
32602 #include <math.h>
32604 main ()
32606 ldexpl(0, 0);
32608 return 0;
32610 _ACEOF
32611 if ac_fn_cxx_try_compile "$LINENO"; then :
32612 glibcxx_cv_func_ldexpl_use=yes
32613 else
32614 glibcxx_cv_func_ldexpl_use=no
32616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32617 ac_ext=c
32618 ac_cpp='$CPP $CPPFLAGS'
32619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
32628 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
32630 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
32631 for ac_func in ldexpl
32632 do :
32633 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
32634 if test "x$ac_cv_func_ldexpl" = x""yes; then :
32635 cat >>confdefs.h <<_ACEOF
32636 #define HAVE_LDEXPL 1
32637 _ACEOF
32640 done
32642 else
32644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
32645 $as_echo_n "checking for _ldexpl declaration... " >&6; }
32646 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
32647 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
32648 $as_echo_n "(cached) " >&6
32649 else
32652 ac_ext=cpp
32653 ac_cpp='$CXXCPP $CPPFLAGS'
32654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32659 /* end confdefs.h. */
32660 #include <math.h>
32662 main ()
32664 _ldexpl(0, 0);
32666 return 0;
32668 _ACEOF
32669 if ac_fn_cxx_try_compile "$LINENO"; then :
32670 glibcxx_cv_func__ldexpl_use=yes
32671 else
32672 glibcxx_cv_func__ldexpl_use=no
32674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32675 ac_ext=c
32676 ac_cpp='$CPP $CPPFLAGS'
32677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
32686 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
32688 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
32689 for ac_func in _ldexpl
32690 do :
32691 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
32692 if test "x$ac_cv_func__ldexpl" = x""yes; then :
32693 cat >>confdefs.h <<_ACEOF
32694 #define HAVE__LDEXPL 1
32695 _ACEOF
32698 done
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
32708 $as_echo_n "checking for logl declaration... " >&6; }
32709 if test x${glibcxx_cv_func_logl_use+set} != xset; then
32710 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
32711 $as_echo_n "(cached) " >&6
32712 else
32715 ac_ext=cpp
32716 ac_cpp='$CXXCPP $CPPFLAGS'
32717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32722 /* end confdefs.h. */
32723 #include <math.h>
32724 #ifdef HAVE_IEEEFP_H
32725 #include <ieeefp.h>
32726 #endif
32729 main ()
32731 logl(0);
32733 return 0;
32735 _ACEOF
32736 if ac_fn_cxx_try_compile "$LINENO"; then :
32737 glibcxx_cv_func_logl_use=yes
32738 else
32739 glibcxx_cv_func_logl_use=no
32741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32742 ac_ext=c
32743 ac_cpp='$CPP $CPPFLAGS'
32744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
32753 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
32755 if test x$glibcxx_cv_func_logl_use = x"yes"; then
32756 for ac_func in logl
32757 do :
32758 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
32759 if test "x$ac_cv_func_logl" = x""yes; then :
32760 cat >>confdefs.h <<_ACEOF
32761 #define HAVE_LOGL 1
32762 _ACEOF
32765 done
32767 else
32769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
32770 $as_echo_n "checking for _logl declaration... " >&6; }
32771 if test x${glibcxx_cv_func__logl_use+set} != xset; then
32772 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
32773 $as_echo_n "(cached) " >&6
32774 else
32777 ac_ext=cpp
32778 ac_cpp='$CXXCPP $CPPFLAGS'
32779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32784 /* end confdefs.h. */
32785 #include <math.h>
32786 #ifdef HAVE_IEEEFP_H
32787 #include <ieeefp.h>
32788 #endif
32791 main ()
32793 _logl(0);
32795 return 0;
32797 _ACEOF
32798 if ac_fn_cxx_try_compile "$LINENO"; then :
32799 glibcxx_cv_func__logl_use=yes
32800 else
32801 glibcxx_cv_func__logl_use=no
32803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32804 ac_ext=c
32805 ac_cpp='$CPP $CPPFLAGS'
32806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
32815 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
32817 if test x$glibcxx_cv_func__logl_use = x"yes"; then
32818 for ac_func in _logl
32819 do :
32820 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
32821 if test "x$ac_cv_func__logl" = x""yes; then :
32822 cat >>confdefs.h <<_ACEOF
32823 #define HAVE__LOGL 1
32824 _ACEOF
32827 done
32836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
32837 $as_echo_n "checking for log10l declaration... " >&6; }
32838 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
32839 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
32840 $as_echo_n "(cached) " >&6
32841 else
32844 ac_ext=cpp
32845 ac_cpp='$CXXCPP $CPPFLAGS'
32846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32851 /* end confdefs.h. */
32852 #include <math.h>
32853 #ifdef HAVE_IEEEFP_H
32854 #include <ieeefp.h>
32855 #endif
32858 main ()
32860 log10l(0);
32862 return 0;
32864 _ACEOF
32865 if ac_fn_cxx_try_compile "$LINENO"; then :
32866 glibcxx_cv_func_log10l_use=yes
32867 else
32868 glibcxx_cv_func_log10l_use=no
32870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32871 ac_ext=c
32872 ac_cpp='$CPP $CPPFLAGS'
32873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
32882 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
32884 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
32885 for ac_func in log10l
32886 do :
32887 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
32888 if test "x$ac_cv_func_log10l" = x""yes; then :
32889 cat >>confdefs.h <<_ACEOF
32890 #define HAVE_LOG10L 1
32891 _ACEOF
32894 done
32896 else
32898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
32899 $as_echo_n "checking for _log10l declaration... " >&6; }
32900 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
32901 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
32902 $as_echo_n "(cached) " >&6
32903 else
32906 ac_ext=cpp
32907 ac_cpp='$CXXCPP $CPPFLAGS'
32908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32913 /* end confdefs.h. */
32914 #include <math.h>
32915 #ifdef HAVE_IEEEFP_H
32916 #include <ieeefp.h>
32917 #endif
32920 main ()
32922 _log10l(0);
32924 return 0;
32926 _ACEOF
32927 if ac_fn_cxx_try_compile "$LINENO"; then :
32928 glibcxx_cv_func__log10l_use=yes
32929 else
32930 glibcxx_cv_func__log10l_use=no
32932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32933 ac_ext=c
32934 ac_cpp='$CPP $CPPFLAGS'
32935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
32944 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
32946 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
32947 for ac_func in _log10l
32948 do :
32949 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
32950 if test "x$ac_cv_func__log10l" = x""yes; then :
32951 cat >>confdefs.h <<_ACEOF
32952 #define HAVE__LOG10L 1
32953 _ACEOF
32956 done
32965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
32966 $as_echo_n "checking for modfl declaration... " >&6; }
32967 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
32968 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
32969 $as_echo_n "(cached) " >&6
32970 else
32973 ac_ext=cpp
32974 ac_cpp='$CXXCPP $CPPFLAGS'
32975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32980 /* end confdefs.h. */
32981 #include <math.h>
32983 main ()
32985 modfl(0, 0);
32987 return 0;
32989 _ACEOF
32990 if ac_fn_cxx_try_compile "$LINENO"; then :
32991 glibcxx_cv_func_modfl_use=yes
32992 else
32993 glibcxx_cv_func_modfl_use=no
32995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32996 ac_ext=c
32997 ac_cpp='$CPP $CPPFLAGS'
32998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33007 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33009 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33010 for ac_func in modfl
33011 do :
33012 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33013 if test "x$ac_cv_func_modfl" = x""yes; then :
33014 cat >>confdefs.h <<_ACEOF
33015 #define HAVE_MODFL 1
33016 _ACEOF
33019 done
33021 else
33023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
33024 $as_echo_n "checking for _modfl declaration... " >&6; }
33025 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
33026 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
33027 $as_echo_n "(cached) " >&6
33028 else
33031 ac_ext=cpp
33032 ac_cpp='$CXXCPP $CPPFLAGS'
33033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33038 /* end confdefs.h. */
33039 #include <math.h>
33041 main ()
33043 _modfl(0, 0);
33045 return 0;
33047 _ACEOF
33048 if ac_fn_cxx_try_compile "$LINENO"; then :
33049 glibcxx_cv_func__modfl_use=yes
33050 else
33051 glibcxx_cv_func__modfl_use=no
33053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33054 ac_ext=c
33055 ac_cpp='$CPP $CPPFLAGS'
33056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
33065 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
33067 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
33068 for ac_func in _modfl
33069 do :
33070 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
33071 if test "x$ac_cv_func__modfl" = x""yes; then :
33072 cat >>confdefs.h <<_ACEOF
33073 #define HAVE__MODFL 1
33074 _ACEOF
33077 done
33086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
33087 $as_echo_n "checking for powl declaration... " >&6; }
33088 if test x${glibcxx_cv_func_powl_use+set} != xset; then
33089 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
33090 $as_echo_n "(cached) " >&6
33091 else
33094 ac_ext=cpp
33095 ac_cpp='$CXXCPP $CPPFLAGS'
33096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33101 /* end confdefs.h. */
33102 #include <math.h>
33104 main ()
33106 powl(0, 0);
33108 return 0;
33110 _ACEOF
33111 if ac_fn_cxx_try_compile "$LINENO"; then :
33112 glibcxx_cv_func_powl_use=yes
33113 else
33114 glibcxx_cv_func_powl_use=no
33116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33117 ac_ext=c
33118 ac_cpp='$CPP $CPPFLAGS'
33119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
33128 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
33130 if test x$glibcxx_cv_func_powl_use = x"yes"; then
33131 for ac_func in powl
33132 do :
33133 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
33134 if test "x$ac_cv_func_powl" = x""yes; then :
33135 cat >>confdefs.h <<_ACEOF
33136 #define HAVE_POWL 1
33137 _ACEOF
33140 done
33142 else
33144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
33145 $as_echo_n "checking for _powl declaration... " >&6; }
33146 if test x${glibcxx_cv_func__powl_use+set} != xset; then
33147 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
33148 $as_echo_n "(cached) " >&6
33149 else
33152 ac_ext=cpp
33153 ac_cpp='$CXXCPP $CPPFLAGS'
33154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33159 /* end confdefs.h. */
33160 #include <math.h>
33162 main ()
33164 _powl(0, 0);
33166 return 0;
33168 _ACEOF
33169 if ac_fn_cxx_try_compile "$LINENO"; then :
33170 glibcxx_cv_func__powl_use=yes
33171 else
33172 glibcxx_cv_func__powl_use=no
33174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33175 ac_ext=c
33176 ac_cpp='$CPP $CPPFLAGS'
33177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
33186 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
33188 if test x$glibcxx_cv_func__powl_use = x"yes"; then
33189 for ac_func in _powl
33190 do :
33191 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
33192 if test "x$ac_cv_func__powl" = x""yes; then :
33193 cat >>confdefs.h <<_ACEOF
33194 #define HAVE__POWL 1
33195 _ACEOF
33198 done
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
33208 $as_echo_n "checking for sqrtl declaration... " >&6; }
33209 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
33210 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
33211 $as_echo_n "(cached) " >&6
33212 else
33215 ac_ext=cpp
33216 ac_cpp='$CXXCPP $CPPFLAGS'
33217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33222 /* end confdefs.h. */
33223 #include <math.h>
33224 #ifdef HAVE_IEEEFP_H
33225 #include <ieeefp.h>
33226 #endif
33229 main ()
33231 sqrtl(0);
33233 return 0;
33235 _ACEOF
33236 if ac_fn_cxx_try_compile "$LINENO"; then :
33237 glibcxx_cv_func_sqrtl_use=yes
33238 else
33239 glibcxx_cv_func_sqrtl_use=no
33241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33242 ac_ext=c
33243 ac_cpp='$CPP $CPPFLAGS'
33244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
33253 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
33255 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
33256 for ac_func in sqrtl
33257 do :
33258 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
33259 if test "x$ac_cv_func_sqrtl" = x""yes; then :
33260 cat >>confdefs.h <<_ACEOF
33261 #define HAVE_SQRTL 1
33262 _ACEOF
33265 done
33267 else
33269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
33270 $as_echo_n "checking for _sqrtl declaration... " >&6; }
33271 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
33272 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
33273 $as_echo_n "(cached) " >&6
33274 else
33277 ac_ext=cpp
33278 ac_cpp='$CXXCPP $CPPFLAGS'
33279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33284 /* end confdefs.h. */
33285 #include <math.h>
33286 #ifdef HAVE_IEEEFP_H
33287 #include <ieeefp.h>
33288 #endif
33291 main ()
33293 _sqrtl(0);
33295 return 0;
33297 _ACEOF
33298 if ac_fn_cxx_try_compile "$LINENO"; then :
33299 glibcxx_cv_func__sqrtl_use=yes
33300 else
33301 glibcxx_cv_func__sqrtl_use=no
33303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33304 ac_ext=c
33305 ac_cpp='$CPP $CPPFLAGS'
33306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
33315 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
33317 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
33318 for ac_func in _sqrtl
33319 do :
33320 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
33321 if test "x$ac_cv_func__sqrtl" = x""yes; then :
33322 cat >>confdefs.h <<_ACEOF
33323 #define HAVE__SQRTL 1
33324 _ACEOF
33327 done
33336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
33337 $as_echo_n "checking for sincosl declaration... " >&6; }
33338 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
33339 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
33340 $as_echo_n "(cached) " >&6
33341 else
33344 ac_ext=cpp
33345 ac_cpp='$CXXCPP $CPPFLAGS'
33346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33351 /* end confdefs.h. */
33352 #include <math.h>
33354 main ()
33356 sincosl(0, 0, 0);
33358 return 0;
33360 _ACEOF
33361 if ac_fn_cxx_try_compile "$LINENO"; then :
33362 glibcxx_cv_func_sincosl_use=yes
33363 else
33364 glibcxx_cv_func_sincosl_use=no
33366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33367 ac_ext=c
33368 ac_cpp='$CPP $CPPFLAGS'
33369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
33378 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
33380 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
33381 for ac_func in sincosl
33382 do :
33383 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
33384 if test "x$ac_cv_func_sincosl" = x""yes; then :
33385 cat >>confdefs.h <<_ACEOF
33386 #define HAVE_SINCOSL 1
33387 _ACEOF
33390 done
33392 else
33394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
33395 $as_echo_n "checking for _sincosl declaration... " >&6; }
33396 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
33397 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
33398 $as_echo_n "(cached) " >&6
33399 else
33402 ac_ext=cpp
33403 ac_cpp='$CXXCPP $CPPFLAGS'
33404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33409 /* end confdefs.h. */
33410 #include <math.h>
33412 main ()
33414 _sincosl(0, 0, 0);
33416 return 0;
33418 _ACEOF
33419 if ac_fn_cxx_try_compile "$LINENO"; then :
33420 glibcxx_cv_func__sincosl_use=yes
33421 else
33422 glibcxx_cv_func__sincosl_use=no
33424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33425 ac_ext=c
33426 ac_cpp='$CPP $CPPFLAGS'
33427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
33436 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
33438 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
33439 for ac_func in _sincosl
33440 do :
33441 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
33442 if test "x$ac_cv_func__sincosl" = x""yes; then :
33443 cat >>confdefs.h <<_ACEOF
33444 #define HAVE__SINCOSL 1
33445 _ACEOF
33448 done
33457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
33458 $as_echo_n "checking for finitel declaration... " >&6; }
33459 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
33460 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
33461 $as_echo_n "(cached) " >&6
33462 else
33465 ac_ext=cpp
33466 ac_cpp='$CXXCPP $CPPFLAGS'
33467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33472 /* end confdefs.h. */
33473 #include <math.h>
33474 #ifdef HAVE_IEEEFP_H
33475 #include <ieeefp.h>
33476 #endif
33479 main ()
33481 finitel(0);
33483 return 0;
33485 _ACEOF
33486 if ac_fn_cxx_try_compile "$LINENO"; then :
33487 glibcxx_cv_func_finitel_use=yes
33488 else
33489 glibcxx_cv_func_finitel_use=no
33491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33492 ac_ext=c
33493 ac_cpp='$CPP $CPPFLAGS'
33494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
33503 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
33505 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
33506 for ac_func in finitel
33507 do :
33508 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
33509 if test "x$ac_cv_func_finitel" = x""yes; then :
33510 cat >>confdefs.h <<_ACEOF
33511 #define HAVE_FINITEL 1
33512 _ACEOF
33515 done
33517 else
33519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
33520 $as_echo_n "checking for _finitel declaration... " >&6; }
33521 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
33522 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
33523 $as_echo_n "(cached) " >&6
33524 else
33527 ac_ext=cpp
33528 ac_cpp='$CXXCPP $CPPFLAGS'
33529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33534 /* end confdefs.h. */
33535 #include <math.h>
33536 #ifdef HAVE_IEEEFP_H
33537 #include <ieeefp.h>
33538 #endif
33541 main ()
33543 _finitel(0);
33545 return 0;
33547 _ACEOF
33548 if ac_fn_cxx_try_compile "$LINENO"; then :
33549 glibcxx_cv_func__finitel_use=yes
33550 else
33551 glibcxx_cv_func__finitel_use=no
33553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33554 ac_ext=c
33555 ac_cpp='$CPP $CPPFLAGS'
33556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
33565 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
33567 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
33568 for ac_func in _finitel
33569 do :
33570 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
33571 if test "x$ac_cv_func__finitel" = x""yes; then :
33572 cat >>confdefs.h <<_ACEOF
33573 #define HAVE__FINITEL 1
33574 _ACEOF
33577 done
33585 LIBS="$ac_save_LIBS"
33586 CXXFLAGS="$ac_save_CXXFLAGS"
33589 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33590 ac_save_CXXFLAGS="$CXXFLAGS"
33591 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
33594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
33595 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
33596 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
33597 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
33598 $as_echo_n "(cached) " >&6
33599 else
33602 ac_ext=cpp
33603 ac_cpp='$CXXCPP $CPPFLAGS'
33604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33609 /* end confdefs.h. */
33610 #include <stdlib.h>
33612 main ()
33614 at_quick_exit(0);
33616 return 0;
33618 _ACEOF
33619 if ac_fn_cxx_try_compile "$LINENO"; then :
33620 glibcxx_cv_func_at_quick_exit_use=yes
33621 else
33622 glibcxx_cv_func_at_quick_exit_use=no
33624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33625 ac_ext=c
33626 ac_cpp='$CPP $CPPFLAGS'
33627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
33636 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
33637 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
33638 for ac_func in at_quick_exit
33639 do :
33640 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
33641 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
33642 cat >>confdefs.h <<_ACEOF
33643 #define HAVE_AT_QUICK_EXIT 1
33644 _ACEOF
33647 done
33652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
33653 $as_echo_n "checking for quick_exit declaration... " >&6; }
33654 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
33655 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
33656 $as_echo_n "(cached) " >&6
33657 else
33660 ac_ext=cpp
33661 ac_cpp='$CXXCPP $CPPFLAGS'
33662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33667 /* end confdefs.h. */
33668 #include <stdlib.h>
33670 main ()
33672 quick_exit(0);
33674 return 0;
33676 _ACEOF
33677 if ac_fn_cxx_try_compile "$LINENO"; then :
33678 glibcxx_cv_func_quick_exit_use=yes
33679 else
33680 glibcxx_cv_func_quick_exit_use=no
33682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33683 ac_ext=c
33684 ac_cpp='$CPP $CPPFLAGS'
33685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
33694 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
33695 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
33696 for ac_func in quick_exit
33697 do :
33698 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
33699 if test "x$ac_cv_func_quick_exit" = x""yes; then :
33700 cat >>confdefs.h <<_ACEOF
33701 #define HAVE_QUICK_EXIT 1
33702 _ACEOF
33705 done
33710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
33711 $as_echo_n "checking for strtold declaration... " >&6; }
33712 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
33713 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
33714 $as_echo_n "(cached) " >&6
33715 else
33718 ac_ext=cpp
33719 ac_cpp='$CXXCPP $CPPFLAGS'
33720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33725 /* end confdefs.h. */
33726 #include <stdlib.h>
33728 main ()
33730 strtold(0, 0);
33732 return 0;
33734 _ACEOF
33735 if ac_fn_cxx_try_compile "$LINENO"; then :
33736 glibcxx_cv_func_strtold_use=yes
33737 else
33738 glibcxx_cv_func_strtold_use=no
33740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33741 ac_ext=c
33742 ac_cpp='$CPP $CPPFLAGS'
33743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
33752 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
33753 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
33754 for ac_func in strtold
33755 do :
33756 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
33757 if test "x$ac_cv_func_strtold" = x""yes; then :
33758 cat >>confdefs.h <<_ACEOF
33759 #define HAVE_STRTOLD 1
33760 _ACEOF
33763 done
33770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
33771 $as_echo_n "checking for strtof declaration... " >&6; }
33772 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
33773 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
33774 $as_echo_n "(cached) " >&6
33775 else
33778 ac_ext=cpp
33779 ac_cpp='$CXXCPP $CPPFLAGS'
33780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33785 /* end confdefs.h. */
33786 #include <stdlib.h>
33788 main ()
33790 strtof(0, 0);
33792 return 0;
33794 _ACEOF
33795 if ac_fn_cxx_try_compile "$LINENO"; then :
33796 glibcxx_cv_func_strtof_use=yes
33797 else
33798 glibcxx_cv_func_strtof_use=no
33800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33801 ac_ext=c
33802 ac_cpp='$CPP $CPPFLAGS'
33803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
33812 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
33813 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
33814 for ac_func in strtof
33815 do :
33816 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
33817 if test "x$ac_cv_func_strtof" = x""yes; then :
33818 cat >>confdefs.h <<_ACEOF
33819 #define HAVE_STRTOF 1
33820 _ACEOF
33823 done
33830 CXXFLAGS="$ac_save_CXXFLAGS"
33833 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
33835 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
33837 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
33839 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
33842 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
33844 $as_echo "#define HAVE_MODF 1" >>confdefs.h
33846 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
33850 spu-*-elf*)
33852 # All these tests are for C++; save the language and the compiler flags.
33853 # The CXXFLAGS thing is suspicious, but based on similar bits previously
33854 # found in GLIBCXX_CONFIGURE.
33856 ac_ext=cpp
33857 ac_cpp='$CXXCPP $CPPFLAGS'
33858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33862 ac_test_CXXFLAGS="${CXXFLAGS+set}"
33863 ac_save_CXXFLAGS="$CXXFLAGS"
33865 # Check for maintainer-mode bits.
33866 if test x"$USE_MAINTAINER_MODE" = xno; then
33867 WERROR=''
33868 else
33869 WERROR='-Werror'
33872 # Check for -ffunction-sections -fdata-sections
33873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
33874 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
33875 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
33876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33877 /* end confdefs.h. */
33878 int foo; void bar() { };
33880 main ()
33884 return 0;
33886 _ACEOF
33887 if ac_fn_cxx_try_compile "$LINENO"; then :
33888 ac_fdsections=yes
33889 else
33890 ac_fdsections=no
33892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33893 if test "$ac_test_CXXFLAGS" = set; then
33894 CXXFLAGS="$ac_save_CXXFLAGS"
33895 else
33896 # this is the suspicious part
33897 CXXFLAGS=''
33899 if test x"$ac_fdsections" = x"yes"; then
33900 SECTION_FLAGS='-ffunction-sections -fdata-sections'
33902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
33903 $as_echo "$ac_fdsections" >&6; }
33905 ac_ext=c
33906 ac_cpp='$CPP $CPPFLAGS'
33907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33915 # If we're not using GNU ld, then there's no point in even trying these
33916 # tests. Check for that first. We should have already tested for gld
33917 # by now (in libtool), but require it now just to be safe...
33918 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
33919 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
33923 # The name set by libtool depends on the version of libtool. Shame on us
33924 # for depending on an impl detail, but c'est la vie. Older versions used
33925 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
33926 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
33927 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
33928 # set (hence we're using an older libtool), then set it.
33929 if test x${with_gnu_ld+set} != xset; then
33930 if test x${ac_cv_prog_gnu_ld+set} != xset; then
33931 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
33932 with_gnu_ld=no
33933 else
33934 with_gnu_ld=$ac_cv_prog_gnu_ld
33938 # Start by getting the version number. I think the libtool test already
33939 # does some of this, but throws away the result.
33940 glibcxx_ld_is_gold=no
33941 if test x"$with_gnu_ld" = x"yes"; then
33942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
33943 $as_echo_n "checking for ld version... " >&6; }
33945 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
33946 glibcxx_ld_is_gold=yes
33948 ldver=`$LD --version 2>/dev/null |
33949 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'`
33951 glibcxx_gnu_ld_version=`echo $ldver | \
33952 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
33954 $as_echo "$glibcxx_gnu_ld_version" >&6; }
33957 # Set --gc-sections.
33958 glibcxx_have_gc_sections=no
33959 if test "$glibcxx_ld_is_gold" = "yes"; then
33960 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
33961 glibcxx_have_gc_sections=yes
33963 else
33964 glibcxx_gcsections_min_ld=21602
33965 if test x"$with_gnu_ld" = x"yes" &&
33966 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
33967 glibcxx_have_gc_sections=yes
33970 if test "$glibcxx_have_gc_sections" = "yes"; then
33971 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
33972 # NB: This flag only works reliably after 2.16.1. Configure tests
33973 # for this are difficult, so hard wire a value that should work.
33975 ac_test_CFLAGS="${CFLAGS+set}"
33976 ac_save_CFLAGS="$CFLAGS"
33977 CFLAGS='-Wl,--gc-sections'
33979 # Check for -Wl,--gc-sections
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
33981 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
33982 if test x$gcc_no_link = xyes; then
33983 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
33985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33986 /* end confdefs.h. */
33987 int one(void) { return 1; }
33988 int two(void) { return 2; }
33991 main ()
33993 two();
33995 return 0;
33997 _ACEOF
33998 if ac_fn_c_try_link "$LINENO"; then :
33999 ac_gcsections=yes
34000 else
34001 ac_gcsections=no
34003 rm -f core conftest.err conftest.$ac_objext \
34004 conftest$ac_exeext conftest.$ac_ext
34005 if test "$ac_gcsections" = "yes"; then
34006 rm -f conftest.c
34007 touch conftest.c
34008 if $CC -c conftest.c; then
34009 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34010 grep "Warning: gc-sections option ignored" > /dev/null; then
34011 ac_gcsections=no
34014 rm -f conftest.c conftest.o conftest
34016 if test "$ac_gcsections" = "yes"; then
34017 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
34019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
34020 $as_echo "$ac_gcsections" >&6; }
34022 if test "$ac_test_CFLAGS" = set; then
34023 CFLAGS="$ac_save_CFLAGS"
34024 else
34025 # this is the suspicious part
34026 CFLAGS=''
34030 # Set -z,relro.
34031 # Note this is only for shared objects.
34032 ac_ld_relro=no
34033 if test x"$with_gnu_ld" = x"yes"; then
34034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
34035 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
34036 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
34037 if test -n "$cxx_z_relo"; then
34038 OPT_LDFLAGS="-Wl,-z,relro"
34039 ac_ld_relro=yes
34041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
34042 $as_echo "$ac_ld_relro" >&6; }
34045 # Set linker optimization flags.
34046 if test x"$with_gnu_ld" = x"yes"; then
34047 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
34054 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34055 ac_save_CXXFLAGS="$CXXFLAGS"
34056 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
34059 $as_echo_n "checking for sin in -lm... " >&6; }
34060 if test "${ac_cv_lib_m_sin+set}" = set; then :
34061 $as_echo_n "(cached) " >&6
34062 else
34063 ac_check_lib_save_LIBS=$LIBS
34064 LIBS="-lm $LIBS"
34065 if test x$gcc_no_link = xyes; then
34066 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34069 /* end confdefs.h. */
34071 /* Override any GCC internal prototype to avoid an error.
34072 Use char because int might match the return type of a GCC
34073 builtin and then its argument prototype would still apply. */
34074 #ifdef __cplusplus
34075 extern "C"
34076 #endif
34077 char sin ();
34079 main ()
34081 return sin ();
34083 return 0;
34085 _ACEOF
34086 if ac_fn_c_try_link "$LINENO"; then :
34087 ac_cv_lib_m_sin=yes
34088 else
34089 ac_cv_lib_m_sin=no
34091 rm -f core conftest.err conftest.$ac_objext \
34092 conftest$ac_exeext conftest.$ac_ext
34093 LIBS=$ac_check_lib_save_LIBS
34095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
34096 $as_echo "$ac_cv_lib_m_sin" >&6; }
34097 if test "x$ac_cv_lib_m_sin" = x""yes; then :
34098 libm="-lm"
34101 ac_save_LIBS="$LIBS"
34102 LIBS="$LIBS $libm"
34106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
34107 $as_echo_n "checking for isinf declaration... " >&6; }
34108 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
34109 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
34110 $as_echo_n "(cached) " >&6
34111 else
34114 ac_ext=cpp
34115 ac_cpp='$CXXCPP $CPPFLAGS'
34116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34121 /* end confdefs.h. */
34122 #include <math.h>
34123 #ifdef HAVE_IEEEFP_H
34124 #include <ieeefp.h>
34125 #endif
34128 main ()
34130 isinf(0);
34132 return 0;
34134 _ACEOF
34135 if ac_fn_cxx_try_compile "$LINENO"; then :
34136 glibcxx_cv_func_isinf_use=yes
34137 else
34138 glibcxx_cv_func_isinf_use=no
34140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34141 ac_ext=c
34142 ac_cpp='$CPP $CPPFLAGS'
34143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
34152 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
34154 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
34155 for ac_func in isinf
34156 do :
34157 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
34158 if test "x$ac_cv_func_isinf" = x""yes; then :
34159 cat >>confdefs.h <<_ACEOF
34160 #define HAVE_ISINF 1
34161 _ACEOF
34164 done
34166 else
34168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
34169 $as_echo_n "checking for _isinf declaration... " >&6; }
34170 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
34171 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
34172 $as_echo_n "(cached) " >&6
34173 else
34176 ac_ext=cpp
34177 ac_cpp='$CXXCPP $CPPFLAGS'
34178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34183 /* end confdefs.h. */
34184 #include <math.h>
34185 #ifdef HAVE_IEEEFP_H
34186 #include <ieeefp.h>
34187 #endif
34190 main ()
34192 _isinf(0);
34194 return 0;
34196 _ACEOF
34197 if ac_fn_cxx_try_compile "$LINENO"; then :
34198 glibcxx_cv_func__isinf_use=yes
34199 else
34200 glibcxx_cv_func__isinf_use=no
34202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34203 ac_ext=c
34204 ac_cpp='$CPP $CPPFLAGS'
34205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
34214 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
34216 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
34217 for ac_func in _isinf
34218 do :
34219 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
34220 if test "x$ac_cv_func__isinf" = x""yes; then :
34221 cat >>confdefs.h <<_ACEOF
34222 #define HAVE__ISINF 1
34223 _ACEOF
34226 done
34235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
34236 $as_echo_n "checking for isnan declaration... " >&6; }
34237 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
34238 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
34239 $as_echo_n "(cached) " >&6
34240 else
34243 ac_ext=cpp
34244 ac_cpp='$CXXCPP $CPPFLAGS'
34245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34250 /* end confdefs.h. */
34251 #include <math.h>
34252 #ifdef HAVE_IEEEFP_H
34253 #include <ieeefp.h>
34254 #endif
34257 main ()
34259 isnan(0);
34261 return 0;
34263 _ACEOF
34264 if ac_fn_cxx_try_compile "$LINENO"; then :
34265 glibcxx_cv_func_isnan_use=yes
34266 else
34267 glibcxx_cv_func_isnan_use=no
34269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34270 ac_ext=c
34271 ac_cpp='$CPP $CPPFLAGS'
34272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
34281 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
34283 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
34284 for ac_func in isnan
34285 do :
34286 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
34287 if test "x$ac_cv_func_isnan" = x""yes; then :
34288 cat >>confdefs.h <<_ACEOF
34289 #define HAVE_ISNAN 1
34290 _ACEOF
34293 done
34295 else
34297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
34298 $as_echo_n "checking for _isnan declaration... " >&6; }
34299 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
34300 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
34301 $as_echo_n "(cached) " >&6
34302 else
34305 ac_ext=cpp
34306 ac_cpp='$CXXCPP $CPPFLAGS'
34307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34312 /* end confdefs.h. */
34313 #include <math.h>
34314 #ifdef HAVE_IEEEFP_H
34315 #include <ieeefp.h>
34316 #endif
34319 main ()
34321 _isnan(0);
34323 return 0;
34325 _ACEOF
34326 if ac_fn_cxx_try_compile "$LINENO"; then :
34327 glibcxx_cv_func__isnan_use=yes
34328 else
34329 glibcxx_cv_func__isnan_use=no
34331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34332 ac_ext=c
34333 ac_cpp='$CPP $CPPFLAGS'
34334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
34343 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
34345 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
34346 for ac_func in _isnan
34347 do :
34348 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
34349 if test "x$ac_cv_func__isnan" = x""yes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define HAVE__ISNAN 1
34352 _ACEOF
34355 done
34364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
34365 $as_echo_n "checking for finite declaration... " >&6; }
34366 if test x${glibcxx_cv_func_finite_use+set} != xset; then
34367 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
34368 $as_echo_n "(cached) " >&6
34369 else
34372 ac_ext=cpp
34373 ac_cpp='$CXXCPP $CPPFLAGS'
34374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34379 /* end confdefs.h. */
34380 #include <math.h>
34381 #ifdef HAVE_IEEEFP_H
34382 #include <ieeefp.h>
34383 #endif
34386 main ()
34388 finite(0);
34390 return 0;
34392 _ACEOF
34393 if ac_fn_cxx_try_compile "$LINENO"; then :
34394 glibcxx_cv_func_finite_use=yes
34395 else
34396 glibcxx_cv_func_finite_use=no
34398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34399 ac_ext=c
34400 ac_cpp='$CPP $CPPFLAGS'
34401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
34410 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
34412 if test x$glibcxx_cv_func_finite_use = x"yes"; then
34413 for ac_func in finite
34414 do :
34415 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
34416 if test "x$ac_cv_func_finite" = x""yes; then :
34417 cat >>confdefs.h <<_ACEOF
34418 #define HAVE_FINITE 1
34419 _ACEOF
34422 done
34424 else
34426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
34427 $as_echo_n "checking for _finite declaration... " >&6; }
34428 if test x${glibcxx_cv_func__finite_use+set} != xset; then
34429 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
34430 $as_echo_n "(cached) " >&6
34431 else
34434 ac_ext=cpp
34435 ac_cpp='$CXXCPP $CPPFLAGS'
34436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34441 /* end confdefs.h. */
34442 #include <math.h>
34443 #ifdef HAVE_IEEEFP_H
34444 #include <ieeefp.h>
34445 #endif
34448 main ()
34450 _finite(0);
34452 return 0;
34454 _ACEOF
34455 if ac_fn_cxx_try_compile "$LINENO"; then :
34456 glibcxx_cv_func__finite_use=yes
34457 else
34458 glibcxx_cv_func__finite_use=no
34460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34461 ac_ext=c
34462 ac_cpp='$CPP $CPPFLAGS'
34463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
34472 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
34474 if test x$glibcxx_cv_func__finite_use = x"yes"; then
34475 for ac_func in _finite
34476 do :
34477 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
34478 if test "x$ac_cv_func__finite" = x""yes; then :
34479 cat >>confdefs.h <<_ACEOF
34480 #define HAVE__FINITE 1
34481 _ACEOF
34484 done
34493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
34494 $as_echo_n "checking for sincos declaration... " >&6; }
34495 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
34496 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
34497 $as_echo_n "(cached) " >&6
34498 else
34501 ac_ext=cpp
34502 ac_cpp='$CXXCPP $CPPFLAGS'
34503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34508 /* end confdefs.h. */
34509 #include <math.h>
34511 main ()
34513 sincos(0, 0, 0);
34515 return 0;
34517 _ACEOF
34518 if ac_fn_cxx_try_compile "$LINENO"; then :
34519 glibcxx_cv_func_sincos_use=yes
34520 else
34521 glibcxx_cv_func_sincos_use=no
34523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34524 ac_ext=c
34525 ac_cpp='$CPP $CPPFLAGS'
34526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
34535 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
34537 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
34538 for ac_func in sincos
34539 do :
34540 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
34541 if test "x$ac_cv_func_sincos" = x""yes; then :
34542 cat >>confdefs.h <<_ACEOF
34543 #define HAVE_SINCOS 1
34544 _ACEOF
34547 done
34549 else
34551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
34552 $as_echo_n "checking for _sincos declaration... " >&6; }
34553 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
34554 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
34555 $as_echo_n "(cached) " >&6
34556 else
34559 ac_ext=cpp
34560 ac_cpp='$CXXCPP $CPPFLAGS'
34561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34566 /* end confdefs.h. */
34567 #include <math.h>
34569 main ()
34571 _sincos(0, 0, 0);
34573 return 0;
34575 _ACEOF
34576 if ac_fn_cxx_try_compile "$LINENO"; then :
34577 glibcxx_cv_func__sincos_use=yes
34578 else
34579 glibcxx_cv_func__sincos_use=no
34581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34582 ac_ext=c
34583 ac_cpp='$CPP $CPPFLAGS'
34584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
34593 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
34595 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
34596 for ac_func in _sincos
34597 do :
34598 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
34599 if test "x$ac_cv_func__sincos" = x""yes; then :
34600 cat >>confdefs.h <<_ACEOF
34601 #define HAVE__SINCOS 1
34602 _ACEOF
34605 done
34614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
34615 $as_echo_n "checking for fpclass declaration... " >&6; }
34616 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
34617 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
34618 $as_echo_n "(cached) " >&6
34619 else
34622 ac_ext=cpp
34623 ac_cpp='$CXXCPP $CPPFLAGS'
34624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34629 /* end confdefs.h. */
34630 #include <math.h>
34631 #ifdef HAVE_IEEEFP_H
34632 #include <ieeefp.h>
34633 #endif
34636 main ()
34638 fpclass(0);
34640 return 0;
34642 _ACEOF
34643 if ac_fn_cxx_try_compile "$LINENO"; then :
34644 glibcxx_cv_func_fpclass_use=yes
34645 else
34646 glibcxx_cv_func_fpclass_use=no
34648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34649 ac_ext=c
34650 ac_cpp='$CPP $CPPFLAGS'
34651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
34660 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
34662 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
34663 for ac_func in fpclass
34664 do :
34665 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
34666 if test "x$ac_cv_func_fpclass" = x""yes; then :
34667 cat >>confdefs.h <<_ACEOF
34668 #define HAVE_FPCLASS 1
34669 _ACEOF
34672 done
34674 else
34676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
34677 $as_echo_n "checking for _fpclass declaration... " >&6; }
34678 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
34679 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
34680 $as_echo_n "(cached) " >&6
34681 else
34684 ac_ext=cpp
34685 ac_cpp='$CXXCPP $CPPFLAGS'
34686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34691 /* end confdefs.h. */
34692 #include <math.h>
34693 #ifdef HAVE_IEEEFP_H
34694 #include <ieeefp.h>
34695 #endif
34698 main ()
34700 _fpclass(0);
34702 return 0;
34704 _ACEOF
34705 if ac_fn_cxx_try_compile "$LINENO"; then :
34706 glibcxx_cv_func__fpclass_use=yes
34707 else
34708 glibcxx_cv_func__fpclass_use=no
34710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34711 ac_ext=c
34712 ac_cpp='$CPP $CPPFLAGS'
34713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
34722 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
34724 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
34725 for ac_func in _fpclass
34726 do :
34727 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
34728 if test "x$ac_cv_func__fpclass" = x""yes; then :
34729 cat >>confdefs.h <<_ACEOF
34730 #define HAVE__FPCLASS 1
34731 _ACEOF
34734 done
34743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
34744 $as_echo_n "checking for qfpclass declaration... " >&6; }
34745 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
34746 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
34747 $as_echo_n "(cached) " >&6
34748 else
34751 ac_ext=cpp
34752 ac_cpp='$CXXCPP $CPPFLAGS'
34753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34758 /* end confdefs.h. */
34759 #include <math.h>
34760 #ifdef HAVE_IEEEFP_H
34761 #include <ieeefp.h>
34762 #endif
34765 main ()
34767 qfpclass(0);
34769 return 0;
34771 _ACEOF
34772 if ac_fn_cxx_try_compile "$LINENO"; then :
34773 glibcxx_cv_func_qfpclass_use=yes
34774 else
34775 glibcxx_cv_func_qfpclass_use=no
34777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34778 ac_ext=c
34779 ac_cpp='$CPP $CPPFLAGS'
34780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
34789 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
34791 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
34792 for ac_func in qfpclass
34793 do :
34794 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
34795 if test "x$ac_cv_func_qfpclass" = x""yes; then :
34796 cat >>confdefs.h <<_ACEOF
34797 #define HAVE_QFPCLASS 1
34798 _ACEOF
34801 done
34803 else
34805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
34806 $as_echo_n "checking for _qfpclass declaration... " >&6; }
34807 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
34808 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
34809 $as_echo_n "(cached) " >&6
34810 else
34813 ac_ext=cpp
34814 ac_cpp='$CXXCPP $CPPFLAGS'
34815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34820 /* end confdefs.h. */
34821 #include <math.h>
34822 #ifdef HAVE_IEEEFP_H
34823 #include <ieeefp.h>
34824 #endif
34827 main ()
34829 _qfpclass(0);
34831 return 0;
34833 _ACEOF
34834 if ac_fn_cxx_try_compile "$LINENO"; then :
34835 glibcxx_cv_func__qfpclass_use=yes
34836 else
34837 glibcxx_cv_func__qfpclass_use=no
34839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34840 ac_ext=c
34841 ac_cpp='$CPP $CPPFLAGS'
34842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
34851 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
34853 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
34854 for ac_func in _qfpclass
34855 do :
34856 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
34857 if test "x$ac_cv_func__qfpclass" = x""yes; then :
34858 cat >>confdefs.h <<_ACEOF
34859 #define HAVE__QFPCLASS 1
34860 _ACEOF
34863 done
34872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
34873 $as_echo_n "checking for hypot declaration... " >&6; }
34874 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
34875 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
34876 $as_echo_n "(cached) " >&6
34877 else
34880 ac_ext=cpp
34881 ac_cpp='$CXXCPP $CPPFLAGS'
34882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34887 /* end confdefs.h. */
34888 #include <math.h>
34890 main ()
34892 hypot(0, 0);
34894 return 0;
34896 _ACEOF
34897 if ac_fn_cxx_try_compile "$LINENO"; then :
34898 glibcxx_cv_func_hypot_use=yes
34899 else
34900 glibcxx_cv_func_hypot_use=no
34902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34903 ac_ext=c
34904 ac_cpp='$CPP $CPPFLAGS'
34905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
34914 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
34916 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
34917 for ac_func in hypot
34918 do :
34919 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
34920 if test "x$ac_cv_func_hypot" = x""yes; then :
34921 cat >>confdefs.h <<_ACEOF
34922 #define HAVE_HYPOT 1
34923 _ACEOF
34926 done
34928 else
34930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
34931 $as_echo_n "checking for _hypot declaration... " >&6; }
34932 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
34933 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
34934 $as_echo_n "(cached) " >&6
34935 else
34938 ac_ext=cpp
34939 ac_cpp='$CXXCPP $CPPFLAGS'
34940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34945 /* end confdefs.h. */
34946 #include <math.h>
34948 main ()
34950 _hypot(0, 0);
34952 return 0;
34954 _ACEOF
34955 if ac_fn_cxx_try_compile "$LINENO"; then :
34956 glibcxx_cv_func__hypot_use=yes
34957 else
34958 glibcxx_cv_func__hypot_use=no
34960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34961 ac_ext=c
34962 ac_cpp='$CPP $CPPFLAGS'
34963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
34972 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
34974 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
34975 for ac_func in _hypot
34976 do :
34977 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
34978 if test "x$ac_cv_func__hypot" = x""yes; then :
34979 cat >>confdefs.h <<_ACEOF
34980 #define HAVE__HYPOT 1
34981 _ACEOF
34984 done
34993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
34994 $as_echo_n "checking for float trig functions... " >&6; }
34995 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
34996 $as_echo_n "(cached) " >&6
34997 else
35000 ac_ext=cpp
35001 ac_cpp='$CXXCPP $CPPFLAGS'
35002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35007 /* end confdefs.h. */
35008 #include <math.h>
35010 main ()
35012 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35014 return 0;
35016 _ACEOF
35017 if ac_fn_cxx_try_compile "$LINENO"; then :
35018 glibcxx_cv_func_float_trig_use=yes
35019 else
35020 glibcxx_cv_func_float_trig_use=no
35022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35023 ac_ext=c
35024 ac_cpp='$CPP $CPPFLAGS'
35025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
35032 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
35033 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
35034 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
35035 do :
35036 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35037 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35038 eval as_val=\$$as_ac_var
35039 if test "x$as_val" = x""yes; then :
35040 cat >>confdefs.h <<_ACEOF
35041 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35042 _ACEOF
35045 done
35047 else
35048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
35049 $as_echo_n "checking for _float trig functions... " >&6; }
35050 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
35051 $as_echo_n "(cached) " >&6
35052 else
35055 ac_ext=cpp
35056 ac_cpp='$CXXCPP $CPPFLAGS'
35057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35062 /* end confdefs.h. */
35063 #include <math.h>
35065 main ()
35067 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
35069 return 0;
35071 _ACEOF
35072 if ac_fn_cxx_try_compile "$LINENO"; then :
35073 glibcxx_cv_func__float_trig_use=yes
35074 else
35075 glibcxx_cv_func__float_trig_use=no
35077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35078 ac_ext=c
35079 ac_cpp='$CPP $CPPFLAGS'
35080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
35087 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
35088 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
35089 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
35090 do :
35091 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35092 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35093 eval as_val=\$$as_ac_var
35094 if test "x$as_val" = x""yes; then :
35095 cat >>confdefs.h <<_ACEOF
35096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35097 _ACEOF
35100 done
35109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
35110 $as_echo_n "checking for float round functions... " >&6; }
35111 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
35112 $as_echo_n "(cached) " >&6
35113 else
35116 ac_ext=cpp
35117 ac_cpp='$CXXCPP $CPPFLAGS'
35118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35123 /* end confdefs.h. */
35124 #include <math.h>
35126 main ()
35128 ceilf (0); floorf (0);
35130 return 0;
35132 _ACEOF
35133 if ac_fn_cxx_try_compile "$LINENO"; then :
35134 glibcxx_cv_func_float_round_use=yes
35135 else
35136 glibcxx_cv_func_float_round_use=no
35138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35139 ac_ext=c
35140 ac_cpp='$CPP $CPPFLAGS'
35141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
35148 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
35149 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
35150 for ac_func in ceilf floorf
35151 do :
35152 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35153 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35154 eval as_val=\$$as_ac_var
35155 if test "x$as_val" = x""yes; then :
35156 cat >>confdefs.h <<_ACEOF
35157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35158 _ACEOF
35161 done
35163 else
35164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
35165 $as_echo_n "checking for _float round functions... " >&6; }
35166 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
35167 $as_echo_n "(cached) " >&6
35168 else
35171 ac_ext=cpp
35172 ac_cpp='$CXXCPP $CPPFLAGS'
35173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35178 /* end confdefs.h. */
35179 #include <math.h>
35181 main ()
35183 _ceilf (0); _floorf (0);
35185 return 0;
35187 _ACEOF
35188 if ac_fn_cxx_try_compile "$LINENO"; then :
35189 glibcxx_cv_func__float_round_use=yes
35190 else
35191 glibcxx_cv_func__float_round_use=no
35193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35194 ac_ext=c
35195 ac_cpp='$CPP $CPPFLAGS'
35196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
35203 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
35204 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
35205 for ac_func in _ceilf _floorf
35206 do :
35207 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
35208 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
35209 eval as_val=\$$as_ac_var
35210 if test "x$as_val" = x""yes; then :
35211 cat >>confdefs.h <<_ACEOF
35212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
35213 _ACEOF
35216 done
35226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
35227 $as_echo_n "checking for expf declaration... " >&6; }
35228 if test x${glibcxx_cv_func_expf_use+set} != xset; then
35229 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
35230 $as_echo_n "(cached) " >&6
35231 else
35234 ac_ext=cpp
35235 ac_cpp='$CXXCPP $CPPFLAGS'
35236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35241 /* end confdefs.h. */
35242 #include <math.h>
35243 #ifdef HAVE_IEEEFP_H
35244 #include <ieeefp.h>
35245 #endif
35248 main ()
35250 expf(0);
35252 return 0;
35254 _ACEOF
35255 if ac_fn_cxx_try_compile "$LINENO"; then :
35256 glibcxx_cv_func_expf_use=yes
35257 else
35258 glibcxx_cv_func_expf_use=no
35260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35261 ac_ext=c
35262 ac_cpp='$CPP $CPPFLAGS'
35263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
35272 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
35274 if test x$glibcxx_cv_func_expf_use = x"yes"; then
35275 for ac_func in expf
35276 do :
35277 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
35278 if test "x$ac_cv_func_expf" = x""yes; then :
35279 cat >>confdefs.h <<_ACEOF
35280 #define HAVE_EXPF 1
35281 _ACEOF
35284 done
35286 else
35288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
35289 $as_echo_n "checking for _expf declaration... " >&6; }
35290 if test x${glibcxx_cv_func__expf_use+set} != xset; then
35291 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
35292 $as_echo_n "(cached) " >&6
35293 else
35296 ac_ext=cpp
35297 ac_cpp='$CXXCPP $CPPFLAGS'
35298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35303 /* end confdefs.h. */
35304 #include <math.h>
35305 #ifdef HAVE_IEEEFP_H
35306 #include <ieeefp.h>
35307 #endif
35310 main ()
35312 _expf(0);
35314 return 0;
35316 _ACEOF
35317 if ac_fn_cxx_try_compile "$LINENO"; then :
35318 glibcxx_cv_func__expf_use=yes
35319 else
35320 glibcxx_cv_func__expf_use=no
35322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35323 ac_ext=c
35324 ac_cpp='$CPP $CPPFLAGS'
35325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
35334 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
35336 if test x$glibcxx_cv_func__expf_use = x"yes"; then
35337 for ac_func in _expf
35338 do :
35339 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
35340 if test "x$ac_cv_func__expf" = x""yes; then :
35341 cat >>confdefs.h <<_ACEOF
35342 #define HAVE__EXPF 1
35343 _ACEOF
35346 done
35355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
35356 $as_echo_n "checking for isnanf declaration... " >&6; }
35357 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
35358 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
35359 $as_echo_n "(cached) " >&6
35360 else
35363 ac_ext=cpp
35364 ac_cpp='$CXXCPP $CPPFLAGS'
35365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35370 /* end confdefs.h. */
35371 #include <math.h>
35372 #ifdef HAVE_IEEEFP_H
35373 #include <ieeefp.h>
35374 #endif
35377 main ()
35379 isnanf(0);
35381 return 0;
35383 _ACEOF
35384 if ac_fn_cxx_try_compile "$LINENO"; then :
35385 glibcxx_cv_func_isnanf_use=yes
35386 else
35387 glibcxx_cv_func_isnanf_use=no
35389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35390 ac_ext=c
35391 ac_cpp='$CPP $CPPFLAGS'
35392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
35401 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
35403 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
35404 for ac_func in isnanf
35405 do :
35406 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
35407 if test "x$ac_cv_func_isnanf" = x""yes; then :
35408 cat >>confdefs.h <<_ACEOF
35409 #define HAVE_ISNANF 1
35410 _ACEOF
35413 done
35415 else
35417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
35418 $as_echo_n "checking for _isnanf declaration... " >&6; }
35419 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
35420 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
35421 $as_echo_n "(cached) " >&6
35422 else
35425 ac_ext=cpp
35426 ac_cpp='$CXXCPP $CPPFLAGS'
35427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35432 /* end confdefs.h. */
35433 #include <math.h>
35434 #ifdef HAVE_IEEEFP_H
35435 #include <ieeefp.h>
35436 #endif
35439 main ()
35441 _isnanf(0);
35443 return 0;
35445 _ACEOF
35446 if ac_fn_cxx_try_compile "$LINENO"; then :
35447 glibcxx_cv_func__isnanf_use=yes
35448 else
35449 glibcxx_cv_func__isnanf_use=no
35451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35452 ac_ext=c
35453 ac_cpp='$CPP $CPPFLAGS'
35454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
35463 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
35465 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
35466 for ac_func in _isnanf
35467 do :
35468 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
35469 if test "x$ac_cv_func__isnanf" = x""yes; then :
35470 cat >>confdefs.h <<_ACEOF
35471 #define HAVE__ISNANF 1
35472 _ACEOF
35475 done
35484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
35485 $as_echo_n "checking for isinff declaration... " >&6; }
35486 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
35487 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
35488 $as_echo_n "(cached) " >&6
35489 else
35492 ac_ext=cpp
35493 ac_cpp='$CXXCPP $CPPFLAGS'
35494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35499 /* end confdefs.h. */
35500 #include <math.h>
35501 #ifdef HAVE_IEEEFP_H
35502 #include <ieeefp.h>
35503 #endif
35506 main ()
35508 isinff(0);
35510 return 0;
35512 _ACEOF
35513 if ac_fn_cxx_try_compile "$LINENO"; then :
35514 glibcxx_cv_func_isinff_use=yes
35515 else
35516 glibcxx_cv_func_isinff_use=no
35518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35519 ac_ext=c
35520 ac_cpp='$CPP $CPPFLAGS'
35521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
35530 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
35532 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
35533 for ac_func in isinff
35534 do :
35535 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
35536 if test "x$ac_cv_func_isinff" = x""yes; then :
35537 cat >>confdefs.h <<_ACEOF
35538 #define HAVE_ISINFF 1
35539 _ACEOF
35542 done
35544 else
35546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
35547 $as_echo_n "checking for _isinff declaration... " >&6; }
35548 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
35549 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
35550 $as_echo_n "(cached) " >&6
35551 else
35554 ac_ext=cpp
35555 ac_cpp='$CXXCPP $CPPFLAGS'
35556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35561 /* end confdefs.h. */
35562 #include <math.h>
35563 #ifdef HAVE_IEEEFP_H
35564 #include <ieeefp.h>
35565 #endif
35568 main ()
35570 _isinff(0);
35572 return 0;
35574 _ACEOF
35575 if ac_fn_cxx_try_compile "$LINENO"; then :
35576 glibcxx_cv_func__isinff_use=yes
35577 else
35578 glibcxx_cv_func__isinff_use=no
35580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35581 ac_ext=c
35582 ac_cpp='$CPP $CPPFLAGS'
35583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
35592 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
35594 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
35595 for ac_func in _isinff
35596 do :
35597 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
35598 if test "x$ac_cv_func__isinff" = x""yes; then :
35599 cat >>confdefs.h <<_ACEOF
35600 #define HAVE__ISINFF 1
35601 _ACEOF
35604 done
35613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
35614 $as_echo_n "checking for atan2f declaration... " >&6; }
35615 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
35616 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
35617 $as_echo_n "(cached) " >&6
35618 else
35621 ac_ext=cpp
35622 ac_cpp='$CXXCPP $CPPFLAGS'
35623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35628 /* end confdefs.h. */
35629 #include <math.h>
35631 main ()
35633 atan2f(0, 0);
35635 return 0;
35637 _ACEOF
35638 if ac_fn_cxx_try_compile "$LINENO"; then :
35639 glibcxx_cv_func_atan2f_use=yes
35640 else
35641 glibcxx_cv_func_atan2f_use=no
35643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35644 ac_ext=c
35645 ac_cpp='$CPP $CPPFLAGS'
35646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
35655 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
35657 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
35658 for ac_func in atan2f
35659 do :
35660 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
35661 if test "x$ac_cv_func_atan2f" = x""yes; then :
35662 cat >>confdefs.h <<_ACEOF
35663 #define HAVE_ATAN2F 1
35664 _ACEOF
35667 done
35669 else
35671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
35672 $as_echo_n "checking for _atan2f declaration... " >&6; }
35673 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
35674 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
35675 $as_echo_n "(cached) " >&6
35676 else
35679 ac_ext=cpp
35680 ac_cpp='$CXXCPP $CPPFLAGS'
35681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35686 /* end confdefs.h. */
35687 #include <math.h>
35689 main ()
35691 _atan2f(0, 0);
35693 return 0;
35695 _ACEOF
35696 if ac_fn_cxx_try_compile "$LINENO"; then :
35697 glibcxx_cv_func__atan2f_use=yes
35698 else
35699 glibcxx_cv_func__atan2f_use=no
35701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35702 ac_ext=c
35703 ac_cpp='$CPP $CPPFLAGS'
35704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
35713 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
35715 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
35716 for ac_func in _atan2f
35717 do :
35718 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
35719 if test "x$ac_cv_func__atan2f" = x""yes; then :
35720 cat >>confdefs.h <<_ACEOF
35721 #define HAVE__ATAN2F 1
35722 _ACEOF
35725 done
35734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
35735 $as_echo_n "checking for fabsf declaration... " >&6; }
35736 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
35737 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
35738 $as_echo_n "(cached) " >&6
35739 else
35742 ac_ext=cpp
35743 ac_cpp='$CXXCPP $CPPFLAGS'
35744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35749 /* end confdefs.h. */
35750 #include <math.h>
35751 #ifdef HAVE_IEEEFP_H
35752 #include <ieeefp.h>
35753 #endif
35756 main ()
35758 fabsf(0);
35760 return 0;
35762 _ACEOF
35763 if ac_fn_cxx_try_compile "$LINENO"; then :
35764 glibcxx_cv_func_fabsf_use=yes
35765 else
35766 glibcxx_cv_func_fabsf_use=no
35768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35769 ac_ext=c
35770 ac_cpp='$CPP $CPPFLAGS'
35771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
35780 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
35782 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
35783 for ac_func in fabsf
35784 do :
35785 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
35786 if test "x$ac_cv_func_fabsf" = x""yes; then :
35787 cat >>confdefs.h <<_ACEOF
35788 #define HAVE_FABSF 1
35789 _ACEOF
35792 done
35794 else
35796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
35797 $as_echo_n "checking for _fabsf declaration... " >&6; }
35798 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
35799 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
35800 $as_echo_n "(cached) " >&6
35801 else
35804 ac_ext=cpp
35805 ac_cpp='$CXXCPP $CPPFLAGS'
35806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35811 /* end confdefs.h. */
35812 #include <math.h>
35813 #ifdef HAVE_IEEEFP_H
35814 #include <ieeefp.h>
35815 #endif
35818 main ()
35820 _fabsf(0);
35822 return 0;
35824 _ACEOF
35825 if ac_fn_cxx_try_compile "$LINENO"; then :
35826 glibcxx_cv_func__fabsf_use=yes
35827 else
35828 glibcxx_cv_func__fabsf_use=no
35830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35831 ac_ext=c
35832 ac_cpp='$CPP $CPPFLAGS'
35833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
35842 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
35844 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
35845 for ac_func in _fabsf
35846 do :
35847 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
35848 if test "x$ac_cv_func__fabsf" = x""yes; then :
35849 cat >>confdefs.h <<_ACEOF
35850 #define HAVE__FABSF 1
35851 _ACEOF
35854 done
35863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
35864 $as_echo_n "checking for fmodf declaration... " >&6; }
35865 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
35866 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
35867 $as_echo_n "(cached) " >&6
35868 else
35871 ac_ext=cpp
35872 ac_cpp='$CXXCPP $CPPFLAGS'
35873 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35874 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35875 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35878 /* end confdefs.h. */
35879 #include <math.h>
35881 main ()
35883 fmodf(0, 0);
35885 return 0;
35887 _ACEOF
35888 if ac_fn_cxx_try_compile "$LINENO"; then :
35889 glibcxx_cv_func_fmodf_use=yes
35890 else
35891 glibcxx_cv_func_fmodf_use=no
35893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35894 ac_ext=c
35895 ac_cpp='$CPP $CPPFLAGS'
35896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
35905 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
35907 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
35908 for ac_func in fmodf
35909 do :
35910 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
35911 if test "x$ac_cv_func_fmodf" = x""yes; then :
35912 cat >>confdefs.h <<_ACEOF
35913 #define HAVE_FMODF 1
35914 _ACEOF
35917 done
35919 else
35921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
35922 $as_echo_n "checking for _fmodf declaration... " >&6; }
35923 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
35924 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
35925 $as_echo_n "(cached) " >&6
35926 else
35929 ac_ext=cpp
35930 ac_cpp='$CXXCPP $CPPFLAGS'
35931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35936 /* end confdefs.h. */
35937 #include <math.h>
35939 main ()
35941 _fmodf(0, 0);
35943 return 0;
35945 _ACEOF
35946 if ac_fn_cxx_try_compile "$LINENO"; then :
35947 glibcxx_cv_func__fmodf_use=yes
35948 else
35949 glibcxx_cv_func__fmodf_use=no
35951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35952 ac_ext=c
35953 ac_cpp='$CPP $CPPFLAGS'
35954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
35963 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
35965 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
35966 for ac_func in _fmodf
35967 do :
35968 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
35969 if test "x$ac_cv_func__fmodf" = x""yes; then :
35970 cat >>confdefs.h <<_ACEOF
35971 #define HAVE__FMODF 1
35972 _ACEOF
35975 done
35984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
35985 $as_echo_n "checking for frexpf declaration... " >&6; }
35986 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
35987 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
35988 $as_echo_n "(cached) " >&6
35989 else
35992 ac_ext=cpp
35993 ac_cpp='$CXXCPP $CPPFLAGS'
35994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35999 /* end confdefs.h. */
36000 #include <math.h>
36002 main ()
36004 frexpf(0, 0);
36006 return 0;
36008 _ACEOF
36009 if ac_fn_cxx_try_compile "$LINENO"; then :
36010 glibcxx_cv_func_frexpf_use=yes
36011 else
36012 glibcxx_cv_func_frexpf_use=no
36014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36015 ac_ext=c
36016 ac_cpp='$CPP $CPPFLAGS'
36017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
36026 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
36028 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
36029 for ac_func in frexpf
36030 do :
36031 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
36032 if test "x$ac_cv_func_frexpf" = x""yes; then :
36033 cat >>confdefs.h <<_ACEOF
36034 #define HAVE_FREXPF 1
36035 _ACEOF
36038 done
36040 else
36042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
36043 $as_echo_n "checking for _frexpf declaration... " >&6; }
36044 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
36045 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
36046 $as_echo_n "(cached) " >&6
36047 else
36050 ac_ext=cpp
36051 ac_cpp='$CXXCPP $CPPFLAGS'
36052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36057 /* end confdefs.h. */
36058 #include <math.h>
36060 main ()
36062 _frexpf(0, 0);
36064 return 0;
36066 _ACEOF
36067 if ac_fn_cxx_try_compile "$LINENO"; then :
36068 glibcxx_cv_func__frexpf_use=yes
36069 else
36070 glibcxx_cv_func__frexpf_use=no
36072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36073 ac_ext=c
36074 ac_cpp='$CPP $CPPFLAGS'
36075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
36084 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
36086 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
36087 for ac_func in _frexpf
36088 do :
36089 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
36090 if test "x$ac_cv_func__frexpf" = x""yes; then :
36091 cat >>confdefs.h <<_ACEOF
36092 #define HAVE__FREXPF 1
36093 _ACEOF
36096 done
36105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
36106 $as_echo_n "checking for hypotf declaration... " >&6; }
36107 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
36108 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
36109 $as_echo_n "(cached) " >&6
36110 else
36113 ac_ext=cpp
36114 ac_cpp='$CXXCPP $CPPFLAGS'
36115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36120 /* end confdefs.h. */
36121 #include <math.h>
36123 main ()
36125 hypotf(0, 0);
36127 return 0;
36129 _ACEOF
36130 if ac_fn_cxx_try_compile "$LINENO"; then :
36131 glibcxx_cv_func_hypotf_use=yes
36132 else
36133 glibcxx_cv_func_hypotf_use=no
36135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36136 ac_ext=c
36137 ac_cpp='$CPP $CPPFLAGS'
36138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
36147 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
36149 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
36150 for ac_func in hypotf
36151 do :
36152 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
36153 if test "x$ac_cv_func_hypotf" = x""yes; then :
36154 cat >>confdefs.h <<_ACEOF
36155 #define HAVE_HYPOTF 1
36156 _ACEOF
36159 done
36161 else
36163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
36164 $as_echo_n "checking for _hypotf declaration... " >&6; }
36165 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
36166 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
36167 $as_echo_n "(cached) " >&6
36168 else
36171 ac_ext=cpp
36172 ac_cpp='$CXXCPP $CPPFLAGS'
36173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36178 /* end confdefs.h. */
36179 #include <math.h>
36181 main ()
36183 _hypotf(0, 0);
36185 return 0;
36187 _ACEOF
36188 if ac_fn_cxx_try_compile "$LINENO"; then :
36189 glibcxx_cv_func__hypotf_use=yes
36190 else
36191 glibcxx_cv_func__hypotf_use=no
36193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36194 ac_ext=c
36195 ac_cpp='$CPP $CPPFLAGS'
36196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
36205 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
36207 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
36208 for ac_func in _hypotf
36209 do :
36210 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
36211 if test "x$ac_cv_func__hypotf" = x""yes; then :
36212 cat >>confdefs.h <<_ACEOF
36213 #define HAVE__HYPOTF 1
36214 _ACEOF
36217 done
36226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
36227 $as_echo_n "checking for ldexpf declaration... " >&6; }
36228 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
36229 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
36230 $as_echo_n "(cached) " >&6
36231 else
36234 ac_ext=cpp
36235 ac_cpp='$CXXCPP $CPPFLAGS'
36236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36241 /* end confdefs.h. */
36242 #include <math.h>
36244 main ()
36246 ldexpf(0, 0);
36248 return 0;
36250 _ACEOF
36251 if ac_fn_cxx_try_compile "$LINENO"; then :
36252 glibcxx_cv_func_ldexpf_use=yes
36253 else
36254 glibcxx_cv_func_ldexpf_use=no
36256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36257 ac_ext=c
36258 ac_cpp='$CPP $CPPFLAGS'
36259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
36268 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
36270 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
36271 for ac_func in ldexpf
36272 do :
36273 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
36274 if test "x$ac_cv_func_ldexpf" = x""yes; then :
36275 cat >>confdefs.h <<_ACEOF
36276 #define HAVE_LDEXPF 1
36277 _ACEOF
36280 done
36282 else
36284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
36285 $as_echo_n "checking for _ldexpf declaration... " >&6; }
36286 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
36287 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
36288 $as_echo_n "(cached) " >&6
36289 else
36292 ac_ext=cpp
36293 ac_cpp='$CXXCPP $CPPFLAGS'
36294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36299 /* end confdefs.h. */
36300 #include <math.h>
36302 main ()
36304 _ldexpf(0, 0);
36306 return 0;
36308 _ACEOF
36309 if ac_fn_cxx_try_compile "$LINENO"; then :
36310 glibcxx_cv_func__ldexpf_use=yes
36311 else
36312 glibcxx_cv_func__ldexpf_use=no
36314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36315 ac_ext=c
36316 ac_cpp='$CPP $CPPFLAGS'
36317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
36326 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
36328 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
36329 for ac_func in _ldexpf
36330 do :
36331 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
36332 if test "x$ac_cv_func__ldexpf" = x""yes; then :
36333 cat >>confdefs.h <<_ACEOF
36334 #define HAVE__LDEXPF 1
36335 _ACEOF
36338 done
36347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
36348 $as_echo_n "checking for logf declaration... " >&6; }
36349 if test x${glibcxx_cv_func_logf_use+set} != xset; then
36350 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
36351 $as_echo_n "(cached) " >&6
36352 else
36355 ac_ext=cpp
36356 ac_cpp='$CXXCPP $CPPFLAGS'
36357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36362 /* end confdefs.h. */
36363 #include <math.h>
36364 #ifdef HAVE_IEEEFP_H
36365 #include <ieeefp.h>
36366 #endif
36369 main ()
36371 logf(0);
36373 return 0;
36375 _ACEOF
36376 if ac_fn_cxx_try_compile "$LINENO"; then :
36377 glibcxx_cv_func_logf_use=yes
36378 else
36379 glibcxx_cv_func_logf_use=no
36381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36382 ac_ext=c
36383 ac_cpp='$CPP $CPPFLAGS'
36384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
36393 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
36395 if test x$glibcxx_cv_func_logf_use = x"yes"; then
36396 for ac_func in logf
36397 do :
36398 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
36399 if test "x$ac_cv_func_logf" = x""yes; then :
36400 cat >>confdefs.h <<_ACEOF
36401 #define HAVE_LOGF 1
36402 _ACEOF
36405 done
36407 else
36409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
36410 $as_echo_n "checking for _logf declaration... " >&6; }
36411 if test x${glibcxx_cv_func__logf_use+set} != xset; then
36412 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
36413 $as_echo_n "(cached) " >&6
36414 else
36417 ac_ext=cpp
36418 ac_cpp='$CXXCPP $CPPFLAGS'
36419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36424 /* end confdefs.h. */
36425 #include <math.h>
36426 #ifdef HAVE_IEEEFP_H
36427 #include <ieeefp.h>
36428 #endif
36431 main ()
36433 _logf(0);
36435 return 0;
36437 _ACEOF
36438 if ac_fn_cxx_try_compile "$LINENO"; then :
36439 glibcxx_cv_func__logf_use=yes
36440 else
36441 glibcxx_cv_func__logf_use=no
36443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36444 ac_ext=c
36445 ac_cpp='$CPP $CPPFLAGS'
36446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
36455 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
36457 if test x$glibcxx_cv_func__logf_use = x"yes"; then
36458 for ac_func in _logf
36459 do :
36460 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
36461 if test "x$ac_cv_func__logf" = x""yes; then :
36462 cat >>confdefs.h <<_ACEOF
36463 #define HAVE__LOGF 1
36464 _ACEOF
36467 done
36476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
36477 $as_echo_n "checking for log10f declaration... " >&6; }
36478 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
36479 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
36480 $as_echo_n "(cached) " >&6
36481 else
36484 ac_ext=cpp
36485 ac_cpp='$CXXCPP $CPPFLAGS'
36486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36491 /* end confdefs.h. */
36492 #include <math.h>
36493 #ifdef HAVE_IEEEFP_H
36494 #include <ieeefp.h>
36495 #endif
36498 main ()
36500 log10f(0);
36502 return 0;
36504 _ACEOF
36505 if ac_fn_cxx_try_compile "$LINENO"; then :
36506 glibcxx_cv_func_log10f_use=yes
36507 else
36508 glibcxx_cv_func_log10f_use=no
36510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36511 ac_ext=c
36512 ac_cpp='$CPP $CPPFLAGS'
36513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
36522 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
36524 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
36525 for ac_func in log10f
36526 do :
36527 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
36528 if test "x$ac_cv_func_log10f" = x""yes; then :
36529 cat >>confdefs.h <<_ACEOF
36530 #define HAVE_LOG10F 1
36531 _ACEOF
36534 done
36536 else
36538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
36539 $as_echo_n "checking for _log10f declaration... " >&6; }
36540 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
36541 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
36542 $as_echo_n "(cached) " >&6
36543 else
36546 ac_ext=cpp
36547 ac_cpp='$CXXCPP $CPPFLAGS'
36548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36553 /* end confdefs.h. */
36554 #include <math.h>
36555 #ifdef HAVE_IEEEFP_H
36556 #include <ieeefp.h>
36557 #endif
36560 main ()
36562 _log10f(0);
36564 return 0;
36566 _ACEOF
36567 if ac_fn_cxx_try_compile "$LINENO"; then :
36568 glibcxx_cv_func__log10f_use=yes
36569 else
36570 glibcxx_cv_func__log10f_use=no
36572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36573 ac_ext=c
36574 ac_cpp='$CPP $CPPFLAGS'
36575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
36584 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
36586 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
36587 for ac_func in _log10f
36588 do :
36589 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
36590 if test "x$ac_cv_func__log10f" = x""yes; then :
36591 cat >>confdefs.h <<_ACEOF
36592 #define HAVE__LOG10F 1
36593 _ACEOF
36596 done
36605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
36606 $as_echo_n "checking for modff declaration... " >&6; }
36607 if test x${glibcxx_cv_func_modff_use+set} != xset; then
36608 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
36609 $as_echo_n "(cached) " >&6
36610 else
36613 ac_ext=cpp
36614 ac_cpp='$CXXCPP $CPPFLAGS'
36615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36620 /* end confdefs.h. */
36621 #include <math.h>
36623 main ()
36625 modff(0, 0);
36627 return 0;
36629 _ACEOF
36630 if ac_fn_cxx_try_compile "$LINENO"; then :
36631 glibcxx_cv_func_modff_use=yes
36632 else
36633 glibcxx_cv_func_modff_use=no
36635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36636 ac_ext=c
36637 ac_cpp='$CPP $CPPFLAGS'
36638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
36647 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
36649 if test x$glibcxx_cv_func_modff_use = x"yes"; then
36650 for ac_func in modff
36651 do :
36652 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
36653 if test "x$ac_cv_func_modff" = x""yes; then :
36654 cat >>confdefs.h <<_ACEOF
36655 #define HAVE_MODFF 1
36656 _ACEOF
36659 done
36661 else
36663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
36664 $as_echo_n "checking for _modff declaration... " >&6; }
36665 if test x${glibcxx_cv_func__modff_use+set} != xset; then
36666 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
36667 $as_echo_n "(cached) " >&6
36668 else
36671 ac_ext=cpp
36672 ac_cpp='$CXXCPP $CPPFLAGS'
36673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36678 /* end confdefs.h. */
36679 #include <math.h>
36681 main ()
36683 _modff(0, 0);
36685 return 0;
36687 _ACEOF
36688 if ac_fn_cxx_try_compile "$LINENO"; then :
36689 glibcxx_cv_func__modff_use=yes
36690 else
36691 glibcxx_cv_func__modff_use=no
36693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36694 ac_ext=c
36695 ac_cpp='$CPP $CPPFLAGS'
36696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
36705 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
36707 if test x$glibcxx_cv_func__modff_use = x"yes"; then
36708 for ac_func in _modff
36709 do :
36710 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
36711 if test "x$ac_cv_func__modff" = x""yes; then :
36712 cat >>confdefs.h <<_ACEOF
36713 #define HAVE__MODFF 1
36714 _ACEOF
36717 done
36726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
36727 $as_echo_n "checking for modf declaration... " >&6; }
36728 if test x${glibcxx_cv_func_modf_use+set} != xset; then
36729 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
36730 $as_echo_n "(cached) " >&6
36731 else
36734 ac_ext=cpp
36735 ac_cpp='$CXXCPP $CPPFLAGS'
36736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36741 /* end confdefs.h. */
36742 #include <math.h>
36744 main ()
36746 modf(0, 0);
36748 return 0;
36750 _ACEOF
36751 if ac_fn_cxx_try_compile "$LINENO"; then :
36752 glibcxx_cv_func_modf_use=yes
36753 else
36754 glibcxx_cv_func_modf_use=no
36756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36757 ac_ext=c
36758 ac_cpp='$CPP $CPPFLAGS'
36759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
36768 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
36770 if test x$glibcxx_cv_func_modf_use = x"yes"; then
36771 for ac_func in modf
36772 do :
36773 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
36774 if test "x$ac_cv_func_modf" = x""yes; then :
36775 cat >>confdefs.h <<_ACEOF
36776 #define HAVE_MODF 1
36777 _ACEOF
36780 done
36782 else
36784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
36785 $as_echo_n "checking for _modf declaration... " >&6; }
36786 if test x${glibcxx_cv_func__modf_use+set} != xset; then
36787 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
36788 $as_echo_n "(cached) " >&6
36789 else
36792 ac_ext=cpp
36793 ac_cpp='$CXXCPP $CPPFLAGS'
36794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36799 /* end confdefs.h. */
36800 #include <math.h>
36802 main ()
36804 _modf(0, 0);
36806 return 0;
36808 _ACEOF
36809 if ac_fn_cxx_try_compile "$LINENO"; then :
36810 glibcxx_cv_func__modf_use=yes
36811 else
36812 glibcxx_cv_func__modf_use=no
36814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36815 ac_ext=c
36816 ac_cpp='$CPP $CPPFLAGS'
36817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
36826 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
36828 if test x$glibcxx_cv_func__modf_use = x"yes"; then
36829 for ac_func in _modf
36830 do :
36831 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
36832 if test "x$ac_cv_func__modf" = x""yes; then :
36833 cat >>confdefs.h <<_ACEOF
36834 #define HAVE__MODF 1
36835 _ACEOF
36838 done
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
36848 $as_echo_n "checking for powf declaration... " >&6; }
36849 if test x${glibcxx_cv_func_powf_use+set} != xset; then
36850 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
36851 $as_echo_n "(cached) " >&6
36852 else
36855 ac_ext=cpp
36856 ac_cpp='$CXXCPP $CPPFLAGS'
36857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36862 /* end confdefs.h. */
36863 #include <math.h>
36865 main ()
36867 powf(0, 0);
36869 return 0;
36871 _ACEOF
36872 if ac_fn_cxx_try_compile "$LINENO"; then :
36873 glibcxx_cv_func_powf_use=yes
36874 else
36875 glibcxx_cv_func_powf_use=no
36877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36878 ac_ext=c
36879 ac_cpp='$CPP $CPPFLAGS'
36880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
36889 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
36891 if test x$glibcxx_cv_func_powf_use = x"yes"; then
36892 for ac_func in powf
36893 do :
36894 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
36895 if test "x$ac_cv_func_powf" = x""yes; then :
36896 cat >>confdefs.h <<_ACEOF
36897 #define HAVE_POWF 1
36898 _ACEOF
36901 done
36903 else
36905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
36906 $as_echo_n "checking for _powf declaration... " >&6; }
36907 if test x${glibcxx_cv_func__powf_use+set} != xset; then
36908 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
36909 $as_echo_n "(cached) " >&6
36910 else
36913 ac_ext=cpp
36914 ac_cpp='$CXXCPP $CPPFLAGS'
36915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36920 /* end confdefs.h. */
36921 #include <math.h>
36923 main ()
36925 _powf(0, 0);
36927 return 0;
36929 _ACEOF
36930 if ac_fn_cxx_try_compile "$LINENO"; then :
36931 glibcxx_cv_func__powf_use=yes
36932 else
36933 glibcxx_cv_func__powf_use=no
36935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36936 ac_ext=c
36937 ac_cpp='$CPP $CPPFLAGS'
36938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
36947 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
36949 if test x$glibcxx_cv_func__powf_use = x"yes"; then
36950 for ac_func in _powf
36951 do :
36952 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
36953 if test "x$ac_cv_func__powf" = x""yes; then :
36954 cat >>confdefs.h <<_ACEOF
36955 #define HAVE__POWF 1
36956 _ACEOF
36959 done
36968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
36969 $as_echo_n "checking for sqrtf declaration... " >&6; }
36970 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
36971 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
36972 $as_echo_n "(cached) " >&6
36973 else
36976 ac_ext=cpp
36977 ac_cpp='$CXXCPP $CPPFLAGS'
36978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36983 /* end confdefs.h. */
36984 #include <math.h>
36985 #ifdef HAVE_IEEEFP_H
36986 #include <ieeefp.h>
36987 #endif
36990 main ()
36992 sqrtf(0);
36994 return 0;
36996 _ACEOF
36997 if ac_fn_cxx_try_compile "$LINENO"; then :
36998 glibcxx_cv_func_sqrtf_use=yes
36999 else
37000 glibcxx_cv_func_sqrtf_use=no
37002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37003 ac_ext=c
37004 ac_cpp='$CPP $CPPFLAGS'
37005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37014 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
37016 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
37017 for ac_func in sqrtf
37018 do :
37019 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
37020 if test "x$ac_cv_func_sqrtf" = x""yes; then :
37021 cat >>confdefs.h <<_ACEOF
37022 #define HAVE_SQRTF 1
37023 _ACEOF
37026 done
37028 else
37030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
37031 $as_echo_n "checking for _sqrtf declaration... " >&6; }
37032 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
37033 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
37034 $as_echo_n "(cached) " >&6
37035 else
37038 ac_ext=cpp
37039 ac_cpp='$CXXCPP $CPPFLAGS'
37040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37045 /* end confdefs.h. */
37046 #include <math.h>
37047 #ifdef HAVE_IEEEFP_H
37048 #include <ieeefp.h>
37049 #endif
37052 main ()
37054 _sqrtf(0);
37056 return 0;
37058 _ACEOF
37059 if ac_fn_cxx_try_compile "$LINENO"; then :
37060 glibcxx_cv_func__sqrtf_use=yes
37061 else
37062 glibcxx_cv_func__sqrtf_use=no
37064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37065 ac_ext=c
37066 ac_cpp='$CPP $CPPFLAGS'
37067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
37076 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
37078 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
37079 for ac_func in _sqrtf
37080 do :
37081 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
37082 if test "x$ac_cv_func__sqrtf" = x""yes; then :
37083 cat >>confdefs.h <<_ACEOF
37084 #define HAVE__SQRTF 1
37085 _ACEOF
37088 done
37097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
37098 $as_echo_n "checking for sincosf declaration... " >&6; }
37099 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
37100 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
37101 $as_echo_n "(cached) " >&6
37102 else
37105 ac_ext=cpp
37106 ac_cpp='$CXXCPP $CPPFLAGS'
37107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37112 /* end confdefs.h. */
37113 #include <math.h>
37115 main ()
37117 sincosf(0, 0, 0);
37119 return 0;
37121 _ACEOF
37122 if ac_fn_cxx_try_compile "$LINENO"; then :
37123 glibcxx_cv_func_sincosf_use=yes
37124 else
37125 glibcxx_cv_func_sincosf_use=no
37127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37128 ac_ext=c
37129 ac_cpp='$CPP $CPPFLAGS'
37130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
37139 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
37141 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
37142 for ac_func in sincosf
37143 do :
37144 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
37145 if test "x$ac_cv_func_sincosf" = x""yes; then :
37146 cat >>confdefs.h <<_ACEOF
37147 #define HAVE_SINCOSF 1
37148 _ACEOF
37151 done
37153 else
37155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
37156 $as_echo_n "checking for _sincosf declaration... " >&6; }
37157 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
37158 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
37159 $as_echo_n "(cached) " >&6
37160 else
37163 ac_ext=cpp
37164 ac_cpp='$CXXCPP $CPPFLAGS'
37165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37170 /* end confdefs.h. */
37171 #include <math.h>
37173 main ()
37175 _sincosf(0, 0, 0);
37177 return 0;
37179 _ACEOF
37180 if ac_fn_cxx_try_compile "$LINENO"; then :
37181 glibcxx_cv_func__sincosf_use=yes
37182 else
37183 glibcxx_cv_func__sincosf_use=no
37185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37186 ac_ext=c
37187 ac_cpp='$CPP $CPPFLAGS'
37188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
37197 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
37199 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
37200 for ac_func in _sincosf
37201 do :
37202 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
37203 if test "x$ac_cv_func__sincosf" = x""yes; then :
37204 cat >>confdefs.h <<_ACEOF
37205 #define HAVE__SINCOSF 1
37206 _ACEOF
37209 done
37218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
37219 $as_echo_n "checking for finitef declaration... " >&6; }
37220 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
37221 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
37222 $as_echo_n "(cached) " >&6
37223 else
37226 ac_ext=cpp
37227 ac_cpp='$CXXCPP $CPPFLAGS'
37228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37233 /* end confdefs.h. */
37234 #include <math.h>
37235 #ifdef HAVE_IEEEFP_H
37236 #include <ieeefp.h>
37237 #endif
37240 main ()
37242 finitef(0);
37244 return 0;
37246 _ACEOF
37247 if ac_fn_cxx_try_compile "$LINENO"; then :
37248 glibcxx_cv_func_finitef_use=yes
37249 else
37250 glibcxx_cv_func_finitef_use=no
37252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37253 ac_ext=c
37254 ac_cpp='$CPP $CPPFLAGS'
37255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
37264 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
37266 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
37267 for ac_func in finitef
37268 do :
37269 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
37270 if test "x$ac_cv_func_finitef" = x""yes; then :
37271 cat >>confdefs.h <<_ACEOF
37272 #define HAVE_FINITEF 1
37273 _ACEOF
37276 done
37278 else
37280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
37281 $as_echo_n "checking for _finitef declaration... " >&6; }
37282 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
37283 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
37284 $as_echo_n "(cached) " >&6
37285 else
37288 ac_ext=cpp
37289 ac_cpp='$CXXCPP $CPPFLAGS'
37290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37295 /* end confdefs.h. */
37296 #include <math.h>
37297 #ifdef HAVE_IEEEFP_H
37298 #include <ieeefp.h>
37299 #endif
37302 main ()
37304 _finitef(0);
37306 return 0;
37308 _ACEOF
37309 if ac_fn_cxx_try_compile "$LINENO"; then :
37310 glibcxx_cv_func__finitef_use=yes
37311 else
37312 glibcxx_cv_func__finitef_use=no
37314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37315 ac_ext=c
37316 ac_cpp='$CPP $CPPFLAGS'
37317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
37326 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
37328 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
37329 for ac_func in _finitef
37330 do :
37331 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
37332 if test "x$ac_cv_func__finitef" = x""yes; then :
37333 cat >>confdefs.h <<_ACEOF
37334 #define HAVE__FINITEF 1
37335 _ACEOF
37338 done
37347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
37348 $as_echo_n "checking for long double trig functions... " >&6; }
37349 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
37350 $as_echo_n "(cached) " >&6
37351 else
37354 ac_ext=cpp
37355 ac_cpp='$CXXCPP $CPPFLAGS'
37356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37361 /* end confdefs.h. */
37362 #include <math.h>
37364 main ()
37366 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
37368 return 0;
37370 _ACEOF
37371 if ac_fn_cxx_try_compile "$LINENO"; then :
37372 glibcxx_cv_func_long_double_trig_use=yes
37373 else
37374 glibcxx_cv_func_long_double_trig_use=no
37376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37377 ac_ext=c
37378 ac_cpp='$CPP $CPPFLAGS'
37379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
37386 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
37387 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
37388 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
37389 do :
37390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37392 eval as_val=\$$as_ac_var
37393 if test "x$as_val" = x""yes; then :
37394 cat >>confdefs.h <<_ACEOF
37395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37396 _ACEOF
37399 done
37401 else
37402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
37403 $as_echo_n "checking for _long double trig functions... " >&6; }
37404 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
37405 $as_echo_n "(cached) " >&6
37406 else
37409 ac_ext=cpp
37410 ac_cpp='$CXXCPP $CPPFLAGS'
37411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37416 /* end confdefs.h. */
37417 #include <math.h>
37419 main ()
37421 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
37423 return 0;
37425 _ACEOF
37426 if ac_fn_cxx_try_compile "$LINENO"; then :
37427 glibcxx_cv_func__long_double_trig_use=yes
37428 else
37429 glibcxx_cv_func__long_double_trig_use=no
37431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37432 ac_ext=c
37433 ac_cpp='$CPP $CPPFLAGS'
37434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
37441 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
37442 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
37443 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
37444 do :
37445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37447 eval as_val=\$$as_ac_var
37448 if test "x$as_val" = x""yes; then :
37449 cat >>confdefs.h <<_ACEOF
37450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37451 _ACEOF
37454 done
37463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
37464 $as_echo_n "checking for long double round functions... " >&6; }
37465 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
37466 $as_echo_n "(cached) " >&6
37467 else
37470 ac_ext=cpp
37471 ac_cpp='$CXXCPP $CPPFLAGS'
37472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37477 /* end confdefs.h. */
37478 #include <math.h>
37480 main ()
37482 ceill (0); floorl (0);
37484 return 0;
37486 _ACEOF
37487 if ac_fn_cxx_try_compile "$LINENO"; then :
37488 glibcxx_cv_func_long_double_round_use=yes
37489 else
37490 glibcxx_cv_func_long_double_round_use=no
37492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37493 ac_ext=c
37494 ac_cpp='$CPP $CPPFLAGS'
37495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
37502 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
37503 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
37504 for ac_func in ceill floorl
37505 do :
37506 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37507 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37508 eval as_val=\$$as_ac_var
37509 if test "x$as_val" = x""yes; then :
37510 cat >>confdefs.h <<_ACEOF
37511 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37512 _ACEOF
37515 done
37517 else
37518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
37519 $as_echo_n "checking for _long double round functions... " >&6; }
37520 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
37521 $as_echo_n "(cached) " >&6
37522 else
37525 ac_ext=cpp
37526 ac_cpp='$CXXCPP $CPPFLAGS'
37527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37532 /* end confdefs.h. */
37533 #include <math.h>
37535 main ()
37537 _ceill (0); _floorl (0);
37539 return 0;
37541 _ACEOF
37542 if ac_fn_cxx_try_compile "$LINENO"; then :
37543 glibcxx_cv_func__long_double_round_use=yes
37544 else
37545 glibcxx_cv_func__long_double_round_use=no
37547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37548 ac_ext=c
37549 ac_cpp='$CPP $CPPFLAGS'
37550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
37557 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
37558 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
37559 for ac_func in _ceill _floorl
37560 do :
37561 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
37562 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
37563 eval as_val=\$$as_ac_var
37564 if test "x$as_val" = x""yes; then :
37565 cat >>confdefs.h <<_ACEOF
37566 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
37567 _ACEOF
37570 done
37580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
37581 $as_echo_n "checking for isnanl declaration... " >&6; }
37582 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
37583 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
37584 $as_echo_n "(cached) " >&6
37585 else
37588 ac_ext=cpp
37589 ac_cpp='$CXXCPP $CPPFLAGS'
37590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37595 /* end confdefs.h. */
37596 #include <math.h>
37597 #ifdef HAVE_IEEEFP_H
37598 #include <ieeefp.h>
37599 #endif
37602 main ()
37604 isnanl(0);
37606 return 0;
37608 _ACEOF
37609 if ac_fn_cxx_try_compile "$LINENO"; then :
37610 glibcxx_cv_func_isnanl_use=yes
37611 else
37612 glibcxx_cv_func_isnanl_use=no
37614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37615 ac_ext=c
37616 ac_cpp='$CPP $CPPFLAGS'
37617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
37626 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
37628 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
37629 for ac_func in isnanl
37630 do :
37631 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
37632 if test "x$ac_cv_func_isnanl" = x""yes; then :
37633 cat >>confdefs.h <<_ACEOF
37634 #define HAVE_ISNANL 1
37635 _ACEOF
37638 done
37640 else
37642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
37643 $as_echo_n "checking for _isnanl declaration... " >&6; }
37644 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
37645 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
37646 $as_echo_n "(cached) " >&6
37647 else
37650 ac_ext=cpp
37651 ac_cpp='$CXXCPP $CPPFLAGS'
37652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37657 /* end confdefs.h. */
37658 #include <math.h>
37659 #ifdef HAVE_IEEEFP_H
37660 #include <ieeefp.h>
37661 #endif
37664 main ()
37666 _isnanl(0);
37668 return 0;
37670 _ACEOF
37671 if ac_fn_cxx_try_compile "$LINENO"; then :
37672 glibcxx_cv_func__isnanl_use=yes
37673 else
37674 glibcxx_cv_func__isnanl_use=no
37676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37677 ac_ext=c
37678 ac_cpp='$CPP $CPPFLAGS'
37679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
37688 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
37690 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
37691 for ac_func in _isnanl
37692 do :
37693 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
37694 if test "x$ac_cv_func__isnanl" = x""yes; then :
37695 cat >>confdefs.h <<_ACEOF
37696 #define HAVE__ISNANL 1
37697 _ACEOF
37700 done
37709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
37710 $as_echo_n "checking for isinfl declaration... " >&6; }
37711 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
37712 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
37713 $as_echo_n "(cached) " >&6
37714 else
37717 ac_ext=cpp
37718 ac_cpp='$CXXCPP $CPPFLAGS'
37719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37724 /* end confdefs.h. */
37725 #include <math.h>
37726 #ifdef HAVE_IEEEFP_H
37727 #include <ieeefp.h>
37728 #endif
37731 main ()
37733 isinfl(0);
37735 return 0;
37737 _ACEOF
37738 if ac_fn_cxx_try_compile "$LINENO"; then :
37739 glibcxx_cv_func_isinfl_use=yes
37740 else
37741 glibcxx_cv_func_isinfl_use=no
37743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37744 ac_ext=c
37745 ac_cpp='$CPP $CPPFLAGS'
37746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
37755 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
37757 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
37758 for ac_func in isinfl
37759 do :
37760 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
37761 if test "x$ac_cv_func_isinfl" = x""yes; then :
37762 cat >>confdefs.h <<_ACEOF
37763 #define HAVE_ISINFL 1
37764 _ACEOF
37767 done
37769 else
37771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
37772 $as_echo_n "checking for _isinfl declaration... " >&6; }
37773 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
37774 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
37775 $as_echo_n "(cached) " >&6
37776 else
37779 ac_ext=cpp
37780 ac_cpp='$CXXCPP $CPPFLAGS'
37781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37786 /* end confdefs.h. */
37787 #include <math.h>
37788 #ifdef HAVE_IEEEFP_H
37789 #include <ieeefp.h>
37790 #endif
37793 main ()
37795 _isinfl(0);
37797 return 0;
37799 _ACEOF
37800 if ac_fn_cxx_try_compile "$LINENO"; then :
37801 glibcxx_cv_func__isinfl_use=yes
37802 else
37803 glibcxx_cv_func__isinfl_use=no
37805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37806 ac_ext=c
37807 ac_cpp='$CPP $CPPFLAGS'
37808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
37817 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
37819 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
37820 for ac_func in _isinfl
37821 do :
37822 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
37823 if test "x$ac_cv_func__isinfl" = x""yes; then :
37824 cat >>confdefs.h <<_ACEOF
37825 #define HAVE__ISINFL 1
37826 _ACEOF
37829 done
37838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
37839 $as_echo_n "checking for atan2l declaration... " >&6; }
37840 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
37841 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
37842 $as_echo_n "(cached) " >&6
37843 else
37846 ac_ext=cpp
37847 ac_cpp='$CXXCPP $CPPFLAGS'
37848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37853 /* end confdefs.h. */
37854 #include <math.h>
37856 main ()
37858 atan2l(0, 0);
37860 return 0;
37862 _ACEOF
37863 if ac_fn_cxx_try_compile "$LINENO"; then :
37864 glibcxx_cv_func_atan2l_use=yes
37865 else
37866 glibcxx_cv_func_atan2l_use=no
37868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37869 ac_ext=c
37870 ac_cpp='$CPP $CPPFLAGS'
37871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
37880 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
37882 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
37883 for ac_func in atan2l
37884 do :
37885 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
37886 if test "x$ac_cv_func_atan2l" = x""yes; then :
37887 cat >>confdefs.h <<_ACEOF
37888 #define HAVE_ATAN2L 1
37889 _ACEOF
37892 done
37894 else
37896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
37897 $as_echo_n "checking for _atan2l declaration... " >&6; }
37898 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
37899 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
37900 $as_echo_n "(cached) " >&6
37901 else
37904 ac_ext=cpp
37905 ac_cpp='$CXXCPP $CPPFLAGS'
37906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37911 /* end confdefs.h. */
37912 #include <math.h>
37914 main ()
37916 _atan2l(0, 0);
37918 return 0;
37920 _ACEOF
37921 if ac_fn_cxx_try_compile "$LINENO"; then :
37922 glibcxx_cv_func__atan2l_use=yes
37923 else
37924 glibcxx_cv_func__atan2l_use=no
37926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37927 ac_ext=c
37928 ac_cpp='$CPP $CPPFLAGS'
37929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
37938 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
37940 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
37941 for ac_func in _atan2l
37942 do :
37943 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
37944 if test "x$ac_cv_func__atan2l" = x""yes; then :
37945 cat >>confdefs.h <<_ACEOF
37946 #define HAVE__ATAN2L 1
37947 _ACEOF
37950 done
37959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
37960 $as_echo_n "checking for expl declaration... " >&6; }
37961 if test x${glibcxx_cv_func_expl_use+set} != xset; then
37962 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
37963 $as_echo_n "(cached) " >&6
37964 else
37967 ac_ext=cpp
37968 ac_cpp='$CXXCPP $CPPFLAGS'
37969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37974 /* end confdefs.h. */
37975 #include <math.h>
37976 #ifdef HAVE_IEEEFP_H
37977 #include <ieeefp.h>
37978 #endif
37981 main ()
37983 expl(0);
37985 return 0;
37987 _ACEOF
37988 if ac_fn_cxx_try_compile "$LINENO"; then :
37989 glibcxx_cv_func_expl_use=yes
37990 else
37991 glibcxx_cv_func_expl_use=no
37993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37994 ac_ext=c
37995 ac_cpp='$CPP $CPPFLAGS'
37996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38005 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38007 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38008 for ac_func in expl
38009 do :
38010 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38011 if test "x$ac_cv_func_expl" = x""yes; then :
38012 cat >>confdefs.h <<_ACEOF
38013 #define HAVE_EXPL 1
38014 _ACEOF
38017 done
38019 else
38021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
38022 $as_echo_n "checking for _expl declaration... " >&6; }
38023 if test x${glibcxx_cv_func__expl_use+set} != xset; then
38024 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
38025 $as_echo_n "(cached) " >&6
38026 else
38029 ac_ext=cpp
38030 ac_cpp='$CXXCPP $CPPFLAGS'
38031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38036 /* end confdefs.h. */
38037 #include <math.h>
38038 #ifdef HAVE_IEEEFP_H
38039 #include <ieeefp.h>
38040 #endif
38043 main ()
38045 _expl(0);
38047 return 0;
38049 _ACEOF
38050 if ac_fn_cxx_try_compile "$LINENO"; then :
38051 glibcxx_cv_func__expl_use=yes
38052 else
38053 glibcxx_cv_func__expl_use=no
38055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38056 ac_ext=c
38057 ac_cpp='$CPP $CPPFLAGS'
38058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
38067 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
38069 if test x$glibcxx_cv_func__expl_use = x"yes"; then
38070 for ac_func in _expl
38071 do :
38072 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
38073 if test "x$ac_cv_func__expl" = x""yes; then :
38074 cat >>confdefs.h <<_ACEOF
38075 #define HAVE__EXPL 1
38076 _ACEOF
38079 done
38088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
38089 $as_echo_n "checking for fabsl declaration... " >&6; }
38090 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
38091 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
38092 $as_echo_n "(cached) " >&6
38093 else
38096 ac_ext=cpp
38097 ac_cpp='$CXXCPP $CPPFLAGS'
38098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38103 /* end confdefs.h. */
38104 #include <math.h>
38105 #ifdef HAVE_IEEEFP_H
38106 #include <ieeefp.h>
38107 #endif
38110 main ()
38112 fabsl(0);
38114 return 0;
38116 _ACEOF
38117 if ac_fn_cxx_try_compile "$LINENO"; then :
38118 glibcxx_cv_func_fabsl_use=yes
38119 else
38120 glibcxx_cv_func_fabsl_use=no
38122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38123 ac_ext=c
38124 ac_cpp='$CPP $CPPFLAGS'
38125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
38134 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
38136 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
38137 for ac_func in fabsl
38138 do :
38139 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
38140 if test "x$ac_cv_func_fabsl" = x""yes; then :
38141 cat >>confdefs.h <<_ACEOF
38142 #define HAVE_FABSL 1
38143 _ACEOF
38146 done
38148 else
38150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
38151 $as_echo_n "checking for _fabsl declaration... " >&6; }
38152 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
38153 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
38154 $as_echo_n "(cached) " >&6
38155 else
38158 ac_ext=cpp
38159 ac_cpp='$CXXCPP $CPPFLAGS'
38160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38165 /* end confdefs.h. */
38166 #include <math.h>
38167 #ifdef HAVE_IEEEFP_H
38168 #include <ieeefp.h>
38169 #endif
38172 main ()
38174 _fabsl(0);
38176 return 0;
38178 _ACEOF
38179 if ac_fn_cxx_try_compile "$LINENO"; then :
38180 glibcxx_cv_func__fabsl_use=yes
38181 else
38182 glibcxx_cv_func__fabsl_use=no
38184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38185 ac_ext=c
38186 ac_cpp='$CPP $CPPFLAGS'
38187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
38196 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
38198 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
38199 for ac_func in _fabsl
38200 do :
38201 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
38202 if test "x$ac_cv_func__fabsl" = x""yes; then :
38203 cat >>confdefs.h <<_ACEOF
38204 #define HAVE__FABSL 1
38205 _ACEOF
38208 done
38217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
38218 $as_echo_n "checking for fmodl declaration... " >&6; }
38219 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
38220 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
38221 $as_echo_n "(cached) " >&6
38222 else
38225 ac_ext=cpp
38226 ac_cpp='$CXXCPP $CPPFLAGS'
38227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38232 /* end confdefs.h. */
38233 #include <math.h>
38235 main ()
38237 fmodl(0, 0);
38239 return 0;
38241 _ACEOF
38242 if ac_fn_cxx_try_compile "$LINENO"; then :
38243 glibcxx_cv_func_fmodl_use=yes
38244 else
38245 glibcxx_cv_func_fmodl_use=no
38247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38248 ac_ext=c
38249 ac_cpp='$CPP $CPPFLAGS'
38250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
38259 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
38261 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
38262 for ac_func in fmodl
38263 do :
38264 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
38265 if test "x$ac_cv_func_fmodl" = x""yes; then :
38266 cat >>confdefs.h <<_ACEOF
38267 #define HAVE_FMODL 1
38268 _ACEOF
38271 done
38273 else
38275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
38276 $as_echo_n "checking for _fmodl declaration... " >&6; }
38277 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
38278 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
38279 $as_echo_n "(cached) " >&6
38280 else
38283 ac_ext=cpp
38284 ac_cpp='$CXXCPP $CPPFLAGS'
38285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38290 /* end confdefs.h. */
38291 #include <math.h>
38293 main ()
38295 _fmodl(0, 0);
38297 return 0;
38299 _ACEOF
38300 if ac_fn_cxx_try_compile "$LINENO"; then :
38301 glibcxx_cv_func__fmodl_use=yes
38302 else
38303 glibcxx_cv_func__fmodl_use=no
38305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38306 ac_ext=c
38307 ac_cpp='$CPP $CPPFLAGS'
38308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
38317 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
38319 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
38320 for ac_func in _fmodl
38321 do :
38322 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
38323 if test "x$ac_cv_func__fmodl" = x""yes; then :
38324 cat >>confdefs.h <<_ACEOF
38325 #define HAVE__FMODL 1
38326 _ACEOF
38329 done
38338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
38339 $as_echo_n "checking for frexpl declaration... " >&6; }
38340 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
38341 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
38342 $as_echo_n "(cached) " >&6
38343 else
38346 ac_ext=cpp
38347 ac_cpp='$CXXCPP $CPPFLAGS'
38348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38353 /* end confdefs.h. */
38354 #include <math.h>
38356 main ()
38358 frexpl(0, 0);
38360 return 0;
38362 _ACEOF
38363 if ac_fn_cxx_try_compile "$LINENO"; then :
38364 glibcxx_cv_func_frexpl_use=yes
38365 else
38366 glibcxx_cv_func_frexpl_use=no
38368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38369 ac_ext=c
38370 ac_cpp='$CPP $CPPFLAGS'
38371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
38380 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
38382 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
38383 for ac_func in frexpl
38384 do :
38385 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
38386 if test "x$ac_cv_func_frexpl" = x""yes; then :
38387 cat >>confdefs.h <<_ACEOF
38388 #define HAVE_FREXPL 1
38389 _ACEOF
38392 done
38394 else
38396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
38397 $as_echo_n "checking for _frexpl declaration... " >&6; }
38398 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
38399 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
38400 $as_echo_n "(cached) " >&6
38401 else
38404 ac_ext=cpp
38405 ac_cpp='$CXXCPP $CPPFLAGS'
38406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38411 /* end confdefs.h. */
38412 #include <math.h>
38414 main ()
38416 _frexpl(0, 0);
38418 return 0;
38420 _ACEOF
38421 if ac_fn_cxx_try_compile "$LINENO"; then :
38422 glibcxx_cv_func__frexpl_use=yes
38423 else
38424 glibcxx_cv_func__frexpl_use=no
38426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38427 ac_ext=c
38428 ac_cpp='$CPP $CPPFLAGS'
38429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
38438 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
38440 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
38441 for ac_func in _frexpl
38442 do :
38443 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
38444 if test "x$ac_cv_func__frexpl" = x""yes; then :
38445 cat >>confdefs.h <<_ACEOF
38446 #define HAVE__FREXPL 1
38447 _ACEOF
38450 done
38459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
38460 $as_echo_n "checking for hypotl declaration... " >&6; }
38461 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
38462 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
38463 $as_echo_n "(cached) " >&6
38464 else
38467 ac_ext=cpp
38468 ac_cpp='$CXXCPP $CPPFLAGS'
38469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38474 /* end confdefs.h. */
38475 #include <math.h>
38477 main ()
38479 hypotl(0, 0);
38481 return 0;
38483 _ACEOF
38484 if ac_fn_cxx_try_compile "$LINENO"; then :
38485 glibcxx_cv_func_hypotl_use=yes
38486 else
38487 glibcxx_cv_func_hypotl_use=no
38489 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38490 ac_ext=c
38491 ac_cpp='$CPP $CPPFLAGS'
38492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
38501 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
38503 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
38504 for ac_func in hypotl
38505 do :
38506 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
38507 if test "x$ac_cv_func_hypotl" = x""yes; then :
38508 cat >>confdefs.h <<_ACEOF
38509 #define HAVE_HYPOTL 1
38510 _ACEOF
38513 done
38515 else
38517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
38518 $as_echo_n "checking for _hypotl declaration... " >&6; }
38519 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
38520 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
38521 $as_echo_n "(cached) " >&6
38522 else
38525 ac_ext=cpp
38526 ac_cpp='$CXXCPP $CPPFLAGS'
38527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38532 /* end confdefs.h. */
38533 #include <math.h>
38535 main ()
38537 _hypotl(0, 0);
38539 return 0;
38541 _ACEOF
38542 if ac_fn_cxx_try_compile "$LINENO"; then :
38543 glibcxx_cv_func__hypotl_use=yes
38544 else
38545 glibcxx_cv_func__hypotl_use=no
38547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38548 ac_ext=c
38549 ac_cpp='$CPP $CPPFLAGS'
38550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
38559 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
38561 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
38562 for ac_func in _hypotl
38563 do :
38564 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
38565 if test "x$ac_cv_func__hypotl" = x""yes; then :
38566 cat >>confdefs.h <<_ACEOF
38567 #define HAVE__HYPOTL 1
38568 _ACEOF
38571 done
38580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
38581 $as_echo_n "checking for ldexpl declaration... " >&6; }
38582 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
38583 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
38584 $as_echo_n "(cached) " >&6
38585 else
38588 ac_ext=cpp
38589 ac_cpp='$CXXCPP $CPPFLAGS'
38590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38595 /* end confdefs.h. */
38596 #include <math.h>
38598 main ()
38600 ldexpl(0, 0);
38602 return 0;
38604 _ACEOF
38605 if ac_fn_cxx_try_compile "$LINENO"; then :
38606 glibcxx_cv_func_ldexpl_use=yes
38607 else
38608 glibcxx_cv_func_ldexpl_use=no
38610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38611 ac_ext=c
38612 ac_cpp='$CPP $CPPFLAGS'
38613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
38622 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
38624 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
38625 for ac_func in ldexpl
38626 do :
38627 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
38628 if test "x$ac_cv_func_ldexpl" = x""yes; then :
38629 cat >>confdefs.h <<_ACEOF
38630 #define HAVE_LDEXPL 1
38631 _ACEOF
38634 done
38636 else
38638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
38639 $as_echo_n "checking for _ldexpl declaration... " >&6; }
38640 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
38641 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
38642 $as_echo_n "(cached) " >&6
38643 else
38646 ac_ext=cpp
38647 ac_cpp='$CXXCPP $CPPFLAGS'
38648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38653 /* end confdefs.h. */
38654 #include <math.h>
38656 main ()
38658 _ldexpl(0, 0);
38660 return 0;
38662 _ACEOF
38663 if ac_fn_cxx_try_compile "$LINENO"; then :
38664 glibcxx_cv_func__ldexpl_use=yes
38665 else
38666 glibcxx_cv_func__ldexpl_use=no
38668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38669 ac_ext=c
38670 ac_cpp='$CPP $CPPFLAGS'
38671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
38680 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
38682 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
38683 for ac_func in _ldexpl
38684 do :
38685 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
38686 if test "x$ac_cv_func__ldexpl" = x""yes; then :
38687 cat >>confdefs.h <<_ACEOF
38688 #define HAVE__LDEXPL 1
38689 _ACEOF
38692 done
38701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
38702 $as_echo_n "checking for logl declaration... " >&6; }
38703 if test x${glibcxx_cv_func_logl_use+set} != xset; then
38704 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
38705 $as_echo_n "(cached) " >&6
38706 else
38709 ac_ext=cpp
38710 ac_cpp='$CXXCPP $CPPFLAGS'
38711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38716 /* end confdefs.h. */
38717 #include <math.h>
38718 #ifdef HAVE_IEEEFP_H
38719 #include <ieeefp.h>
38720 #endif
38723 main ()
38725 logl(0);
38727 return 0;
38729 _ACEOF
38730 if ac_fn_cxx_try_compile "$LINENO"; then :
38731 glibcxx_cv_func_logl_use=yes
38732 else
38733 glibcxx_cv_func_logl_use=no
38735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38736 ac_ext=c
38737 ac_cpp='$CPP $CPPFLAGS'
38738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
38747 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
38749 if test x$glibcxx_cv_func_logl_use = x"yes"; then
38750 for ac_func in logl
38751 do :
38752 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
38753 if test "x$ac_cv_func_logl" = x""yes; then :
38754 cat >>confdefs.h <<_ACEOF
38755 #define HAVE_LOGL 1
38756 _ACEOF
38759 done
38761 else
38763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
38764 $as_echo_n "checking for _logl declaration... " >&6; }
38765 if test x${glibcxx_cv_func__logl_use+set} != xset; then
38766 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
38767 $as_echo_n "(cached) " >&6
38768 else
38771 ac_ext=cpp
38772 ac_cpp='$CXXCPP $CPPFLAGS'
38773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38778 /* end confdefs.h. */
38779 #include <math.h>
38780 #ifdef HAVE_IEEEFP_H
38781 #include <ieeefp.h>
38782 #endif
38785 main ()
38787 _logl(0);
38789 return 0;
38791 _ACEOF
38792 if ac_fn_cxx_try_compile "$LINENO"; then :
38793 glibcxx_cv_func__logl_use=yes
38794 else
38795 glibcxx_cv_func__logl_use=no
38797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38798 ac_ext=c
38799 ac_cpp='$CPP $CPPFLAGS'
38800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
38809 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
38811 if test x$glibcxx_cv_func__logl_use = x"yes"; then
38812 for ac_func in _logl
38813 do :
38814 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
38815 if test "x$ac_cv_func__logl" = x""yes; then :
38816 cat >>confdefs.h <<_ACEOF
38817 #define HAVE__LOGL 1
38818 _ACEOF
38821 done
38830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
38831 $as_echo_n "checking for log10l declaration... " >&6; }
38832 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
38833 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
38834 $as_echo_n "(cached) " >&6
38835 else
38838 ac_ext=cpp
38839 ac_cpp='$CXXCPP $CPPFLAGS'
38840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38845 /* end confdefs.h. */
38846 #include <math.h>
38847 #ifdef HAVE_IEEEFP_H
38848 #include <ieeefp.h>
38849 #endif
38852 main ()
38854 log10l(0);
38856 return 0;
38858 _ACEOF
38859 if ac_fn_cxx_try_compile "$LINENO"; then :
38860 glibcxx_cv_func_log10l_use=yes
38861 else
38862 glibcxx_cv_func_log10l_use=no
38864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38865 ac_ext=c
38866 ac_cpp='$CPP $CPPFLAGS'
38867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
38876 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
38878 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
38879 for ac_func in log10l
38880 do :
38881 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
38882 if test "x$ac_cv_func_log10l" = x""yes; then :
38883 cat >>confdefs.h <<_ACEOF
38884 #define HAVE_LOG10L 1
38885 _ACEOF
38888 done
38890 else
38892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
38893 $as_echo_n "checking for _log10l declaration... " >&6; }
38894 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
38895 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
38896 $as_echo_n "(cached) " >&6
38897 else
38900 ac_ext=cpp
38901 ac_cpp='$CXXCPP $CPPFLAGS'
38902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38907 /* end confdefs.h. */
38908 #include <math.h>
38909 #ifdef HAVE_IEEEFP_H
38910 #include <ieeefp.h>
38911 #endif
38914 main ()
38916 _log10l(0);
38918 return 0;
38920 _ACEOF
38921 if ac_fn_cxx_try_compile "$LINENO"; then :
38922 glibcxx_cv_func__log10l_use=yes
38923 else
38924 glibcxx_cv_func__log10l_use=no
38926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38927 ac_ext=c
38928 ac_cpp='$CPP $CPPFLAGS'
38929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
38938 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
38940 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
38941 for ac_func in _log10l
38942 do :
38943 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
38944 if test "x$ac_cv_func__log10l" = x""yes; then :
38945 cat >>confdefs.h <<_ACEOF
38946 #define HAVE__LOG10L 1
38947 _ACEOF
38950 done
38959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
38960 $as_echo_n "checking for modfl declaration... " >&6; }
38961 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
38962 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
38963 $as_echo_n "(cached) " >&6
38964 else
38967 ac_ext=cpp
38968 ac_cpp='$CXXCPP $CPPFLAGS'
38969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38974 /* end confdefs.h. */
38975 #include <math.h>
38977 main ()
38979 modfl(0, 0);
38981 return 0;
38983 _ACEOF
38984 if ac_fn_cxx_try_compile "$LINENO"; then :
38985 glibcxx_cv_func_modfl_use=yes
38986 else
38987 glibcxx_cv_func_modfl_use=no
38989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38990 ac_ext=c
38991 ac_cpp='$CPP $CPPFLAGS'
38992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39001 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39003 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39004 for ac_func in modfl
39005 do :
39006 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39007 if test "x$ac_cv_func_modfl" = x""yes; then :
39008 cat >>confdefs.h <<_ACEOF
39009 #define HAVE_MODFL 1
39010 _ACEOF
39013 done
39015 else
39017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
39018 $as_echo_n "checking for _modfl declaration... " >&6; }
39019 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
39020 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
39021 $as_echo_n "(cached) " >&6
39022 else
39025 ac_ext=cpp
39026 ac_cpp='$CXXCPP $CPPFLAGS'
39027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39032 /* end confdefs.h. */
39033 #include <math.h>
39035 main ()
39037 _modfl(0, 0);
39039 return 0;
39041 _ACEOF
39042 if ac_fn_cxx_try_compile "$LINENO"; then :
39043 glibcxx_cv_func__modfl_use=yes
39044 else
39045 glibcxx_cv_func__modfl_use=no
39047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39048 ac_ext=c
39049 ac_cpp='$CPP $CPPFLAGS'
39050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
39059 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
39061 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
39062 for ac_func in _modfl
39063 do :
39064 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
39065 if test "x$ac_cv_func__modfl" = x""yes; then :
39066 cat >>confdefs.h <<_ACEOF
39067 #define HAVE__MODFL 1
39068 _ACEOF
39071 done
39080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
39081 $as_echo_n "checking for powl declaration... " >&6; }
39082 if test x${glibcxx_cv_func_powl_use+set} != xset; then
39083 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
39084 $as_echo_n "(cached) " >&6
39085 else
39088 ac_ext=cpp
39089 ac_cpp='$CXXCPP $CPPFLAGS'
39090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39095 /* end confdefs.h. */
39096 #include <math.h>
39098 main ()
39100 powl(0, 0);
39102 return 0;
39104 _ACEOF
39105 if ac_fn_cxx_try_compile "$LINENO"; then :
39106 glibcxx_cv_func_powl_use=yes
39107 else
39108 glibcxx_cv_func_powl_use=no
39110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39111 ac_ext=c
39112 ac_cpp='$CPP $CPPFLAGS'
39113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
39122 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
39124 if test x$glibcxx_cv_func_powl_use = x"yes"; then
39125 for ac_func in powl
39126 do :
39127 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
39128 if test "x$ac_cv_func_powl" = x""yes; then :
39129 cat >>confdefs.h <<_ACEOF
39130 #define HAVE_POWL 1
39131 _ACEOF
39134 done
39136 else
39138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
39139 $as_echo_n "checking for _powl declaration... " >&6; }
39140 if test x${glibcxx_cv_func__powl_use+set} != xset; then
39141 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
39142 $as_echo_n "(cached) " >&6
39143 else
39146 ac_ext=cpp
39147 ac_cpp='$CXXCPP $CPPFLAGS'
39148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39153 /* end confdefs.h. */
39154 #include <math.h>
39156 main ()
39158 _powl(0, 0);
39160 return 0;
39162 _ACEOF
39163 if ac_fn_cxx_try_compile "$LINENO"; then :
39164 glibcxx_cv_func__powl_use=yes
39165 else
39166 glibcxx_cv_func__powl_use=no
39168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39169 ac_ext=c
39170 ac_cpp='$CPP $CPPFLAGS'
39171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
39180 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
39182 if test x$glibcxx_cv_func__powl_use = x"yes"; then
39183 for ac_func in _powl
39184 do :
39185 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
39186 if test "x$ac_cv_func__powl" = x""yes; then :
39187 cat >>confdefs.h <<_ACEOF
39188 #define HAVE__POWL 1
39189 _ACEOF
39192 done
39201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
39202 $as_echo_n "checking for sqrtl declaration... " >&6; }
39203 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
39204 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
39205 $as_echo_n "(cached) " >&6
39206 else
39209 ac_ext=cpp
39210 ac_cpp='$CXXCPP $CPPFLAGS'
39211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39216 /* end confdefs.h. */
39217 #include <math.h>
39218 #ifdef HAVE_IEEEFP_H
39219 #include <ieeefp.h>
39220 #endif
39223 main ()
39225 sqrtl(0);
39227 return 0;
39229 _ACEOF
39230 if ac_fn_cxx_try_compile "$LINENO"; then :
39231 glibcxx_cv_func_sqrtl_use=yes
39232 else
39233 glibcxx_cv_func_sqrtl_use=no
39235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39236 ac_ext=c
39237 ac_cpp='$CPP $CPPFLAGS'
39238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
39247 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
39249 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
39250 for ac_func in sqrtl
39251 do :
39252 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
39253 if test "x$ac_cv_func_sqrtl" = x""yes; then :
39254 cat >>confdefs.h <<_ACEOF
39255 #define HAVE_SQRTL 1
39256 _ACEOF
39259 done
39261 else
39263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
39264 $as_echo_n "checking for _sqrtl declaration... " >&6; }
39265 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
39266 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
39267 $as_echo_n "(cached) " >&6
39268 else
39271 ac_ext=cpp
39272 ac_cpp='$CXXCPP $CPPFLAGS'
39273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39278 /* end confdefs.h. */
39279 #include <math.h>
39280 #ifdef HAVE_IEEEFP_H
39281 #include <ieeefp.h>
39282 #endif
39285 main ()
39287 _sqrtl(0);
39289 return 0;
39291 _ACEOF
39292 if ac_fn_cxx_try_compile "$LINENO"; then :
39293 glibcxx_cv_func__sqrtl_use=yes
39294 else
39295 glibcxx_cv_func__sqrtl_use=no
39297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39298 ac_ext=c
39299 ac_cpp='$CPP $CPPFLAGS'
39300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
39309 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
39311 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
39312 for ac_func in _sqrtl
39313 do :
39314 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
39315 if test "x$ac_cv_func__sqrtl" = x""yes; then :
39316 cat >>confdefs.h <<_ACEOF
39317 #define HAVE__SQRTL 1
39318 _ACEOF
39321 done
39330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
39331 $as_echo_n "checking for sincosl declaration... " >&6; }
39332 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
39333 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
39334 $as_echo_n "(cached) " >&6
39335 else
39338 ac_ext=cpp
39339 ac_cpp='$CXXCPP $CPPFLAGS'
39340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39345 /* end confdefs.h. */
39346 #include <math.h>
39348 main ()
39350 sincosl(0, 0, 0);
39352 return 0;
39354 _ACEOF
39355 if ac_fn_cxx_try_compile "$LINENO"; then :
39356 glibcxx_cv_func_sincosl_use=yes
39357 else
39358 glibcxx_cv_func_sincosl_use=no
39360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39361 ac_ext=c
39362 ac_cpp='$CPP $CPPFLAGS'
39363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
39372 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
39374 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
39375 for ac_func in sincosl
39376 do :
39377 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
39378 if test "x$ac_cv_func_sincosl" = x""yes; then :
39379 cat >>confdefs.h <<_ACEOF
39380 #define HAVE_SINCOSL 1
39381 _ACEOF
39384 done
39386 else
39388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
39389 $as_echo_n "checking for _sincosl declaration... " >&6; }
39390 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
39391 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
39392 $as_echo_n "(cached) " >&6
39393 else
39396 ac_ext=cpp
39397 ac_cpp='$CXXCPP $CPPFLAGS'
39398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39403 /* end confdefs.h. */
39404 #include <math.h>
39406 main ()
39408 _sincosl(0, 0, 0);
39410 return 0;
39412 _ACEOF
39413 if ac_fn_cxx_try_compile "$LINENO"; then :
39414 glibcxx_cv_func__sincosl_use=yes
39415 else
39416 glibcxx_cv_func__sincosl_use=no
39418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39419 ac_ext=c
39420 ac_cpp='$CPP $CPPFLAGS'
39421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
39430 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
39432 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
39433 for ac_func in _sincosl
39434 do :
39435 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
39436 if test "x$ac_cv_func__sincosl" = x""yes; then :
39437 cat >>confdefs.h <<_ACEOF
39438 #define HAVE__SINCOSL 1
39439 _ACEOF
39442 done
39451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
39452 $as_echo_n "checking for finitel declaration... " >&6; }
39453 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
39454 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
39455 $as_echo_n "(cached) " >&6
39456 else
39459 ac_ext=cpp
39460 ac_cpp='$CXXCPP $CPPFLAGS'
39461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39466 /* end confdefs.h. */
39467 #include <math.h>
39468 #ifdef HAVE_IEEEFP_H
39469 #include <ieeefp.h>
39470 #endif
39473 main ()
39475 finitel(0);
39477 return 0;
39479 _ACEOF
39480 if ac_fn_cxx_try_compile "$LINENO"; then :
39481 glibcxx_cv_func_finitel_use=yes
39482 else
39483 glibcxx_cv_func_finitel_use=no
39485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39486 ac_ext=c
39487 ac_cpp='$CPP $CPPFLAGS'
39488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
39497 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
39499 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
39500 for ac_func in finitel
39501 do :
39502 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
39503 if test "x$ac_cv_func_finitel" = x""yes; then :
39504 cat >>confdefs.h <<_ACEOF
39505 #define HAVE_FINITEL 1
39506 _ACEOF
39509 done
39511 else
39513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
39514 $as_echo_n "checking for _finitel declaration... " >&6; }
39515 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
39516 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
39517 $as_echo_n "(cached) " >&6
39518 else
39521 ac_ext=cpp
39522 ac_cpp='$CXXCPP $CPPFLAGS'
39523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39528 /* end confdefs.h. */
39529 #include <math.h>
39530 #ifdef HAVE_IEEEFP_H
39531 #include <ieeefp.h>
39532 #endif
39535 main ()
39537 _finitel(0);
39539 return 0;
39541 _ACEOF
39542 if ac_fn_cxx_try_compile "$LINENO"; then :
39543 glibcxx_cv_func__finitel_use=yes
39544 else
39545 glibcxx_cv_func__finitel_use=no
39547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39548 ac_ext=c
39549 ac_cpp='$CPP $CPPFLAGS'
39550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
39559 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
39561 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
39562 for ac_func in _finitel
39563 do :
39564 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
39565 if test "x$ac_cv_func__finitel" = x""yes; then :
39566 cat >>confdefs.h <<_ACEOF
39567 #define HAVE__FINITEL 1
39568 _ACEOF
39571 done
39579 LIBS="$ac_save_LIBS"
39580 CXXFLAGS="$ac_save_CXXFLAGS"
39583 ac_test_CXXFLAGS="${CXXFLAGS+set}"
39584 ac_save_CXXFLAGS="$CXXFLAGS"
39585 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
39588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
39589 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
39590 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
39591 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
39592 $as_echo_n "(cached) " >&6
39593 else
39596 ac_ext=cpp
39597 ac_cpp='$CXXCPP $CPPFLAGS'
39598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39603 /* end confdefs.h. */
39604 #include <stdlib.h>
39606 main ()
39608 at_quick_exit(0);
39610 return 0;
39612 _ACEOF
39613 if ac_fn_cxx_try_compile "$LINENO"; then :
39614 glibcxx_cv_func_at_quick_exit_use=yes
39615 else
39616 glibcxx_cv_func_at_quick_exit_use=no
39618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39619 ac_ext=c
39620 ac_cpp='$CPP $CPPFLAGS'
39621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
39630 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
39631 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
39632 for ac_func in at_quick_exit
39633 do :
39634 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
39635 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
39636 cat >>confdefs.h <<_ACEOF
39637 #define HAVE_AT_QUICK_EXIT 1
39638 _ACEOF
39641 done
39646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
39647 $as_echo_n "checking for quick_exit declaration... " >&6; }
39648 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
39649 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
39650 $as_echo_n "(cached) " >&6
39651 else
39654 ac_ext=cpp
39655 ac_cpp='$CXXCPP $CPPFLAGS'
39656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39661 /* end confdefs.h. */
39662 #include <stdlib.h>
39664 main ()
39666 quick_exit(0);
39668 return 0;
39670 _ACEOF
39671 if ac_fn_cxx_try_compile "$LINENO"; then :
39672 glibcxx_cv_func_quick_exit_use=yes
39673 else
39674 glibcxx_cv_func_quick_exit_use=no
39676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39677 ac_ext=c
39678 ac_cpp='$CPP $CPPFLAGS'
39679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
39688 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
39689 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
39690 for ac_func in quick_exit
39691 do :
39692 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
39693 if test "x$ac_cv_func_quick_exit" = x""yes; then :
39694 cat >>confdefs.h <<_ACEOF
39695 #define HAVE_QUICK_EXIT 1
39696 _ACEOF
39699 done
39704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
39705 $as_echo_n "checking for strtold declaration... " >&6; }
39706 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
39707 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
39708 $as_echo_n "(cached) " >&6
39709 else
39712 ac_ext=cpp
39713 ac_cpp='$CXXCPP $CPPFLAGS'
39714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39719 /* end confdefs.h. */
39720 #include <stdlib.h>
39722 main ()
39724 strtold(0, 0);
39726 return 0;
39728 _ACEOF
39729 if ac_fn_cxx_try_compile "$LINENO"; then :
39730 glibcxx_cv_func_strtold_use=yes
39731 else
39732 glibcxx_cv_func_strtold_use=no
39734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39735 ac_ext=c
39736 ac_cpp='$CPP $CPPFLAGS'
39737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
39746 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
39747 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
39748 for ac_func in strtold
39749 do :
39750 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
39751 if test "x$ac_cv_func_strtold" = x""yes; then :
39752 cat >>confdefs.h <<_ACEOF
39753 #define HAVE_STRTOLD 1
39754 _ACEOF
39757 done
39764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
39765 $as_echo_n "checking for strtof declaration... " >&6; }
39766 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
39767 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
39768 $as_echo_n "(cached) " >&6
39769 else
39772 ac_ext=cpp
39773 ac_cpp='$CXXCPP $CPPFLAGS'
39774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39779 /* end confdefs.h. */
39780 #include <stdlib.h>
39782 main ()
39784 strtof(0, 0);
39786 return 0;
39788 _ACEOF
39789 if ac_fn_cxx_try_compile "$LINENO"; then :
39790 glibcxx_cv_func_strtof_use=yes
39791 else
39792 glibcxx_cv_func_strtof_use=no
39794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39795 ac_ext=c
39796 ac_cpp='$CPP $CPPFLAGS'
39797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
39806 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
39807 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
39808 for ac_func in strtof
39809 do :
39810 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
39811 if test "x$ac_cv_func_strtof" = x""yes; then :
39812 cat >>confdefs.h <<_ACEOF
39813 #define HAVE_STRTOF 1
39814 _ACEOF
39817 done
39824 CXXFLAGS="$ac_save_CXXFLAGS"
39831 am_save_CPPFLAGS="$CPPFLAGS"
39833 for element in $INCICONV; do
39834 haveit=
39835 for x in $CPPFLAGS; do
39837 acl_save_prefix="$prefix"
39838 prefix="$acl_final_prefix"
39839 acl_save_exec_prefix="$exec_prefix"
39840 exec_prefix="$acl_final_exec_prefix"
39841 eval x=\"$x\"
39842 exec_prefix="$acl_save_exec_prefix"
39843 prefix="$acl_save_prefix"
39845 if test "X$x" = "X$element"; then
39846 haveit=yes
39847 break
39849 done
39850 if test -z "$haveit"; then
39851 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
39853 done
39856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
39857 $as_echo_n "checking for iconv... " >&6; }
39858 if test "${am_cv_func_iconv+set}" = set; then :
39859 $as_echo_n "(cached) " >&6
39860 else
39862 am_cv_func_iconv="no, consider installing GNU libiconv"
39863 am_cv_lib_iconv=no
39864 if test x$gcc_no_link = xyes; then
39865 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39868 /* end confdefs.h. */
39869 #include <stdlib.h>
39870 #include <iconv.h>
39872 main ()
39874 iconv_t cd = iconv_open("","");
39875 iconv(cd,NULL,NULL,NULL,NULL);
39876 iconv_close(cd);
39878 return 0;
39880 _ACEOF
39881 if ac_fn_c_try_link "$LINENO"; then :
39882 am_cv_func_iconv=yes
39884 rm -f core conftest.err conftest.$ac_objext \
39885 conftest$ac_exeext conftest.$ac_ext
39886 if test "$am_cv_func_iconv" != yes; then
39887 am_save_LIBS="$LIBS"
39888 LIBS="$LIBS $LIBICONV"
39889 if test x$gcc_no_link = xyes; then
39890 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
39892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39893 /* end confdefs.h. */
39894 #include <stdlib.h>
39895 #include <iconv.h>
39897 main ()
39899 iconv_t cd = iconv_open("","");
39900 iconv(cd,NULL,NULL,NULL,NULL);
39901 iconv_close(cd);
39903 return 0;
39905 _ACEOF
39906 if ac_fn_c_try_link "$LINENO"; then :
39907 am_cv_lib_iconv=yes
39908 am_cv_func_iconv=yes
39910 rm -f core conftest.err conftest.$ac_objext \
39911 conftest$ac_exeext conftest.$ac_ext
39912 LIBS="$am_save_LIBS"
39916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
39917 $as_echo "$am_cv_func_iconv" >&6; }
39918 if test "$am_cv_func_iconv" = yes; then
39920 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
39923 if test "$am_cv_lib_iconv" = yes; then
39924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
39925 $as_echo_n "checking how to link with libiconv... " >&6; }
39926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
39927 $as_echo "$LIBICONV" >&6; }
39928 else
39929 CPPFLAGS="$am_save_CPPFLAGS"
39930 LIBICONV=
39931 LTLIBICONV=
39936 if test "$am_cv_func_iconv" = yes; then
39937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
39938 $as_echo_n "checking for iconv declaration... " >&6; }
39939 if test "${am_cv_proto_iconv+set}" = set; then :
39940 $as_echo_n "(cached) " >&6
39941 else
39943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39944 /* end confdefs.h. */
39946 #include <stdlib.h>
39947 #include <iconv.h>
39948 extern
39949 #ifdef __cplusplus
39951 #endif
39952 #if defined(__STDC__) || defined(__cplusplus)
39953 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
39954 #else
39955 size_t iconv();
39956 #endif
39959 main ()
39963 return 0;
39965 _ACEOF
39966 if ac_fn_c_try_compile "$LINENO"; then :
39967 am_cv_proto_iconv_arg1=""
39968 else
39969 am_cv_proto_iconv_arg1="const"
39971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39972 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);"
39975 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
39976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
39977 }$am_cv_proto_iconv" >&5
39978 $as_echo "${ac_t:-
39979 }$am_cv_proto_iconv" >&6; }
39981 cat >>confdefs.h <<_ACEOF
39982 #define ICONV_CONST $am_cv_proto_iconv_arg1
39983 _ACEOF
39989 *-aix*)
39991 # If we're not using GNU ld, then there's no point in even trying these
39992 # tests. Check for that first. We should have already tested for gld
39993 # by now (in libtool), but require it now just to be safe...
39994 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
39995 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
39999 # The name set by libtool depends on the version of libtool. Shame on us
40000 # for depending on an impl detail, but c'est la vie. Older versions used
40001 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
40002 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
40003 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
40004 # set (hence we're using an older libtool), then set it.
40005 if test x${with_gnu_ld+set} != xset; then
40006 if test x${ac_cv_prog_gnu_ld+set} != xset; then
40007 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
40008 with_gnu_ld=no
40009 else
40010 with_gnu_ld=$ac_cv_prog_gnu_ld
40014 # Start by getting the version number. I think the libtool test already
40015 # does some of this, but throws away the result.
40016 glibcxx_ld_is_gold=no
40017 if test x"$with_gnu_ld" = x"yes"; then
40018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
40019 $as_echo_n "checking for ld version... " >&6; }
40021 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
40022 glibcxx_ld_is_gold=yes
40024 ldver=`$LD --version 2>/dev/null |
40025 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'`
40027 glibcxx_gnu_ld_version=`echo $ldver | \
40028 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
40029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
40030 $as_echo "$glibcxx_gnu_ld_version" >&6; }
40033 # Set --gc-sections.
40034 glibcxx_have_gc_sections=no
40035 if test "$glibcxx_ld_is_gold" = "yes"; then
40036 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
40037 glibcxx_have_gc_sections=yes
40039 else
40040 glibcxx_gcsections_min_ld=21602
40041 if test x"$with_gnu_ld" = x"yes" &&
40042 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
40043 glibcxx_have_gc_sections=yes
40046 if test "$glibcxx_have_gc_sections" = "yes"; then
40047 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
40048 # NB: This flag only works reliably after 2.16.1. Configure tests
40049 # for this are difficult, so hard wire a value that should work.
40051 ac_test_CFLAGS="${CFLAGS+set}"
40052 ac_save_CFLAGS="$CFLAGS"
40053 CFLAGS='-Wl,--gc-sections'
40055 # Check for -Wl,--gc-sections
40056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
40057 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
40058 if test x$gcc_no_link = xyes; then
40059 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40062 /* end confdefs.h. */
40063 int one(void) { return 1; }
40064 int two(void) { return 2; }
40067 main ()
40069 two();
40071 return 0;
40073 _ACEOF
40074 if ac_fn_c_try_link "$LINENO"; then :
40075 ac_gcsections=yes
40076 else
40077 ac_gcsections=no
40079 rm -f core conftest.err conftest.$ac_objext \
40080 conftest$ac_exeext conftest.$ac_ext
40081 if test "$ac_gcsections" = "yes"; then
40082 rm -f conftest.c
40083 touch conftest.c
40084 if $CC -c conftest.c; then
40085 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
40086 grep "Warning: gc-sections option ignored" > /dev/null; then
40087 ac_gcsections=no
40090 rm -f conftest.c conftest.o conftest
40092 if test "$ac_gcsections" = "yes"; then
40093 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
40095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
40096 $as_echo "$ac_gcsections" >&6; }
40098 if test "$ac_test_CFLAGS" = set; then
40099 CFLAGS="$ac_save_CFLAGS"
40100 else
40101 # this is the suspicious part
40102 CFLAGS=''
40106 # Set -z,relro.
40107 # Note this is only for shared objects.
40108 ac_ld_relro=no
40109 if test x"$with_gnu_ld" = x"yes"; then
40110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
40111 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
40112 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
40113 if test -n "$cxx_z_relo"; then
40114 OPT_LDFLAGS="-Wl,-z,relro"
40115 ac_ld_relro=yes
40117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
40118 $as_echo "$ac_ld_relro" >&6; }
40121 # Set linker optimization flags.
40122 if test x"$with_gnu_ld" = x"yes"; then
40123 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
40130 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40131 ac_save_CXXFLAGS="$CXXFLAGS"
40132 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
40135 $as_echo_n "checking for sin in -lm... " >&6; }
40136 if test "${ac_cv_lib_m_sin+set}" = set; then :
40137 $as_echo_n "(cached) " >&6
40138 else
40139 ac_check_lib_save_LIBS=$LIBS
40140 LIBS="-lm $LIBS"
40141 if test x$gcc_no_link = xyes; then
40142 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40145 /* end confdefs.h. */
40147 /* Override any GCC internal prototype to avoid an error.
40148 Use char because int might match the return type of a GCC
40149 builtin and then its argument prototype would still apply. */
40150 #ifdef __cplusplus
40151 extern "C"
40152 #endif
40153 char sin ();
40155 main ()
40157 return sin ();
40159 return 0;
40161 _ACEOF
40162 if ac_fn_c_try_link "$LINENO"; then :
40163 ac_cv_lib_m_sin=yes
40164 else
40165 ac_cv_lib_m_sin=no
40167 rm -f core conftest.err conftest.$ac_objext \
40168 conftest$ac_exeext conftest.$ac_ext
40169 LIBS=$ac_check_lib_save_LIBS
40171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
40172 $as_echo "$ac_cv_lib_m_sin" >&6; }
40173 if test "x$ac_cv_lib_m_sin" = x""yes; then :
40174 libm="-lm"
40177 ac_save_LIBS="$LIBS"
40178 LIBS="$LIBS $libm"
40182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
40183 $as_echo_n "checking for isinf declaration... " >&6; }
40184 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
40185 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
40186 $as_echo_n "(cached) " >&6
40187 else
40190 ac_ext=cpp
40191 ac_cpp='$CXXCPP $CPPFLAGS'
40192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40197 /* end confdefs.h. */
40198 #include <math.h>
40199 #ifdef HAVE_IEEEFP_H
40200 #include <ieeefp.h>
40201 #endif
40204 main ()
40206 isinf(0);
40208 return 0;
40210 _ACEOF
40211 if ac_fn_cxx_try_compile "$LINENO"; then :
40212 glibcxx_cv_func_isinf_use=yes
40213 else
40214 glibcxx_cv_func_isinf_use=no
40216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40217 ac_ext=c
40218 ac_cpp='$CPP $CPPFLAGS'
40219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
40228 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
40230 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
40231 for ac_func in isinf
40232 do :
40233 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
40234 if test "x$ac_cv_func_isinf" = x""yes; then :
40235 cat >>confdefs.h <<_ACEOF
40236 #define HAVE_ISINF 1
40237 _ACEOF
40240 done
40242 else
40244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
40245 $as_echo_n "checking for _isinf declaration... " >&6; }
40246 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
40247 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
40248 $as_echo_n "(cached) " >&6
40249 else
40252 ac_ext=cpp
40253 ac_cpp='$CXXCPP $CPPFLAGS'
40254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40259 /* end confdefs.h. */
40260 #include <math.h>
40261 #ifdef HAVE_IEEEFP_H
40262 #include <ieeefp.h>
40263 #endif
40266 main ()
40268 _isinf(0);
40270 return 0;
40272 _ACEOF
40273 if ac_fn_cxx_try_compile "$LINENO"; then :
40274 glibcxx_cv_func__isinf_use=yes
40275 else
40276 glibcxx_cv_func__isinf_use=no
40278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40279 ac_ext=c
40280 ac_cpp='$CPP $CPPFLAGS'
40281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
40290 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
40292 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
40293 for ac_func in _isinf
40294 do :
40295 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
40296 if test "x$ac_cv_func__isinf" = x""yes; then :
40297 cat >>confdefs.h <<_ACEOF
40298 #define HAVE__ISINF 1
40299 _ACEOF
40302 done
40311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
40312 $as_echo_n "checking for isnan declaration... " >&6; }
40313 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
40314 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
40315 $as_echo_n "(cached) " >&6
40316 else
40319 ac_ext=cpp
40320 ac_cpp='$CXXCPP $CPPFLAGS'
40321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40326 /* end confdefs.h. */
40327 #include <math.h>
40328 #ifdef HAVE_IEEEFP_H
40329 #include <ieeefp.h>
40330 #endif
40333 main ()
40335 isnan(0);
40337 return 0;
40339 _ACEOF
40340 if ac_fn_cxx_try_compile "$LINENO"; then :
40341 glibcxx_cv_func_isnan_use=yes
40342 else
40343 glibcxx_cv_func_isnan_use=no
40345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40346 ac_ext=c
40347 ac_cpp='$CPP $CPPFLAGS'
40348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
40357 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
40359 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
40360 for ac_func in isnan
40361 do :
40362 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
40363 if test "x$ac_cv_func_isnan" = x""yes; then :
40364 cat >>confdefs.h <<_ACEOF
40365 #define HAVE_ISNAN 1
40366 _ACEOF
40369 done
40371 else
40373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
40374 $as_echo_n "checking for _isnan declaration... " >&6; }
40375 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
40376 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
40377 $as_echo_n "(cached) " >&6
40378 else
40381 ac_ext=cpp
40382 ac_cpp='$CXXCPP $CPPFLAGS'
40383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40388 /* end confdefs.h. */
40389 #include <math.h>
40390 #ifdef HAVE_IEEEFP_H
40391 #include <ieeefp.h>
40392 #endif
40395 main ()
40397 _isnan(0);
40399 return 0;
40401 _ACEOF
40402 if ac_fn_cxx_try_compile "$LINENO"; then :
40403 glibcxx_cv_func__isnan_use=yes
40404 else
40405 glibcxx_cv_func__isnan_use=no
40407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40408 ac_ext=c
40409 ac_cpp='$CPP $CPPFLAGS'
40410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
40419 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
40421 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
40422 for ac_func in _isnan
40423 do :
40424 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
40425 if test "x$ac_cv_func__isnan" = x""yes; then :
40426 cat >>confdefs.h <<_ACEOF
40427 #define HAVE__ISNAN 1
40428 _ACEOF
40431 done
40440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
40441 $as_echo_n "checking for finite declaration... " >&6; }
40442 if test x${glibcxx_cv_func_finite_use+set} != xset; then
40443 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
40444 $as_echo_n "(cached) " >&6
40445 else
40448 ac_ext=cpp
40449 ac_cpp='$CXXCPP $CPPFLAGS'
40450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40455 /* end confdefs.h. */
40456 #include <math.h>
40457 #ifdef HAVE_IEEEFP_H
40458 #include <ieeefp.h>
40459 #endif
40462 main ()
40464 finite(0);
40466 return 0;
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func_finite_use=yes
40471 else
40472 glibcxx_cv_func_finite_use=no
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475 ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
40486 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
40488 if test x$glibcxx_cv_func_finite_use = x"yes"; then
40489 for ac_func in finite
40490 do :
40491 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
40492 if test "x$ac_cv_func_finite" = x""yes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE_FINITE 1
40495 _ACEOF
40498 done
40500 else
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
40503 $as_echo_n "checking for _finite declaration... " >&6; }
40504 if test x${glibcxx_cv_func__finite_use+set} != xset; then
40505 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
40506 $as_echo_n "(cached) " >&6
40507 else
40510 ac_ext=cpp
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40517 /* end confdefs.h. */
40518 #include <math.h>
40519 #ifdef HAVE_IEEEFP_H
40520 #include <ieeefp.h>
40521 #endif
40524 main ()
40526 _finite(0);
40528 return 0;
40530 _ACEOF
40531 if ac_fn_cxx_try_compile "$LINENO"; then :
40532 glibcxx_cv_func__finite_use=yes
40533 else
40534 glibcxx_cv_func__finite_use=no
40536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40537 ac_ext=c
40538 ac_cpp='$CPP $CPPFLAGS'
40539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
40548 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
40550 if test x$glibcxx_cv_func__finite_use = x"yes"; then
40551 for ac_func in _finite
40552 do :
40553 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
40554 if test "x$ac_cv_func__finite" = x""yes; then :
40555 cat >>confdefs.h <<_ACEOF
40556 #define HAVE__FINITE 1
40557 _ACEOF
40560 done
40569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
40570 $as_echo_n "checking for sincos declaration... " >&6; }
40571 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
40572 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
40573 $as_echo_n "(cached) " >&6
40574 else
40577 ac_ext=cpp
40578 ac_cpp='$CXXCPP $CPPFLAGS'
40579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40584 /* end confdefs.h. */
40585 #include <math.h>
40587 main ()
40589 sincos(0, 0, 0);
40591 return 0;
40593 _ACEOF
40594 if ac_fn_cxx_try_compile "$LINENO"; then :
40595 glibcxx_cv_func_sincos_use=yes
40596 else
40597 glibcxx_cv_func_sincos_use=no
40599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40600 ac_ext=c
40601 ac_cpp='$CPP $CPPFLAGS'
40602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
40611 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
40613 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
40614 for ac_func in sincos
40615 do :
40616 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
40617 if test "x$ac_cv_func_sincos" = x""yes; then :
40618 cat >>confdefs.h <<_ACEOF
40619 #define HAVE_SINCOS 1
40620 _ACEOF
40623 done
40625 else
40627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
40628 $as_echo_n "checking for _sincos declaration... " >&6; }
40629 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
40630 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
40631 $as_echo_n "(cached) " >&6
40632 else
40635 ac_ext=cpp
40636 ac_cpp='$CXXCPP $CPPFLAGS'
40637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40642 /* end confdefs.h. */
40643 #include <math.h>
40645 main ()
40647 _sincos(0, 0, 0);
40649 return 0;
40651 _ACEOF
40652 if ac_fn_cxx_try_compile "$LINENO"; then :
40653 glibcxx_cv_func__sincos_use=yes
40654 else
40655 glibcxx_cv_func__sincos_use=no
40657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40658 ac_ext=c
40659 ac_cpp='$CPP $CPPFLAGS'
40660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
40669 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
40671 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
40672 for ac_func in _sincos
40673 do :
40674 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
40675 if test "x$ac_cv_func__sincos" = x""yes; then :
40676 cat >>confdefs.h <<_ACEOF
40677 #define HAVE__SINCOS 1
40678 _ACEOF
40681 done
40690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
40691 $as_echo_n "checking for fpclass declaration... " >&6; }
40692 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
40693 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
40694 $as_echo_n "(cached) " >&6
40695 else
40698 ac_ext=cpp
40699 ac_cpp='$CXXCPP $CPPFLAGS'
40700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40705 /* end confdefs.h. */
40706 #include <math.h>
40707 #ifdef HAVE_IEEEFP_H
40708 #include <ieeefp.h>
40709 #endif
40712 main ()
40714 fpclass(0);
40716 return 0;
40718 _ACEOF
40719 if ac_fn_cxx_try_compile "$LINENO"; then :
40720 glibcxx_cv_func_fpclass_use=yes
40721 else
40722 glibcxx_cv_func_fpclass_use=no
40724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40725 ac_ext=c
40726 ac_cpp='$CPP $CPPFLAGS'
40727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
40736 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
40738 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
40739 for ac_func in fpclass
40740 do :
40741 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
40742 if test "x$ac_cv_func_fpclass" = x""yes; then :
40743 cat >>confdefs.h <<_ACEOF
40744 #define HAVE_FPCLASS 1
40745 _ACEOF
40748 done
40750 else
40752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
40753 $as_echo_n "checking for _fpclass declaration... " >&6; }
40754 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
40755 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
40756 $as_echo_n "(cached) " >&6
40757 else
40760 ac_ext=cpp
40761 ac_cpp='$CXXCPP $CPPFLAGS'
40762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40767 /* end confdefs.h. */
40768 #include <math.h>
40769 #ifdef HAVE_IEEEFP_H
40770 #include <ieeefp.h>
40771 #endif
40774 main ()
40776 _fpclass(0);
40778 return 0;
40780 _ACEOF
40781 if ac_fn_cxx_try_compile "$LINENO"; then :
40782 glibcxx_cv_func__fpclass_use=yes
40783 else
40784 glibcxx_cv_func__fpclass_use=no
40786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40787 ac_ext=c
40788 ac_cpp='$CPP $CPPFLAGS'
40789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
40798 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
40800 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
40801 for ac_func in _fpclass
40802 do :
40803 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
40804 if test "x$ac_cv_func__fpclass" = x""yes; then :
40805 cat >>confdefs.h <<_ACEOF
40806 #define HAVE__FPCLASS 1
40807 _ACEOF
40810 done
40819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
40820 $as_echo_n "checking for qfpclass declaration... " >&6; }
40821 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
40822 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
40823 $as_echo_n "(cached) " >&6
40824 else
40827 ac_ext=cpp
40828 ac_cpp='$CXXCPP $CPPFLAGS'
40829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40834 /* end confdefs.h. */
40835 #include <math.h>
40836 #ifdef HAVE_IEEEFP_H
40837 #include <ieeefp.h>
40838 #endif
40841 main ()
40843 qfpclass(0);
40845 return 0;
40847 _ACEOF
40848 if ac_fn_cxx_try_compile "$LINENO"; then :
40849 glibcxx_cv_func_qfpclass_use=yes
40850 else
40851 glibcxx_cv_func_qfpclass_use=no
40853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40854 ac_ext=c
40855 ac_cpp='$CPP $CPPFLAGS'
40856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
40865 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
40867 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
40868 for ac_func in qfpclass
40869 do :
40870 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
40871 if test "x$ac_cv_func_qfpclass" = x""yes; then :
40872 cat >>confdefs.h <<_ACEOF
40873 #define HAVE_QFPCLASS 1
40874 _ACEOF
40877 done
40879 else
40881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
40882 $as_echo_n "checking for _qfpclass declaration... " >&6; }
40883 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
40884 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
40885 $as_echo_n "(cached) " >&6
40886 else
40889 ac_ext=cpp
40890 ac_cpp='$CXXCPP $CPPFLAGS'
40891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40896 /* end confdefs.h. */
40897 #include <math.h>
40898 #ifdef HAVE_IEEEFP_H
40899 #include <ieeefp.h>
40900 #endif
40903 main ()
40905 _qfpclass(0);
40907 return 0;
40909 _ACEOF
40910 if ac_fn_cxx_try_compile "$LINENO"; then :
40911 glibcxx_cv_func__qfpclass_use=yes
40912 else
40913 glibcxx_cv_func__qfpclass_use=no
40915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40916 ac_ext=c
40917 ac_cpp='$CPP $CPPFLAGS'
40918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
40927 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
40929 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
40930 for ac_func in _qfpclass
40931 do :
40932 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
40933 if test "x$ac_cv_func__qfpclass" = x""yes; then :
40934 cat >>confdefs.h <<_ACEOF
40935 #define HAVE__QFPCLASS 1
40936 _ACEOF
40939 done
40948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
40949 $as_echo_n "checking for hypot declaration... " >&6; }
40950 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
40951 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
40952 $as_echo_n "(cached) " >&6
40953 else
40956 ac_ext=cpp
40957 ac_cpp='$CXXCPP $CPPFLAGS'
40958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40963 /* end confdefs.h. */
40964 #include <math.h>
40966 main ()
40968 hypot(0, 0);
40970 return 0;
40972 _ACEOF
40973 if ac_fn_cxx_try_compile "$LINENO"; then :
40974 glibcxx_cv_func_hypot_use=yes
40975 else
40976 glibcxx_cv_func_hypot_use=no
40978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40979 ac_ext=c
40980 ac_cpp='$CPP $CPPFLAGS'
40981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
40990 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
40992 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
40993 for ac_func in hypot
40994 do :
40995 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
40996 if test "x$ac_cv_func_hypot" = x""yes; then :
40997 cat >>confdefs.h <<_ACEOF
40998 #define HAVE_HYPOT 1
40999 _ACEOF
41002 done
41004 else
41006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
41007 $as_echo_n "checking for _hypot declaration... " >&6; }
41008 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
41009 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
41010 $as_echo_n "(cached) " >&6
41011 else
41014 ac_ext=cpp
41015 ac_cpp='$CXXCPP $CPPFLAGS'
41016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41021 /* end confdefs.h. */
41022 #include <math.h>
41024 main ()
41026 _hypot(0, 0);
41028 return 0;
41030 _ACEOF
41031 if ac_fn_cxx_try_compile "$LINENO"; then :
41032 glibcxx_cv_func__hypot_use=yes
41033 else
41034 glibcxx_cv_func__hypot_use=no
41036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41037 ac_ext=c
41038 ac_cpp='$CPP $CPPFLAGS'
41039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
41048 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
41050 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
41051 for ac_func in _hypot
41052 do :
41053 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
41054 if test "x$ac_cv_func__hypot" = x""yes; then :
41055 cat >>confdefs.h <<_ACEOF
41056 #define HAVE__HYPOT 1
41057 _ACEOF
41060 done
41069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
41070 $as_echo_n "checking for float trig functions... " >&6; }
41071 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
41072 $as_echo_n "(cached) " >&6
41073 else
41076 ac_ext=cpp
41077 ac_cpp='$CXXCPP $CPPFLAGS'
41078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41083 /* end confdefs.h. */
41084 #include <math.h>
41086 main ()
41088 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
41090 return 0;
41092 _ACEOF
41093 if ac_fn_cxx_try_compile "$LINENO"; then :
41094 glibcxx_cv_func_float_trig_use=yes
41095 else
41096 glibcxx_cv_func_float_trig_use=no
41098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41099 ac_ext=c
41100 ac_cpp='$CPP $CPPFLAGS'
41101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
41108 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
41109 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
41110 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
41111 do :
41112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41114 eval as_val=\$$as_ac_var
41115 if test "x$as_val" = x""yes; then :
41116 cat >>confdefs.h <<_ACEOF
41117 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41118 _ACEOF
41121 done
41123 else
41124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
41125 $as_echo_n "checking for _float trig functions... " >&6; }
41126 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
41127 $as_echo_n "(cached) " >&6
41128 else
41131 ac_ext=cpp
41132 ac_cpp='$CXXCPP $CPPFLAGS'
41133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41138 /* end confdefs.h. */
41139 #include <math.h>
41141 main ()
41143 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
41145 return 0;
41147 _ACEOF
41148 if ac_fn_cxx_try_compile "$LINENO"; then :
41149 glibcxx_cv_func__float_trig_use=yes
41150 else
41151 glibcxx_cv_func__float_trig_use=no
41153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41154 ac_ext=c
41155 ac_cpp='$CPP $CPPFLAGS'
41156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
41163 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
41164 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
41165 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
41166 do :
41167 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41168 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41169 eval as_val=\$$as_ac_var
41170 if test "x$as_val" = x""yes; then :
41171 cat >>confdefs.h <<_ACEOF
41172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41173 _ACEOF
41176 done
41185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
41186 $as_echo_n "checking for float round functions... " >&6; }
41187 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
41188 $as_echo_n "(cached) " >&6
41189 else
41192 ac_ext=cpp
41193 ac_cpp='$CXXCPP $CPPFLAGS'
41194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41199 /* end confdefs.h. */
41200 #include <math.h>
41202 main ()
41204 ceilf (0); floorf (0);
41206 return 0;
41208 _ACEOF
41209 if ac_fn_cxx_try_compile "$LINENO"; then :
41210 glibcxx_cv_func_float_round_use=yes
41211 else
41212 glibcxx_cv_func_float_round_use=no
41214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41215 ac_ext=c
41216 ac_cpp='$CPP $CPPFLAGS'
41217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
41224 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
41225 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
41226 for ac_func in ceilf floorf
41227 do :
41228 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41229 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41230 eval as_val=\$$as_ac_var
41231 if test "x$as_val" = x""yes; then :
41232 cat >>confdefs.h <<_ACEOF
41233 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41234 _ACEOF
41237 done
41239 else
41240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
41241 $as_echo_n "checking for _float round functions... " >&6; }
41242 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
41243 $as_echo_n "(cached) " >&6
41244 else
41247 ac_ext=cpp
41248 ac_cpp='$CXXCPP $CPPFLAGS'
41249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41254 /* end confdefs.h. */
41255 #include <math.h>
41257 main ()
41259 _ceilf (0); _floorf (0);
41261 return 0;
41263 _ACEOF
41264 if ac_fn_cxx_try_compile "$LINENO"; then :
41265 glibcxx_cv_func__float_round_use=yes
41266 else
41267 glibcxx_cv_func__float_round_use=no
41269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41270 ac_ext=c
41271 ac_cpp='$CPP $CPPFLAGS'
41272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
41279 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
41280 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
41281 for ac_func in _ceilf _floorf
41282 do :
41283 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
41284 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
41285 eval as_val=\$$as_ac_var
41286 if test "x$as_val" = x""yes; then :
41287 cat >>confdefs.h <<_ACEOF
41288 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
41289 _ACEOF
41292 done
41302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
41303 $as_echo_n "checking for expf declaration... " >&6; }
41304 if test x${glibcxx_cv_func_expf_use+set} != xset; then
41305 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
41306 $as_echo_n "(cached) " >&6
41307 else
41310 ac_ext=cpp
41311 ac_cpp='$CXXCPP $CPPFLAGS'
41312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41317 /* end confdefs.h. */
41318 #include <math.h>
41319 #ifdef HAVE_IEEEFP_H
41320 #include <ieeefp.h>
41321 #endif
41324 main ()
41326 expf(0);
41328 return 0;
41330 _ACEOF
41331 if ac_fn_cxx_try_compile "$LINENO"; then :
41332 glibcxx_cv_func_expf_use=yes
41333 else
41334 glibcxx_cv_func_expf_use=no
41336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41337 ac_ext=c
41338 ac_cpp='$CPP $CPPFLAGS'
41339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
41348 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
41350 if test x$glibcxx_cv_func_expf_use = x"yes"; then
41351 for ac_func in expf
41352 do :
41353 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
41354 if test "x$ac_cv_func_expf" = x""yes; then :
41355 cat >>confdefs.h <<_ACEOF
41356 #define HAVE_EXPF 1
41357 _ACEOF
41360 done
41362 else
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
41365 $as_echo_n "checking for _expf declaration... " >&6; }
41366 if test x${glibcxx_cv_func__expf_use+set} != xset; then
41367 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
41368 $as_echo_n "(cached) " >&6
41369 else
41372 ac_ext=cpp
41373 ac_cpp='$CXXCPP $CPPFLAGS'
41374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41379 /* end confdefs.h. */
41380 #include <math.h>
41381 #ifdef HAVE_IEEEFP_H
41382 #include <ieeefp.h>
41383 #endif
41386 main ()
41388 _expf(0);
41390 return 0;
41392 _ACEOF
41393 if ac_fn_cxx_try_compile "$LINENO"; then :
41394 glibcxx_cv_func__expf_use=yes
41395 else
41396 glibcxx_cv_func__expf_use=no
41398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41399 ac_ext=c
41400 ac_cpp='$CPP $CPPFLAGS'
41401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
41410 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
41412 if test x$glibcxx_cv_func__expf_use = x"yes"; then
41413 for ac_func in _expf
41414 do :
41415 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
41416 if test "x$ac_cv_func__expf" = x""yes; then :
41417 cat >>confdefs.h <<_ACEOF
41418 #define HAVE__EXPF 1
41419 _ACEOF
41422 done
41431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
41432 $as_echo_n "checking for isnanf declaration... " >&6; }
41433 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
41434 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
41435 $as_echo_n "(cached) " >&6
41436 else
41439 ac_ext=cpp
41440 ac_cpp='$CXXCPP $CPPFLAGS'
41441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41446 /* end confdefs.h. */
41447 #include <math.h>
41448 #ifdef HAVE_IEEEFP_H
41449 #include <ieeefp.h>
41450 #endif
41453 main ()
41455 isnanf(0);
41457 return 0;
41459 _ACEOF
41460 if ac_fn_cxx_try_compile "$LINENO"; then :
41461 glibcxx_cv_func_isnanf_use=yes
41462 else
41463 glibcxx_cv_func_isnanf_use=no
41465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41466 ac_ext=c
41467 ac_cpp='$CPP $CPPFLAGS'
41468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
41477 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
41479 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
41480 for ac_func in isnanf
41481 do :
41482 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
41483 if test "x$ac_cv_func_isnanf" = x""yes; then :
41484 cat >>confdefs.h <<_ACEOF
41485 #define HAVE_ISNANF 1
41486 _ACEOF
41489 done
41491 else
41493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
41494 $as_echo_n "checking for _isnanf declaration... " >&6; }
41495 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
41496 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
41497 $as_echo_n "(cached) " >&6
41498 else
41501 ac_ext=cpp
41502 ac_cpp='$CXXCPP $CPPFLAGS'
41503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41508 /* end confdefs.h. */
41509 #include <math.h>
41510 #ifdef HAVE_IEEEFP_H
41511 #include <ieeefp.h>
41512 #endif
41515 main ()
41517 _isnanf(0);
41519 return 0;
41521 _ACEOF
41522 if ac_fn_cxx_try_compile "$LINENO"; then :
41523 glibcxx_cv_func__isnanf_use=yes
41524 else
41525 glibcxx_cv_func__isnanf_use=no
41527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41528 ac_ext=c
41529 ac_cpp='$CPP $CPPFLAGS'
41530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
41539 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
41541 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
41542 for ac_func in _isnanf
41543 do :
41544 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
41545 if test "x$ac_cv_func__isnanf" = x""yes; then :
41546 cat >>confdefs.h <<_ACEOF
41547 #define HAVE__ISNANF 1
41548 _ACEOF
41551 done
41560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
41561 $as_echo_n "checking for isinff declaration... " >&6; }
41562 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
41563 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
41564 $as_echo_n "(cached) " >&6
41565 else
41568 ac_ext=cpp
41569 ac_cpp='$CXXCPP $CPPFLAGS'
41570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41575 /* end confdefs.h. */
41576 #include <math.h>
41577 #ifdef HAVE_IEEEFP_H
41578 #include <ieeefp.h>
41579 #endif
41582 main ()
41584 isinff(0);
41586 return 0;
41588 _ACEOF
41589 if ac_fn_cxx_try_compile "$LINENO"; then :
41590 glibcxx_cv_func_isinff_use=yes
41591 else
41592 glibcxx_cv_func_isinff_use=no
41594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41595 ac_ext=c
41596 ac_cpp='$CPP $CPPFLAGS'
41597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
41606 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
41608 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
41609 for ac_func in isinff
41610 do :
41611 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
41612 if test "x$ac_cv_func_isinff" = x""yes; then :
41613 cat >>confdefs.h <<_ACEOF
41614 #define HAVE_ISINFF 1
41615 _ACEOF
41618 done
41620 else
41622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
41623 $as_echo_n "checking for _isinff declaration... " >&6; }
41624 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
41625 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
41626 $as_echo_n "(cached) " >&6
41627 else
41630 ac_ext=cpp
41631 ac_cpp='$CXXCPP $CPPFLAGS'
41632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41637 /* end confdefs.h. */
41638 #include <math.h>
41639 #ifdef HAVE_IEEEFP_H
41640 #include <ieeefp.h>
41641 #endif
41644 main ()
41646 _isinff(0);
41648 return 0;
41650 _ACEOF
41651 if ac_fn_cxx_try_compile "$LINENO"; then :
41652 glibcxx_cv_func__isinff_use=yes
41653 else
41654 glibcxx_cv_func__isinff_use=no
41656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41657 ac_ext=c
41658 ac_cpp='$CPP $CPPFLAGS'
41659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
41668 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
41670 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
41671 for ac_func in _isinff
41672 do :
41673 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
41674 if test "x$ac_cv_func__isinff" = x""yes; then :
41675 cat >>confdefs.h <<_ACEOF
41676 #define HAVE__ISINFF 1
41677 _ACEOF
41680 done
41689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
41690 $as_echo_n "checking for atan2f declaration... " >&6; }
41691 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
41692 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
41693 $as_echo_n "(cached) " >&6
41694 else
41697 ac_ext=cpp
41698 ac_cpp='$CXXCPP $CPPFLAGS'
41699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41704 /* end confdefs.h. */
41705 #include <math.h>
41707 main ()
41709 atan2f(0, 0);
41711 return 0;
41713 _ACEOF
41714 if ac_fn_cxx_try_compile "$LINENO"; then :
41715 glibcxx_cv_func_atan2f_use=yes
41716 else
41717 glibcxx_cv_func_atan2f_use=no
41719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41720 ac_ext=c
41721 ac_cpp='$CPP $CPPFLAGS'
41722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
41731 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
41733 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
41734 for ac_func in atan2f
41735 do :
41736 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
41737 if test "x$ac_cv_func_atan2f" = x""yes; then :
41738 cat >>confdefs.h <<_ACEOF
41739 #define HAVE_ATAN2F 1
41740 _ACEOF
41743 done
41745 else
41747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
41748 $as_echo_n "checking for _atan2f declaration... " >&6; }
41749 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
41750 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
41751 $as_echo_n "(cached) " >&6
41752 else
41755 ac_ext=cpp
41756 ac_cpp='$CXXCPP $CPPFLAGS'
41757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41762 /* end confdefs.h. */
41763 #include <math.h>
41765 main ()
41767 _atan2f(0, 0);
41769 return 0;
41771 _ACEOF
41772 if ac_fn_cxx_try_compile "$LINENO"; then :
41773 glibcxx_cv_func__atan2f_use=yes
41774 else
41775 glibcxx_cv_func__atan2f_use=no
41777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41778 ac_ext=c
41779 ac_cpp='$CPP $CPPFLAGS'
41780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
41789 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
41791 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
41792 for ac_func in _atan2f
41793 do :
41794 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
41795 if test "x$ac_cv_func__atan2f" = x""yes; then :
41796 cat >>confdefs.h <<_ACEOF
41797 #define HAVE__ATAN2F 1
41798 _ACEOF
41801 done
41810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
41811 $as_echo_n "checking for fabsf declaration... " >&6; }
41812 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
41813 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
41814 $as_echo_n "(cached) " >&6
41815 else
41818 ac_ext=cpp
41819 ac_cpp='$CXXCPP $CPPFLAGS'
41820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41825 /* end confdefs.h. */
41826 #include <math.h>
41827 #ifdef HAVE_IEEEFP_H
41828 #include <ieeefp.h>
41829 #endif
41832 main ()
41834 fabsf(0);
41836 return 0;
41838 _ACEOF
41839 if ac_fn_cxx_try_compile "$LINENO"; then :
41840 glibcxx_cv_func_fabsf_use=yes
41841 else
41842 glibcxx_cv_func_fabsf_use=no
41844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41845 ac_ext=c
41846 ac_cpp='$CPP $CPPFLAGS'
41847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
41856 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
41858 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
41859 for ac_func in fabsf
41860 do :
41861 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
41862 if test "x$ac_cv_func_fabsf" = x""yes; then :
41863 cat >>confdefs.h <<_ACEOF
41864 #define HAVE_FABSF 1
41865 _ACEOF
41868 done
41870 else
41872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
41873 $as_echo_n "checking for _fabsf declaration... " >&6; }
41874 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
41875 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
41876 $as_echo_n "(cached) " >&6
41877 else
41880 ac_ext=cpp
41881 ac_cpp='$CXXCPP $CPPFLAGS'
41882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41887 /* end confdefs.h. */
41888 #include <math.h>
41889 #ifdef HAVE_IEEEFP_H
41890 #include <ieeefp.h>
41891 #endif
41894 main ()
41896 _fabsf(0);
41898 return 0;
41900 _ACEOF
41901 if ac_fn_cxx_try_compile "$LINENO"; then :
41902 glibcxx_cv_func__fabsf_use=yes
41903 else
41904 glibcxx_cv_func__fabsf_use=no
41906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41907 ac_ext=c
41908 ac_cpp='$CPP $CPPFLAGS'
41909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
41918 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
41920 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
41921 for ac_func in _fabsf
41922 do :
41923 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
41924 if test "x$ac_cv_func__fabsf" = x""yes; then :
41925 cat >>confdefs.h <<_ACEOF
41926 #define HAVE__FABSF 1
41927 _ACEOF
41930 done
41939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
41940 $as_echo_n "checking for fmodf declaration... " >&6; }
41941 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
41942 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
41943 $as_echo_n "(cached) " >&6
41944 else
41947 ac_ext=cpp
41948 ac_cpp='$CXXCPP $CPPFLAGS'
41949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41954 /* end confdefs.h. */
41955 #include <math.h>
41957 main ()
41959 fmodf(0, 0);
41961 return 0;
41963 _ACEOF
41964 if ac_fn_cxx_try_compile "$LINENO"; then :
41965 glibcxx_cv_func_fmodf_use=yes
41966 else
41967 glibcxx_cv_func_fmodf_use=no
41969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41970 ac_ext=c
41971 ac_cpp='$CPP $CPPFLAGS'
41972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
41981 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
41983 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
41984 for ac_func in fmodf
41985 do :
41986 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
41987 if test "x$ac_cv_func_fmodf" = x""yes; then :
41988 cat >>confdefs.h <<_ACEOF
41989 #define HAVE_FMODF 1
41990 _ACEOF
41993 done
41995 else
41997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
41998 $as_echo_n "checking for _fmodf declaration... " >&6; }
41999 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
42000 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
42001 $as_echo_n "(cached) " >&6
42002 else
42005 ac_ext=cpp
42006 ac_cpp='$CXXCPP $CPPFLAGS'
42007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42012 /* end confdefs.h. */
42013 #include <math.h>
42015 main ()
42017 _fmodf(0, 0);
42019 return 0;
42021 _ACEOF
42022 if ac_fn_cxx_try_compile "$LINENO"; then :
42023 glibcxx_cv_func__fmodf_use=yes
42024 else
42025 glibcxx_cv_func__fmodf_use=no
42027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42028 ac_ext=c
42029 ac_cpp='$CPP $CPPFLAGS'
42030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
42039 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
42041 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
42042 for ac_func in _fmodf
42043 do :
42044 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
42045 if test "x$ac_cv_func__fmodf" = x""yes; then :
42046 cat >>confdefs.h <<_ACEOF
42047 #define HAVE__FMODF 1
42048 _ACEOF
42051 done
42060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
42061 $as_echo_n "checking for frexpf declaration... " >&6; }
42062 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
42063 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
42064 $as_echo_n "(cached) " >&6
42065 else
42068 ac_ext=cpp
42069 ac_cpp='$CXXCPP $CPPFLAGS'
42070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42075 /* end confdefs.h. */
42076 #include <math.h>
42078 main ()
42080 frexpf(0, 0);
42082 return 0;
42084 _ACEOF
42085 if ac_fn_cxx_try_compile "$LINENO"; then :
42086 glibcxx_cv_func_frexpf_use=yes
42087 else
42088 glibcxx_cv_func_frexpf_use=no
42090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42091 ac_ext=c
42092 ac_cpp='$CPP $CPPFLAGS'
42093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
42102 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
42104 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
42105 for ac_func in frexpf
42106 do :
42107 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
42108 if test "x$ac_cv_func_frexpf" = x""yes; then :
42109 cat >>confdefs.h <<_ACEOF
42110 #define HAVE_FREXPF 1
42111 _ACEOF
42114 done
42116 else
42118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
42119 $as_echo_n "checking for _frexpf declaration... " >&6; }
42120 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
42121 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
42122 $as_echo_n "(cached) " >&6
42123 else
42126 ac_ext=cpp
42127 ac_cpp='$CXXCPP $CPPFLAGS'
42128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42133 /* end confdefs.h. */
42134 #include <math.h>
42136 main ()
42138 _frexpf(0, 0);
42140 return 0;
42142 _ACEOF
42143 if ac_fn_cxx_try_compile "$LINENO"; then :
42144 glibcxx_cv_func__frexpf_use=yes
42145 else
42146 glibcxx_cv_func__frexpf_use=no
42148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42149 ac_ext=c
42150 ac_cpp='$CPP $CPPFLAGS'
42151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
42160 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
42162 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
42163 for ac_func in _frexpf
42164 do :
42165 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
42166 if test "x$ac_cv_func__frexpf" = x""yes; then :
42167 cat >>confdefs.h <<_ACEOF
42168 #define HAVE__FREXPF 1
42169 _ACEOF
42172 done
42181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
42182 $as_echo_n "checking for hypotf declaration... " >&6; }
42183 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
42184 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
42185 $as_echo_n "(cached) " >&6
42186 else
42189 ac_ext=cpp
42190 ac_cpp='$CXXCPP $CPPFLAGS'
42191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42196 /* end confdefs.h. */
42197 #include <math.h>
42199 main ()
42201 hypotf(0, 0);
42203 return 0;
42205 _ACEOF
42206 if ac_fn_cxx_try_compile "$LINENO"; then :
42207 glibcxx_cv_func_hypotf_use=yes
42208 else
42209 glibcxx_cv_func_hypotf_use=no
42211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42212 ac_ext=c
42213 ac_cpp='$CPP $CPPFLAGS'
42214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
42223 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
42225 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
42226 for ac_func in hypotf
42227 do :
42228 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
42229 if test "x$ac_cv_func_hypotf" = x""yes; then :
42230 cat >>confdefs.h <<_ACEOF
42231 #define HAVE_HYPOTF 1
42232 _ACEOF
42235 done
42237 else
42239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
42240 $as_echo_n "checking for _hypotf declaration... " >&6; }
42241 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
42242 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
42243 $as_echo_n "(cached) " >&6
42244 else
42247 ac_ext=cpp
42248 ac_cpp='$CXXCPP $CPPFLAGS'
42249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42254 /* end confdefs.h. */
42255 #include <math.h>
42257 main ()
42259 _hypotf(0, 0);
42261 return 0;
42263 _ACEOF
42264 if ac_fn_cxx_try_compile "$LINENO"; then :
42265 glibcxx_cv_func__hypotf_use=yes
42266 else
42267 glibcxx_cv_func__hypotf_use=no
42269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42270 ac_ext=c
42271 ac_cpp='$CPP $CPPFLAGS'
42272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
42281 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
42283 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
42284 for ac_func in _hypotf
42285 do :
42286 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
42287 if test "x$ac_cv_func__hypotf" = x""yes; then :
42288 cat >>confdefs.h <<_ACEOF
42289 #define HAVE__HYPOTF 1
42290 _ACEOF
42293 done
42302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
42303 $as_echo_n "checking for ldexpf declaration... " >&6; }
42304 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
42305 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
42306 $as_echo_n "(cached) " >&6
42307 else
42310 ac_ext=cpp
42311 ac_cpp='$CXXCPP $CPPFLAGS'
42312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42317 /* end confdefs.h. */
42318 #include <math.h>
42320 main ()
42322 ldexpf(0, 0);
42324 return 0;
42326 _ACEOF
42327 if ac_fn_cxx_try_compile "$LINENO"; then :
42328 glibcxx_cv_func_ldexpf_use=yes
42329 else
42330 glibcxx_cv_func_ldexpf_use=no
42332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42333 ac_ext=c
42334 ac_cpp='$CPP $CPPFLAGS'
42335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
42344 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
42346 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
42347 for ac_func in ldexpf
42348 do :
42349 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
42350 if test "x$ac_cv_func_ldexpf" = x""yes; then :
42351 cat >>confdefs.h <<_ACEOF
42352 #define HAVE_LDEXPF 1
42353 _ACEOF
42356 done
42358 else
42360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
42361 $as_echo_n "checking for _ldexpf declaration... " >&6; }
42362 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
42363 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
42364 $as_echo_n "(cached) " >&6
42365 else
42368 ac_ext=cpp
42369 ac_cpp='$CXXCPP $CPPFLAGS'
42370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42375 /* end confdefs.h. */
42376 #include <math.h>
42378 main ()
42380 _ldexpf(0, 0);
42382 return 0;
42384 _ACEOF
42385 if ac_fn_cxx_try_compile "$LINENO"; then :
42386 glibcxx_cv_func__ldexpf_use=yes
42387 else
42388 glibcxx_cv_func__ldexpf_use=no
42390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42391 ac_ext=c
42392 ac_cpp='$CPP $CPPFLAGS'
42393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
42402 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
42404 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
42405 for ac_func in _ldexpf
42406 do :
42407 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
42408 if test "x$ac_cv_func__ldexpf" = x""yes; then :
42409 cat >>confdefs.h <<_ACEOF
42410 #define HAVE__LDEXPF 1
42411 _ACEOF
42414 done
42423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
42424 $as_echo_n "checking for logf declaration... " >&6; }
42425 if test x${glibcxx_cv_func_logf_use+set} != xset; then
42426 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
42427 $as_echo_n "(cached) " >&6
42428 else
42431 ac_ext=cpp
42432 ac_cpp='$CXXCPP $CPPFLAGS'
42433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42438 /* end confdefs.h. */
42439 #include <math.h>
42440 #ifdef HAVE_IEEEFP_H
42441 #include <ieeefp.h>
42442 #endif
42445 main ()
42447 logf(0);
42449 return 0;
42451 _ACEOF
42452 if ac_fn_cxx_try_compile "$LINENO"; then :
42453 glibcxx_cv_func_logf_use=yes
42454 else
42455 glibcxx_cv_func_logf_use=no
42457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42458 ac_ext=c
42459 ac_cpp='$CPP $CPPFLAGS'
42460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
42469 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
42471 if test x$glibcxx_cv_func_logf_use = x"yes"; then
42472 for ac_func in logf
42473 do :
42474 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
42475 if test "x$ac_cv_func_logf" = x""yes; then :
42476 cat >>confdefs.h <<_ACEOF
42477 #define HAVE_LOGF 1
42478 _ACEOF
42481 done
42483 else
42485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
42486 $as_echo_n "checking for _logf declaration... " >&6; }
42487 if test x${glibcxx_cv_func__logf_use+set} != xset; then
42488 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
42489 $as_echo_n "(cached) " >&6
42490 else
42493 ac_ext=cpp
42494 ac_cpp='$CXXCPP $CPPFLAGS'
42495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42500 /* end confdefs.h. */
42501 #include <math.h>
42502 #ifdef HAVE_IEEEFP_H
42503 #include <ieeefp.h>
42504 #endif
42507 main ()
42509 _logf(0);
42511 return 0;
42513 _ACEOF
42514 if ac_fn_cxx_try_compile "$LINENO"; then :
42515 glibcxx_cv_func__logf_use=yes
42516 else
42517 glibcxx_cv_func__logf_use=no
42519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42520 ac_ext=c
42521 ac_cpp='$CPP $CPPFLAGS'
42522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
42531 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
42533 if test x$glibcxx_cv_func__logf_use = x"yes"; then
42534 for ac_func in _logf
42535 do :
42536 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
42537 if test "x$ac_cv_func__logf" = x""yes; then :
42538 cat >>confdefs.h <<_ACEOF
42539 #define HAVE__LOGF 1
42540 _ACEOF
42543 done
42552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
42553 $as_echo_n "checking for log10f declaration... " >&6; }
42554 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
42555 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
42556 $as_echo_n "(cached) " >&6
42557 else
42560 ac_ext=cpp
42561 ac_cpp='$CXXCPP $CPPFLAGS'
42562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42567 /* end confdefs.h. */
42568 #include <math.h>
42569 #ifdef HAVE_IEEEFP_H
42570 #include <ieeefp.h>
42571 #endif
42574 main ()
42576 log10f(0);
42578 return 0;
42580 _ACEOF
42581 if ac_fn_cxx_try_compile "$LINENO"; then :
42582 glibcxx_cv_func_log10f_use=yes
42583 else
42584 glibcxx_cv_func_log10f_use=no
42586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42587 ac_ext=c
42588 ac_cpp='$CPP $CPPFLAGS'
42589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
42598 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
42600 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
42601 for ac_func in log10f
42602 do :
42603 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
42604 if test "x$ac_cv_func_log10f" = x""yes; then :
42605 cat >>confdefs.h <<_ACEOF
42606 #define HAVE_LOG10F 1
42607 _ACEOF
42610 done
42612 else
42614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
42615 $as_echo_n "checking for _log10f declaration... " >&6; }
42616 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
42617 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
42618 $as_echo_n "(cached) " >&6
42619 else
42622 ac_ext=cpp
42623 ac_cpp='$CXXCPP $CPPFLAGS'
42624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42629 /* end confdefs.h. */
42630 #include <math.h>
42631 #ifdef HAVE_IEEEFP_H
42632 #include <ieeefp.h>
42633 #endif
42636 main ()
42638 _log10f(0);
42640 return 0;
42642 _ACEOF
42643 if ac_fn_cxx_try_compile "$LINENO"; then :
42644 glibcxx_cv_func__log10f_use=yes
42645 else
42646 glibcxx_cv_func__log10f_use=no
42648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42649 ac_ext=c
42650 ac_cpp='$CPP $CPPFLAGS'
42651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
42660 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
42662 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
42663 for ac_func in _log10f
42664 do :
42665 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
42666 if test "x$ac_cv_func__log10f" = x""yes; then :
42667 cat >>confdefs.h <<_ACEOF
42668 #define HAVE__LOG10F 1
42669 _ACEOF
42672 done
42681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
42682 $as_echo_n "checking for modff declaration... " >&6; }
42683 if test x${glibcxx_cv_func_modff_use+set} != xset; then
42684 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
42685 $as_echo_n "(cached) " >&6
42686 else
42689 ac_ext=cpp
42690 ac_cpp='$CXXCPP $CPPFLAGS'
42691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42696 /* end confdefs.h. */
42697 #include <math.h>
42699 main ()
42701 modff(0, 0);
42703 return 0;
42705 _ACEOF
42706 if ac_fn_cxx_try_compile "$LINENO"; then :
42707 glibcxx_cv_func_modff_use=yes
42708 else
42709 glibcxx_cv_func_modff_use=no
42711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42712 ac_ext=c
42713 ac_cpp='$CPP $CPPFLAGS'
42714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
42723 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
42725 if test x$glibcxx_cv_func_modff_use = x"yes"; then
42726 for ac_func in modff
42727 do :
42728 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
42729 if test "x$ac_cv_func_modff" = x""yes; then :
42730 cat >>confdefs.h <<_ACEOF
42731 #define HAVE_MODFF 1
42732 _ACEOF
42735 done
42737 else
42739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
42740 $as_echo_n "checking for _modff declaration... " >&6; }
42741 if test x${glibcxx_cv_func__modff_use+set} != xset; then
42742 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
42743 $as_echo_n "(cached) " >&6
42744 else
42747 ac_ext=cpp
42748 ac_cpp='$CXXCPP $CPPFLAGS'
42749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42754 /* end confdefs.h. */
42755 #include <math.h>
42757 main ()
42759 _modff(0, 0);
42761 return 0;
42763 _ACEOF
42764 if ac_fn_cxx_try_compile "$LINENO"; then :
42765 glibcxx_cv_func__modff_use=yes
42766 else
42767 glibcxx_cv_func__modff_use=no
42769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42770 ac_ext=c
42771 ac_cpp='$CPP $CPPFLAGS'
42772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
42781 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
42783 if test x$glibcxx_cv_func__modff_use = x"yes"; then
42784 for ac_func in _modff
42785 do :
42786 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
42787 if test "x$ac_cv_func__modff" = x""yes; then :
42788 cat >>confdefs.h <<_ACEOF
42789 #define HAVE__MODFF 1
42790 _ACEOF
42793 done
42802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
42803 $as_echo_n "checking for modf declaration... " >&6; }
42804 if test x${glibcxx_cv_func_modf_use+set} != xset; then
42805 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
42806 $as_echo_n "(cached) " >&6
42807 else
42810 ac_ext=cpp
42811 ac_cpp='$CXXCPP $CPPFLAGS'
42812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42817 /* end confdefs.h. */
42818 #include <math.h>
42820 main ()
42822 modf(0, 0);
42824 return 0;
42826 _ACEOF
42827 if ac_fn_cxx_try_compile "$LINENO"; then :
42828 glibcxx_cv_func_modf_use=yes
42829 else
42830 glibcxx_cv_func_modf_use=no
42832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42833 ac_ext=c
42834 ac_cpp='$CPP $CPPFLAGS'
42835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
42844 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
42846 if test x$glibcxx_cv_func_modf_use = x"yes"; then
42847 for ac_func in modf
42848 do :
42849 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
42850 if test "x$ac_cv_func_modf" = x""yes; then :
42851 cat >>confdefs.h <<_ACEOF
42852 #define HAVE_MODF 1
42853 _ACEOF
42856 done
42858 else
42860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
42861 $as_echo_n "checking for _modf declaration... " >&6; }
42862 if test x${glibcxx_cv_func__modf_use+set} != xset; then
42863 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
42864 $as_echo_n "(cached) " >&6
42865 else
42868 ac_ext=cpp
42869 ac_cpp='$CXXCPP $CPPFLAGS'
42870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42875 /* end confdefs.h. */
42876 #include <math.h>
42878 main ()
42880 _modf(0, 0);
42882 return 0;
42884 _ACEOF
42885 if ac_fn_cxx_try_compile "$LINENO"; then :
42886 glibcxx_cv_func__modf_use=yes
42887 else
42888 glibcxx_cv_func__modf_use=no
42890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42891 ac_ext=c
42892 ac_cpp='$CPP $CPPFLAGS'
42893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
42902 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
42904 if test x$glibcxx_cv_func__modf_use = x"yes"; then
42905 for ac_func in _modf
42906 do :
42907 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
42908 if test "x$ac_cv_func__modf" = x""yes; then :
42909 cat >>confdefs.h <<_ACEOF
42910 #define HAVE__MODF 1
42911 _ACEOF
42914 done
42923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
42924 $as_echo_n "checking for powf declaration... " >&6; }
42925 if test x${glibcxx_cv_func_powf_use+set} != xset; then
42926 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
42927 $as_echo_n "(cached) " >&6
42928 else
42931 ac_ext=cpp
42932 ac_cpp='$CXXCPP $CPPFLAGS'
42933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42938 /* end confdefs.h. */
42939 #include <math.h>
42941 main ()
42943 powf(0, 0);
42945 return 0;
42947 _ACEOF
42948 if ac_fn_cxx_try_compile "$LINENO"; then :
42949 glibcxx_cv_func_powf_use=yes
42950 else
42951 glibcxx_cv_func_powf_use=no
42953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42954 ac_ext=c
42955 ac_cpp='$CPP $CPPFLAGS'
42956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
42965 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
42967 if test x$glibcxx_cv_func_powf_use = x"yes"; then
42968 for ac_func in powf
42969 do :
42970 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
42971 if test "x$ac_cv_func_powf" = x""yes; then :
42972 cat >>confdefs.h <<_ACEOF
42973 #define HAVE_POWF 1
42974 _ACEOF
42977 done
42979 else
42981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
42982 $as_echo_n "checking for _powf declaration... " >&6; }
42983 if test x${glibcxx_cv_func__powf_use+set} != xset; then
42984 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
42985 $as_echo_n "(cached) " >&6
42986 else
42989 ac_ext=cpp
42990 ac_cpp='$CXXCPP $CPPFLAGS'
42991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42996 /* end confdefs.h. */
42997 #include <math.h>
42999 main ()
43001 _powf(0, 0);
43003 return 0;
43005 _ACEOF
43006 if ac_fn_cxx_try_compile "$LINENO"; then :
43007 glibcxx_cv_func__powf_use=yes
43008 else
43009 glibcxx_cv_func__powf_use=no
43011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43012 ac_ext=c
43013 ac_cpp='$CPP $CPPFLAGS'
43014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
43023 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
43025 if test x$glibcxx_cv_func__powf_use = x"yes"; then
43026 for ac_func in _powf
43027 do :
43028 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
43029 if test "x$ac_cv_func__powf" = x""yes; then :
43030 cat >>confdefs.h <<_ACEOF
43031 #define HAVE__POWF 1
43032 _ACEOF
43035 done
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
43045 $as_echo_n "checking for sqrtf declaration... " >&6; }
43046 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
43047 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
43048 $as_echo_n "(cached) " >&6
43049 else
43052 ac_ext=cpp
43053 ac_cpp='$CXXCPP $CPPFLAGS'
43054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43059 /* end confdefs.h. */
43060 #include <math.h>
43061 #ifdef HAVE_IEEEFP_H
43062 #include <ieeefp.h>
43063 #endif
43066 main ()
43068 sqrtf(0);
43070 return 0;
43072 _ACEOF
43073 if ac_fn_cxx_try_compile "$LINENO"; then :
43074 glibcxx_cv_func_sqrtf_use=yes
43075 else
43076 glibcxx_cv_func_sqrtf_use=no
43078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43079 ac_ext=c
43080 ac_cpp='$CPP $CPPFLAGS'
43081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
43090 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
43092 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
43093 for ac_func in sqrtf
43094 do :
43095 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
43096 if test "x$ac_cv_func_sqrtf" = x""yes; then :
43097 cat >>confdefs.h <<_ACEOF
43098 #define HAVE_SQRTF 1
43099 _ACEOF
43102 done
43104 else
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
43107 $as_echo_n "checking for _sqrtf declaration... " >&6; }
43108 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
43109 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
43110 $as_echo_n "(cached) " >&6
43111 else
43114 ac_ext=cpp
43115 ac_cpp='$CXXCPP $CPPFLAGS'
43116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43121 /* end confdefs.h. */
43122 #include <math.h>
43123 #ifdef HAVE_IEEEFP_H
43124 #include <ieeefp.h>
43125 #endif
43128 main ()
43130 _sqrtf(0);
43132 return 0;
43134 _ACEOF
43135 if ac_fn_cxx_try_compile "$LINENO"; then :
43136 glibcxx_cv_func__sqrtf_use=yes
43137 else
43138 glibcxx_cv_func__sqrtf_use=no
43140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43141 ac_ext=c
43142 ac_cpp='$CPP $CPPFLAGS'
43143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
43152 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
43154 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
43155 for ac_func in _sqrtf
43156 do :
43157 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
43158 if test "x$ac_cv_func__sqrtf" = x""yes; then :
43159 cat >>confdefs.h <<_ACEOF
43160 #define HAVE__SQRTF 1
43161 _ACEOF
43164 done
43173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
43174 $as_echo_n "checking for sincosf declaration... " >&6; }
43175 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
43176 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
43177 $as_echo_n "(cached) " >&6
43178 else
43181 ac_ext=cpp
43182 ac_cpp='$CXXCPP $CPPFLAGS'
43183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43188 /* end confdefs.h. */
43189 #include <math.h>
43191 main ()
43193 sincosf(0, 0, 0);
43195 return 0;
43197 _ACEOF
43198 if ac_fn_cxx_try_compile "$LINENO"; then :
43199 glibcxx_cv_func_sincosf_use=yes
43200 else
43201 glibcxx_cv_func_sincosf_use=no
43203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43204 ac_ext=c
43205 ac_cpp='$CPP $CPPFLAGS'
43206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
43215 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
43217 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
43218 for ac_func in sincosf
43219 do :
43220 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
43221 if test "x$ac_cv_func_sincosf" = x""yes; then :
43222 cat >>confdefs.h <<_ACEOF
43223 #define HAVE_SINCOSF 1
43224 _ACEOF
43227 done
43229 else
43231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
43232 $as_echo_n "checking for _sincosf declaration... " >&6; }
43233 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
43234 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
43235 $as_echo_n "(cached) " >&6
43236 else
43239 ac_ext=cpp
43240 ac_cpp='$CXXCPP $CPPFLAGS'
43241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43246 /* end confdefs.h. */
43247 #include <math.h>
43249 main ()
43251 _sincosf(0, 0, 0);
43253 return 0;
43255 _ACEOF
43256 if ac_fn_cxx_try_compile "$LINENO"; then :
43257 glibcxx_cv_func__sincosf_use=yes
43258 else
43259 glibcxx_cv_func__sincosf_use=no
43261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43262 ac_ext=c
43263 ac_cpp='$CPP $CPPFLAGS'
43264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
43273 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
43275 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
43276 for ac_func in _sincosf
43277 do :
43278 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
43279 if test "x$ac_cv_func__sincosf" = x""yes; then :
43280 cat >>confdefs.h <<_ACEOF
43281 #define HAVE__SINCOSF 1
43282 _ACEOF
43285 done
43294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
43295 $as_echo_n "checking for finitef declaration... " >&6; }
43296 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
43297 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
43298 $as_echo_n "(cached) " >&6
43299 else
43302 ac_ext=cpp
43303 ac_cpp='$CXXCPP $CPPFLAGS'
43304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43309 /* end confdefs.h. */
43310 #include <math.h>
43311 #ifdef HAVE_IEEEFP_H
43312 #include <ieeefp.h>
43313 #endif
43316 main ()
43318 finitef(0);
43320 return 0;
43322 _ACEOF
43323 if ac_fn_cxx_try_compile "$LINENO"; then :
43324 glibcxx_cv_func_finitef_use=yes
43325 else
43326 glibcxx_cv_func_finitef_use=no
43328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43329 ac_ext=c
43330 ac_cpp='$CPP $CPPFLAGS'
43331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
43340 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
43342 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
43343 for ac_func in finitef
43344 do :
43345 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
43346 if test "x$ac_cv_func_finitef" = x""yes; then :
43347 cat >>confdefs.h <<_ACEOF
43348 #define HAVE_FINITEF 1
43349 _ACEOF
43352 done
43354 else
43356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
43357 $as_echo_n "checking for _finitef declaration... " >&6; }
43358 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
43359 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
43360 $as_echo_n "(cached) " >&6
43361 else
43364 ac_ext=cpp
43365 ac_cpp='$CXXCPP $CPPFLAGS'
43366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43371 /* end confdefs.h. */
43372 #include <math.h>
43373 #ifdef HAVE_IEEEFP_H
43374 #include <ieeefp.h>
43375 #endif
43378 main ()
43380 _finitef(0);
43382 return 0;
43384 _ACEOF
43385 if ac_fn_cxx_try_compile "$LINENO"; then :
43386 glibcxx_cv_func__finitef_use=yes
43387 else
43388 glibcxx_cv_func__finitef_use=no
43390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43391 ac_ext=c
43392 ac_cpp='$CPP $CPPFLAGS'
43393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
43402 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
43404 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
43405 for ac_func in _finitef
43406 do :
43407 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
43408 if test "x$ac_cv_func__finitef" = x""yes; then :
43409 cat >>confdefs.h <<_ACEOF
43410 #define HAVE__FINITEF 1
43411 _ACEOF
43414 done
43423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
43424 $as_echo_n "checking for long double trig functions... " >&6; }
43425 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
43426 $as_echo_n "(cached) " >&6
43427 else
43430 ac_ext=cpp
43431 ac_cpp='$CXXCPP $CPPFLAGS'
43432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43437 /* end confdefs.h. */
43438 #include <math.h>
43440 main ()
43442 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
43444 return 0;
43446 _ACEOF
43447 if ac_fn_cxx_try_compile "$LINENO"; then :
43448 glibcxx_cv_func_long_double_trig_use=yes
43449 else
43450 glibcxx_cv_func_long_double_trig_use=no
43452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43453 ac_ext=c
43454 ac_cpp='$CPP $CPPFLAGS'
43455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
43462 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
43463 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
43464 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
43465 do :
43466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43468 eval as_val=\$$as_ac_var
43469 if test "x$as_val" = x""yes; then :
43470 cat >>confdefs.h <<_ACEOF
43471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43472 _ACEOF
43475 done
43477 else
43478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
43479 $as_echo_n "checking for _long double trig functions... " >&6; }
43480 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
43481 $as_echo_n "(cached) " >&6
43482 else
43485 ac_ext=cpp
43486 ac_cpp='$CXXCPP $CPPFLAGS'
43487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43492 /* end confdefs.h. */
43493 #include <math.h>
43495 main ()
43497 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
43499 return 0;
43501 _ACEOF
43502 if ac_fn_cxx_try_compile "$LINENO"; then :
43503 glibcxx_cv_func__long_double_trig_use=yes
43504 else
43505 glibcxx_cv_func__long_double_trig_use=no
43507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43508 ac_ext=c
43509 ac_cpp='$CPP $CPPFLAGS'
43510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
43517 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
43518 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
43519 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
43520 do :
43521 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43522 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43523 eval as_val=\$$as_ac_var
43524 if test "x$as_val" = x""yes; then :
43525 cat >>confdefs.h <<_ACEOF
43526 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43527 _ACEOF
43530 done
43539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
43540 $as_echo_n "checking for long double round functions... " >&6; }
43541 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
43542 $as_echo_n "(cached) " >&6
43543 else
43546 ac_ext=cpp
43547 ac_cpp='$CXXCPP $CPPFLAGS'
43548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43553 /* end confdefs.h. */
43554 #include <math.h>
43556 main ()
43558 ceill (0); floorl (0);
43560 return 0;
43562 _ACEOF
43563 if ac_fn_cxx_try_compile "$LINENO"; then :
43564 glibcxx_cv_func_long_double_round_use=yes
43565 else
43566 glibcxx_cv_func_long_double_round_use=no
43568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43569 ac_ext=c
43570 ac_cpp='$CPP $CPPFLAGS'
43571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
43578 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
43579 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
43580 for ac_func in ceill floorl
43581 do :
43582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43584 eval as_val=\$$as_ac_var
43585 if test "x$as_val" = x""yes; then :
43586 cat >>confdefs.h <<_ACEOF
43587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43588 _ACEOF
43591 done
43593 else
43594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
43595 $as_echo_n "checking for _long double round functions... " >&6; }
43596 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
43597 $as_echo_n "(cached) " >&6
43598 else
43601 ac_ext=cpp
43602 ac_cpp='$CXXCPP $CPPFLAGS'
43603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43608 /* end confdefs.h. */
43609 #include <math.h>
43611 main ()
43613 _ceill (0); _floorl (0);
43615 return 0;
43617 _ACEOF
43618 if ac_fn_cxx_try_compile "$LINENO"; then :
43619 glibcxx_cv_func__long_double_round_use=yes
43620 else
43621 glibcxx_cv_func__long_double_round_use=no
43623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43624 ac_ext=c
43625 ac_cpp='$CPP $CPPFLAGS'
43626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
43633 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
43634 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
43635 for ac_func in _ceill _floorl
43636 do :
43637 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
43638 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
43639 eval as_val=\$$as_ac_var
43640 if test "x$as_val" = x""yes; then :
43641 cat >>confdefs.h <<_ACEOF
43642 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
43643 _ACEOF
43646 done
43656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
43657 $as_echo_n "checking for isnanl declaration... " >&6; }
43658 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
43659 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
43660 $as_echo_n "(cached) " >&6
43661 else
43664 ac_ext=cpp
43665 ac_cpp='$CXXCPP $CPPFLAGS'
43666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43671 /* end confdefs.h. */
43672 #include <math.h>
43673 #ifdef HAVE_IEEEFP_H
43674 #include <ieeefp.h>
43675 #endif
43678 main ()
43680 isnanl(0);
43682 return 0;
43684 _ACEOF
43685 if ac_fn_cxx_try_compile "$LINENO"; then :
43686 glibcxx_cv_func_isnanl_use=yes
43687 else
43688 glibcxx_cv_func_isnanl_use=no
43690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43691 ac_ext=c
43692 ac_cpp='$CPP $CPPFLAGS'
43693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
43702 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
43704 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
43705 for ac_func in isnanl
43706 do :
43707 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
43708 if test "x$ac_cv_func_isnanl" = x""yes; then :
43709 cat >>confdefs.h <<_ACEOF
43710 #define HAVE_ISNANL 1
43711 _ACEOF
43714 done
43716 else
43718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
43719 $as_echo_n "checking for _isnanl declaration... " >&6; }
43720 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
43721 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
43722 $as_echo_n "(cached) " >&6
43723 else
43726 ac_ext=cpp
43727 ac_cpp='$CXXCPP $CPPFLAGS'
43728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43733 /* end confdefs.h. */
43734 #include <math.h>
43735 #ifdef HAVE_IEEEFP_H
43736 #include <ieeefp.h>
43737 #endif
43740 main ()
43742 _isnanl(0);
43744 return 0;
43746 _ACEOF
43747 if ac_fn_cxx_try_compile "$LINENO"; then :
43748 glibcxx_cv_func__isnanl_use=yes
43749 else
43750 glibcxx_cv_func__isnanl_use=no
43752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43753 ac_ext=c
43754 ac_cpp='$CPP $CPPFLAGS'
43755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
43764 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
43766 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
43767 for ac_func in _isnanl
43768 do :
43769 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
43770 if test "x$ac_cv_func__isnanl" = x""yes; then :
43771 cat >>confdefs.h <<_ACEOF
43772 #define HAVE__ISNANL 1
43773 _ACEOF
43776 done
43785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
43786 $as_echo_n "checking for isinfl declaration... " >&6; }
43787 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
43788 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
43789 $as_echo_n "(cached) " >&6
43790 else
43793 ac_ext=cpp
43794 ac_cpp='$CXXCPP $CPPFLAGS'
43795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43800 /* end confdefs.h. */
43801 #include <math.h>
43802 #ifdef HAVE_IEEEFP_H
43803 #include <ieeefp.h>
43804 #endif
43807 main ()
43809 isinfl(0);
43811 return 0;
43813 _ACEOF
43814 if ac_fn_cxx_try_compile "$LINENO"; then :
43815 glibcxx_cv_func_isinfl_use=yes
43816 else
43817 glibcxx_cv_func_isinfl_use=no
43819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43820 ac_ext=c
43821 ac_cpp='$CPP $CPPFLAGS'
43822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
43831 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
43833 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
43834 for ac_func in isinfl
43835 do :
43836 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
43837 if test "x$ac_cv_func_isinfl" = x""yes; then :
43838 cat >>confdefs.h <<_ACEOF
43839 #define HAVE_ISINFL 1
43840 _ACEOF
43843 done
43845 else
43847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
43848 $as_echo_n "checking for _isinfl declaration... " >&6; }
43849 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
43850 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
43851 $as_echo_n "(cached) " >&6
43852 else
43855 ac_ext=cpp
43856 ac_cpp='$CXXCPP $CPPFLAGS'
43857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43862 /* end confdefs.h. */
43863 #include <math.h>
43864 #ifdef HAVE_IEEEFP_H
43865 #include <ieeefp.h>
43866 #endif
43869 main ()
43871 _isinfl(0);
43873 return 0;
43875 _ACEOF
43876 if ac_fn_cxx_try_compile "$LINENO"; then :
43877 glibcxx_cv_func__isinfl_use=yes
43878 else
43879 glibcxx_cv_func__isinfl_use=no
43881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43882 ac_ext=c
43883 ac_cpp='$CPP $CPPFLAGS'
43884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
43893 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
43895 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
43896 for ac_func in _isinfl
43897 do :
43898 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
43899 if test "x$ac_cv_func__isinfl" = x""yes; then :
43900 cat >>confdefs.h <<_ACEOF
43901 #define HAVE__ISINFL 1
43902 _ACEOF
43905 done
43914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
43915 $as_echo_n "checking for atan2l declaration... " >&6; }
43916 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
43917 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
43918 $as_echo_n "(cached) " >&6
43919 else
43922 ac_ext=cpp
43923 ac_cpp='$CXXCPP $CPPFLAGS'
43924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43929 /* end confdefs.h. */
43930 #include <math.h>
43932 main ()
43934 atan2l(0, 0);
43936 return 0;
43938 _ACEOF
43939 if ac_fn_cxx_try_compile "$LINENO"; then :
43940 glibcxx_cv_func_atan2l_use=yes
43941 else
43942 glibcxx_cv_func_atan2l_use=no
43944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43945 ac_ext=c
43946 ac_cpp='$CPP $CPPFLAGS'
43947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
43956 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
43958 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
43959 for ac_func in atan2l
43960 do :
43961 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
43962 if test "x$ac_cv_func_atan2l" = x""yes; then :
43963 cat >>confdefs.h <<_ACEOF
43964 #define HAVE_ATAN2L 1
43965 _ACEOF
43968 done
43970 else
43972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
43973 $as_echo_n "checking for _atan2l declaration... " >&6; }
43974 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
43975 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
43976 $as_echo_n "(cached) " >&6
43977 else
43980 ac_ext=cpp
43981 ac_cpp='$CXXCPP $CPPFLAGS'
43982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43987 /* end confdefs.h. */
43988 #include <math.h>
43990 main ()
43992 _atan2l(0, 0);
43994 return 0;
43996 _ACEOF
43997 if ac_fn_cxx_try_compile "$LINENO"; then :
43998 glibcxx_cv_func__atan2l_use=yes
43999 else
44000 glibcxx_cv_func__atan2l_use=no
44002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44003 ac_ext=c
44004 ac_cpp='$CPP $CPPFLAGS'
44005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
44014 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
44016 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
44017 for ac_func in _atan2l
44018 do :
44019 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
44020 if test "x$ac_cv_func__atan2l" = x""yes; then :
44021 cat >>confdefs.h <<_ACEOF
44022 #define HAVE__ATAN2L 1
44023 _ACEOF
44026 done
44035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
44036 $as_echo_n "checking for expl declaration... " >&6; }
44037 if test x${glibcxx_cv_func_expl_use+set} != xset; then
44038 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
44039 $as_echo_n "(cached) " >&6
44040 else
44043 ac_ext=cpp
44044 ac_cpp='$CXXCPP $CPPFLAGS'
44045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44050 /* end confdefs.h. */
44051 #include <math.h>
44052 #ifdef HAVE_IEEEFP_H
44053 #include <ieeefp.h>
44054 #endif
44057 main ()
44059 expl(0);
44061 return 0;
44063 _ACEOF
44064 if ac_fn_cxx_try_compile "$LINENO"; then :
44065 glibcxx_cv_func_expl_use=yes
44066 else
44067 glibcxx_cv_func_expl_use=no
44069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44070 ac_ext=c
44071 ac_cpp='$CPP $CPPFLAGS'
44072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
44081 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
44083 if test x$glibcxx_cv_func_expl_use = x"yes"; then
44084 for ac_func in expl
44085 do :
44086 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
44087 if test "x$ac_cv_func_expl" = x""yes; then :
44088 cat >>confdefs.h <<_ACEOF
44089 #define HAVE_EXPL 1
44090 _ACEOF
44093 done
44095 else
44097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
44098 $as_echo_n "checking for _expl declaration... " >&6; }
44099 if test x${glibcxx_cv_func__expl_use+set} != xset; then
44100 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
44101 $as_echo_n "(cached) " >&6
44102 else
44105 ac_ext=cpp
44106 ac_cpp='$CXXCPP $CPPFLAGS'
44107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44112 /* end confdefs.h. */
44113 #include <math.h>
44114 #ifdef HAVE_IEEEFP_H
44115 #include <ieeefp.h>
44116 #endif
44119 main ()
44121 _expl(0);
44123 return 0;
44125 _ACEOF
44126 if ac_fn_cxx_try_compile "$LINENO"; then :
44127 glibcxx_cv_func__expl_use=yes
44128 else
44129 glibcxx_cv_func__expl_use=no
44131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44132 ac_ext=c
44133 ac_cpp='$CPP $CPPFLAGS'
44134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
44143 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
44145 if test x$glibcxx_cv_func__expl_use = x"yes"; then
44146 for ac_func in _expl
44147 do :
44148 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
44149 if test "x$ac_cv_func__expl" = x""yes; then :
44150 cat >>confdefs.h <<_ACEOF
44151 #define HAVE__EXPL 1
44152 _ACEOF
44155 done
44164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
44165 $as_echo_n "checking for fabsl declaration... " >&6; }
44166 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
44167 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
44168 $as_echo_n "(cached) " >&6
44169 else
44172 ac_ext=cpp
44173 ac_cpp='$CXXCPP $CPPFLAGS'
44174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44179 /* end confdefs.h. */
44180 #include <math.h>
44181 #ifdef HAVE_IEEEFP_H
44182 #include <ieeefp.h>
44183 #endif
44186 main ()
44188 fabsl(0);
44190 return 0;
44192 _ACEOF
44193 if ac_fn_cxx_try_compile "$LINENO"; then :
44194 glibcxx_cv_func_fabsl_use=yes
44195 else
44196 glibcxx_cv_func_fabsl_use=no
44198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44199 ac_ext=c
44200 ac_cpp='$CPP $CPPFLAGS'
44201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
44210 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
44212 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
44213 for ac_func in fabsl
44214 do :
44215 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
44216 if test "x$ac_cv_func_fabsl" = x""yes; then :
44217 cat >>confdefs.h <<_ACEOF
44218 #define HAVE_FABSL 1
44219 _ACEOF
44222 done
44224 else
44226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
44227 $as_echo_n "checking for _fabsl declaration... " >&6; }
44228 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
44229 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
44230 $as_echo_n "(cached) " >&6
44231 else
44234 ac_ext=cpp
44235 ac_cpp='$CXXCPP $CPPFLAGS'
44236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44241 /* end confdefs.h. */
44242 #include <math.h>
44243 #ifdef HAVE_IEEEFP_H
44244 #include <ieeefp.h>
44245 #endif
44248 main ()
44250 _fabsl(0);
44252 return 0;
44254 _ACEOF
44255 if ac_fn_cxx_try_compile "$LINENO"; then :
44256 glibcxx_cv_func__fabsl_use=yes
44257 else
44258 glibcxx_cv_func__fabsl_use=no
44260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44261 ac_ext=c
44262 ac_cpp='$CPP $CPPFLAGS'
44263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
44272 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
44274 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
44275 for ac_func in _fabsl
44276 do :
44277 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
44278 if test "x$ac_cv_func__fabsl" = x""yes; then :
44279 cat >>confdefs.h <<_ACEOF
44280 #define HAVE__FABSL 1
44281 _ACEOF
44284 done
44293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
44294 $as_echo_n "checking for fmodl declaration... " >&6; }
44295 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
44296 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
44297 $as_echo_n "(cached) " >&6
44298 else
44301 ac_ext=cpp
44302 ac_cpp='$CXXCPP $CPPFLAGS'
44303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44308 /* end confdefs.h. */
44309 #include <math.h>
44311 main ()
44313 fmodl(0, 0);
44315 return 0;
44317 _ACEOF
44318 if ac_fn_cxx_try_compile "$LINENO"; then :
44319 glibcxx_cv_func_fmodl_use=yes
44320 else
44321 glibcxx_cv_func_fmodl_use=no
44323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44324 ac_ext=c
44325 ac_cpp='$CPP $CPPFLAGS'
44326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
44335 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
44337 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
44338 for ac_func in fmodl
44339 do :
44340 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
44341 if test "x$ac_cv_func_fmodl" = x""yes; then :
44342 cat >>confdefs.h <<_ACEOF
44343 #define HAVE_FMODL 1
44344 _ACEOF
44347 done
44349 else
44351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
44352 $as_echo_n "checking for _fmodl declaration... " >&6; }
44353 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
44354 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
44355 $as_echo_n "(cached) " >&6
44356 else
44359 ac_ext=cpp
44360 ac_cpp='$CXXCPP $CPPFLAGS'
44361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44366 /* end confdefs.h. */
44367 #include <math.h>
44369 main ()
44371 _fmodl(0, 0);
44373 return 0;
44375 _ACEOF
44376 if ac_fn_cxx_try_compile "$LINENO"; then :
44377 glibcxx_cv_func__fmodl_use=yes
44378 else
44379 glibcxx_cv_func__fmodl_use=no
44381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44382 ac_ext=c
44383 ac_cpp='$CPP $CPPFLAGS'
44384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
44393 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
44395 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
44396 for ac_func in _fmodl
44397 do :
44398 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
44399 if test "x$ac_cv_func__fmodl" = x""yes; then :
44400 cat >>confdefs.h <<_ACEOF
44401 #define HAVE__FMODL 1
44402 _ACEOF
44405 done
44414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
44415 $as_echo_n "checking for frexpl declaration... " >&6; }
44416 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
44417 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
44418 $as_echo_n "(cached) " >&6
44419 else
44422 ac_ext=cpp
44423 ac_cpp='$CXXCPP $CPPFLAGS'
44424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44429 /* end confdefs.h. */
44430 #include <math.h>
44432 main ()
44434 frexpl(0, 0);
44436 return 0;
44438 _ACEOF
44439 if ac_fn_cxx_try_compile "$LINENO"; then :
44440 glibcxx_cv_func_frexpl_use=yes
44441 else
44442 glibcxx_cv_func_frexpl_use=no
44444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44445 ac_ext=c
44446 ac_cpp='$CPP $CPPFLAGS'
44447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
44456 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
44458 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
44459 for ac_func in frexpl
44460 do :
44461 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
44462 if test "x$ac_cv_func_frexpl" = x""yes; then :
44463 cat >>confdefs.h <<_ACEOF
44464 #define HAVE_FREXPL 1
44465 _ACEOF
44468 done
44470 else
44472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
44473 $as_echo_n "checking for _frexpl declaration... " >&6; }
44474 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
44475 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
44476 $as_echo_n "(cached) " >&6
44477 else
44480 ac_ext=cpp
44481 ac_cpp='$CXXCPP $CPPFLAGS'
44482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44487 /* end confdefs.h. */
44488 #include <math.h>
44490 main ()
44492 _frexpl(0, 0);
44494 return 0;
44496 _ACEOF
44497 if ac_fn_cxx_try_compile "$LINENO"; then :
44498 glibcxx_cv_func__frexpl_use=yes
44499 else
44500 glibcxx_cv_func__frexpl_use=no
44502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44503 ac_ext=c
44504 ac_cpp='$CPP $CPPFLAGS'
44505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
44514 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
44516 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
44517 for ac_func in _frexpl
44518 do :
44519 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
44520 if test "x$ac_cv_func__frexpl" = x""yes; then :
44521 cat >>confdefs.h <<_ACEOF
44522 #define HAVE__FREXPL 1
44523 _ACEOF
44526 done
44535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
44536 $as_echo_n "checking for hypotl declaration... " >&6; }
44537 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
44538 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
44539 $as_echo_n "(cached) " >&6
44540 else
44543 ac_ext=cpp
44544 ac_cpp='$CXXCPP $CPPFLAGS'
44545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44550 /* end confdefs.h. */
44551 #include <math.h>
44553 main ()
44555 hypotl(0, 0);
44557 return 0;
44559 _ACEOF
44560 if ac_fn_cxx_try_compile "$LINENO"; then :
44561 glibcxx_cv_func_hypotl_use=yes
44562 else
44563 glibcxx_cv_func_hypotl_use=no
44565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44566 ac_ext=c
44567 ac_cpp='$CPP $CPPFLAGS'
44568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
44577 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
44579 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
44580 for ac_func in hypotl
44581 do :
44582 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
44583 if test "x$ac_cv_func_hypotl" = x""yes; then :
44584 cat >>confdefs.h <<_ACEOF
44585 #define HAVE_HYPOTL 1
44586 _ACEOF
44589 done
44591 else
44593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
44594 $as_echo_n "checking for _hypotl declaration... " >&6; }
44595 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
44596 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
44597 $as_echo_n "(cached) " >&6
44598 else
44601 ac_ext=cpp
44602 ac_cpp='$CXXCPP $CPPFLAGS'
44603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44608 /* end confdefs.h. */
44609 #include <math.h>
44611 main ()
44613 _hypotl(0, 0);
44615 return 0;
44617 _ACEOF
44618 if ac_fn_cxx_try_compile "$LINENO"; then :
44619 glibcxx_cv_func__hypotl_use=yes
44620 else
44621 glibcxx_cv_func__hypotl_use=no
44623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44624 ac_ext=c
44625 ac_cpp='$CPP $CPPFLAGS'
44626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
44635 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
44637 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
44638 for ac_func in _hypotl
44639 do :
44640 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
44641 if test "x$ac_cv_func__hypotl" = x""yes; then :
44642 cat >>confdefs.h <<_ACEOF
44643 #define HAVE__HYPOTL 1
44644 _ACEOF
44647 done
44656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
44657 $as_echo_n "checking for ldexpl declaration... " >&6; }
44658 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
44659 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
44660 $as_echo_n "(cached) " >&6
44661 else
44664 ac_ext=cpp
44665 ac_cpp='$CXXCPP $CPPFLAGS'
44666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44671 /* end confdefs.h. */
44672 #include <math.h>
44674 main ()
44676 ldexpl(0, 0);
44678 return 0;
44680 _ACEOF
44681 if ac_fn_cxx_try_compile "$LINENO"; then :
44682 glibcxx_cv_func_ldexpl_use=yes
44683 else
44684 glibcxx_cv_func_ldexpl_use=no
44686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44687 ac_ext=c
44688 ac_cpp='$CPP $CPPFLAGS'
44689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
44698 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
44700 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
44701 for ac_func in ldexpl
44702 do :
44703 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
44704 if test "x$ac_cv_func_ldexpl" = x""yes; then :
44705 cat >>confdefs.h <<_ACEOF
44706 #define HAVE_LDEXPL 1
44707 _ACEOF
44710 done
44712 else
44714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
44715 $as_echo_n "checking for _ldexpl declaration... " >&6; }
44716 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
44717 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
44718 $as_echo_n "(cached) " >&6
44719 else
44722 ac_ext=cpp
44723 ac_cpp='$CXXCPP $CPPFLAGS'
44724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44729 /* end confdefs.h. */
44730 #include <math.h>
44732 main ()
44734 _ldexpl(0, 0);
44736 return 0;
44738 _ACEOF
44739 if ac_fn_cxx_try_compile "$LINENO"; then :
44740 glibcxx_cv_func__ldexpl_use=yes
44741 else
44742 glibcxx_cv_func__ldexpl_use=no
44744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44745 ac_ext=c
44746 ac_cpp='$CPP $CPPFLAGS'
44747 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44748 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44749 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
44756 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
44758 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
44759 for ac_func in _ldexpl
44760 do :
44761 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
44762 if test "x$ac_cv_func__ldexpl" = x""yes; then :
44763 cat >>confdefs.h <<_ACEOF
44764 #define HAVE__LDEXPL 1
44765 _ACEOF
44768 done
44777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
44778 $as_echo_n "checking for logl declaration... " >&6; }
44779 if test x${glibcxx_cv_func_logl_use+set} != xset; then
44780 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
44781 $as_echo_n "(cached) " >&6
44782 else
44785 ac_ext=cpp
44786 ac_cpp='$CXXCPP $CPPFLAGS'
44787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44792 /* end confdefs.h. */
44793 #include <math.h>
44794 #ifdef HAVE_IEEEFP_H
44795 #include <ieeefp.h>
44796 #endif
44799 main ()
44801 logl(0);
44803 return 0;
44805 _ACEOF
44806 if ac_fn_cxx_try_compile "$LINENO"; then :
44807 glibcxx_cv_func_logl_use=yes
44808 else
44809 glibcxx_cv_func_logl_use=no
44811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44812 ac_ext=c
44813 ac_cpp='$CPP $CPPFLAGS'
44814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
44823 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
44825 if test x$glibcxx_cv_func_logl_use = x"yes"; then
44826 for ac_func in logl
44827 do :
44828 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
44829 if test "x$ac_cv_func_logl" = x""yes; then :
44830 cat >>confdefs.h <<_ACEOF
44831 #define HAVE_LOGL 1
44832 _ACEOF
44835 done
44837 else
44839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
44840 $as_echo_n "checking for _logl declaration... " >&6; }
44841 if test x${glibcxx_cv_func__logl_use+set} != xset; then
44842 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
44843 $as_echo_n "(cached) " >&6
44844 else
44847 ac_ext=cpp
44848 ac_cpp='$CXXCPP $CPPFLAGS'
44849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44854 /* end confdefs.h. */
44855 #include <math.h>
44856 #ifdef HAVE_IEEEFP_H
44857 #include <ieeefp.h>
44858 #endif
44861 main ()
44863 _logl(0);
44865 return 0;
44867 _ACEOF
44868 if ac_fn_cxx_try_compile "$LINENO"; then :
44869 glibcxx_cv_func__logl_use=yes
44870 else
44871 glibcxx_cv_func__logl_use=no
44873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44874 ac_ext=c
44875 ac_cpp='$CPP $CPPFLAGS'
44876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
44885 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
44887 if test x$glibcxx_cv_func__logl_use = x"yes"; then
44888 for ac_func in _logl
44889 do :
44890 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
44891 if test "x$ac_cv_func__logl" = x""yes; then :
44892 cat >>confdefs.h <<_ACEOF
44893 #define HAVE__LOGL 1
44894 _ACEOF
44897 done
44906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
44907 $as_echo_n "checking for log10l declaration... " >&6; }
44908 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
44909 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
44910 $as_echo_n "(cached) " >&6
44911 else
44914 ac_ext=cpp
44915 ac_cpp='$CXXCPP $CPPFLAGS'
44916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44921 /* end confdefs.h. */
44922 #include <math.h>
44923 #ifdef HAVE_IEEEFP_H
44924 #include <ieeefp.h>
44925 #endif
44928 main ()
44930 log10l(0);
44932 return 0;
44934 _ACEOF
44935 if ac_fn_cxx_try_compile "$LINENO"; then :
44936 glibcxx_cv_func_log10l_use=yes
44937 else
44938 glibcxx_cv_func_log10l_use=no
44940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44941 ac_ext=c
44942 ac_cpp='$CPP $CPPFLAGS'
44943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
44952 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
44954 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
44955 for ac_func in log10l
44956 do :
44957 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
44958 if test "x$ac_cv_func_log10l" = x""yes; then :
44959 cat >>confdefs.h <<_ACEOF
44960 #define HAVE_LOG10L 1
44961 _ACEOF
44964 done
44966 else
44968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
44969 $as_echo_n "checking for _log10l declaration... " >&6; }
44970 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
44971 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
44972 $as_echo_n "(cached) " >&6
44973 else
44976 ac_ext=cpp
44977 ac_cpp='$CXXCPP $CPPFLAGS'
44978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44983 /* end confdefs.h. */
44984 #include <math.h>
44985 #ifdef HAVE_IEEEFP_H
44986 #include <ieeefp.h>
44987 #endif
44990 main ()
44992 _log10l(0);
44994 return 0;
44996 _ACEOF
44997 if ac_fn_cxx_try_compile "$LINENO"; then :
44998 glibcxx_cv_func__log10l_use=yes
44999 else
45000 glibcxx_cv_func__log10l_use=no
45002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45003 ac_ext=c
45004 ac_cpp='$CPP $CPPFLAGS'
45005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
45014 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
45016 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
45017 for ac_func in _log10l
45018 do :
45019 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
45020 if test "x$ac_cv_func__log10l" = x""yes; then :
45021 cat >>confdefs.h <<_ACEOF
45022 #define HAVE__LOG10L 1
45023 _ACEOF
45026 done
45035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
45036 $as_echo_n "checking for modfl declaration... " >&6; }
45037 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
45038 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
45039 $as_echo_n "(cached) " >&6
45040 else
45043 ac_ext=cpp
45044 ac_cpp='$CXXCPP $CPPFLAGS'
45045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45050 /* end confdefs.h. */
45051 #include <math.h>
45053 main ()
45055 modfl(0, 0);
45057 return 0;
45059 _ACEOF
45060 if ac_fn_cxx_try_compile "$LINENO"; then :
45061 glibcxx_cv_func_modfl_use=yes
45062 else
45063 glibcxx_cv_func_modfl_use=no
45065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45066 ac_ext=c
45067 ac_cpp='$CPP $CPPFLAGS'
45068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
45077 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
45079 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
45080 for ac_func in modfl
45081 do :
45082 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
45083 if test "x$ac_cv_func_modfl" = x""yes; then :
45084 cat >>confdefs.h <<_ACEOF
45085 #define HAVE_MODFL 1
45086 _ACEOF
45089 done
45091 else
45093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
45094 $as_echo_n "checking for _modfl declaration... " >&6; }
45095 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
45096 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
45097 $as_echo_n "(cached) " >&6
45098 else
45101 ac_ext=cpp
45102 ac_cpp='$CXXCPP $CPPFLAGS'
45103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45108 /* end confdefs.h. */
45109 #include <math.h>
45111 main ()
45113 _modfl(0, 0);
45115 return 0;
45117 _ACEOF
45118 if ac_fn_cxx_try_compile "$LINENO"; then :
45119 glibcxx_cv_func__modfl_use=yes
45120 else
45121 glibcxx_cv_func__modfl_use=no
45123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45124 ac_ext=c
45125 ac_cpp='$CPP $CPPFLAGS'
45126 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45127 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45128 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
45135 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
45137 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
45138 for ac_func in _modfl
45139 do :
45140 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
45141 if test "x$ac_cv_func__modfl" = x""yes; then :
45142 cat >>confdefs.h <<_ACEOF
45143 #define HAVE__MODFL 1
45144 _ACEOF
45147 done
45156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
45157 $as_echo_n "checking for powl declaration... " >&6; }
45158 if test x${glibcxx_cv_func_powl_use+set} != xset; then
45159 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
45160 $as_echo_n "(cached) " >&6
45161 else
45164 ac_ext=cpp
45165 ac_cpp='$CXXCPP $CPPFLAGS'
45166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45171 /* end confdefs.h. */
45172 #include <math.h>
45174 main ()
45176 powl(0, 0);
45178 return 0;
45180 _ACEOF
45181 if ac_fn_cxx_try_compile "$LINENO"; then :
45182 glibcxx_cv_func_powl_use=yes
45183 else
45184 glibcxx_cv_func_powl_use=no
45186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45187 ac_ext=c
45188 ac_cpp='$CPP $CPPFLAGS'
45189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
45198 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
45200 if test x$glibcxx_cv_func_powl_use = x"yes"; then
45201 for ac_func in powl
45202 do :
45203 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
45204 if test "x$ac_cv_func_powl" = x""yes; then :
45205 cat >>confdefs.h <<_ACEOF
45206 #define HAVE_POWL 1
45207 _ACEOF
45210 done
45212 else
45214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
45215 $as_echo_n "checking for _powl declaration... " >&6; }
45216 if test x${glibcxx_cv_func__powl_use+set} != xset; then
45217 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
45218 $as_echo_n "(cached) " >&6
45219 else
45222 ac_ext=cpp
45223 ac_cpp='$CXXCPP $CPPFLAGS'
45224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45229 /* end confdefs.h. */
45230 #include <math.h>
45232 main ()
45234 _powl(0, 0);
45236 return 0;
45238 _ACEOF
45239 if ac_fn_cxx_try_compile "$LINENO"; then :
45240 glibcxx_cv_func__powl_use=yes
45241 else
45242 glibcxx_cv_func__powl_use=no
45244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45245 ac_ext=c
45246 ac_cpp='$CPP $CPPFLAGS'
45247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
45256 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
45258 if test x$glibcxx_cv_func__powl_use = x"yes"; then
45259 for ac_func in _powl
45260 do :
45261 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
45262 if test "x$ac_cv_func__powl" = x""yes; then :
45263 cat >>confdefs.h <<_ACEOF
45264 #define HAVE__POWL 1
45265 _ACEOF
45268 done
45277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
45278 $as_echo_n "checking for sqrtl declaration... " >&6; }
45279 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
45280 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
45281 $as_echo_n "(cached) " >&6
45282 else
45285 ac_ext=cpp
45286 ac_cpp='$CXXCPP $CPPFLAGS'
45287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45292 /* end confdefs.h. */
45293 #include <math.h>
45294 #ifdef HAVE_IEEEFP_H
45295 #include <ieeefp.h>
45296 #endif
45299 main ()
45301 sqrtl(0);
45303 return 0;
45305 _ACEOF
45306 if ac_fn_cxx_try_compile "$LINENO"; then :
45307 glibcxx_cv_func_sqrtl_use=yes
45308 else
45309 glibcxx_cv_func_sqrtl_use=no
45311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45312 ac_ext=c
45313 ac_cpp='$CPP $CPPFLAGS'
45314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
45323 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
45325 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
45326 for ac_func in sqrtl
45327 do :
45328 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
45329 if test "x$ac_cv_func_sqrtl" = x""yes; then :
45330 cat >>confdefs.h <<_ACEOF
45331 #define HAVE_SQRTL 1
45332 _ACEOF
45335 done
45337 else
45339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
45340 $as_echo_n "checking for _sqrtl declaration... " >&6; }
45341 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
45342 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
45343 $as_echo_n "(cached) " >&6
45344 else
45347 ac_ext=cpp
45348 ac_cpp='$CXXCPP $CPPFLAGS'
45349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45354 /* end confdefs.h. */
45355 #include <math.h>
45356 #ifdef HAVE_IEEEFP_H
45357 #include <ieeefp.h>
45358 #endif
45361 main ()
45363 _sqrtl(0);
45365 return 0;
45367 _ACEOF
45368 if ac_fn_cxx_try_compile "$LINENO"; then :
45369 glibcxx_cv_func__sqrtl_use=yes
45370 else
45371 glibcxx_cv_func__sqrtl_use=no
45373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45374 ac_ext=c
45375 ac_cpp='$CPP $CPPFLAGS'
45376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
45385 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
45387 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
45388 for ac_func in _sqrtl
45389 do :
45390 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
45391 if test "x$ac_cv_func__sqrtl" = x""yes; then :
45392 cat >>confdefs.h <<_ACEOF
45393 #define HAVE__SQRTL 1
45394 _ACEOF
45397 done
45406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
45407 $as_echo_n "checking for sincosl declaration... " >&6; }
45408 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
45409 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
45410 $as_echo_n "(cached) " >&6
45411 else
45414 ac_ext=cpp
45415 ac_cpp='$CXXCPP $CPPFLAGS'
45416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45421 /* end confdefs.h. */
45422 #include <math.h>
45424 main ()
45426 sincosl(0, 0, 0);
45428 return 0;
45430 _ACEOF
45431 if ac_fn_cxx_try_compile "$LINENO"; then :
45432 glibcxx_cv_func_sincosl_use=yes
45433 else
45434 glibcxx_cv_func_sincosl_use=no
45436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45437 ac_ext=c
45438 ac_cpp='$CPP $CPPFLAGS'
45439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
45448 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
45450 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
45451 for ac_func in sincosl
45452 do :
45453 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
45454 if test "x$ac_cv_func_sincosl" = x""yes; then :
45455 cat >>confdefs.h <<_ACEOF
45456 #define HAVE_SINCOSL 1
45457 _ACEOF
45460 done
45462 else
45464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
45465 $as_echo_n "checking for _sincosl declaration... " >&6; }
45466 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
45467 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
45468 $as_echo_n "(cached) " >&6
45469 else
45472 ac_ext=cpp
45473 ac_cpp='$CXXCPP $CPPFLAGS'
45474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45479 /* end confdefs.h. */
45480 #include <math.h>
45482 main ()
45484 _sincosl(0, 0, 0);
45486 return 0;
45488 _ACEOF
45489 if ac_fn_cxx_try_compile "$LINENO"; then :
45490 glibcxx_cv_func__sincosl_use=yes
45491 else
45492 glibcxx_cv_func__sincosl_use=no
45494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45495 ac_ext=c
45496 ac_cpp='$CPP $CPPFLAGS'
45497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
45506 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
45508 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
45509 for ac_func in _sincosl
45510 do :
45511 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
45512 if test "x$ac_cv_func__sincosl" = x""yes; then :
45513 cat >>confdefs.h <<_ACEOF
45514 #define HAVE__SINCOSL 1
45515 _ACEOF
45518 done
45527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
45528 $as_echo_n "checking for finitel declaration... " >&6; }
45529 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
45530 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
45531 $as_echo_n "(cached) " >&6
45532 else
45535 ac_ext=cpp
45536 ac_cpp='$CXXCPP $CPPFLAGS'
45537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45542 /* end confdefs.h. */
45543 #include <math.h>
45544 #ifdef HAVE_IEEEFP_H
45545 #include <ieeefp.h>
45546 #endif
45549 main ()
45551 finitel(0);
45553 return 0;
45555 _ACEOF
45556 if ac_fn_cxx_try_compile "$LINENO"; then :
45557 glibcxx_cv_func_finitel_use=yes
45558 else
45559 glibcxx_cv_func_finitel_use=no
45561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45562 ac_ext=c
45563 ac_cpp='$CPP $CPPFLAGS'
45564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
45573 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
45575 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
45576 for ac_func in finitel
45577 do :
45578 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
45579 if test "x$ac_cv_func_finitel" = x""yes; then :
45580 cat >>confdefs.h <<_ACEOF
45581 #define HAVE_FINITEL 1
45582 _ACEOF
45585 done
45587 else
45589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
45590 $as_echo_n "checking for _finitel declaration... " >&6; }
45591 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
45592 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
45593 $as_echo_n "(cached) " >&6
45594 else
45597 ac_ext=cpp
45598 ac_cpp='$CXXCPP $CPPFLAGS'
45599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45604 /* end confdefs.h. */
45605 #include <math.h>
45606 #ifdef HAVE_IEEEFP_H
45607 #include <ieeefp.h>
45608 #endif
45611 main ()
45613 _finitel(0);
45615 return 0;
45617 _ACEOF
45618 if ac_fn_cxx_try_compile "$LINENO"; then :
45619 glibcxx_cv_func__finitel_use=yes
45620 else
45621 glibcxx_cv_func__finitel_use=no
45623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45624 ac_ext=c
45625 ac_cpp='$CPP $CPPFLAGS'
45626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
45635 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
45637 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
45638 for ac_func in _finitel
45639 do :
45640 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
45641 if test "x$ac_cv_func__finitel" = x""yes; then :
45642 cat >>confdefs.h <<_ACEOF
45643 #define HAVE__FINITEL 1
45644 _ACEOF
45647 done
45655 LIBS="$ac_save_LIBS"
45656 CXXFLAGS="$ac_save_CXXFLAGS"
45659 ac_test_CXXFLAGS="${CXXFLAGS+set}"
45660 ac_save_CXXFLAGS="$CXXFLAGS"
45661 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
45664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
45665 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
45666 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
45667 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
45668 $as_echo_n "(cached) " >&6
45669 else
45672 ac_ext=cpp
45673 ac_cpp='$CXXCPP $CPPFLAGS'
45674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45679 /* end confdefs.h. */
45680 #include <stdlib.h>
45682 main ()
45684 at_quick_exit(0);
45686 return 0;
45688 _ACEOF
45689 if ac_fn_cxx_try_compile "$LINENO"; then :
45690 glibcxx_cv_func_at_quick_exit_use=yes
45691 else
45692 glibcxx_cv_func_at_quick_exit_use=no
45694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45695 ac_ext=c
45696 ac_cpp='$CPP $CPPFLAGS'
45697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
45706 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
45707 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
45708 for ac_func in at_quick_exit
45709 do :
45710 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
45711 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
45712 cat >>confdefs.h <<_ACEOF
45713 #define HAVE_AT_QUICK_EXIT 1
45714 _ACEOF
45717 done
45722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
45723 $as_echo_n "checking for quick_exit declaration... " >&6; }
45724 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
45725 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
45726 $as_echo_n "(cached) " >&6
45727 else
45730 ac_ext=cpp
45731 ac_cpp='$CXXCPP $CPPFLAGS'
45732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45737 /* end confdefs.h. */
45738 #include <stdlib.h>
45740 main ()
45742 quick_exit(0);
45744 return 0;
45746 _ACEOF
45747 if ac_fn_cxx_try_compile "$LINENO"; then :
45748 glibcxx_cv_func_quick_exit_use=yes
45749 else
45750 glibcxx_cv_func_quick_exit_use=no
45752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45753 ac_ext=c
45754 ac_cpp='$CPP $CPPFLAGS'
45755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
45764 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
45765 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
45766 for ac_func in quick_exit
45767 do :
45768 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
45769 if test "x$ac_cv_func_quick_exit" = x""yes; then :
45770 cat >>confdefs.h <<_ACEOF
45771 #define HAVE_QUICK_EXIT 1
45772 _ACEOF
45775 done
45780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
45781 $as_echo_n "checking for strtold declaration... " >&6; }
45782 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
45783 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
45784 $as_echo_n "(cached) " >&6
45785 else
45788 ac_ext=cpp
45789 ac_cpp='$CXXCPP $CPPFLAGS'
45790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45795 /* end confdefs.h. */
45796 #include <stdlib.h>
45798 main ()
45800 strtold(0, 0);
45802 return 0;
45804 _ACEOF
45805 if ac_fn_cxx_try_compile "$LINENO"; then :
45806 glibcxx_cv_func_strtold_use=yes
45807 else
45808 glibcxx_cv_func_strtold_use=no
45810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45811 ac_ext=c
45812 ac_cpp='$CPP $CPPFLAGS'
45813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
45822 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
45823 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
45824 for ac_func in strtold
45825 do :
45826 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
45827 if test "x$ac_cv_func_strtold" = x""yes; then :
45828 cat >>confdefs.h <<_ACEOF
45829 #define HAVE_STRTOLD 1
45830 _ACEOF
45833 done
45840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
45841 $as_echo_n "checking for strtof declaration... " >&6; }
45842 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
45843 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
45844 $as_echo_n "(cached) " >&6
45845 else
45848 ac_ext=cpp
45849 ac_cpp='$CXXCPP $CPPFLAGS'
45850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45855 /* end confdefs.h. */
45856 #include <stdlib.h>
45858 main ()
45860 strtof(0, 0);
45862 return 0;
45864 _ACEOF
45865 if ac_fn_cxx_try_compile "$LINENO"; then :
45866 glibcxx_cv_func_strtof_use=yes
45867 else
45868 glibcxx_cv_func_strtof_use=no
45870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45871 ac_ext=c
45872 ac_cpp='$CPP $CPPFLAGS'
45873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
45882 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
45883 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
45884 for ac_func in strtof
45885 do :
45886 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
45887 if test "x$ac_cv_func_strtof" = x""yes; then :
45888 cat >>confdefs.h <<_ACEOF
45889 #define HAVE_STRTOF 1
45890 _ACEOF
45893 done
45900 CXXFLAGS="$ac_save_CXXFLAGS"
45902 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
45904 # We don't yet support AIX's TLS ABI.
45905 #GCC_CHECK_TLS
45911 am_save_CPPFLAGS="$CPPFLAGS"
45913 for element in $INCICONV; do
45914 haveit=
45915 for x in $CPPFLAGS; do
45917 acl_save_prefix="$prefix"
45918 prefix="$acl_final_prefix"
45919 acl_save_exec_prefix="$exec_prefix"
45920 exec_prefix="$acl_final_exec_prefix"
45921 eval x=\"$x\"
45922 exec_prefix="$acl_save_exec_prefix"
45923 prefix="$acl_save_prefix"
45925 if test "X$x" = "X$element"; then
45926 haveit=yes
45927 break
45929 done
45930 if test -z "$haveit"; then
45931 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
45933 done
45936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
45937 $as_echo_n "checking for iconv... " >&6; }
45938 if test "${am_cv_func_iconv+set}" = set; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45942 am_cv_func_iconv="no, consider installing GNU libiconv"
45943 am_cv_lib_iconv=no
45944 if test x$gcc_no_link = xyes; then
45945 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45948 /* end confdefs.h. */
45949 #include <stdlib.h>
45950 #include <iconv.h>
45952 main ()
45954 iconv_t cd = iconv_open("","");
45955 iconv(cd,NULL,NULL,NULL,NULL);
45956 iconv_close(cd);
45958 return 0;
45960 _ACEOF
45961 if ac_fn_c_try_link "$LINENO"; then :
45962 am_cv_func_iconv=yes
45964 rm -f core conftest.err conftest.$ac_objext \
45965 conftest$ac_exeext conftest.$ac_ext
45966 if test "$am_cv_func_iconv" != yes; then
45967 am_save_LIBS="$LIBS"
45968 LIBS="$LIBS $LIBICONV"
45969 if test x$gcc_no_link = xyes; then
45970 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
45972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45973 /* end confdefs.h. */
45974 #include <stdlib.h>
45975 #include <iconv.h>
45977 main ()
45979 iconv_t cd = iconv_open("","");
45980 iconv(cd,NULL,NULL,NULL,NULL);
45981 iconv_close(cd);
45983 return 0;
45985 _ACEOF
45986 if ac_fn_c_try_link "$LINENO"; then :
45987 am_cv_lib_iconv=yes
45988 am_cv_func_iconv=yes
45990 rm -f core conftest.err conftest.$ac_objext \
45991 conftest$ac_exeext conftest.$ac_ext
45992 LIBS="$am_save_LIBS"
45996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
45997 $as_echo "$am_cv_func_iconv" >&6; }
45998 if test "$am_cv_func_iconv" = yes; then
46000 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
46003 if test "$am_cv_lib_iconv" = yes; then
46004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
46005 $as_echo_n "checking how to link with libiconv... " >&6; }
46006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
46007 $as_echo "$LIBICONV" >&6; }
46008 else
46009 CPPFLAGS="$am_save_CPPFLAGS"
46010 LIBICONV=
46011 LTLIBICONV=
46016 if test "$am_cv_func_iconv" = yes; then
46017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
46018 $as_echo_n "checking for iconv declaration... " >&6; }
46019 if test "${am_cv_proto_iconv+set}" = set; then :
46020 $as_echo_n "(cached) " >&6
46021 else
46023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46024 /* end confdefs.h. */
46026 #include <stdlib.h>
46027 #include <iconv.h>
46028 extern
46029 #ifdef __cplusplus
46031 #endif
46032 #if defined(__STDC__) || defined(__cplusplus)
46033 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
46034 #else
46035 size_t iconv();
46036 #endif
46039 main ()
46043 return 0;
46045 _ACEOF
46046 if ac_fn_c_try_compile "$LINENO"; then :
46047 am_cv_proto_iconv_arg1=""
46048 else
46049 am_cv_proto_iconv_arg1="const"
46051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46052 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);"
46055 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
46056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
46057 }$am_cv_proto_iconv" >&5
46058 $as_echo "${ac_t:-
46059 }$am_cv_proto_iconv" >&6; }
46061 cat >>confdefs.h <<_ACEOF
46062 #define ICONV_CONST $am_cv_proto_iconv_arg1
46063 _ACEOF
46069 *-darwin*)
46070 # Darwin versions vary, but the linker should work in a cross environment,
46071 # so we just check for all the features here.
46072 # Check for available headers.
46074 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
46076 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46077 ac_save_CXXFLAGS="$CXXFLAGS"
46078 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
46081 $as_echo_n "checking for sin in -lm... " >&6; }
46082 if test "${ac_cv_lib_m_sin+set}" = set; then :
46083 $as_echo_n "(cached) " >&6
46084 else
46085 ac_check_lib_save_LIBS=$LIBS
46086 LIBS="-lm $LIBS"
46087 if test x$gcc_no_link = xyes; then
46088 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46091 /* end confdefs.h. */
46093 /* Override any GCC internal prototype to avoid an error.
46094 Use char because int might match the return type of a GCC
46095 builtin and then its argument prototype would still apply. */
46096 #ifdef __cplusplus
46097 extern "C"
46098 #endif
46099 char sin ();
46101 main ()
46103 return sin ();
46105 return 0;
46107 _ACEOF
46108 if ac_fn_c_try_link "$LINENO"; then :
46109 ac_cv_lib_m_sin=yes
46110 else
46111 ac_cv_lib_m_sin=no
46113 rm -f core conftest.err conftest.$ac_objext \
46114 conftest$ac_exeext conftest.$ac_ext
46115 LIBS=$ac_check_lib_save_LIBS
46117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
46118 $as_echo "$ac_cv_lib_m_sin" >&6; }
46119 if test "x$ac_cv_lib_m_sin" = x""yes; then :
46120 libm="-lm"
46123 ac_save_LIBS="$LIBS"
46124 LIBS="$LIBS $libm"
46128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
46129 $as_echo_n "checking for isinf declaration... " >&6; }
46130 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
46131 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
46132 $as_echo_n "(cached) " >&6
46133 else
46136 ac_ext=cpp
46137 ac_cpp='$CXXCPP $CPPFLAGS'
46138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46143 /* end confdefs.h. */
46144 #include <math.h>
46145 #ifdef HAVE_IEEEFP_H
46146 #include <ieeefp.h>
46147 #endif
46150 main ()
46152 isinf(0);
46154 return 0;
46156 _ACEOF
46157 if ac_fn_cxx_try_compile "$LINENO"; then :
46158 glibcxx_cv_func_isinf_use=yes
46159 else
46160 glibcxx_cv_func_isinf_use=no
46162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46163 ac_ext=c
46164 ac_cpp='$CPP $CPPFLAGS'
46165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
46174 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
46176 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
46177 for ac_func in isinf
46178 do :
46179 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
46180 if test "x$ac_cv_func_isinf" = x""yes; then :
46181 cat >>confdefs.h <<_ACEOF
46182 #define HAVE_ISINF 1
46183 _ACEOF
46186 done
46188 else
46190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
46191 $as_echo_n "checking for _isinf declaration... " >&6; }
46192 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
46193 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
46194 $as_echo_n "(cached) " >&6
46195 else
46198 ac_ext=cpp
46199 ac_cpp='$CXXCPP $CPPFLAGS'
46200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46205 /* end confdefs.h. */
46206 #include <math.h>
46207 #ifdef HAVE_IEEEFP_H
46208 #include <ieeefp.h>
46209 #endif
46212 main ()
46214 _isinf(0);
46216 return 0;
46218 _ACEOF
46219 if ac_fn_cxx_try_compile "$LINENO"; then :
46220 glibcxx_cv_func__isinf_use=yes
46221 else
46222 glibcxx_cv_func__isinf_use=no
46224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46225 ac_ext=c
46226 ac_cpp='$CPP $CPPFLAGS'
46227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
46236 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
46238 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
46239 for ac_func in _isinf
46240 do :
46241 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
46242 if test "x$ac_cv_func__isinf" = x""yes; then :
46243 cat >>confdefs.h <<_ACEOF
46244 #define HAVE__ISINF 1
46245 _ACEOF
46248 done
46257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
46258 $as_echo_n "checking for isnan declaration... " >&6; }
46259 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
46260 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
46261 $as_echo_n "(cached) " >&6
46262 else
46265 ac_ext=cpp
46266 ac_cpp='$CXXCPP $CPPFLAGS'
46267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46272 /* end confdefs.h. */
46273 #include <math.h>
46274 #ifdef HAVE_IEEEFP_H
46275 #include <ieeefp.h>
46276 #endif
46279 main ()
46281 isnan(0);
46283 return 0;
46285 _ACEOF
46286 if ac_fn_cxx_try_compile "$LINENO"; then :
46287 glibcxx_cv_func_isnan_use=yes
46288 else
46289 glibcxx_cv_func_isnan_use=no
46291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46292 ac_ext=c
46293 ac_cpp='$CPP $CPPFLAGS'
46294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
46303 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
46305 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
46306 for ac_func in isnan
46307 do :
46308 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
46309 if test "x$ac_cv_func_isnan" = x""yes; then :
46310 cat >>confdefs.h <<_ACEOF
46311 #define HAVE_ISNAN 1
46312 _ACEOF
46315 done
46317 else
46319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
46320 $as_echo_n "checking for _isnan declaration... " >&6; }
46321 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
46322 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
46323 $as_echo_n "(cached) " >&6
46324 else
46327 ac_ext=cpp
46328 ac_cpp='$CXXCPP $CPPFLAGS'
46329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46334 /* end confdefs.h. */
46335 #include <math.h>
46336 #ifdef HAVE_IEEEFP_H
46337 #include <ieeefp.h>
46338 #endif
46341 main ()
46343 _isnan(0);
46345 return 0;
46347 _ACEOF
46348 if ac_fn_cxx_try_compile "$LINENO"; then :
46349 glibcxx_cv_func__isnan_use=yes
46350 else
46351 glibcxx_cv_func__isnan_use=no
46353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46354 ac_ext=c
46355 ac_cpp='$CPP $CPPFLAGS'
46356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
46365 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
46367 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
46368 for ac_func in _isnan
46369 do :
46370 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
46371 if test "x$ac_cv_func__isnan" = x""yes; then :
46372 cat >>confdefs.h <<_ACEOF
46373 #define HAVE__ISNAN 1
46374 _ACEOF
46377 done
46386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
46387 $as_echo_n "checking for finite declaration... " >&6; }
46388 if test x${glibcxx_cv_func_finite_use+set} != xset; then
46389 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
46390 $as_echo_n "(cached) " >&6
46391 else
46394 ac_ext=cpp
46395 ac_cpp='$CXXCPP $CPPFLAGS'
46396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46401 /* end confdefs.h. */
46402 #include <math.h>
46403 #ifdef HAVE_IEEEFP_H
46404 #include <ieeefp.h>
46405 #endif
46408 main ()
46410 finite(0);
46412 return 0;
46414 _ACEOF
46415 if ac_fn_cxx_try_compile "$LINENO"; then :
46416 glibcxx_cv_func_finite_use=yes
46417 else
46418 glibcxx_cv_func_finite_use=no
46420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46421 ac_ext=c
46422 ac_cpp='$CPP $CPPFLAGS'
46423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
46432 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
46434 if test x$glibcxx_cv_func_finite_use = x"yes"; then
46435 for ac_func in finite
46436 do :
46437 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
46438 if test "x$ac_cv_func_finite" = x""yes; then :
46439 cat >>confdefs.h <<_ACEOF
46440 #define HAVE_FINITE 1
46441 _ACEOF
46444 done
46446 else
46448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
46449 $as_echo_n "checking for _finite declaration... " >&6; }
46450 if test x${glibcxx_cv_func__finite_use+set} != xset; then
46451 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
46452 $as_echo_n "(cached) " >&6
46453 else
46456 ac_ext=cpp
46457 ac_cpp='$CXXCPP $CPPFLAGS'
46458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46463 /* end confdefs.h. */
46464 #include <math.h>
46465 #ifdef HAVE_IEEEFP_H
46466 #include <ieeefp.h>
46467 #endif
46470 main ()
46472 _finite(0);
46474 return 0;
46476 _ACEOF
46477 if ac_fn_cxx_try_compile "$LINENO"; then :
46478 glibcxx_cv_func__finite_use=yes
46479 else
46480 glibcxx_cv_func__finite_use=no
46482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46483 ac_ext=c
46484 ac_cpp='$CPP $CPPFLAGS'
46485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
46494 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
46496 if test x$glibcxx_cv_func__finite_use = x"yes"; then
46497 for ac_func in _finite
46498 do :
46499 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
46500 if test "x$ac_cv_func__finite" = x""yes; then :
46501 cat >>confdefs.h <<_ACEOF
46502 #define HAVE__FINITE 1
46503 _ACEOF
46506 done
46515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
46516 $as_echo_n "checking for sincos declaration... " >&6; }
46517 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
46518 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
46519 $as_echo_n "(cached) " >&6
46520 else
46523 ac_ext=cpp
46524 ac_cpp='$CXXCPP $CPPFLAGS'
46525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46530 /* end confdefs.h. */
46531 #include <math.h>
46533 main ()
46535 sincos(0, 0, 0);
46537 return 0;
46539 _ACEOF
46540 if ac_fn_cxx_try_compile "$LINENO"; then :
46541 glibcxx_cv_func_sincos_use=yes
46542 else
46543 glibcxx_cv_func_sincos_use=no
46545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46546 ac_ext=c
46547 ac_cpp='$CPP $CPPFLAGS'
46548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
46557 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
46559 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
46560 for ac_func in sincos
46561 do :
46562 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
46563 if test "x$ac_cv_func_sincos" = x""yes; then :
46564 cat >>confdefs.h <<_ACEOF
46565 #define HAVE_SINCOS 1
46566 _ACEOF
46569 done
46571 else
46573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
46574 $as_echo_n "checking for _sincos declaration... " >&6; }
46575 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
46576 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
46577 $as_echo_n "(cached) " >&6
46578 else
46581 ac_ext=cpp
46582 ac_cpp='$CXXCPP $CPPFLAGS'
46583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46588 /* end confdefs.h. */
46589 #include <math.h>
46591 main ()
46593 _sincos(0, 0, 0);
46595 return 0;
46597 _ACEOF
46598 if ac_fn_cxx_try_compile "$LINENO"; then :
46599 glibcxx_cv_func__sincos_use=yes
46600 else
46601 glibcxx_cv_func__sincos_use=no
46603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46604 ac_ext=c
46605 ac_cpp='$CPP $CPPFLAGS'
46606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
46615 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
46617 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
46618 for ac_func in _sincos
46619 do :
46620 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
46621 if test "x$ac_cv_func__sincos" = x""yes; then :
46622 cat >>confdefs.h <<_ACEOF
46623 #define HAVE__SINCOS 1
46624 _ACEOF
46627 done
46636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
46637 $as_echo_n "checking for fpclass declaration... " >&6; }
46638 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
46639 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
46640 $as_echo_n "(cached) " >&6
46641 else
46644 ac_ext=cpp
46645 ac_cpp='$CXXCPP $CPPFLAGS'
46646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46651 /* end confdefs.h. */
46652 #include <math.h>
46653 #ifdef HAVE_IEEEFP_H
46654 #include <ieeefp.h>
46655 #endif
46658 main ()
46660 fpclass(0);
46662 return 0;
46664 _ACEOF
46665 if ac_fn_cxx_try_compile "$LINENO"; then :
46666 glibcxx_cv_func_fpclass_use=yes
46667 else
46668 glibcxx_cv_func_fpclass_use=no
46670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46671 ac_ext=c
46672 ac_cpp='$CPP $CPPFLAGS'
46673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
46682 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
46684 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
46685 for ac_func in fpclass
46686 do :
46687 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
46688 if test "x$ac_cv_func_fpclass" = x""yes; then :
46689 cat >>confdefs.h <<_ACEOF
46690 #define HAVE_FPCLASS 1
46691 _ACEOF
46694 done
46696 else
46698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
46699 $as_echo_n "checking for _fpclass declaration... " >&6; }
46700 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
46701 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
46702 $as_echo_n "(cached) " >&6
46703 else
46706 ac_ext=cpp
46707 ac_cpp='$CXXCPP $CPPFLAGS'
46708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46713 /* end confdefs.h. */
46714 #include <math.h>
46715 #ifdef HAVE_IEEEFP_H
46716 #include <ieeefp.h>
46717 #endif
46720 main ()
46722 _fpclass(0);
46724 return 0;
46726 _ACEOF
46727 if ac_fn_cxx_try_compile "$LINENO"; then :
46728 glibcxx_cv_func__fpclass_use=yes
46729 else
46730 glibcxx_cv_func__fpclass_use=no
46732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46733 ac_ext=c
46734 ac_cpp='$CPP $CPPFLAGS'
46735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
46744 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
46746 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
46747 for ac_func in _fpclass
46748 do :
46749 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
46750 if test "x$ac_cv_func__fpclass" = x""yes; then :
46751 cat >>confdefs.h <<_ACEOF
46752 #define HAVE__FPCLASS 1
46753 _ACEOF
46756 done
46765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
46766 $as_echo_n "checking for qfpclass declaration... " >&6; }
46767 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
46768 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
46769 $as_echo_n "(cached) " >&6
46770 else
46773 ac_ext=cpp
46774 ac_cpp='$CXXCPP $CPPFLAGS'
46775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46780 /* end confdefs.h. */
46781 #include <math.h>
46782 #ifdef HAVE_IEEEFP_H
46783 #include <ieeefp.h>
46784 #endif
46787 main ()
46789 qfpclass(0);
46791 return 0;
46793 _ACEOF
46794 if ac_fn_cxx_try_compile "$LINENO"; then :
46795 glibcxx_cv_func_qfpclass_use=yes
46796 else
46797 glibcxx_cv_func_qfpclass_use=no
46799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46800 ac_ext=c
46801 ac_cpp='$CPP $CPPFLAGS'
46802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
46811 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
46813 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
46814 for ac_func in qfpclass
46815 do :
46816 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
46817 if test "x$ac_cv_func_qfpclass" = x""yes; then :
46818 cat >>confdefs.h <<_ACEOF
46819 #define HAVE_QFPCLASS 1
46820 _ACEOF
46823 done
46825 else
46827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
46828 $as_echo_n "checking for _qfpclass declaration... " >&6; }
46829 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
46830 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
46831 $as_echo_n "(cached) " >&6
46832 else
46835 ac_ext=cpp
46836 ac_cpp='$CXXCPP $CPPFLAGS'
46837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46842 /* end confdefs.h. */
46843 #include <math.h>
46844 #ifdef HAVE_IEEEFP_H
46845 #include <ieeefp.h>
46846 #endif
46849 main ()
46851 _qfpclass(0);
46853 return 0;
46855 _ACEOF
46856 if ac_fn_cxx_try_compile "$LINENO"; then :
46857 glibcxx_cv_func__qfpclass_use=yes
46858 else
46859 glibcxx_cv_func__qfpclass_use=no
46861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46862 ac_ext=c
46863 ac_cpp='$CPP $CPPFLAGS'
46864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
46873 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
46875 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
46876 for ac_func in _qfpclass
46877 do :
46878 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
46879 if test "x$ac_cv_func__qfpclass" = x""yes; then :
46880 cat >>confdefs.h <<_ACEOF
46881 #define HAVE__QFPCLASS 1
46882 _ACEOF
46885 done
46894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
46895 $as_echo_n "checking for hypot declaration... " >&6; }
46896 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
46897 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
46898 $as_echo_n "(cached) " >&6
46899 else
46902 ac_ext=cpp
46903 ac_cpp='$CXXCPP $CPPFLAGS'
46904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46909 /* end confdefs.h. */
46910 #include <math.h>
46912 main ()
46914 hypot(0, 0);
46916 return 0;
46918 _ACEOF
46919 if ac_fn_cxx_try_compile "$LINENO"; then :
46920 glibcxx_cv_func_hypot_use=yes
46921 else
46922 glibcxx_cv_func_hypot_use=no
46924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46925 ac_ext=c
46926 ac_cpp='$CPP $CPPFLAGS'
46927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
46936 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
46938 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
46939 for ac_func in hypot
46940 do :
46941 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
46942 if test "x$ac_cv_func_hypot" = x""yes; then :
46943 cat >>confdefs.h <<_ACEOF
46944 #define HAVE_HYPOT 1
46945 _ACEOF
46948 done
46950 else
46952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
46953 $as_echo_n "checking for _hypot declaration... " >&6; }
46954 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
46955 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
46956 $as_echo_n "(cached) " >&6
46957 else
46960 ac_ext=cpp
46961 ac_cpp='$CXXCPP $CPPFLAGS'
46962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46967 /* end confdefs.h. */
46968 #include <math.h>
46970 main ()
46972 _hypot(0, 0);
46974 return 0;
46976 _ACEOF
46977 if ac_fn_cxx_try_compile "$LINENO"; then :
46978 glibcxx_cv_func__hypot_use=yes
46979 else
46980 glibcxx_cv_func__hypot_use=no
46982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46983 ac_ext=c
46984 ac_cpp='$CPP $CPPFLAGS'
46985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
46994 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
46996 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
46997 for ac_func in _hypot
46998 do :
46999 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
47000 if test "x$ac_cv_func__hypot" = x""yes; then :
47001 cat >>confdefs.h <<_ACEOF
47002 #define HAVE__HYPOT 1
47003 _ACEOF
47006 done
47015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
47016 $as_echo_n "checking for float trig functions... " >&6; }
47017 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
47018 $as_echo_n "(cached) " >&6
47019 else
47022 ac_ext=cpp
47023 ac_cpp='$CXXCPP $CPPFLAGS'
47024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47029 /* end confdefs.h. */
47030 #include <math.h>
47032 main ()
47034 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
47036 return 0;
47038 _ACEOF
47039 if ac_fn_cxx_try_compile "$LINENO"; then :
47040 glibcxx_cv_func_float_trig_use=yes
47041 else
47042 glibcxx_cv_func_float_trig_use=no
47044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47045 ac_ext=c
47046 ac_cpp='$CPP $CPPFLAGS'
47047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
47054 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
47055 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
47056 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
47057 do :
47058 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47059 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47060 eval as_val=\$$as_ac_var
47061 if test "x$as_val" = x""yes; then :
47062 cat >>confdefs.h <<_ACEOF
47063 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47064 _ACEOF
47067 done
47069 else
47070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
47071 $as_echo_n "checking for _float trig functions... " >&6; }
47072 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
47073 $as_echo_n "(cached) " >&6
47074 else
47077 ac_ext=cpp
47078 ac_cpp='$CXXCPP $CPPFLAGS'
47079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47084 /* end confdefs.h. */
47085 #include <math.h>
47087 main ()
47089 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
47091 return 0;
47093 _ACEOF
47094 if ac_fn_cxx_try_compile "$LINENO"; then :
47095 glibcxx_cv_func__float_trig_use=yes
47096 else
47097 glibcxx_cv_func__float_trig_use=no
47099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47100 ac_ext=c
47101 ac_cpp='$CPP $CPPFLAGS'
47102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
47109 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
47110 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
47111 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
47112 do :
47113 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47114 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47115 eval as_val=\$$as_ac_var
47116 if test "x$as_val" = x""yes; then :
47117 cat >>confdefs.h <<_ACEOF
47118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47119 _ACEOF
47122 done
47131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
47132 $as_echo_n "checking for float round functions... " >&6; }
47133 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
47134 $as_echo_n "(cached) " >&6
47135 else
47138 ac_ext=cpp
47139 ac_cpp='$CXXCPP $CPPFLAGS'
47140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47145 /* end confdefs.h. */
47146 #include <math.h>
47148 main ()
47150 ceilf (0); floorf (0);
47152 return 0;
47154 _ACEOF
47155 if ac_fn_cxx_try_compile "$LINENO"; then :
47156 glibcxx_cv_func_float_round_use=yes
47157 else
47158 glibcxx_cv_func_float_round_use=no
47160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47161 ac_ext=c
47162 ac_cpp='$CPP $CPPFLAGS'
47163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
47170 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
47171 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
47172 for ac_func in ceilf floorf
47173 do :
47174 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47175 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47176 eval as_val=\$$as_ac_var
47177 if test "x$as_val" = x""yes; then :
47178 cat >>confdefs.h <<_ACEOF
47179 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47180 _ACEOF
47183 done
47185 else
47186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
47187 $as_echo_n "checking for _float round functions... " >&6; }
47188 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
47189 $as_echo_n "(cached) " >&6
47190 else
47193 ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <math.h>
47203 main ()
47205 _ceilf (0); _floorf (0);
47207 return 0;
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func__float_round_use=yes
47212 else
47213 glibcxx_cv_func__float_round_use=no
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
47225 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
47226 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
47227 for ac_func in _ceilf _floorf
47228 do :
47229 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47230 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47231 eval as_val=\$$as_ac_var
47232 if test "x$as_val" = x""yes; then :
47233 cat >>confdefs.h <<_ACEOF
47234 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47235 _ACEOF
47238 done
47248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
47249 $as_echo_n "checking for expf declaration... " >&6; }
47250 if test x${glibcxx_cv_func_expf_use+set} != xset; then
47251 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
47252 $as_echo_n "(cached) " >&6
47253 else
47256 ac_ext=cpp
47257 ac_cpp='$CXXCPP $CPPFLAGS'
47258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47263 /* end confdefs.h. */
47264 #include <math.h>
47265 #ifdef HAVE_IEEEFP_H
47266 #include <ieeefp.h>
47267 #endif
47270 main ()
47272 expf(0);
47274 return 0;
47276 _ACEOF
47277 if ac_fn_cxx_try_compile "$LINENO"; then :
47278 glibcxx_cv_func_expf_use=yes
47279 else
47280 glibcxx_cv_func_expf_use=no
47282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47283 ac_ext=c
47284 ac_cpp='$CPP $CPPFLAGS'
47285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
47294 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
47296 if test x$glibcxx_cv_func_expf_use = x"yes"; then
47297 for ac_func in expf
47298 do :
47299 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
47300 if test "x$ac_cv_func_expf" = x""yes; then :
47301 cat >>confdefs.h <<_ACEOF
47302 #define HAVE_EXPF 1
47303 _ACEOF
47306 done
47308 else
47310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
47311 $as_echo_n "checking for _expf declaration... " >&6; }
47312 if test x${glibcxx_cv_func__expf_use+set} != xset; then
47313 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
47314 $as_echo_n "(cached) " >&6
47315 else
47318 ac_ext=cpp
47319 ac_cpp='$CXXCPP $CPPFLAGS'
47320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47325 /* end confdefs.h. */
47326 #include <math.h>
47327 #ifdef HAVE_IEEEFP_H
47328 #include <ieeefp.h>
47329 #endif
47332 main ()
47334 _expf(0);
47336 return 0;
47338 _ACEOF
47339 if ac_fn_cxx_try_compile "$LINENO"; then :
47340 glibcxx_cv_func__expf_use=yes
47341 else
47342 glibcxx_cv_func__expf_use=no
47344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47345 ac_ext=c
47346 ac_cpp='$CPP $CPPFLAGS'
47347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
47356 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
47358 if test x$glibcxx_cv_func__expf_use = x"yes"; then
47359 for ac_func in _expf
47360 do :
47361 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
47362 if test "x$ac_cv_func__expf" = x""yes; then :
47363 cat >>confdefs.h <<_ACEOF
47364 #define HAVE__EXPF 1
47365 _ACEOF
47368 done
47377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
47378 $as_echo_n "checking for isnanf declaration... " >&6; }
47379 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
47380 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
47381 $as_echo_n "(cached) " >&6
47382 else
47385 ac_ext=cpp
47386 ac_cpp='$CXXCPP $CPPFLAGS'
47387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47392 /* end confdefs.h. */
47393 #include <math.h>
47394 #ifdef HAVE_IEEEFP_H
47395 #include <ieeefp.h>
47396 #endif
47399 main ()
47401 isnanf(0);
47403 return 0;
47405 _ACEOF
47406 if ac_fn_cxx_try_compile "$LINENO"; then :
47407 glibcxx_cv_func_isnanf_use=yes
47408 else
47409 glibcxx_cv_func_isnanf_use=no
47411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47412 ac_ext=c
47413 ac_cpp='$CPP $CPPFLAGS'
47414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
47423 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
47425 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
47426 for ac_func in isnanf
47427 do :
47428 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
47429 if test "x$ac_cv_func_isnanf" = x""yes; then :
47430 cat >>confdefs.h <<_ACEOF
47431 #define HAVE_ISNANF 1
47432 _ACEOF
47435 done
47437 else
47439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
47440 $as_echo_n "checking for _isnanf declaration... " >&6; }
47441 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
47442 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
47443 $as_echo_n "(cached) " >&6
47444 else
47447 ac_ext=cpp
47448 ac_cpp='$CXXCPP $CPPFLAGS'
47449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47454 /* end confdefs.h. */
47455 #include <math.h>
47456 #ifdef HAVE_IEEEFP_H
47457 #include <ieeefp.h>
47458 #endif
47461 main ()
47463 _isnanf(0);
47465 return 0;
47467 _ACEOF
47468 if ac_fn_cxx_try_compile "$LINENO"; then :
47469 glibcxx_cv_func__isnanf_use=yes
47470 else
47471 glibcxx_cv_func__isnanf_use=no
47473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47474 ac_ext=c
47475 ac_cpp='$CPP $CPPFLAGS'
47476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
47485 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
47487 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
47488 for ac_func in _isnanf
47489 do :
47490 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
47491 if test "x$ac_cv_func__isnanf" = x""yes; then :
47492 cat >>confdefs.h <<_ACEOF
47493 #define HAVE__ISNANF 1
47494 _ACEOF
47497 done
47506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
47507 $as_echo_n "checking for isinff declaration... " >&6; }
47508 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
47509 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
47510 $as_echo_n "(cached) " >&6
47511 else
47514 ac_ext=cpp
47515 ac_cpp='$CXXCPP $CPPFLAGS'
47516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47521 /* end confdefs.h. */
47522 #include <math.h>
47523 #ifdef HAVE_IEEEFP_H
47524 #include <ieeefp.h>
47525 #endif
47528 main ()
47530 isinff(0);
47532 return 0;
47534 _ACEOF
47535 if ac_fn_cxx_try_compile "$LINENO"; then :
47536 glibcxx_cv_func_isinff_use=yes
47537 else
47538 glibcxx_cv_func_isinff_use=no
47540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47541 ac_ext=c
47542 ac_cpp='$CPP $CPPFLAGS'
47543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
47552 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
47554 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
47555 for ac_func in isinff
47556 do :
47557 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
47558 if test "x$ac_cv_func_isinff" = x""yes; then :
47559 cat >>confdefs.h <<_ACEOF
47560 #define HAVE_ISINFF 1
47561 _ACEOF
47564 done
47566 else
47568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
47569 $as_echo_n "checking for _isinff declaration... " >&6; }
47570 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
47571 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
47572 $as_echo_n "(cached) " >&6
47573 else
47576 ac_ext=cpp
47577 ac_cpp='$CXXCPP $CPPFLAGS'
47578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47583 /* end confdefs.h. */
47584 #include <math.h>
47585 #ifdef HAVE_IEEEFP_H
47586 #include <ieeefp.h>
47587 #endif
47590 main ()
47592 _isinff(0);
47594 return 0;
47596 _ACEOF
47597 if ac_fn_cxx_try_compile "$LINENO"; then :
47598 glibcxx_cv_func__isinff_use=yes
47599 else
47600 glibcxx_cv_func__isinff_use=no
47602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47603 ac_ext=c
47604 ac_cpp='$CPP $CPPFLAGS'
47605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
47614 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
47616 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
47617 for ac_func in _isinff
47618 do :
47619 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
47620 if test "x$ac_cv_func__isinff" = x""yes; then :
47621 cat >>confdefs.h <<_ACEOF
47622 #define HAVE__ISINFF 1
47623 _ACEOF
47626 done
47635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
47636 $as_echo_n "checking for atan2f declaration... " >&6; }
47637 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
47638 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
47639 $as_echo_n "(cached) " >&6
47640 else
47643 ac_ext=cpp
47644 ac_cpp='$CXXCPP $CPPFLAGS'
47645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47650 /* end confdefs.h. */
47651 #include <math.h>
47653 main ()
47655 atan2f(0, 0);
47657 return 0;
47659 _ACEOF
47660 if ac_fn_cxx_try_compile "$LINENO"; then :
47661 glibcxx_cv_func_atan2f_use=yes
47662 else
47663 glibcxx_cv_func_atan2f_use=no
47665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47666 ac_ext=c
47667 ac_cpp='$CPP $CPPFLAGS'
47668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
47677 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
47679 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
47680 for ac_func in atan2f
47681 do :
47682 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
47683 if test "x$ac_cv_func_atan2f" = x""yes; then :
47684 cat >>confdefs.h <<_ACEOF
47685 #define HAVE_ATAN2F 1
47686 _ACEOF
47689 done
47691 else
47693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
47694 $as_echo_n "checking for _atan2f declaration... " >&6; }
47695 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
47696 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
47697 $as_echo_n "(cached) " >&6
47698 else
47701 ac_ext=cpp
47702 ac_cpp='$CXXCPP $CPPFLAGS'
47703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47708 /* end confdefs.h. */
47709 #include <math.h>
47711 main ()
47713 _atan2f(0, 0);
47715 return 0;
47717 _ACEOF
47718 if ac_fn_cxx_try_compile "$LINENO"; then :
47719 glibcxx_cv_func__atan2f_use=yes
47720 else
47721 glibcxx_cv_func__atan2f_use=no
47723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47724 ac_ext=c
47725 ac_cpp='$CPP $CPPFLAGS'
47726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
47735 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
47737 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
47738 for ac_func in _atan2f
47739 do :
47740 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
47741 if test "x$ac_cv_func__atan2f" = x""yes; then :
47742 cat >>confdefs.h <<_ACEOF
47743 #define HAVE__ATAN2F 1
47744 _ACEOF
47747 done
47756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
47757 $as_echo_n "checking for fabsf declaration... " >&6; }
47758 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
47759 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
47760 $as_echo_n "(cached) " >&6
47761 else
47764 ac_ext=cpp
47765 ac_cpp='$CXXCPP $CPPFLAGS'
47766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47771 /* end confdefs.h. */
47772 #include <math.h>
47773 #ifdef HAVE_IEEEFP_H
47774 #include <ieeefp.h>
47775 #endif
47778 main ()
47780 fabsf(0);
47782 return 0;
47784 _ACEOF
47785 if ac_fn_cxx_try_compile "$LINENO"; then :
47786 glibcxx_cv_func_fabsf_use=yes
47787 else
47788 glibcxx_cv_func_fabsf_use=no
47790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47791 ac_ext=c
47792 ac_cpp='$CPP $CPPFLAGS'
47793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
47802 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
47804 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
47805 for ac_func in fabsf
47806 do :
47807 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
47808 if test "x$ac_cv_func_fabsf" = x""yes; then :
47809 cat >>confdefs.h <<_ACEOF
47810 #define HAVE_FABSF 1
47811 _ACEOF
47814 done
47816 else
47818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
47819 $as_echo_n "checking for _fabsf declaration... " >&6; }
47820 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
47821 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
47822 $as_echo_n "(cached) " >&6
47823 else
47826 ac_ext=cpp
47827 ac_cpp='$CXXCPP $CPPFLAGS'
47828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47833 /* end confdefs.h. */
47834 #include <math.h>
47835 #ifdef HAVE_IEEEFP_H
47836 #include <ieeefp.h>
47837 #endif
47840 main ()
47842 _fabsf(0);
47844 return 0;
47846 _ACEOF
47847 if ac_fn_cxx_try_compile "$LINENO"; then :
47848 glibcxx_cv_func__fabsf_use=yes
47849 else
47850 glibcxx_cv_func__fabsf_use=no
47852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47853 ac_ext=c
47854 ac_cpp='$CPP $CPPFLAGS'
47855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
47864 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
47866 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
47867 for ac_func in _fabsf
47868 do :
47869 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
47870 if test "x$ac_cv_func__fabsf" = x""yes; then :
47871 cat >>confdefs.h <<_ACEOF
47872 #define HAVE__FABSF 1
47873 _ACEOF
47876 done
47885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
47886 $as_echo_n "checking for fmodf declaration... " >&6; }
47887 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
47888 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
47889 $as_echo_n "(cached) " >&6
47890 else
47893 ac_ext=cpp
47894 ac_cpp='$CXXCPP $CPPFLAGS'
47895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47900 /* end confdefs.h. */
47901 #include <math.h>
47903 main ()
47905 fmodf(0, 0);
47907 return 0;
47909 _ACEOF
47910 if ac_fn_cxx_try_compile "$LINENO"; then :
47911 glibcxx_cv_func_fmodf_use=yes
47912 else
47913 glibcxx_cv_func_fmodf_use=no
47915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47916 ac_ext=c
47917 ac_cpp='$CPP $CPPFLAGS'
47918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
47927 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
47929 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
47930 for ac_func in fmodf
47931 do :
47932 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
47933 if test "x$ac_cv_func_fmodf" = x""yes; then :
47934 cat >>confdefs.h <<_ACEOF
47935 #define HAVE_FMODF 1
47936 _ACEOF
47939 done
47941 else
47943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
47944 $as_echo_n "checking for _fmodf declaration... " >&6; }
47945 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
47946 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
47947 $as_echo_n "(cached) " >&6
47948 else
47951 ac_ext=cpp
47952 ac_cpp='$CXXCPP $CPPFLAGS'
47953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47958 /* end confdefs.h. */
47959 #include <math.h>
47961 main ()
47963 _fmodf(0, 0);
47965 return 0;
47967 _ACEOF
47968 if ac_fn_cxx_try_compile "$LINENO"; then :
47969 glibcxx_cv_func__fmodf_use=yes
47970 else
47971 glibcxx_cv_func__fmodf_use=no
47973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47974 ac_ext=c
47975 ac_cpp='$CPP $CPPFLAGS'
47976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
47985 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
47987 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
47988 for ac_func in _fmodf
47989 do :
47990 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
47991 if test "x$ac_cv_func__fmodf" = x""yes; then :
47992 cat >>confdefs.h <<_ACEOF
47993 #define HAVE__FMODF 1
47994 _ACEOF
47997 done
48006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
48007 $as_echo_n "checking for frexpf declaration... " >&6; }
48008 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
48009 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
48010 $as_echo_n "(cached) " >&6
48011 else
48014 ac_ext=cpp
48015 ac_cpp='$CXXCPP $CPPFLAGS'
48016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48021 /* end confdefs.h. */
48022 #include <math.h>
48024 main ()
48026 frexpf(0, 0);
48028 return 0;
48030 _ACEOF
48031 if ac_fn_cxx_try_compile "$LINENO"; then :
48032 glibcxx_cv_func_frexpf_use=yes
48033 else
48034 glibcxx_cv_func_frexpf_use=no
48036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48037 ac_ext=c
48038 ac_cpp='$CPP $CPPFLAGS'
48039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
48048 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
48050 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
48051 for ac_func in frexpf
48052 do :
48053 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
48054 if test "x$ac_cv_func_frexpf" = x""yes; then :
48055 cat >>confdefs.h <<_ACEOF
48056 #define HAVE_FREXPF 1
48057 _ACEOF
48060 done
48062 else
48064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
48065 $as_echo_n "checking for _frexpf declaration... " >&6; }
48066 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
48067 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
48068 $as_echo_n "(cached) " >&6
48069 else
48072 ac_ext=cpp
48073 ac_cpp='$CXXCPP $CPPFLAGS'
48074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48079 /* end confdefs.h. */
48080 #include <math.h>
48082 main ()
48084 _frexpf(0, 0);
48086 return 0;
48088 _ACEOF
48089 if ac_fn_cxx_try_compile "$LINENO"; then :
48090 glibcxx_cv_func__frexpf_use=yes
48091 else
48092 glibcxx_cv_func__frexpf_use=no
48094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48095 ac_ext=c
48096 ac_cpp='$CPP $CPPFLAGS'
48097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
48106 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
48108 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
48109 for ac_func in _frexpf
48110 do :
48111 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
48112 if test "x$ac_cv_func__frexpf" = x""yes; then :
48113 cat >>confdefs.h <<_ACEOF
48114 #define HAVE__FREXPF 1
48115 _ACEOF
48118 done
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
48128 $as_echo_n "checking for hypotf declaration... " >&6; }
48129 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
48130 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
48131 $as_echo_n "(cached) " >&6
48132 else
48135 ac_ext=cpp
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142 /* end confdefs.h. */
48143 #include <math.h>
48145 main ()
48147 hypotf(0, 0);
48149 return 0;
48151 _ACEOF
48152 if ac_fn_cxx_try_compile "$LINENO"; then :
48153 glibcxx_cv_func_hypotf_use=yes
48154 else
48155 glibcxx_cv_func_hypotf_use=no
48157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48158 ac_ext=c
48159 ac_cpp='$CPP $CPPFLAGS'
48160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
48169 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
48171 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
48172 for ac_func in hypotf
48173 do :
48174 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
48175 if test "x$ac_cv_func_hypotf" = x""yes; then :
48176 cat >>confdefs.h <<_ACEOF
48177 #define HAVE_HYPOTF 1
48178 _ACEOF
48181 done
48183 else
48185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
48186 $as_echo_n "checking for _hypotf declaration... " >&6; }
48187 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
48188 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
48189 $as_echo_n "(cached) " >&6
48190 else
48193 ac_ext=cpp
48194 ac_cpp='$CXXCPP $CPPFLAGS'
48195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48200 /* end confdefs.h. */
48201 #include <math.h>
48203 main ()
48205 _hypotf(0, 0);
48207 return 0;
48209 _ACEOF
48210 if ac_fn_cxx_try_compile "$LINENO"; then :
48211 glibcxx_cv_func__hypotf_use=yes
48212 else
48213 glibcxx_cv_func__hypotf_use=no
48215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48216 ac_ext=c
48217 ac_cpp='$CPP $CPPFLAGS'
48218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
48227 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
48229 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
48230 for ac_func in _hypotf
48231 do :
48232 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
48233 if test "x$ac_cv_func__hypotf" = x""yes; then :
48234 cat >>confdefs.h <<_ACEOF
48235 #define HAVE__HYPOTF 1
48236 _ACEOF
48239 done
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
48249 $as_echo_n "checking for ldexpf declaration... " >&6; }
48250 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
48251 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
48252 $as_echo_n "(cached) " >&6
48253 else
48256 ac_ext=cpp
48257 ac_cpp='$CXXCPP $CPPFLAGS'
48258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48263 /* end confdefs.h. */
48264 #include <math.h>
48266 main ()
48268 ldexpf(0, 0);
48270 return 0;
48272 _ACEOF
48273 if ac_fn_cxx_try_compile "$LINENO"; then :
48274 glibcxx_cv_func_ldexpf_use=yes
48275 else
48276 glibcxx_cv_func_ldexpf_use=no
48278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48279 ac_ext=c
48280 ac_cpp='$CPP $CPPFLAGS'
48281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
48290 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
48292 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
48293 for ac_func in ldexpf
48294 do :
48295 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
48296 if test "x$ac_cv_func_ldexpf" = x""yes; then :
48297 cat >>confdefs.h <<_ACEOF
48298 #define HAVE_LDEXPF 1
48299 _ACEOF
48302 done
48304 else
48306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
48307 $as_echo_n "checking for _ldexpf declaration... " >&6; }
48308 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
48309 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
48310 $as_echo_n "(cached) " >&6
48311 else
48314 ac_ext=cpp
48315 ac_cpp='$CXXCPP $CPPFLAGS'
48316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48321 /* end confdefs.h. */
48322 #include <math.h>
48324 main ()
48326 _ldexpf(0, 0);
48328 return 0;
48330 _ACEOF
48331 if ac_fn_cxx_try_compile "$LINENO"; then :
48332 glibcxx_cv_func__ldexpf_use=yes
48333 else
48334 glibcxx_cv_func__ldexpf_use=no
48336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48337 ac_ext=c
48338 ac_cpp='$CPP $CPPFLAGS'
48339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
48348 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
48350 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
48351 for ac_func in _ldexpf
48352 do :
48353 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
48354 if test "x$ac_cv_func__ldexpf" = x""yes; then :
48355 cat >>confdefs.h <<_ACEOF
48356 #define HAVE__LDEXPF 1
48357 _ACEOF
48360 done
48369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
48370 $as_echo_n "checking for logf declaration... " >&6; }
48371 if test x${glibcxx_cv_func_logf_use+set} != xset; then
48372 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
48373 $as_echo_n "(cached) " >&6
48374 else
48377 ac_ext=cpp
48378 ac_cpp='$CXXCPP $CPPFLAGS'
48379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48384 /* end confdefs.h. */
48385 #include <math.h>
48386 #ifdef HAVE_IEEEFP_H
48387 #include <ieeefp.h>
48388 #endif
48391 main ()
48393 logf(0);
48395 return 0;
48397 _ACEOF
48398 if ac_fn_cxx_try_compile "$LINENO"; then :
48399 glibcxx_cv_func_logf_use=yes
48400 else
48401 glibcxx_cv_func_logf_use=no
48403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48404 ac_ext=c
48405 ac_cpp='$CPP $CPPFLAGS'
48406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
48415 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
48417 if test x$glibcxx_cv_func_logf_use = x"yes"; then
48418 for ac_func in logf
48419 do :
48420 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
48421 if test "x$ac_cv_func_logf" = x""yes; then :
48422 cat >>confdefs.h <<_ACEOF
48423 #define HAVE_LOGF 1
48424 _ACEOF
48427 done
48429 else
48431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
48432 $as_echo_n "checking for _logf declaration... " >&6; }
48433 if test x${glibcxx_cv_func__logf_use+set} != xset; then
48434 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
48435 $as_echo_n "(cached) " >&6
48436 else
48439 ac_ext=cpp
48440 ac_cpp='$CXXCPP $CPPFLAGS'
48441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48446 /* end confdefs.h. */
48447 #include <math.h>
48448 #ifdef HAVE_IEEEFP_H
48449 #include <ieeefp.h>
48450 #endif
48453 main ()
48455 _logf(0);
48457 return 0;
48459 _ACEOF
48460 if ac_fn_cxx_try_compile "$LINENO"; then :
48461 glibcxx_cv_func__logf_use=yes
48462 else
48463 glibcxx_cv_func__logf_use=no
48465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48466 ac_ext=c
48467 ac_cpp='$CPP $CPPFLAGS'
48468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
48477 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
48479 if test x$glibcxx_cv_func__logf_use = x"yes"; then
48480 for ac_func in _logf
48481 do :
48482 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
48483 if test "x$ac_cv_func__logf" = x""yes; then :
48484 cat >>confdefs.h <<_ACEOF
48485 #define HAVE__LOGF 1
48486 _ACEOF
48489 done
48498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
48499 $as_echo_n "checking for log10f declaration... " >&6; }
48500 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
48501 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
48502 $as_echo_n "(cached) " >&6
48503 else
48506 ac_ext=cpp
48507 ac_cpp='$CXXCPP $CPPFLAGS'
48508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48513 /* end confdefs.h. */
48514 #include <math.h>
48515 #ifdef HAVE_IEEEFP_H
48516 #include <ieeefp.h>
48517 #endif
48520 main ()
48522 log10f(0);
48524 return 0;
48526 _ACEOF
48527 if ac_fn_cxx_try_compile "$LINENO"; then :
48528 glibcxx_cv_func_log10f_use=yes
48529 else
48530 glibcxx_cv_func_log10f_use=no
48532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48533 ac_ext=c
48534 ac_cpp='$CPP $CPPFLAGS'
48535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
48544 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
48546 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
48547 for ac_func in log10f
48548 do :
48549 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
48550 if test "x$ac_cv_func_log10f" = x""yes; then :
48551 cat >>confdefs.h <<_ACEOF
48552 #define HAVE_LOG10F 1
48553 _ACEOF
48556 done
48558 else
48560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
48561 $as_echo_n "checking for _log10f declaration... " >&6; }
48562 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
48563 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
48564 $as_echo_n "(cached) " >&6
48565 else
48568 ac_ext=cpp
48569 ac_cpp='$CXXCPP $CPPFLAGS'
48570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48575 /* end confdefs.h. */
48576 #include <math.h>
48577 #ifdef HAVE_IEEEFP_H
48578 #include <ieeefp.h>
48579 #endif
48582 main ()
48584 _log10f(0);
48586 return 0;
48588 _ACEOF
48589 if ac_fn_cxx_try_compile "$LINENO"; then :
48590 glibcxx_cv_func__log10f_use=yes
48591 else
48592 glibcxx_cv_func__log10f_use=no
48594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48595 ac_ext=c
48596 ac_cpp='$CPP $CPPFLAGS'
48597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
48606 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
48608 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
48609 for ac_func in _log10f
48610 do :
48611 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
48612 if test "x$ac_cv_func__log10f" = x""yes; then :
48613 cat >>confdefs.h <<_ACEOF
48614 #define HAVE__LOG10F 1
48615 _ACEOF
48618 done
48627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
48628 $as_echo_n "checking for modff declaration... " >&6; }
48629 if test x${glibcxx_cv_func_modff_use+set} != xset; then
48630 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
48631 $as_echo_n "(cached) " >&6
48632 else
48635 ac_ext=cpp
48636 ac_cpp='$CXXCPP $CPPFLAGS'
48637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48642 /* end confdefs.h. */
48643 #include <math.h>
48645 main ()
48647 modff(0, 0);
48649 return 0;
48651 _ACEOF
48652 if ac_fn_cxx_try_compile "$LINENO"; then :
48653 glibcxx_cv_func_modff_use=yes
48654 else
48655 glibcxx_cv_func_modff_use=no
48657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48658 ac_ext=c
48659 ac_cpp='$CPP $CPPFLAGS'
48660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
48669 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
48671 if test x$glibcxx_cv_func_modff_use = x"yes"; then
48672 for ac_func in modff
48673 do :
48674 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
48675 if test "x$ac_cv_func_modff" = x""yes; then :
48676 cat >>confdefs.h <<_ACEOF
48677 #define HAVE_MODFF 1
48678 _ACEOF
48681 done
48683 else
48685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
48686 $as_echo_n "checking for _modff declaration... " >&6; }
48687 if test x${glibcxx_cv_func__modff_use+set} != xset; then
48688 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
48689 $as_echo_n "(cached) " >&6
48690 else
48693 ac_ext=cpp
48694 ac_cpp='$CXXCPP $CPPFLAGS'
48695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48700 /* end confdefs.h. */
48701 #include <math.h>
48703 main ()
48705 _modff(0, 0);
48707 return 0;
48709 _ACEOF
48710 if ac_fn_cxx_try_compile "$LINENO"; then :
48711 glibcxx_cv_func__modff_use=yes
48712 else
48713 glibcxx_cv_func__modff_use=no
48715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48716 ac_ext=c
48717 ac_cpp='$CPP $CPPFLAGS'
48718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
48727 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
48729 if test x$glibcxx_cv_func__modff_use = x"yes"; then
48730 for ac_func in _modff
48731 do :
48732 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
48733 if test "x$ac_cv_func__modff" = x""yes; then :
48734 cat >>confdefs.h <<_ACEOF
48735 #define HAVE__MODFF 1
48736 _ACEOF
48739 done
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
48749 $as_echo_n "checking for modf declaration... " >&6; }
48750 if test x${glibcxx_cv_func_modf_use+set} != xset; then
48751 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
48752 $as_echo_n "(cached) " >&6
48753 else
48756 ac_ext=cpp
48757 ac_cpp='$CXXCPP $CPPFLAGS'
48758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48763 /* end confdefs.h. */
48764 #include <math.h>
48766 main ()
48768 modf(0, 0);
48770 return 0;
48772 _ACEOF
48773 if ac_fn_cxx_try_compile "$LINENO"; then :
48774 glibcxx_cv_func_modf_use=yes
48775 else
48776 glibcxx_cv_func_modf_use=no
48778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48779 ac_ext=c
48780 ac_cpp='$CPP $CPPFLAGS'
48781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
48790 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
48792 if test x$glibcxx_cv_func_modf_use = x"yes"; then
48793 for ac_func in modf
48794 do :
48795 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
48796 if test "x$ac_cv_func_modf" = x""yes; then :
48797 cat >>confdefs.h <<_ACEOF
48798 #define HAVE_MODF 1
48799 _ACEOF
48802 done
48804 else
48806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
48807 $as_echo_n "checking for _modf declaration... " >&6; }
48808 if test x${glibcxx_cv_func__modf_use+set} != xset; then
48809 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
48810 $as_echo_n "(cached) " >&6
48811 else
48814 ac_ext=cpp
48815 ac_cpp='$CXXCPP $CPPFLAGS'
48816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48821 /* end confdefs.h. */
48822 #include <math.h>
48824 main ()
48826 _modf(0, 0);
48828 return 0;
48830 _ACEOF
48831 if ac_fn_cxx_try_compile "$LINENO"; then :
48832 glibcxx_cv_func__modf_use=yes
48833 else
48834 glibcxx_cv_func__modf_use=no
48836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48837 ac_ext=c
48838 ac_cpp='$CPP $CPPFLAGS'
48839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
48848 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
48850 if test x$glibcxx_cv_func__modf_use = x"yes"; then
48851 for ac_func in _modf
48852 do :
48853 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
48854 if test "x$ac_cv_func__modf" = x""yes; then :
48855 cat >>confdefs.h <<_ACEOF
48856 #define HAVE__MODF 1
48857 _ACEOF
48860 done
48869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
48870 $as_echo_n "checking for powf declaration... " >&6; }
48871 if test x${glibcxx_cv_func_powf_use+set} != xset; then
48872 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
48873 $as_echo_n "(cached) " >&6
48874 else
48877 ac_ext=cpp
48878 ac_cpp='$CXXCPP $CPPFLAGS'
48879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48884 /* end confdefs.h. */
48885 #include <math.h>
48887 main ()
48889 powf(0, 0);
48891 return 0;
48893 _ACEOF
48894 if ac_fn_cxx_try_compile "$LINENO"; then :
48895 glibcxx_cv_func_powf_use=yes
48896 else
48897 glibcxx_cv_func_powf_use=no
48899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48900 ac_ext=c
48901 ac_cpp='$CPP $CPPFLAGS'
48902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
48911 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
48913 if test x$glibcxx_cv_func_powf_use = x"yes"; then
48914 for ac_func in powf
48915 do :
48916 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
48917 if test "x$ac_cv_func_powf" = x""yes; then :
48918 cat >>confdefs.h <<_ACEOF
48919 #define HAVE_POWF 1
48920 _ACEOF
48923 done
48925 else
48927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
48928 $as_echo_n "checking for _powf declaration... " >&6; }
48929 if test x${glibcxx_cv_func__powf_use+set} != xset; then
48930 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
48931 $as_echo_n "(cached) " >&6
48932 else
48935 ac_ext=cpp
48936 ac_cpp='$CXXCPP $CPPFLAGS'
48937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48942 /* end confdefs.h. */
48943 #include <math.h>
48945 main ()
48947 _powf(0, 0);
48949 return 0;
48951 _ACEOF
48952 if ac_fn_cxx_try_compile "$LINENO"; then :
48953 glibcxx_cv_func__powf_use=yes
48954 else
48955 glibcxx_cv_func__powf_use=no
48957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48958 ac_ext=c
48959 ac_cpp='$CPP $CPPFLAGS'
48960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
48969 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
48971 if test x$glibcxx_cv_func__powf_use = x"yes"; then
48972 for ac_func in _powf
48973 do :
48974 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
48975 if test "x$ac_cv_func__powf" = x""yes; then :
48976 cat >>confdefs.h <<_ACEOF
48977 #define HAVE__POWF 1
48978 _ACEOF
48981 done
48990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
48991 $as_echo_n "checking for sqrtf declaration... " >&6; }
48992 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
48993 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
48994 $as_echo_n "(cached) " >&6
48995 else
48998 ac_ext=cpp
48999 ac_cpp='$CXXCPP $CPPFLAGS'
49000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49005 /* end confdefs.h. */
49006 #include <math.h>
49007 #ifdef HAVE_IEEEFP_H
49008 #include <ieeefp.h>
49009 #endif
49012 main ()
49014 sqrtf(0);
49016 return 0;
49018 _ACEOF
49019 if ac_fn_cxx_try_compile "$LINENO"; then :
49020 glibcxx_cv_func_sqrtf_use=yes
49021 else
49022 glibcxx_cv_func_sqrtf_use=no
49024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49025 ac_ext=c
49026 ac_cpp='$CPP $CPPFLAGS'
49027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
49036 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
49038 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
49039 for ac_func in sqrtf
49040 do :
49041 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
49042 if test "x$ac_cv_func_sqrtf" = x""yes; then :
49043 cat >>confdefs.h <<_ACEOF
49044 #define HAVE_SQRTF 1
49045 _ACEOF
49048 done
49050 else
49052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
49053 $as_echo_n "checking for _sqrtf declaration... " >&6; }
49054 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
49055 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
49056 $as_echo_n "(cached) " >&6
49057 else
49060 ac_ext=cpp
49061 ac_cpp='$CXXCPP $CPPFLAGS'
49062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49067 /* end confdefs.h. */
49068 #include <math.h>
49069 #ifdef HAVE_IEEEFP_H
49070 #include <ieeefp.h>
49071 #endif
49074 main ()
49076 _sqrtf(0);
49078 return 0;
49080 _ACEOF
49081 if ac_fn_cxx_try_compile "$LINENO"; then :
49082 glibcxx_cv_func__sqrtf_use=yes
49083 else
49084 glibcxx_cv_func__sqrtf_use=no
49086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49087 ac_ext=c
49088 ac_cpp='$CPP $CPPFLAGS'
49089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
49098 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
49100 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
49101 for ac_func in _sqrtf
49102 do :
49103 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
49104 if test "x$ac_cv_func__sqrtf" = x""yes; then :
49105 cat >>confdefs.h <<_ACEOF
49106 #define HAVE__SQRTF 1
49107 _ACEOF
49110 done
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
49120 $as_echo_n "checking for sincosf declaration... " >&6; }
49121 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
49122 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
49123 $as_echo_n "(cached) " >&6
49124 else
49127 ac_ext=cpp
49128 ac_cpp='$CXXCPP $CPPFLAGS'
49129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49134 /* end confdefs.h. */
49135 #include <math.h>
49137 main ()
49139 sincosf(0, 0, 0);
49141 return 0;
49143 _ACEOF
49144 if ac_fn_cxx_try_compile "$LINENO"; then :
49145 glibcxx_cv_func_sincosf_use=yes
49146 else
49147 glibcxx_cv_func_sincosf_use=no
49149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49150 ac_ext=c
49151 ac_cpp='$CPP $CPPFLAGS'
49152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
49161 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
49163 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
49164 for ac_func in sincosf
49165 do :
49166 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
49167 if test "x$ac_cv_func_sincosf" = x""yes; then :
49168 cat >>confdefs.h <<_ACEOF
49169 #define HAVE_SINCOSF 1
49170 _ACEOF
49173 done
49175 else
49177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
49178 $as_echo_n "checking for _sincosf declaration... " >&6; }
49179 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
49180 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
49181 $as_echo_n "(cached) " >&6
49182 else
49185 ac_ext=cpp
49186 ac_cpp='$CXXCPP $CPPFLAGS'
49187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49192 /* end confdefs.h. */
49193 #include <math.h>
49195 main ()
49197 _sincosf(0, 0, 0);
49199 return 0;
49201 _ACEOF
49202 if ac_fn_cxx_try_compile "$LINENO"; then :
49203 glibcxx_cv_func__sincosf_use=yes
49204 else
49205 glibcxx_cv_func__sincosf_use=no
49207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49208 ac_ext=c
49209 ac_cpp='$CPP $CPPFLAGS'
49210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
49219 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
49221 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
49222 for ac_func in _sincosf
49223 do :
49224 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
49225 if test "x$ac_cv_func__sincosf" = x""yes; then :
49226 cat >>confdefs.h <<_ACEOF
49227 #define HAVE__SINCOSF 1
49228 _ACEOF
49231 done
49240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
49241 $as_echo_n "checking for finitef declaration... " >&6; }
49242 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
49243 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
49244 $as_echo_n "(cached) " >&6
49245 else
49248 ac_ext=cpp
49249 ac_cpp='$CXXCPP $CPPFLAGS'
49250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49255 /* end confdefs.h. */
49256 #include <math.h>
49257 #ifdef HAVE_IEEEFP_H
49258 #include <ieeefp.h>
49259 #endif
49262 main ()
49264 finitef(0);
49266 return 0;
49268 _ACEOF
49269 if ac_fn_cxx_try_compile "$LINENO"; then :
49270 glibcxx_cv_func_finitef_use=yes
49271 else
49272 glibcxx_cv_func_finitef_use=no
49274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49275 ac_ext=c
49276 ac_cpp='$CPP $CPPFLAGS'
49277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
49286 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
49288 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
49289 for ac_func in finitef
49290 do :
49291 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
49292 if test "x$ac_cv_func_finitef" = x""yes; then :
49293 cat >>confdefs.h <<_ACEOF
49294 #define HAVE_FINITEF 1
49295 _ACEOF
49298 done
49300 else
49302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
49303 $as_echo_n "checking for _finitef declaration... " >&6; }
49304 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
49305 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
49306 $as_echo_n "(cached) " >&6
49307 else
49310 ac_ext=cpp
49311 ac_cpp='$CXXCPP $CPPFLAGS'
49312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49317 /* end confdefs.h. */
49318 #include <math.h>
49319 #ifdef HAVE_IEEEFP_H
49320 #include <ieeefp.h>
49321 #endif
49324 main ()
49326 _finitef(0);
49328 return 0;
49330 _ACEOF
49331 if ac_fn_cxx_try_compile "$LINENO"; then :
49332 glibcxx_cv_func__finitef_use=yes
49333 else
49334 glibcxx_cv_func__finitef_use=no
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337 ac_ext=c
49338 ac_cpp='$CPP $CPPFLAGS'
49339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
49348 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
49350 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
49351 for ac_func in _finitef
49352 do :
49353 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
49354 if test "x$ac_cv_func__finitef" = x""yes; then :
49355 cat >>confdefs.h <<_ACEOF
49356 #define HAVE__FINITEF 1
49357 _ACEOF
49360 done
49369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
49370 $as_echo_n "checking for long double trig functions... " >&6; }
49371 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
49372 $as_echo_n "(cached) " >&6
49373 else
49376 ac_ext=cpp
49377 ac_cpp='$CXXCPP $CPPFLAGS'
49378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49383 /* end confdefs.h. */
49384 #include <math.h>
49386 main ()
49388 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
49390 return 0;
49392 _ACEOF
49393 if ac_fn_cxx_try_compile "$LINENO"; then :
49394 glibcxx_cv_func_long_double_trig_use=yes
49395 else
49396 glibcxx_cv_func_long_double_trig_use=no
49398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49399 ac_ext=c
49400 ac_cpp='$CPP $CPPFLAGS'
49401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
49408 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
49409 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
49410 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
49411 do :
49412 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49413 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49414 eval as_val=\$$as_ac_var
49415 if test "x$as_val" = x""yes; then :
49416 cat >>confdefs.h <<_ACEOF
49417 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49418 _ACEOF
49421 done
49423 else
49424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
49425 $as_echo_n "checking for _long double trig functions... " >&6; }
49426 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
49427 $as_echo_n "(cached) " >&6
49428 else
49431 ac_ext=cpp
49432 ac_cpp='$CXXCPP $CPPFLAGS'
49433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49438 /* end confdefs.h. */
49439 #include <math.h>
49441 main ()
49443 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
49445 return 0;
49447 _ACEOF
49448 if ac_fn_cxx_try_compile "$LINENO"; then :
49449 glibcxx_cv_func__long_double_trig_use=yes
49450 else
49451 glibcxx_cv_func__long_double_trig_use=no
49453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49454 ac_ext=c
49455 ac_cpp='$CPP $CPPFLAGS'
49456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
49463 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
49464 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
49465 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
49466 do :
49467 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49468 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49469 eval as_val=\$$as_ac_var
49470 if test "x$as_val" = x""yes; then :
49471 cat >>confdefs.h <<_ACEOF
49472 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49473 _ACEOF
49476 done
49485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
49486 $as_echo_n "checking for long double round functions... " >&6; }
49487 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
49488 $as_echo_n "(cached) " >&6
49489 else
49492 ac_ext=cpp
49493 ac_cpp='$CXXCPP $CPPFLAGS'
49494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49499 /* end confdefs.h. */
49500 #include <math.h>
49502 main ()
49504 ceill (0); floorl (0);
49506 return 0;
49508 _ACEOF
49509 if ac_fn_cxx_try_compile "$LINENO"; then :
49510 glibcxx_cv_func_long_double_round_use=yes
49511 else
49512 glibcxx_cv_func_long_double_round_use=no
49514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49515 ac_ext=c
49516 ac_cpp='$CPP $CPPFLAGS'
49517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
49524 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
49525 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
49526 for ac_func in ceill floorl
49527 do :
49528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49530 eval as_val=\$$as_ac_var
49531 if test "x$as_val" = x""yes; then :
49532 cat >>confdefs.h <<_ACEOF
49533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49534 _ACEOF
49537 done
49539 else
49540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
49541 $as_echo_n "checking for _long double round functions... " >&6; }
49542 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
49543 $as_echo_n "(cached) " >&6
49544 else
49547 ac_ext=cpp
49548 ac_cpp='$CXXCPP $CPPFLAGS'
49549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49554 /* end confdefs.h. */
49555 #include <math.h>
49557 main ()
49559 _ceill (0); _floorl (0);
49561 return 0;
49563 _ACEOF
49564 if ac_fn_cxx_try_compile "$LINENO"; then :
49565 glibcxx_cv_func__long_double_round_use=yes
49566 else
49567 glibcxx_cv_func__long_double_round_use=no
49569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49570 ac_ext=c
49571 ac_cpp='$CPP $CPPFLAGS'
49572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
49579 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
49580 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
49581 for ac_func in _ceill _floorl
49582 do :
49583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49585 eval as_val=\$$as_ac_var
49586 if test "x$as_val" = x""yes; then :
49587 cat >>confdefs.h <<_ACEOF
49588 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49589 _ACEOF
49592 done
49602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
49603 $as_echo_n "checking for isnanl declaration... " >&6; }
49604 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
49605 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
49606 $as_echo_n "(cached) " >&6
49607 else
49610 ac_ext=cpp
49611 ac_cpp='$CXXCPP $CPPFLAGS'
49612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49617 /* end confdefs.h. */
49618 #include <math.h>
49619 #ifdef HAVE_IEEEFP_H
49620 #include <ieeefp.h>
49621 #endif
49624 main ()
49626 isnanl(0);
49628 return 0;
49630 _ACEOF
49631 if ac_fn_cxx_try_compile "$LINENO"; then :
49632 glibcxx_cv_func_isnanl_use=yes
49633 else
49634 glibcxx_cv_func_isnanl_use=no
49636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49637 ac_ext=c
49638 ac_cpp='$CPP $CPPFLAGS'
49639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
49648 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
49650 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
49651 for ac_func in isnanl
49652 do :
49653 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
49654 if test "x$ac_cv_func_isnanl" = x""yes; then :
49655 cat >>confdefs.h <<_ACEOF
49656 #define HAVE_ISNANL 1
49657 _ACEOF
49660 done
49662 else
49664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
49665 $as_echo_n "checking for _isnanl declaration... " >&6; }
49666 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
49667 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
49668 $as_echo_n "(cached) " >&6
49669 else
49672 ac_ext=cpp
49673 ac_cpp='$CXXCPP $CPPFLAGS'
49674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49679 /* end confdefs.h. */
49680 #include <math.h>
49681 #ifdef HAVE_IEEEFP_H
49682 #include <ieeefp.h>
49683 #endif
49686 main ()
49688 _isnanl(0);
49690 return 0;
49692 _ACEOF
49693 if ac_fn_cxx_try_compile "$LINENO"; then :
49694 glibcxx_cv_func__isnanl_use=yes
49695 else
49696 glibcxx_cv_func__isnanl_use=no
49698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49699 ac_ext=c
49700 ac_cpp='$CPP $CPPFLAGS'
49701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
49710 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
49712 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
49713 for ac_func in _isnanl
49714 do :
49715 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
49716 if test "x$ac_cv_func__isnanl" = x""yes; then :
49717 cat >>confdefs.h <<_ACEOF
49718 #define HAVE__ISNANL 1
49719 _ACEOF
49722 done
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
49732 $as_echo_n "checking for isinfl declaration... " >&6; }
49733 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
49734 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
49735 $as_echo_n "(cached) " >&6
49736 else
49739 ac_ext=cpp
49740 ac_cpp='$CXXCPP $CPPFLAGS'
49741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49746 /* end confdefs.h. */
49747 #include <math.h>
49748 #ifdef HAVE_IEEEFP_H
49749 #include <ieeefp.h>
49750 #endif
49753 main ()
49755 isinfl(0);
49757 return 0;
49759 _ACEOF
49760 if ac_fn_cxx_try_compile "$LINENO"; then :
49761 glibcxx_cv_func_isinfl_use=yes
49762 else
49763 glibcxx_cv_func_isinfl_use=no
49765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766 ac_ext=c
49767 ac_cpp='$CPP $CPPFLAGS'
49768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
49777 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
49779 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
49780 for ac_func in isinfl
49781 do :
49782 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
49783 if test "x$ac_cv_func_isinfl" = x""yes; then :
49784 cat >>confdefs.h <<_ACEOF
49785 #define HAVE_ISINFL 1
49786 _ACEOF
49789 done
49791 else
49793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
49794 $as_echo_n "checking for _isinfl declaration... " >&6; }
49795 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
49796 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
49797 $as_echo_n "(cached) " >&6
49798 else
49801 ac_ext=cpp
49802 ac_cpp='$CXXCPP $CPPFLAGS'
49803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49808 /* end confdefs.h. */
49809 #include <math.h>
49810 #ifdef HAVE_IEEEFP_H
49811 #include <ieeefp.h>
49812 #endif
49815 main ()
49817 _isinfl(0);
49819 return 0;
49821 _ACEOF
49822 if ac_fn_cxx_try_compile "$LINENO"; then :
49823 glibcxx_cv_func__isinfl_use=yes
49824 else
49825 glibcxx_cv_func__isinfl_use=no
49827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49828 ac_ext=c
49829 ac_cpp='$CPP $CPPFLAGS'
49830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
49839 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
49841 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
49842 for ac_func in _isinfl
49843 do :
49844 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
49845 if test "x$ac_cv_func__isinfl" = x""yes; then :
49846 cat >>confdefs.h <<_ACEOF
49847 #define HAVE__ISINFL 1
49848 _ACEOF
49851 done
49860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
49861 $as_echo_n "checking for atan2l declaration... " >&6; }
49862 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
49863 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
49864 $as_echo_n "(cached) " >&6
49865 else
49868 ac_ext=cpp
49869 ac_cpp='$CXXCPP $CPPFLAGS'
49870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49875 /* end confdefs.h. */
49876 #include <math.h>
49878 main ()
49880 atan2l(0, 0);
49882 return 0;
49884 _ACEOF
49885 if ac_fn_cxx_try_compile "$LINENO"; then :
49886 glibcxx_cv_func_atan2l_use=yes
49887 else
49888 glibcxx_cv_func_atan2l_use=no
49890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49891 ac_ext=c
49892 ac_cpp='$CPP $CPPFLAGS'
49893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
49902 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
49904 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
49905 for ac_func in atan2l
49906 do :
49907 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
49908 if test "x$ac_cv_func_atan2l" = x""yes; then :
49909 cat >>confdefs.h <<_ACEOF
49910 #define HAVE_ATAN2L 1
49911 _ACEOF
49914 done
49916 else
49918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
49919 $as_echo_n "checking for _atan2l declaration... " >&6; }
49920 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
49921 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
49922 $as_echo_n "(cached) " >&6
49923 else
49926 ac_ext=cpp
49927 ac_cpp='$CXXCPP $CPPFLAGS'
49928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49933 /* end confdefs.h. */
49934 #include <math.h>
49936 main ()
49938 _atan2l(0, 0);
49940 return 0;
49942 _ACEOF
49943 if ac_fn_cxx_try_compile "$LINENO"; then :
49944 glibcxx_cv_func__atan2l_use=yes
49945 else
49946 glibcxx_cv_func__atan2l_use=no
49948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49949 ac_ext=c
49950 ac_cpp='$CPP $CPPFLAGS'
49951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
49960 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
49962 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
49963 for ac_func in _atan2l
49964 do :
49965 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
49966 if test "x$ac_cv_func__atan2l" = x""yes; then :
49967 cat >>confdefs.h <<_ACEOF
49968 #define HAVE__ATAN2L 1
49969 _ACEOF
49972 done
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
49982 $as_echo_n "checking for expl declaration... " >&6; }
49983 if test x${glibcxx_cv_func_expl_use+set} != xset; then
49984 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49998 #ifdef HAVE_IEEEFP_H
49999 #include <ieeefp.h>
50000 #endif
50003 main ()
50005 expl(0);
50007 return 0;
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func_expl_use=yes
50012 else
50013 glibcxx_cv_func_expl_use=no
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
50027 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
50029 if test x$glibcxx_cv_func_expl_use = x"yes"; then
50030 for ac_func in expl
50031 do :
50032 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
50033 if test "x$ac_cv_func_expl" = x""yes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE_EXPL 1
50036 _ACEOF
50039 done
50041 else
50043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
50044 $as_echo_n "checking for _expl declaration... " >&6; }
50045 if test x${glibcxx_cv_func__expl_use+set} != xset; then
50046 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
50047 $as_echo_n "(cached) " >&6
50048 else
50051 ac_ext=cpp
50052 ac_cpp='$CXXCPP $CPPFLAGS'
50053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50058 /* end confdefs.h. */
50059 #include <math.h>
50060 #ifdef HAVE_IEEEFP_H
50061 #include <ieeefp.h>
50062 #endif
50065 main ()
50067 _expl(0);
50069 return 0;
50071 _ACEOF
50072 if ac_fn_cxx_try_compile "$LINENO"; then :
50073 glibcxx_cv_func__expl_use=yes
50074 else
50075 glibcxx_cv_func__expl_use=no
50077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50078 ac_ext=c
50079 ac_cpp='$CPP $CPPFLAGS'
50080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
50089 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
50091 if test x$glibcxx_cv_func__expl_use = x"yes"; then
50092 for ac_func in _expl
50093 do :
50094 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
50095 if test "x$ac_cv_func__expl" = x""yes; then :
50096 cat >>confdefs.h <<_ACEOF
50097 #define HAVE__EXPL 1
50098 _ACEOF
50101 done
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
50111 $as_echo_n "checking for fabsl declaration... " >&6; }
50112 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
50113 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
50114 $as_echo_n "(cached) " >&6
50115 else
50118 ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h. */
50126 #include <math.h>
50127 #ifdef HAVE_IEEEFP_H
50128 #include <ieeefp.h>
50129 #endif
50132 main ()
50134 fabsl(0);
50136 return 0;
50138 _ACEOF
50139 if ac_fn_cxx_try_compile "$LINENO"; then :
50140 glibcxx_cv_func_fabsl_use=yes
50141 else
50142 glibcxx_cv_func_fabsl_use=no
50144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50145 ac_ext=c
50146 ac_cpp='$CPP $CPPFLAGS'
50147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
50156 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
50158 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
50159 for ac_func in fabsl
50160 do :
50161 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
50162 if test "x$ac_cv_func_fabsl" = x""yes; then :
50163 cat >>confdefs.h <<_ACEOF
50164 #define HAVE_FABSL 1
50165 _ACEOF
50168 done
50170 else
50172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
50173 $as_echo_n "checking for _fabsl declaration... " >&6; }
50174 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
50175 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
50176 $as_echo_n "(cached) " >&6
50177 else
50180 ac_ext=cpp
50181 ac_cpp='$CXXCPP $CPPFLAGS'
50182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50187 /* end confdefs.h. */
50188 #include <math.h>
50189 #ifdef HAVE_IEEEFP_H
50190 #include <ieeefp.h>
50191 #endif
50194 main ()
50196 _fabsl(0);
50198 return 0;
50200 _ACEOF
50201 if ac_fn_cxx_try_compile "$LINENO"; then :
50202 glibcxx_cv_func__fabsl_use=yes
50203 else
50204 glibcxx_cv_func__fabsl_use=no
50206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50207 ac_ext=c
50208 ac_cpp='$CPP $CPPFLAGS'
50209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
50218 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
50220 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
50221 for ac_func in _fabsl
50222 do :
50223 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
50224 if test "x$ac_cv_func__fabsl" = x""yes; then :
50225 cat >>confdefs.h <<_ACEOF
50226 #define HAVE__FABSL 1
50227 _ACEOF
50230 done
50239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
50240 $as_echo_n "checking for fmodl declaration... " >&6; }
50241 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
50242 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
50243 $as_echo_n "(cached) " >&6
50244 else
50247 ac_ext=cpp
50248 ac_cpp='$CXXCPP $CPPFLAGS'
50249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50254 /* end confdefs.h. */
50255 #include <math.h>
50257 main ()
50259 fmodl(0, 0);
50261 return 0;
50263 _ACEOF
50264 if ac_fn_cxx_try_compile "$LINENO"; then :
50265 glibcxx_cv_func_fmodl_use=yes
50266 else
50267 glibcxx_cv_func_fmodl_use=no
50269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50270 ac_ext=c
50271 ac_cpp='$CPP $CPPFLAGS'
50272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
50281 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
50283 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
50284 for ac_func in fmodl
50285 do :
50286 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
50287 if test "x$ac_cv_func_fmodl" = x""yes; then :
50288 cat >>confdefs.h <<_ACEOF
50289 #define HAVE_FMODL 1
50290 _ACEOF
50293 done
50295 else
50297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
50298 $as_echo_n "checking for _fmodl declaration... " >&6; }
50299 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
50300 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
50301 $as_echo_n "(cached) " >&6
50302 else
50305 ac_ext=cpp
50306 ac_cpp='$CXXCPP $CPPFLAGS'
50307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50312 /* end confdefs.h. */
50313 #include <math.h>
50315 main ()
50317 _fmodl(0, 0);
50319 return 0;
50321 _ACEOF
50322 if ac_fn_cxx_try_compile "$LINENO"; then :
50323 glibcxx_cv_func__fmodl_use=yes
50324 else
50325 glibcxx_cv_func__fmodl_use=no
50327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50328 ac_ext=c
50329 ac_cpp='$CPP $CPPFLAGS'
50330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
50339 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
50341 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
50342 for ac_func in _fmodl
50343 do :
50344 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
50345 if test "x$ac_cv_func__fmodl" = x""yes; then :
50346 cat >>confdefs.h <<_ACEOF
50347 #define HAVE__FMODL 1
50348 _ACEOF
50351 done
50360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
50361 $as_echo_n "checking for frexpl declaration... " >&6; }
50362 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
50363 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
50364 $as_echo_n "(cached) " >&6
50365 else
50368 ac_ext=cpp
50369 ac_cpp='$CXXCPP $CPPFLAGS'
50370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50375 /* end confdefs.h. */
50376 #include <math.h>
50378 main ()
50380 frexpl(0, 0);
50382 return 0;
50384 _ACEOF
50385 if ac_fn_cxx_try_compile "$LINENO"; then :
50386 glibcxx_cv_func_frexpl_use=yes
50387 else
50388 glibcxx_cv_func_frexpl_use=no
50390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50391 ac_ext=c
50392 ac_cpp='$CPP $CPPFLAGS'
50393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
50402 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
50404 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
50405 for ac_func in frexpl
50406 do :
50407 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
50408 if test "x$ac_cv_func_frexpl" = x""yes; then :
50409 cat >>confdefs.h <<_ACEOF
50410 #define HAVE_FREXPL 1
50411 _ACEOF
50414 done
50416 else
50418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
50419 $as_echo_n "checking for _frexpl declaration... " >&6; }
50420 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
50421 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
50422 $as_echo_n "(cached) " >&6
50423 else
50426 ac_ext=cpp
50427 ac_cpp='$CXXCPP $CPPFLAGS'
50428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50433 /* end confdefs.h. */
50434 #include <math.h>
50436 main ()
50438 _frexpl(0, 0);
50440 return 0;
50442 _ACEOF
50443 if ac_fn_cxx_try_compile "$LINENO"; then :
50444 glibcxx_cv_func__frexpl_use=yes
50445 else
50446 glibcxx_cv_func__frexpl_use=no
50448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50449 ac_ext=c
50450 ac_cpp='$CPP $CPPFLAGS'
50451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
50460 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
50462 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
50463 for ac_func in _frexpl
50464 do :
50465 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
50466 if test "x$ac_cv_func__frexpl" = x""yes; then :
50467 cat >>confdefs.h <<_ACEOF
50468 #define HAVE__FREXPL 1
50469 _ACEOF
50472 done
50481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
50482 $as_echo_n "checking for hypotl declaration... " >&6; }
50483 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
50484 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
50485 $as_echo_n "(cached) " >&6
50486 else
50489 ac_ext=cpp
50490 ac_cpp='$CXXCPP $CPPFLAGS'
50491 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50492 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50493 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50496 /* end confdefs.h. */
50497 #include <math.h>
50499 main ()
50501 hypotl(0, 0);
50503 return 0;
50505 _ACEOF
50506 if ac_fn_cxx_try_compile "$LINENO"; then :
50507 glibcxx_cv_func_hypotl_use=yes
50508 else
50509 glibcxx_cv_func_hypotl_use=no
50511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50512 ac_ext=c
50513 ac_cpp='$CPP $CPPFLAGS'
50514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
50523 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
50525 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
50526 for ac_func in hypotl
50527 do :
50528 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
50529 if test "x$ac_cv_func_hypotl" = x""yes; then :
50530 cat >>confdefs.h <<_ACEOF
50531 #define HAVE_HYPOTL 1
50532 _ACEOF
50535 done
50537 else
50539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
50540 $as_echo_n "checking for _hypotl declaration... " >&6; }
50541 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
50542 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
50543 $as_echo_n "(cached) " >&6
50544 else
50547 ac_ext=cpp
50548 ac_cpp='$CXXCPP $CPPFLAGS'
50549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50554 /* end confdefs.h. */
50555 #include <math.h>
50557 main ()
50559 _hypotl(0, 0);
50561 return 0;
50563 _ACEOF
50564 if ac_fn_cxx_try_compile "$LINENO"; then :
50565 glibcxx_cv_func__hypotl_use=yes
50566 else
50567 glibcxx_cv_func__hypotl_use=no
50569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50570 ac_ext=c
50571 ac_cpp='$CPP $CPPFLAGS'
50572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
50581 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
50583 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
50584 for ac_func in _hypotl
50585 do :
50586 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
50587 if test "x$ac_cv_func__hypotl" = x""yes; then :
50588 cat >>confdefs.h <<_ACEOF
50589 #define HAVE__HYPOTL 1
50590 _ACEOF
50593 done
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
50603 $as_echo_n "checking for ldexpl declaration... " >&6; }
50604 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
50605 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
50606 $as_echo_n "(cached) " >&6
50607 else
50610 ac_ext=cpp
50611 ac_cpp='$CXXCPP $CPPFLAGS'
50612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50617 /* end confdefs.h. */
50618 #include <math.h>
50620 main ()
50622 ldexpl(0, 0);
50624 return 0;
50626 _ACEOF
50627 if ac_fn_cxx_try_compile "$LINENO"; then :
50628 glibcxx_cv_func_ldexpl_use=yes
50629 else
50630 glibcxx_cv_func_ldexpl_use=no
50632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50633 ac_ext=c
50634 ac_cpp='$CPP $CPPFLAGS'
50635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
50644 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
50646 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
50647 for ac_func in ldexpl
50648 do :
50649 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
50650 if test "x$ac_cv_func_ldexpl" = x""yes; then :
50651 cat >>confdefs.h <<_ACEOF
50652 #define HAVE_LDEXPL 1
50653 _ACEOF
50656 done
50658 else
50660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
50661 $as_echo_n "checking for _ldexpl declaration... " >&6; }
50662 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
50663 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
50664 $as_echo_n "(cached) " >&6
50665 else
50668 ac_ext=cpp
50669 ac_cpp='$CXXCPP $CPPFLAGS'
50670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50675 /* end confdefs.h. */
50676 #include <math.h>
50678 main ()
50680 _ldexpl(0, 0);
50682 return 0;
50684 _ACEOF
50685 if ac_fn_cxx_try_compile "$LINENO"; then :
50686 glibcxx_cv_func__ldexpl_use=yes
50687 else
50688 glibcxx_cv_func__ldexpl_use=no
50690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50691 ac_ext=c
50692 ac_cpp='$CPP $CPPFLAGS'
50693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
50702 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
50704 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
50705 for ac_func in _ldexpl
50706 do :
50707 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
50708 if test "x$ac_cv_func__ldexpl" = x""yes; then :
50709 cat >>confdefs.h <<_ACEOF
50710 #define HAVE__LDEXPL 1
50711 _ACEOF
50714 done
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
50724 $as_echo_n "checking for logl declaration... " >&6; }
50725 if test x${glibcxx_cv_func_logl_use+set} != xset; then
50726 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
50727 $as_echo_n "(cached) " >&6
50728 else
50731 ac_ext=cpp
50732 ac_cpp='$CXXCPP $CPPFLAGS'
50733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50738 /* end confdefs.h. */
50739 #include <math.h>
50740 #ifdef HAVE_IEEEFP_H
50741 #include <ieeefp.h>
50742 #endif
50745 main ()
50747 logl(0);
50749 return 0;
50751 _ACEOF
50752 if ac_fn_cxx_try_compile "$LINENO"; then :
50753 glibcxx_cv_func_logl_use=yes
50754 else
50755 glibcxx_cv_func_logl_use=no
50757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50758 ac_ext=c
50759 ac_cpp='$CPP $CPPFLAGS'
50760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
50769 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
50771 if test x$glibcxx_cv_func_logl_use = x"yes"; then
50772 for ac_func in logl
50773 do :
50774 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
50775 if test "x$ac_cv_func_logl" = x""yes; then :
50776 cat >>confdefs.h <<_ACEOF
50777 #define HAVE_LOGL 1
50778 _ACEOF
50781 done
50783 else
50785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
50786 $as_echo_n "checking for _logl declaration... " >&6; }
50787 if test x${glibcxx_cv_func__logl_use+set} != xset; then
50788 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
50789 $as_echo_n "(cached) " >&6
50790 else
50793 ac_ext=cpp
50794 ac_cpp='$CXXCPP $CPPFLAGS'
50795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50800 /* end confdefs.h. */
50801 #include <math.h>
50802 #ifdef HAVE_IEEEFP_H
50803 #include <ieeefp.h>
50804 #endif
50807 main ()
50809 _logl(0);
50811 return 0;
50813 _ACEOF
50814 if ac_fn_cxx_try_compile "$LINENO"; then :
50815 glibcxx_cv_func__logl_use=yes
50816 else
50817 glibcxx_cv_func__logl_use=no
50819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50820 ac_ext=c
50821 ac_cpp='$CPP $CPPFLAGS'
50822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
50831 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
50833 if test x$glibcxx_cv_func__logl_use = x"yes"; then
50834 for ac_func in _logl
50835 do :
50836 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
50837 if test "x$ac_cv_func__logl" = x""yes; then :
50838 cat >>confdefs.h <<_ACEOF
50839 #define HAVE__LOGL 1
50840 _ACEOF
50843 done
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
50853 $as_echo_n "checking for log10l declaration... " >&6; }
50854 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
50855 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
50856 $as_echo_n "(cached) " >&6
50857 else
50860 ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h. */
50868 #include <math.h>
50869 #ifdef HAVE_IEEEFP_H
50870 #include <ieeefp.h>
50871 #endif
50874 main ()
50876 log10l(0);
50878 return 0;
50880 _ACEOF
50881 if ac_fn_cxx_try_compile "$LINENO"; then :
50882 glibcxx_cv_func_log10l_use=yes
50883 else
50884 glibcxx_cv_func_log10l_use=no
50886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50887 ac_ext=c
50888 ac_cpp='$CPP $CPPFLAGS'
50889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
50898 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
50900 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
50901 for ac_func in log10l
50902 do :
50903 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
50904 if test "x$ac_cv_func_log10l" = x""yes; then :
50905 cat >>confdefs.h <<_ACEOF
50906 #define HAVE_LOG10L 1
50907 _ACEOF
50910 done
50912 else
50914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
50915 $as_echo_n "checking for _log10l declaration... " >&6; }
50916 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
50917 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
50918 $as_echo_n "(cached) " >&6
50919 else
50922 ac_ext=cpp
50923 ac_cpp='$CXXCPP $CPPFLAGS'
50924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50929 /* end confdefs.h. */
50930 #include <math.h>
50931 #ifdef HAVE_IEEEFP_H
50932 #include <ieeefp.h>
50933 #endif
50936 main ()
50938 _log10l(0);
50940 return 0;
50942 _ACEOF
50943 if ac_fn_cxx_try_compile "$LINENO"; then :
50944 glibcxx_cv_func__log10l_use=yes
50945 else
50946 glibcxx_cv_func__log10l_use=no
50948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50949 ac_ext=c
50950 ac_cpp='$CPP $CPPFLAGS'
50951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
50960 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
50962 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
50963 for ac_func in _log10l
50964 do :
50965 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
50966 if test "x$ac_cv_func__log10l" = x""yes; then :
50967 cat >>confdefs.h <<_ACEOF
50968 #define HAVE__LOG10L 1
50969 _ACEOF
50972 done
50981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
50982 $as_echo_n "checking for modfl declaration... " >&6; }
50983 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
50984 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
50985 $as_echo_n "(cached) " >&6
50986 else
50989 ac_ext=cpp
50990 ac_cpp='$CXXCPP $CPPFLAGS'
50991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50996 /* end confdefs.h. */
50997 #include <math.h>
50999 main ()
51001 modfl(0, 0);
51003 return 0;
51005 _ACEOF
51006 if ac_fn_cxx_try_compile "$LINENO"; then :
51007 glibcxx_cv_func_modfl_use=yes
51008 else
51009 glibcxx_cv_func_modfl_use=no
51011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51012 ac_ext=c
51013 ac_cpp='$CPP $CPPFLAGS'
51014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
51023 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
51025 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
51026 for ac_func in modfl
51027 do :
51028 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
51029 if test "x$ac_cv_func_modfl" = x""yes; then :
51030 cat >>confdefs.h <<_ACEOF
51031 #define HAVE_MODFL 1
51032 _ACEOF
51035 done
51037 else
51039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
51040 $as_echo_n "checking for _modfl declaration... " >&6; }
51041 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
51042 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
51043 $as_echo_n "(cached) " >&6
51044 else
51047 ac_ext=cpp
51048 ac_cpp='$CXXCPP $CPPFLAGS'
51049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51054 /* end confdefs.h. */
51055 #include <math.h>
51057 main ()
51059 _modfl(0, 0);
51061 return 0;
51063 _ACEOF
51064 if ac_fn_cxx_try_compile "$LINENO"; then :
51065 glibcxx_cv_func__modfl_use=yes
51066 else
51067 glibcxx_cv_func__modfl_use=no
51069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51070 ac_ext=c
51071 ac_cpp='$CPP $CPPFLAGS'
51072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
51081 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
51083 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
51084 for ac_func in _modfl
51085 do :
51086 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
51087 if test "x$ac_cv_func__modfl" = x""yes; then :
51088 cat >>confdefs.h <<_ACEOF
51089 #define HAVE__MODFL 1
51090 _ACEOF
51093 done
51102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
51103 $as_echo_n "checking for powl declaration... " >&6; }
51104 if test x${glibcxx_cv_func_powl_use+set} != xset; then
51105 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
51106 $as_echo_n "(cached) " >&6
51107 else
51110 ac_ext=cpp
51111 ac_cpp='$CXXCPP $CPPFLAGS'
51112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51117 /* end confdefs.h. */
51118 #include <math.h>
51120 main ()
51122 powl(0, 0);
51124 return 0;
51126 _ACEOF
51127 if ac_fn_cxx_try_compile "$LINENO"; then :
51128 glibcxx_cv_func_powl_use=yes
51129 else
51130 glibcxx_cv_func_powl_use=no
51132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51133 ac_ext=c
51134 ac_cpp='$CPP $CPPFLAGS'
51135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
51144 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
51146 if test x$glibcxx_cv_func_powl_use = x"yes"; then
51147 for ac_func in powl
51148 do :
51149 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
51150 if test "x$ac_cv_func_powl" = x""yes; then :
51151 cat >>confdefs.h <<_ACEOF
51152 #define HAVE_POWL 1
51153 _ACEOF
51156 done
51158 else
51160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
51161 $as_echo_n "checking for _powl declaration... " >&6; }
51162 if test x${glibcxx_cv_func__powl_use+set} != xset; then
51163 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
51164 $as_echo_n "(cached) " >&6
51165 else
51168 ac_ext=cpp
51169 ac_cpp='$CXXCPP $CPPFLAGS'
51170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51175 /* end confdefs.h. */
51176 #include <math.h>
51178 main ()
51180 _powl(0, 0);
51182 return 0;
51184 _ACEOF
51185 if ac_fn_cxx_try_compile "$LINENO"; then :
51186 glibcxx_cv_func__powl_use=yes
51187 else
51188 glibcxx_cv_func__powl_use=no
51190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51191 ac_ext=c
51192 ac_cpp='$CPP $CPPFLAGS'
51193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
51202 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
51204 if test x$glibcxx_cv_func__powl_use = x"yes"; then
51205 for ac_func in _powl
51206 do :
51207 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
51208 if test "x$ac_cv_func__powl" = x""yes; then :
51209 cat >>confdefs.h <<_ACEOF
51210 #define HAVE__POWL 1
51211 _ACEOF
51214 done
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
51224 $as_echo_n "checking for sqrtl declaration... " >&6; }
51225 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
51226 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
51227 $as_echo_n "(cached) " >&6
51228 else
51231 ac_ext=cpp
51232 ac_cpp='$CXXCPP $CPPFLAGS'
51233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51238 /* end confdefs.h. */
51239 #include <math.h>
51240 #ifdef HAVE_IEEEFP_H
51241 #include <ieeefp.h>
51242 #endif
51245 main ()
51247 sqrtl(0);
51249 return 0;
51251 _ACEOF
51252 if ac_fn_cxx_try_compile "$LINENO"; then :
51253 glibcxx_cv_func_sqrtl_use=yes
51254 else
51255 glibcxx_cv_func_sqrtl_use=no
51257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51258 ac_ext=c
51259 ac_cpp='$CPP $CPPFLAGS'
51260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
51269 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
51271 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
51272 for ac_func in sqrtl
51273 do :
51274 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
51275 if test "x$ac_cv_func_sqrtl" = x""yes; then :
51276 cat >>confdefs.h <<_ACEOF
51277 #define HAVE_SQRTL 1
51278 _ACEOF
51281 done
51283 else
51285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
51286 $as_echo_n "checking for _sqrtl declaration... " >&6; }
51287 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
51288 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
51289 $as_echo_n "(cached) " >&6
51290 else
51293 ac_ext=cpp
51294 ac_cpp='$CXXCPP $CPPFLAGS'
51295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51300 /* end confdefs.h. */
51301 #include <math.h>
51302 #ifdef HAVE_IEEEFP_H
51303 #include <ieeefp.h>
51304 #endif
51307 main ()
51309 _sqrtl(0);
51311 return 0;
51313 _ACEOF
51314 if ac_fn_cxx_try_compile "$LINENO"; then :
51315 glibcxx_cv_func__sqrtl_use=yes
51316 else
51317 glibcxx_cv_func__sqrtl_use=no
51319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51320 ac_ext=c
51321 ac_cpp='$CPP $CPPFLAGS'
51322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
51331 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
51333 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
51334 for ac_func in _sqrtl
51335 do :
51336 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
51337 if test "x$ac_cv_func__sqrtl" = x""yes; then :
51338 cat >>confdefs.h <<_ACEOF
51339 #define HAVE__SQRTL 1
51340 _ACEOF
51343 done
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
51353 $as_echo_n "checking for sincosl declaration... " >&6; }
51354 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
51355 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
51356 $as_echo_n "(cached) " >&6
51357 else
51360 ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h. */
51368 #include <math.h>
51370 main ()
51372 sincosl(0, 0, 0);
51374 return 0;
51376 _ACEOF
51377 if ac_fn_cxx_try_compile "$LINENO"; then :
51378 glibcxx_cv_func_sincosl_use=yes
51379 else
51380 glibcxx_cv_func_sincosl_use=no
51382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51383 ac_ext=c
51384 ac_cpp='$CPP $CPPFLAGS'
51385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
51394 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
51396 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
51397 for ac_func in sincosl
51398 do :
51399 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
51400 if test "x$ac_cv_func_sincosl" = x""yes; then :
51401 cat >>confdefs.h <<_ACEOF
51402 #define HAVE_SINCOSL 1
51403 _ACEOF
51406 done
51408 else
51410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
51411 $as_echo_n "checking for _sincosl declaration... " >&6; }
51412 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
51413 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
51414 $as_echo_n "(cached) " >&6
51415 else
51418 ac_ext=cpp
51419 ac_cpp='$CXXCPP $CPPFLAGS'
51420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51425 /* end confdefs.h. */
51426 #include <math.h>
51428 main ()
51430 _sincosl(0, 0, 0);
51432 return 0;
51434 _ACEOF
51435 if ac_fn_cxx_try_compile "$LINENO"; then :
51436 glibcxx_cv_func__sincosl_use=yes
51437 else
51438 glibcxx_cv_func__sincosl_use=no
51440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51441 ac_ext=c
51442 ac_cpp='$CPP $CPPFLAGS'
51443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
51452 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
51454 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
51455 for ac_func in _sincosl
51456 do :
51457 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
51458 if test "x$ac_cv_func__sincosl" = x""yes; then :
51459 cat >>confdefs.h <<_ACEOF
51460 #define HAVE__SINCOSL 1
51461 _ACEOF
51464 done
51473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
51474 $as_echo_n "checking for finitel declaration... " >&6; }
51475 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
51476 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
51477 $as_echo_n "(cached) " >&6
51478 else
51481 ac_ext=cpp
51482 ac_cpp='$CXXCPP $CPPFLAGS'
51483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51488 /* end confdefs.h. */
51489 #include <math.h>
51490 #ifdef HAVE_IEEEFP_H
51491 #include <ieeefp.h>
51492 #endif
51495 main ()
51497 finitel(0);
51499 return 0;
51501 _ACEOF
51502 if ac_fn_cxx_try_compile "$LINENO"; then :
51503 glibcxx_cv_func_finitel_use=yes
51504 else
51505 glibcxx_cv_func_finitel_use=no
51507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51508 ac_ext=c
51509 ac_cpp='$CPP $CPPFLAGS'
51510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
51519 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
51521 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
51522 for ac_func in finitel
51523 do :
51524 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
51525 if test "x$ac_cv_func_finitel" = x""yes; then :
51526 cat >>confdefs.h <<_ACEOF
51527 #define HAVE_FINITEL 1
51528 _ACEOF
51531 done
51533 else
51535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
51536 $as_echo_n "checking for _finitel declaration... " >&6; }
51537 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
51538 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
51539 $as_echo_n "(cached) " >&6
51540 else
51543 ac_ext=cpp
51544 ac_cpp='$CXXCPP $CPPFLAGS'
51545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51550 /* end confdefs.h. */
51551 #include <math.h>
51552 #ifdef HAVE_IEEEFP_H
51553 #include <ieeefp.h>
51554 #endif
51557 main ()
51559 _finitel(0);
51561 return 0;
51563 _ACEOF
51564 if ac_fn_cxx_try_compile "$LINENO"; then :
51565 glibcxx_cv_func__finitel_use=yes
51566 else
51567 glibcxx_cv_func__finitel_use=no
51569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51570 ac_ext=c
51571 ac_cpp='$CPP $CPPFLAGS'
51572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
51581 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
51583 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
51584 for ac_func in _finitel
51585 do :
51586 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
51587 if test "x$ac_cv_func__finitel" = x""yes; then :
51588 cat >>confdefs.h <<_ACEOF
51589 #define HAVE__FINITEL 1
51590 _ACEOF
51593 done
51601 LIBS="$ac_save_LIBS"
51602 CXXFLAGS="$ac_save_CXXFLAGS"
51605 ac_test_CXXFLAGS="${CXXFLAGS+set}"
51606 ac_save_CXXFLAGS="$CXXFLAGS"
51607 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
51610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
51611 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
51612 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
51613 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
51614 $as_echo_n "(cached) " >&6
51615 else
51618 ac_ext=cpp
51619 ac_cpp='$CXXCPP $CPPFLAGS'
51620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51625 /* end confdefs.h. */
51626 #include <stdlib.h>
51628 main ()
51630 at_quick_exit(0);
51632 return 0;
51634 _ACEOF
51635 if ac_fn_cxx_try_compile "$LINENO"; then :
51636 glibcxx_cv_func_at_quick_exit_use=yes
51637 else
51638 glibcxx_cv_func_at_quick_exit_use=no
51640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51641 ac_ext=c
51642 ac_cpp='$CPP $CPPFLAGS'
51643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
51652 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
51653 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
51654 for ac_func in at_quick_exit
51655 do :
51656 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
51657 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
51658 cat >>confdefs.h <<_ACEOF
51659 #define HAVE_AT_QUICK_EXIT 1
51660 _ACEOF
51663 done
51668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
51669 $as_echo_n "checking for quick_exit declaration... " >&6; }
51670 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
51671 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
51672 $as_echo_n "(cached) " >&6
51673 else
51676 ac_ext=cpp
51677 ac_cpp='$CXXCPP $CPPFLAGS'
51678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51683 /* end confdefs.h. */
51684 #include <stdlib.h>
51686 main ()
51688 quick_exit(0);
51690 return 0;
51692 _ACEOF
51693 if ac_fn_cxx_try_compile "$LINENO"; then :
51694 glibcxx_cv_func_quick_exit_use=yes
51695 else
51696 glibcxx_cv_func_quick_exit_use=no
51698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51699 ac_ext=c
51700 ac_cpp='$CPP $CPPFLAGS'
51701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
51710 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
51711 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
51712 for ac_func in quick_exit
51713 do :
51714 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
51715 if test "x$ac_cv_func_quick_exit" = x""yes; then :
51716 cat >>confdefs.h <<_ACEOF
51717 #define HAVE_QUICK_EXIT 1
51718 _ACEOF
51721 done
51726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
51727 $as_echo_n "checking for strtold declaration... " >&6; }
51728 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
51729 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
51730 $as_echo_n "(cached) " >&6
51731 else
51734 ac_ext=cpp
51735 ac_cpp='$CXXCPP $CPPFLAGS'
51736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51741 /* end confdefs.h. */
51742 #include <stdlib.h>
51744 main ()
51746 strtold(0, 0);
51748 return 0;
51750 _ACEOF
51751 if ac_fn_cxx_try_compile "$LINENO"; then :
51752 glibcxx_cv_func_strtold_use=yes
51753 else
51754 glibcxx_cv_func_strtold_use=no
51756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51757 ac_ext=c
51758 ac_cpp='$CPP $CPPFLAGS'
51759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
51768 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
51769 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
51770 for ac_func in strtold
51771 do :
51772 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
51773 if test "x$ac_cv_func_strtold" = x""yes; then :
51774 cat >>confdefs.h <<_ACEOF
51775 #define HAVE_STRTOLD 1
51776 _ACEOF
51779 done
51786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
51787 $as_echo_n "checking for strtof declaration... " >&6; }
51788 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
51789 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
51790 $as_echo_n "(cached) " >&6
51791 else
51794 ac_ext=cpp
51795 ac_cpp='$CXXCPP $CPPFLAGS'
51796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51801 /* end confdefs.h. */
51802 #include <stdlib.h>
51804 main ()
51806 strtof(0, 0);
51808 return 0;
51810 _ACEOF
51811 if ac_fn_cxx_try_compile "$LINENO"; then :
51812 glibcxx_cv_func_strtof_use=yes
51813 else
51814 glibcxx_cv_func_strtof_use=no
51816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51817 ac_ext=c
51818 ac_cpp='$CPP $CPPFLAGS'
51819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
51828 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
51829 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
51830 for ac_func in strtof
51831 do :
51832 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
51833 if test "x$ac_cv_func_strtof" = x""yes; then :
51834 cat >>confdefs.h <<_ACEOF
51835 #define HAVE_STRTOF 1
51836 _ACEOF
51839 done
51846 CXXFLAGS="$ac_save_CXXFLAGS"
51850 *djgpp)
51851 # GLIBCXX_CHECK_MATH_SUPPORT
51852 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
51854 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
51856 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
51858 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
51860 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
51864 *-freebsd*)
51865 SECTION_FLAGS='-ffunction-sections -fdata-sections'
51868 # If we're not using GNU ld, then there's no point in even trying these
51869 # tests. Check for that first. We should have already tested for gld
51870 # by now (in libtool), but require it now just to be safe...
51871 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
51872 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
51876 # The name set by libtool depends on the version of libtool. Shame on us
51877 # for depending on an impl detail, but c'est la vie. Older versions used
51878 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
51879 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
51880 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
51881 # set (hence we're using an older libtool), then set it.
51882 if test x${with_gnu_ld+set} != xset; then
51883 if test x${ac_cv_prog_gnu_ld+set} != xset; then
51884 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
51885 with_gnu_ld=no
51886 else
51887 with_gnu_ld=$ac_cv_prog_gnu_ld
51891 # Start by getting the version number. I think the libtool test already
51892 # does some of this, but throws away the result.
51893 glibcxx_ld_is_gold=no
51894 if test x"$with_gnu_ld" = x"yes"; then
51895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
51896 $as_echo_n "checking for ld version... " >&6; }
51898 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
51899 glibcxx_ld_is_gold=yes
51901 ldver=`$LD --version 2>/dev/null |
51902 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'`
51904 glibcxx_gnu_ld_version=`echo $ldver | \
51905 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
51907 $as_echo "$glibcxx_gnu_ld_version" >&6; }
51910 # Set --gc-sections.
51911 glibcxx_have_gc_sections=no
51912 if test "$glibcxx_ld_is_gold" = "yes"; then
51913 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
51914 glibcxx_have_gc_sections=yes
51916 else
51917 glibcxx_gcsections_min_ld=21602
51918 if test x"$with_gnu_ld" = x"yes" &&
51919 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
51920 glibcxx_have_gc_sections=yes
51923 if test "$glibcxx_have_gc_sections" = "yes"; then
51924 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
51925 # NB: This flag only works reliably after 2.16.1. Configure tests
51926 # for this are difficult, so hard wire a value that should work.
51928 ac_test_CFLAGS="${CFLAGS+set}"
51929 ac_save_CFLAGS="$CFLAGS"
51930 CFLAGS='-Wl,--gc-sections'
51932 # Check for -Wl,--gc-sections
51933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
51934 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
51935 if test x$gcc_no_link = xyes; then
51936 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 int one(void) { return 1; }
51941 int two(void) { return 2; }
51944 main ()
51946 two();
51948 return 0;
51950 _ACEOF
51951 if ac_fn_c_try_link "$LINENO"; then :
51952 ac_gcsections=yes
51953 else
51954 ac_gcsections=no
51956 rm -f core conftest.err conftest.$ac_objext \
51957 conftest$ac_exeext conftest.$ac_ext
51958 if test "$ac_gcsections" = "yes"; then
51959 rm -f conftest.c
51960 touch conftest.c
51961 if $CC -c conftest.c; then
51962 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
51963 grep "Warning: gc-sections option ignored" > /dev/null; then
51964 ac_gcsections=no
51967 rm -f conftest.c conftest.o conftest
51969 if test "$ac_gcsections" = "yes"; then
51970 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
51972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
51973 $as_echo "$ac_gcsections" >&6; }
51975 if test "$ac_test_CFLAGS" = set; then
51976 CFLAGS="$ac_save_CFLAGS"
51977 else
51978 # this is the suspicious part
51979 CFLAGS=''
51983 # Set -z,relro.
51984 # Note this is only for shared objects.
51985 ac_ld_relro=no
51986 if test x"$with_gnu_ld" = x"yes"; then
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
51988 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
51989 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
51990 if test -n "$cxx_z_relo"; then
51991 OPT_LDFLAGS="-Wl,-z,relro"
51992 ac_ld_relro=yes
51994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
51995 $as_echo "$ac_ld_relro" >&6; }
51998 # Set linker optimization flags.
51999 if test x"$with_gnu_ld" = x"yes"; then
52000 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52006 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
52008 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52010 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52012 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52014 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52016 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
52018 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52020 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52022 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52025 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52027 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52029 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52031 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52033 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
52035 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52037 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52039 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52041 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52043 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
52045 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52047 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52049 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
52051 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52053 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52055 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
52057 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52059 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52061 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52063 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52065 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52067 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52069 if test x"long_double_math_on_this_cpu" = x"yes"; then
52070 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
52072 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
52074 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
52078 *-hpux*)
52079 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52082 # If we're not using GNU ld, then there's no point in even trying these
52083 # tests. Check for that first. We should have already tested for gld
52084 # by now (in libtool), but require it now just to be safe...
52085 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52086 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52090 # The name set by libtool depends on the version of libtool. Shame on us
52091 # for depending on an impl detail, but c'est la vie. Older versions used
52092 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52093 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52094 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52095 # set (hence we're using an older libtool), then set it.
52096 if test x${with_gnu_ld+set} != xset; then
52097 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52098 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52099 with_gnu_ld=no
52100 else
52101 with_gnu_ld=$ac_cv_prog_gnu_ld
52105 # Start by getting the version number. I think the libtool test already
52106 # does some of this, but throws away the result.
52107 glibcxx_ld_is_gold=no
52108 if test x"$with_gnu_ld" = x"yes"; then
52109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52110 $as_echo_n "checking for ld version... " >&6; }
52112 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52113 glibcxx_ld_is_gold=yes
52115 ldver=`$LD --version 2>/dev/null |
52116 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'`
52118 glibcxx_gnu_ld_version=`echo $ldver | \
52119 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52121 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52124 # Set --gc-sections.
52125 glibcxx_have_gc_sections=no
52126 if test "$glibcxx_ld_is_gold" = "yes"; then
52127 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52128 glibcxx_have_gc_sections=yes
52130 else
52131 glibcxx_gcsections_min_ld=21602
52132 if test x"$with_gnu_ld" = x"yes" &&
52133 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52134 glibcxx_have_gc_sections=yes
52137 if test "$glibcxx_have_gc_sections" = "yes"; then
52138 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52139 # NB: This flag only works reliably after 2.16.1. Configure tests
52140 # for this are difficult, so hard wire a value that should work.
52142 ac_test_CFLAGS="${CFLAGS+set}"
52143 ac_save_CFLAGS="$CFLAGS"
52144 CFLAGS='-Wl,--gc-sections'
52146 # Check for -Wl,--gc-sections
52147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52148 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52149 if test x$gcc_no_link = xyes; then
52150 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52153 /* end confdefs.h. */
52154 int one(void) { return 1; }
52155 int two(void) { return 2; }
52158 main ()
52160 two();
52162 return 0;
52164 _ACEOF
52165 if ac_fn_c_try_link "$LINENO"; then :
52166 ac_gcsections=yes
52167 else
52168 ac_gcsections=no
52170 rm -f core conftest.err conftest.$ac_objext \
52171 conftest$ac_exeext conftest.$ac_ext
52172 if test "$ac_gcsections" = "yes"; then
52173 rm -f conftest.c
52174 touch conftest.c
52175 if $CC -c conftest.c; then
52176 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52177 grep "Warning: gc-sections option ignored" > /dev/null; then
52178 ac_gcsections=no
52181 rm -f conftest.c conftest.o conftest
52183 if test "$ac_gcsections" = "yes"; then
52184 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52187 $as_echo "$ac_gcsections" >&6; }
52189 if test "$ac_test_CFLAGS" = set; then
52190 CFLAGS="$ac_save_CFLAGS"
52191 else
52192 # this is the suspicious part
52193 CFLAGS=''
52197 # Set -z,relro.
52198 # Note this is only for shared objects.
52199 ac_ld_relro=no
52200 if test x"$with_gnu_ld" = x"yes"; then
52201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52202 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52203 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52204 if test -n "$cxx_z_relo"; then
52205 OPT_LDFLAGS="-Wl,-z,relro"
52206 ac_ld_relro=yes
52208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52209 $as_echo "$ac_ld_relro" >&6; }
52212 # Set linker optimization flags.
52213 if test x"$with_gnu_ld" = x"yes"; then
52214 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52221 # GLIBCXX_CHECK_MATH_SUPPORT
52222 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52224 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52226 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
52228 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
52230 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
52232 $as_echo "#define HAVE_COSF 1" >>confdefs.h
52234 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
52236 $as_echo "#define HAVE_SINF 1" >>confdefs.h
52238 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
52240 $as_echo "#define HAVE_TANF 1" >>confdefs.h
52242 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
52244 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
52246 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
52248 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
52250 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
52252 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
52254 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
52256 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
52258 $as_echo "#define HAVE_MODF 1" >>confdefs.h
52260 $as_echo "#define HAVE_POWF 1" >>confdefs.h
52262 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
52265 # GLIBCXX_CHECK_STDLIB_SUPPORT
52266 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
52271 # Check whether --enable-tls was given.
52272 if test "${enable_tls+set}" = set; then :
52273 enableval=$enable_tls;
52274 case "$enableval" in
52275 yes|no) ;;
52276 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
52277 esac
52279 else
52280 enable_tls=yes
52284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
52285 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
52286 if test "${gcc_cv_have_tls+set}" = set; then :
52287 $as_echo_n "(cached) " >&6
52288 else
52290 if test "$cross_compiling" = yes; then :
52291 if test x$gcc_no_link = xyes; then
52292 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52295 /* end confdefs.h. */
52296 __thread int a; int b; int main() { return a = b; }
52297 _ACEOF
52298 if ac_fn_c_try_link "$LINENO"; then :
52299 chktls_save_LDFLAGS="$LDFLAGS"
52300 case $host in
52301 *-*-linux*)
52302 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
52304 esac
52305 chktls_save_CFLAGS="$CFLAGS"
52306 CFLAGS="-fPIC $CFLAGS"
52307 if test x$gcc_no_link = xyes; then
52308 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52311 /* end confdefs.h. */
52312 int f() { return 0; }
52313 _ACEOF
52314 if ac_fn_c_try_link "$LINENO"; then :
52315 if test x$gcc_no_link = xyes; then
52316 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 __thread int a; int b; int f() { return a = b; }
52321 _ACEOF
52322 if ac_fn_c_try_link "$LINENO"; then :
52323 gcc_cv_have_tls=yes
52324 else
52325 gcc_cv_have_tls=no
52327 rm -f core conftest.err conftest.$ac_objext \
52328 conftest$ac_exeext conftest.$ac_ext
52329 else
52330 gcc_cv_have_tls=yes
52332 rm -f core conftest.err conftest.$ac_objext \
52333 conftest$ac_exeext conftest.$ac_ext
52334 CFLAGS="$chktls_save_CFLAGS"
52335 LDFLAGS="$chktls_save_LDFLAGS"
52336 else
52337 gcc_cv_have_tls=no
52339 rm -f core conftest.err conftest.$ac_objext \
52340 conftest$ac_exeext conftest.$ac_ext
52343 else
52344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52345 /* end confdefs.h. */
52346 __thread int a; int b; int main() { return a = b; }
52347 _ACEOF
52348 if ac_fn_c_try_run "$LINENO"; then :
52349 chktls_save_LDFLAGS="$LDFLAGS"
52350 LDFLAGS="-static $LDFLAGS"
52351 if test x$gcc_no_link = xyes; then
52352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52355 /* end confdefs.h. */
52356 int main() { return 0; }
52357 _ACEOF
52358 if ac_fn_c_try_link "$LINENO"; then :
52359 if test "$cross_compiling" = yes; then :
52360 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52362 as_fn_error "cannot run test program while cross compiling
52363 See \`config.log' for more details." "$LINENO" 5; }
52364 else
52365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52366 /* end confdefs.h. */
52367 __thread int a; int b; int main() { return a = b; }
52368 _ACEOF
52369 if ac_fn_c_try_run "$LINENO"; then :
52370 gcc_cv_have_tls=yes
52371 else
52372 gcc_cv_have_tls=no
52374 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52375 conftest.$ac_objext conftest.beam conftest.$ac_ext
52378 else
52379 gcc_cv_have_tls=yes
52381 rm -f core conftest.err conftest.$ac_objext \
52382 conftest$ac_exeext conftest.$ac_ext
52383 LDFLAGS="$chktls_save_LDFLAGS"
52384 if test $gcc_cv_have_tls = yes; then
52385 chktls_save_CFLAGS="$CFLAGS"
52386 thread_CFLAGS=failed
52387 for flag in '' '-pthread' '-lpthread'; do
52388 CFLAGS="$flag $chktls_save_CFLAGS"
52389 if test x$gcc_no_link = xyes; then
52390 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52393 /* end confdefs.h. */
52394 #include <pthread.h>
52395 void *g(void *d) { return NULL; }
52397 main ()
52399 pthread_t t; pthread_create(&t,NULL,g,NULL);
52401 return 0;
52403 _ACEOF
52404 if ac_fn_c_try_link "$LINENO"; then :
52405 thread_CFLAGS="$flag"
52407 rm -f core conftest.err conftest.$ac_objext \
52408 conftest$ac_exeext conftest.$ac_ext
52409 if test "X$thread_CFLAGS" != Xfailed; then
52410 break
52412 done
52413 CFLAGS="$chktls_save_CFLAGS"
52414 if test "X$thread_CFLAGS" != Xfailed; then
52415 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
52416 if test "$cross_compiling" = yes; then :
52417 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
52418 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
52419 as_fn_error "cannot run test program while cross compiling
52420 See \`config.log' for more details." "$LINENO" 5; }
52421 else
52422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52423 /* end confdefs.h. */
52424 #include <pthread.h>
52425 __thread int a;
52426 static int *volatile a_in_other_thread;
52427 static void *
52428 thread_func (void *arg)
52430 a_in_other_thread = &a;
52431 return (void *)0;
52434 main ()
52436 pthread_t thread;
52437 void *thread_retval;
52438 int *volatile a_in_main_thread;
52439 a_in_main_thread = &a;
52440 if (pthread_create (&thread, (pthread_attr_t *)0,
52441 thread_func, (void *)0))
52442 return 0;
52443 if (pthread_join (thread, &thread_retval))
52444 return 0;
52445 return (a_in_other_thread == a_in_main_thread);
52447 return 0;
52449 _ACEOF
52450 if ac_fn_c_try_run "$LINENO"; then :
52451 gcc_cv_have_tls=yes
52452 else
52453 gcc_cv_have_tls=no
52455 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52456 conftest.$ac_objext conftest.beam conftest.$ac_ext
52459 CFLAGS="$chktls_save_CFLAGS"
52462 else
52463 gcc_cv_have_tls=no
52465 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
52466 conftest.$ac_objext conftest.beam conftest.$ac_ext
52470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
52471 $as_echo "$gcc_cv_have_tls" >&6; }
52472 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
52474 $as_echo "#define HAVE_TLS 1" >>confdefs.h
52477 case "$target" in
52478 *-hpux10*)
52479 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52481 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
52483 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
52485 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52487 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
52490 esac
52492 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-knetbsd*-gnu | *-cygwin*)
52494 # All these tests are for C++; save the language and the compiler flags.
52495 # The CXXFLAGS thing is suspicious, but based on similar bits previously
52496 # found in GLIBCXX_CONFIGURE.
52498 ac_ext=cpp
52499 ac_cpp='$CXXCPP $CPPFLAGS'
52500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52504 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52505 ac_save_CXXFLAGS="$CXXFLAGS"
52507 # Check for maintainer-mode bits.
52508 if test x"$USE_MAINTAINER_MODE" = xno; then
52509 WERROR=''
52510 else
52511 WERROR='-Werror'
52514 # Check for -ffunction-sections -fdata-sections
52515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
52516 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
52517 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
52518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52519 /* end confdefs.h. */
52520 int foo; void bar() { };
52522 main ()
52526 return 0;
52528 _ACEOF
52529 if ac_fn_cxx_try_compile "$LINENO"; then :
52530 ac_fdsections=yes
52531 else
52532 ac_fdsections=no
52534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52535 if test "$ac_test_CXXFLAGS" = set; then
52536 CXXFLAGS="$ac_save_CXXFLAGS"
52537 else
52538 # this is the suspicious part
52539 CXXFLAGS=''
52541 if test x"$ac_fdsections" = x"yes"; then
52542 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
52545 $as_echo "$ac_fdsections" >&6; }
52547 ac_ext=c
52548 ac_cpp='$CPP $CPPFLAGS'
52549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52557 # If we're not using GNU ld, then there's no point in even trying these
52558 # tests. Check for that first. We should have already tested for gld
52559 # by now (in libtool), but require it now just to be safe...
52560 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52561 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52565 # The name set by libtool depends on the version of libtool. Shame on us
52566 # for depending on an impl detail, but c'est la vie. Older versions used
52567 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52568 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52569 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52570 # set (hence we're using an older libtool), then set it.
52571 if test x${with_gnu_ld+set} != xset; then
52572 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52573 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52574 with_gnu_ld=no
52575 else
52576 with_gnu_ld=$ac_cv_prog_gnu_ld
52580 # Start by getting the version number. I think the libtool test already
52581 # does some of this, but throws away the result.
52582 glibcxx_ld_is_gold=no
52583 if test x"$with_gnu_ld" = x"yes"; then
52584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52585 $as_echo_n "checking for ld version... " >&6; }
52587 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52588 glibcxx_ld_is_gold=yes
52590 ldver=`$LD --version 2>/dev/null |
52591 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'`
52593 glibcxx_gnu_ld_version=`echo $ldver | \
52594 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52596 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52599 # Set --gc-sections.
52600 glibcxx_have_gc_sections=no
52601 if test "$glibcxx_ld_is_gold" = "yes"; then
52602 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52603 glibcxx_have_gc_sections=yes
52605 else
52606 glibcxx_gcsections_min_ld=21602
52607 if test x"$with_gnu_ld" = x"yes" &&
52608 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52609 glibcxx_have_gc_sections=yes
52612 if test "$glibcxx_have_gc_sections" = "yes"; then
52613 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52614 # NB: This flag only works reliably after 2.16.1. Configure tests
52615 # for this are difficult, so hard wire a value that should work.
52617 ac_test_CFLAGS="${CFLAGS+set}"
52618 ac_save_CFLAGS="$CFLAGS"
52619 CFLAGS='-Wl,--gc-sections'
52621 # Check for -Wl,--gc-sections
52622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
52623 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
52624 if test x$gcc_no_link = xyes; then
52625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52628 /* end confdefs.h. */
52629 int one(void) { return 1; }
52630 int two(void) { return 2; }
52633 main ()
52635 two();
52637 return 0;
52639 _ACEOF
52640 if ac_fn_c_try_link "$LINENO"; then :
52641 ac_gcsections=yes
52642 else
52643 ac_gcsections=no
52645 rm -f core conftest.err conftest.$ac_objext \
52646 conftest$ac_exeext conftest.$ac_ext
52647 if test "$ac_gcsections" = "yes"; then
52648 rm -f conftest.c
52649 touch conftest.c
52650 if $CC -c conftest.c; then
52651 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
52652 grep "Warning: gc-sections option ignored" > /dev/null; then
52653 ac_gcsections=no
52656 rm -f conftest.c conftest.o conftest
52658 if test "$ac_gcsections" = "yes"; then
52659 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
52661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
52662 $as_echo "$ac_gcsections" >&6; }
52664 if test "$ac_test_CFLAGS" = set; then
52665 CFLAGS="$ac_save_CFLAGS"
52666 else
52667 # this is the suspicious part
52668 CFLAGS=''
52672 # Set -z,relro.
52673 # Note this is only for shared objects.
52674 ac_ld_relro=no
52675 if test x"$with_gnu_ld" = x"yes"; then
52676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
52677 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
52678 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
52679 if test -n "$cxx_z_relo"; then
52680 OPT_LDFLAGS="-Wl,-z,relro"
52681 ac_ld_relro=yes
52683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
52684 $as_echo "$ac_ld_relro" >&6; }
52687 # Set linker optimization flags.
52688 if test x"$with_gnu_ld" = x"yes"; then
52689 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
52696 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52697 ac_save_CXXFLAGS="$CXXFLAGS"
52698 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
52701 $as_echo_n "checking for sin in -lm... " >&6; }
52702 if test "${ac_cv_lib_m_sin+set}" = set; then :
52703 $as_echo_n "(cached) " >&6
52704 else
52705 ac_check_lib_save_LIBS=$LIBS
52706 LIBS="-lm $LIBS"
52707 if test x$gcc_no_link = xyes; then
52708 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
52710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52711 /* end confdefs.h. */
52713 /* Override any GCC internal prototype to avoid an error.
52714 Use char because int might match the return type of a GCC
52715 builtin and then its argument prototype would still apply. */
52716 #ifdef __cplusplus
52717 extern "C"
52718 #endif
52719 char sin ();
52721 main ()
52723 return sin ();
52725 return 0;
52727 _ACEOF
52728 if ac_fn_c_try_link "$LINENO"; then :
52729 ac_cv_lib_m_sin=yes
52730 else
52731 ac_cv_lib_m_sin=no
52733 rm -f core conftest.err conftest.$ac_objext \
52734 conftest$ac_exeext conftest.$ac_ext
52735 LIBS=$ac_check_lib_save_LIBS
52737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
52738 $as_echo "$ac_cv_lib_m_sin" >&6; }
52739 if test "x$ac_cv_lib_m_sin" = x""yes; then :
52740 libm="-lm"
52743 ac_save_LIBS="$LIBS"
52744 LIBS="$LIBS $libm"
52748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
52749 $as_echo_n "checking for isinf declaration... " >&6; }
52750 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
52751 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
52752 $as_echo_n "(cached) " >&6
52753 else
52756 ac_ext=cpp
52757 ac_cpp='$CXXCPP $CPPFLAGS'
52758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52763 /* end confdefs.h. */
52764 #include <math.h>
52765 #ifdef HAVE_IEEEFP_H
52766 #include <ieeefp.h>
52767 #endif
52770 main ()
52772 isinf(0);
52774 return 0;
52776 _ACEOF
52777 if ac_fn_cxx_try_compile "$LINENO"; then :
52778 glibcxx_cv_func_isinf_use=yes
52779 else
52780 glibcxx_cv_func_isinf_use=no
52782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52783 ac_ext=c
52784 ac_cpp='$CPP $CPPFLAGS'
52785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
52794 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
52796 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
52797 for ac_func in isinf
52798 do :
52799 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
52800 if test "x$ac_cv_func_isinf" = x""yes; then :
52801 cat >>confdefs.h <<_ACEOF
52802 #define HAVE_ISINF 1
52803 _ACEOF
52806 done
52808 else
52810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
52811 $as_echo_n "checking for _isinf declaration... " >&6; }
52812 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
52813 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
52814 $as_echo_n "(cached) " >&6
52815 else
52818 ac_ext=cpp
52819 ac_cpp='$CXXCPP $CPPFLAGS'
52820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52825 /* end confdefs.h. */
52826 #include <math.h>
52827 #ifdef HAVE_IEEEFP_H
52828 #include <ieeefp.h>
52829 #endif
52832 main ()
52834 _isinf(0);
52836 return 0;
52838 _ACEOF
52839 if ac_fn_cxx_try_compile "$LINENO"; then :
52840 glibcxx_cv_func__isinf_use=yes
52841 else
52842 glibcxx_cv_func__isinf_use=no
52844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52845 ac_ext=c
52846 ac_cpp='$CPP $CPPFLAGS'
52847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
52856 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
52858 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
52859 for ac_func in _isinf
52860 do :
52861 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
52862 if test "x$ac_cv_func__isinf" = x""yes; then :
52863 cat >>confdefs.h <<_ACEOF
52864 #define HAVE__ISINF 1
52865 _ACEOF
52868 done
52877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
52878 $as_echo_n "checking for isnan declaration... " >&6; }
52879 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
52880 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
52881 $as_echo_n "(cached) " >&6
52882 else
52885 ac_ext=cpp
52886 ac_cpp='$CXXCPP $CPPFLAGS'
52887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52892 /* end confdefs.h. */
52893 #include <math.h>
52894 #ifdef HAVE_IEEEFP_H
52895 #include <ieeefp.h>
52896 #endif
52899 main ()
52901 isnan(0);
52903 return 0;
52905 _ACEOF
52906 if ac_fn_cxx_try_compile "$LINENO"; then :
52907 glibcxx_cv_func_isnan_use=yes
52908 else
52909 glibcxx_cv_func_isnan_use=no
52911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52912 ac_ext=c
52913 ac_cpp='$CPP $CPPFLAGS'
52914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
52923 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
52925 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
52926 for ac_func in isnan
52927 do :
52928 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
52929 if test "x$ac_cv_func_isnan" = x""yes; then :
52930 cat >>confdefs.h <<_ACEOF
52931 #define HAVE_ISNAN 1
52932 _ACEOF
52935 done
52937 else
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
52940 $as_echo_n "checking for _isnan declaration... " >&6; }
52941 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
52942 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
52943 $as_echo_n "(cached) " >&6
52944 else
52947 ac_ext=cpp
52948 ac_cpp='$CXXCPP $CPPFLAGS'
52949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52954 /* end confdefs.h. */
52955 #include <math.h>
52956 #ifdef HAVE_IEEEFP_H
52957 #include <ieeefp.h>
52958 #endif
52961 main ()
52963 _isnan(0);
52965 return 0;
52967 _ACEOF
52968 if ac_fn_cxx_try_compile "$LINENO"; then :
52969 glibcxx_cv_func__isnan_use=yes
52970 else
52971 glibcxx_cv_func__isnan_use=no
52973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52974 ac_ext=c
52975 ac_cpp='$CPP $CPPFLAGS'
52976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
52985 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
52987 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
52988 for ac_func in _isnan
52989 do :
52990 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
52991 if test "x$ac_cv_func__isnan" = x""yes; then :
52992 cat >>confdefs.h <<_ACEOF
52993 #define HAVE__ISNAN 1
52994 _ACEOF
52997 done
53006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
53007 $as_echo_n "checking for finite declaration... " >&6; }
53008 if test x${glibcxx_cv_func_finite_use+set} != xset; then
53009 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
53010 $as_echo_n "(cached) " >&6
53011 else
53014 ac_ext=cpp
53015 ac_cpp='$CXXCPP $CPPFLAGS'
53016 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53021 /* end confdefs.h. */
53022 #include <math.h>
53023 #ifdef HAVE_IEEEFP_H
53024 #include <ieeefp.h>
53025 #endif
53028 main ()
53030 finite(0);
53032 return 0;
53034 _ACEOF
53035 if ac_fn_cxx_try_compile "$LINENO"; then :
53036 glibcxx_cv_func_finite_use=yes
53037 else
53038 glibcxx_cv_func_finite_use=no
53040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53041 ac_ext=c
53042 ac_cpp='$CPP $CPPFLAGS'
53043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
53052 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
53054 if test x$glibcxx_cv_func_finite_use = x"yes"; then
53055 for ac_func in finite
53056 do :
53057 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
53058 if test "x$ac_cv_func_finite" = x""yes; then :
53059 cat >>confdefs.h <<_ACEOF
53060 #define HAVE_FINITE 1
53061 _ACEOF
53064 done
53066 else
53068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
53069 $as_echo_n "checking for _finite declaration... " >&6; }
53070 if test x${glibcxx_cv_func__finite_use+set} != xset; then
53071 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
53072 $as_echo_n "(cached) " >&6
53073 else
53076 ac_ext=cpp
53077 ac_cpp='$CXXCPP $CPPFLAGS'
53078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53083 /* end confdefs.h. */
53084 #include <math.h>
53085 #ifdef HAVE_IEEEFP_H
53086 #include <ieeefp.h>
53087 #endif
53090 main ()
53092 _finite(0);
53094 return 0;
53096 _ACEOF
53097 if ac_fn_cxx_try_compile "$LINENO"; then :
53098 glibcxx_cv_func__finite_use=yes
53099 else
53100 glibcxx_cv_func__finite_use=no
53102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53103 ac_ext=c
53104 ac_cpp='$CPP $CPPFLAGS'
53105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
53114 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
53116 if test x$glibcxx_cv_func__finite_use = x"yes"; then
53117 for ac_func in _finite
53118 do :
53119 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
53120 if test "x$ac_cv_func__finite" = x""yes; then :
53121 cat >>confdefs.h <<_ACEOF
53122 #define HAVE__FINITE 1
53123 _ACEOF
53126 done
53135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
53136 $as_echo_n "checking for sincos declaration... " >&6; }
53137 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
53138 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
53139 $as_echo_n "(cached) " >&6
53140 else
53143 ac_ext=cpp
53144 ac_cpp='$CXXCPP $CPPFLAGS'
53145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53150 /* end confdefs.h. */
53151 #include <math.h>
53153 main ()
53155 sincos(0, 0, 0);
53157 return 0;
53159 _ACEOF
53160 if ac_fn_cxx_try_compile "$LINENO"; then :
53161 glibcxx_cv_func_sincos_use=yes
53162 else
53163 glibcxx_cv_func_sincos_use=no
53165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53166 ac_ext=c
53167 ac_cpp='$CPP $CPPFLAGS'
53168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
53177 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
53179 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
53180 for ac_func in sincos
53181 do :
53182 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
53183 if test "x$ac_cv_func_sincos" = x""yes; then :
53184 cat >>confdefs.h <<_ACEOF
53185 #define HAVE_SINCOS 1
53186 _ACEOF
53189 done
53191 else
53193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
53194 $as_echo_n "checking for _sincos declaration... " >&6; }
53195 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
53196 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
53197 $as_echo_n "(cached) " >&6
53198 else
53201 ac_ext=cpp
53202 ac_cpp='$CXXCPP $CPPFLAGS'
53203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53208 /* end confdefs.h. */
53209 #include <math.h>
53211 main ()
53213 _sincos(0, 0, 0);
53215 return 0;
53217 _ACEOF
53218 if ac_fn_cxx_try_compile "$LINENO"; then :
53219 glibcxx_cv_func__sincos_use=yes
53220 else
53221 glibcxx_cv_func__sincos_use=no
53223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53224 ac_ext=c
53225 ac_cpp='$CPP $CPPFLAGS'
53226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
53235 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
53237 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
53238 for ac_func in _sincos
53239 do :
53240 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
53241 if test "x$ac_cv_func__sincos" = x""yes; then :
53242 cat >>confdefs.h <<_ACEOF
53243 #define HAVE__SINCOS 1
53244 _ACEOF
53247 done
53256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
53257 $as_echo_n "checking for fpclass declaration... " >&6; }
53258 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
53259 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
53260 $as_echo_n "(cached) " >&6
53261 else
53264 ac_ext=cpp
53265 ac_cpp='$CXXCPP $CPPFLAGS'
53266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53271 /* end confdefs.h. */
53272 #include <math.h>
53273 #ifdef HAVE_IEEEFP_H
53274 #include <ieeefp.h>
53275 #endif
53278 main ()
53280 fpclass(0);
53282 return 0;
53284 _ACEOF
53285 if ac_fn_cxx_try_compile "$LINENO"; then :
53286 glibcxx_cv_func_fpclass_use=yes
53287 else
53288 glibcxx_cv_func_fpclass_use=no
53290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53291 ac_ext=c
53292 ac_cpp='$CPP $CPPFLAGS'
53293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
53302 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
53304 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
53305 for ac_func in fpclass
53306 do :
53307 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
53308 if test "x$ac_cv_func_fpclass" = x""yes; then :
53309 cat >>confdefs.h <<_ACEOF
53310 #define HAVE_FPCLASS 1
53311 _ACEOF
53314 done
53316 else
53318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
53319 $as_echo_n "checking for _fpclass declaration... " >&6; }
53320 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
53321 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
53322 $as_echo_n "(cached) " >&6
53323 else
53326 ac_ext=cpp
53327 ac_cpp='$CXXCPP $CPPFLAGS'
53328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53333 /* end confdefs.h. */
53334 #include <math.h>
53335 #ifdef HAVE_IEEEFP_H
53336 #include <ieeefp.h>
53337 #endif
53340 main ()
53342 _fpclass(0);
53344 return 0;
53346 _ACEOF
53347 if ac_fn_cxx_try_compile "$LINENO"; then :
53348 glibcxx_cv_func__fpclass_use=yes
53349 else
53350 glibcxx_cv_func__fpclass_use=no
53352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53353 ac_ext=c
53354 ac_cpp='$CPP $CPPFLAGS'
53355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
53364 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
53366 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
53367 for ac_func in _fpclass
53368 do :
53369 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
53370 if test "x$ac_cv_func__fpclass" = x""yes; then :
53371 cat >>confdefs.h <<_ACEOF
53372 #define HAVE__FPCLASS 1
53373 _ACEOF
53376 done
53385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
53386 $as_echo_n "checking for qfpclass declaration... " >&6; }
53387 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
53388 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
53389 $as_echo_n "(cached) " >&6
53390 else
53393 ac_ext=cpp
53394 ac_cpp='$CXXCPP $CPPFLAGS'
53395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53400 /* end confdefs.h. */
53401 #include <math.h>
53402 #ifdef HAVE_IEEEFP_H
53403 #include <ieeefp.h>
53404 #endif
53407 main ()
53409 qfpclass(0);
53411 return 0;
53413 _ACEOF
53414 if ac_fn_cxx_try_compile "$LINENO"; then :
53415 glibcxx_cv_func_qfpclass_use=yes
53416 else
53417 glibcxx_cv_func_qfpclass_use=no
53419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53420 ac_ext=c
53421 ac_cpp='$CPP $CPPFLAGS'
53422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
53431 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
53433 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
53434 for ac_func in qfpclass
53435 do :
53436 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
53437 if test "x$ac_cv_func_qfpclass" = x""yes; then :
53438 cat >>confdefs.h <<_ACEOF
53439 #define HAVE_QFPCLASS 1
53440 _ACEOF
53443 done
53445 else
53447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
53448 $as_echo_n "checking for _qfpclass declaration... " >&6; }
53449 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
53450 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
53451 $as_echo_n "(cached) " >&6
53452 else
53455 ac_ext=cpp
53456 ac_cpp='$CXXCPP $CPPFLAGS'
53457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53462 /* end confdefs.h. */
53463 #include <math.h>
53464 #ifdef HAVE_IEEEFP_H
53465 #include <ieeefp.h>
53466 #endif
53469 main ()
53471 _qfpclass(0);
53473 return 0;
53475 _ACEOF
53476 if ac_fn_cxx_try_compile "$LINENO"; then :
53477 glibcxx_cv_func__qfpclass_use=yes
53478 else
53479 glibcxx_cv_func__qfpclass_use=no
53481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53482 ac_ext=c
53483 ac_cpp='$CPP $CPPFLAGS'
53484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
53493 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
53495 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
53496 for ac_func in _qfpclass
53497 do :
53498 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
53499 if test "x$ac_cv_func__qfpclass" = x""yes; then :
53500 cat >>confdefs.h <<_ACEOF
53501 #define HAVE__QFPCLASS 1
53502 _ACEOF
53505 done
53514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
53515 $as_echo_n "checking for hypot declaration... " >&6; }
53516 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
53517 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
53518 $as_echo_n "(cached) " >&6
53519 else
53522 ac_ext=cpp
53523 ac_cpp='$CXXCPP $CPPFLAGS'
53524 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53525 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53526 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53529 /* end confdefs.h. */
53530 #include <math.h>
53532 main ()
53534 hypot(0, 0);
53536 return 0;
53538 _ACEOF
53539 if ac_fn_cxx_try_compile "$LINENO"; then :
53540 glibcxx_cv_func_hypot_use=yes
53541 else
53542 glibcxx_cv_func_hypot_use=no
53544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53545 ac_ext=c
53546 ac_cpp='$CPP $CPPFLAGS'
53547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
53556 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
53558 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
53559 for ac_func in hypot
53560 do :
53561 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
53562 if test "x$ac_cv_func_hypot" = x""yes; then :
53563 cat >>confdefs.h <<_ACEOF
53564 #define HAVE_HYPOT 1
53565 _ACEOF
53568 done
53570 else
53572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
53573 $as_echo_n "checking for _hypot declaration... " >&6; }
53574 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
53575 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
53576 $as_echo_n "(cached) " >&6
53577 else
53580 ac_ext=cpp
53581 ac_cpp='$CXXCPP $CPPFLAGS'
53582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53587 /* end confdefs.h. */
53588 #include <math.h>
53590 main ()
53592 _hypot(0, 0);
53594 return 0;
53596 _ACEOF
53597 if ac_fn_cxx_try_compile "$LINENO"; then :
53598 glibcxx_cv_func__hypot_use=yes
53599 else
53600 glibcxx_cv_func__hypot_use=no
53602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53603 ac_ext=c
53604 ac_cpp='$CPP $CPPFLAGS'
53605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
53614 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
53616 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
53617 for ac_func in _hypot
53618 do :
53619 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
53620 if test "x$ac_cv_func__hypot" = x""yes; then :
53621 cat >>confdefs.h <<_ACEOF
53622 #define HAVE__HYPOT 1
53623 _ACEOF
53626 done
53635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
53636 $as_echo_n "checking for float trig functions... " >&6; }
53637 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
53638 $as_echo_n "(cached) " >&6
53639 else
53642 ac_ext=cpp
53643 ac_cpp='$CXXCPP $CPPFLAGS'
53644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53649 /* end confdefs.h. */
53650 #include <math.h>
53652 main ()
53654 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
53656 return 0;
53658 _ACEOF
53659 if ac_fn_cxx_try_compile "$LINENO"; then :
53660 glibcxx_cv_func_float_trig_use=yes
53661 else
53662 glibcxx_cv_func_float_trig_use=no
53664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53665 ac_ext=c
53666 ac_cpp='$CPP $CPPFLAGS'
53667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
53674 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
53675 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
53676 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
53677 do :
53678 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53679 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53680 eval as_val=\$$as_ac_var
53681 if test "x$as_val" = x""yes; then :
53682 cat >>confdefs.h <<_ACEOF
53683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53684 _ACEOF
53687 done
53689 else
53690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
53691 $as_echo_n "checking for _float trig functions... " >&6; }
53692 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
53693 $as_echo_n "(cached) " >&6
53694 else
53697 ac_ext=cpp
53698 ac_cpp='$CXXCPP $CPPFLAGS'
53699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53704 /* end confdefs.h. */
53705 #include <math.h>
53707 main ()
53709 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
53711 return 0;
53713 _ACEOF
53714 if ac_fn_cxx_try_compile "$LINENO"; then :
53715 glibcxx_cv_func__float_trig_use=yes
53716 else
53717 glibcxx_cv_func__float_trig_use=no
53719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53720 ac_ext=c
53721 ac_cpp='$CPP $CPPFLAGS'
53722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
53729 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
53730 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
53731 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
53732 do :
53733 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53734 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53735 eval as_val=\$$as_ac_var
53736 if test "x$as_val" = x""yes; then :
53737 cat >>confdefs.h <<_ACEOF
53738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53739 _ACEOF
53742 done
53751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
53752 $as_echo_n "checking for float round functions... " >&6; }
53753 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
53754 $as_echo_n "(cached) " >&6
53755 else
53758 ac_ext=cpp
53759 ac_cpp='$CXXCPP $CPPFLAGS'
53760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53765 /* end confdefs.h. */
53766 #include <math.h>
53768 main ()
53770 ceilf (0); floorf (0);
53772 return 0;
53774 _ACEOF
53775 if ac_fn_cxx_try_compile "$LINENO"; then :
53776 glibcxx_cv_func_float_round_use=yes
53777 else
53778 glibcxx_cv_func_float_round_use=no
53780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53781 ac_ext=c
53782 ac_cpp='$CPP $CPPFLAGS'
53783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
53790 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
53791 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
53792 for ac_func in ceilf floorf
53793 do :
53794 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53795 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53796 eval as_val=\$$as_ac_var
53797 if test "x$as_val" = x""yes; then :
53798 cat >>confdefs.h <<_ACEOF
53799 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53800 _ACEOF
53803 done
53805 else
53806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
53807 $as_echo_n "checking for _float round functions... " >&6; }
53808 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
53809 $as_echo_n "(cached) " >&6
53810 else
53813 ac_ext=cpp
53814 ac_cpp='$CXXCPP $CPPFLAGS'
53815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53820 /* end confdefs.h. */
53821 #include <math.h>
53823 main ()
53825 _ceilf (0); _floorf (0);
53827 return 0;
53829 _ACEOF
53830 if ac_fn_cxx_try_compile "$LINENO"; then :
53831 glibcxx_cv_func__float_round_use=yes
53832 else
53833 glibcxx_cv_func__float_round_use=no
53835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53836 ac_ext=c
53837 ac_cpp='$CPP $CPPFLAGS'
53838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
53845 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
53846 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
53847 for ac_func in _ceilf _floorf
53848 do :
53849 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53850 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53851 eval as_val=\$$as_ac_var
53852 if test "x$as_val" = x""yes; then :
53853 cat >>confdefs.h <<_ACEOF
53854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53855 _ACEOF
53858 done
53868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
53869 $as_echo_n "checking for expf declaration... " >&6; }
53870 if test x${glibcxx_cv_func_expf_use+set} != xset; then
53871 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
53872 $as_echo_n "(cached) " >&6
53873 else
53876 ac_ext=cpp
53877 ac_cpp='$CXXCPP $CPPFLAGS'
53878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53883 /* end confdefs.h. */
53884 #include <math.h>
53885 #ifdef HAVE_IEEEFP_H
53886 #include <ieeefp.h>
53887 #endif
53890 main ()
53892 expf(0);
53894 return 0;
53896 _ACEOF
53897 if ac_fn_cxx_try_compile "$LINENO"; then :
53898 glibcxx_cv_func_expf_use=yes
53899 else
53900 glibcxx_cv_func_expf_use=no
53902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53903 ac_ext=c
53904 ac_cpp='$CPP $CPPFLAGS'
53905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
53914 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
53916 if test x$glibcxx_cv_func_expf_use = x"yes"; then
53917 for ac_func in expf
53918 do :
53919 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
53920 if test "x$ac_cv_func_expf" = x""yes; then :
53921 cat >>confdefs.h <<_ACEOF
53922 #define HAVE_EXPF 1
53923 _ACEOF
53926 done
53928 else
53930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
53931 $as_echo_n "checking for _expf declaration... " >&6; }
53932 if test x${glibcxx_cv_func__expf_use+set} != xset; then
53933 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
53934 $as_echo_n "(cached) " >&6
53935 else
53938 ac_ext=cpp
53939 ac_cpp='$CXXCPP $CPPFLAGS'
53940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53945 /* end confdefs.h. */
53946 #include <math.h>
53947 #ifdef HAVE_IEEEFP_H
53948 #include <ieeefp.h>
53949 #endif
53952 main ()
53954 _expf(0);
53956 return 0;
53958 _ACEOF
53959 if ac_fn_cxx_try_compile "$LINENO"; then :
53960 glibcxx_cv_func__expf_use=yes
53961 else
53962 glibcxx_cv_func__expf_use=no
53964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53965 ac_ext=c
53966 ac_cpp='$CPP $CPPFLAGS'
53967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
53976 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
53978 if test x$glibcxx_cv_func__expf_use = x"yes"; then
53979 for ac_func in _expf
53980 do :
53981 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
53982 if test "x$ac_cv_func__expf" = x""yes; then :
53983 cat >>confdefs.h <<_ACEOF
53984 #define HAVE__EXPF 1
53985 _ACEOF
53988 done
53997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
53998 $as_echo_n "checking for isnanf declaration... " >&6; }
53999 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
54000 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
54001 $as_echo_n "(cached) " >&6
54002 else
54005 ac_ext=cpp
54006 ac_cpp='$CXXCPP $CPPFLAGS'
54007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54012 /* end confdefs.h. */
54013 #include <math.h>
54014 #ifdef HAVE_IEEEFP_H
54015 #include <ieeefp.h>
54016 #endif
54019 main ()
54021 isnanf(0);
54023 return 0;
54025 _ACEOF
54026 if ac_fn_cxx_try_compile "$LINENO"; then :
54027 glibcxx_cv_func_isnanf_use=yes
54028 else
54029 glibcxx_cv_func_isnanf_use=no
54031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54032 ac_ext=c
54033 ac_cpp='$CPP $CPPFLAGS'
54034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
54043 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
54045 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
54046 for ac_func in isnanf
54047 do :
54048 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
54049 if test "x$ac_cv_func_isnanf" = x""yes; then :
54050 cat >>confdefs.h <<_ACEOF
54051 #define HAVE_ISNANF 1
54052 _ACEOF
54055 done
54057 else
54059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
54060 $as_echo_n "checking for _isnanf declaration... " >&6; }
54061 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
54062 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
54063 $as_echo_n "(cached) " >&6
54064 else
54067 ac_ext=cpp
54068 ac_cpp='$CXXCPP $CPPFLAGS'
54069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54074 /* end confdefs.h. */
54075 #include <math.h>
54076 #ifdef HAVE_IEEEFP_H
54077 #include <ieeefp.h>
54078 #endif
54081 main ()
54083 _isnanf(0);
54085 return 0;
54087 _ACEOF
54088 if ac_fn_cxx_try_compile "$LINENO"; then :
54089 glibcxx_cv_func__isnanf_use=yes
54090 else
54091 glibcxx_cv_func__isnanf_use=no
54093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54094 ac_ext=c
54095 ac_cpp='$CPP $CPPFLAGS'
54096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
54105 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
54107 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
54108 for ac_func in _isnanf
54109 do :
54110 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
54111 if test "x$ac_cv_func__isnanf" = x""yes; then :
54112 cat >>confdefs.h <<_ACEOF
54113 #define HAVE__ISNANF 1
54114 _ACEOF
54117 done
54126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
54127 $as_echo_n "checking for isinff declaration... " >&6; }
54128 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
54129 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
54130 $as_echo_n "(cached) " >&6
54131 else
54134 ac_ext=cpp
54135 ac_cpp='$CXXCPP $CPPFLAGS'
54136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54141 /* end confdefs.h. */
54142 #include <math.h>
54143 #ifdef HAVE_IEEEFP_H
54144 #include <ieeefp.h>
54145 #endif
54148 main ()
54150 isinff(0);
54152 return 0;
54154 _ACEOF
54155 if ac_fn_cxx_try_compile "$LINENO"; then :
54156 glibcxx_cv_func_isinff_use=yes
54157 else
54158 glibcxx_cv_func_isinff_use=no
54160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54161 ac_ext=c
54162 ac_cpp='$CPP $CPPFLAGS'
54163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
54172 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
54174 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
54175 for ac_func in isinff
54176 do :
54177 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
54178 if test "x$ac_cv_func_isinff" = x""yes; then :
54179 cat >>confdefs.h <<_ACEOF
54180 #define HAVE_ISINFF 1
54181 _ACEOF
54184 done
54186 else
54188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
54189 $as_echo_n "checking for _isinff declaration... " >&6; }
54190 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
54191 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
54192 $as_echo_n "(cached) " >&6
54193 else
54196 ac_ext=cpp
54197 ac_cpp='$CXXCPP $CPPFLAGS'
54198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54203 /* end confdefs.h. */
54204 #include <math.h>
54205 #ifdef HAVE_IEEEFP_H
54206 #include <ieeefp.h>
54207 #endif
54210 main ()
54212 _isinff(0);
54214 return 0;
54216 _ACEOF
54217 if ac_fn_cxx_try_compile "$LINENO"; then :
54218 glibcxx_cv_func__isinff_use=yes
54219 else
54220 glibcxx_cv_func__isinff_use=no
54222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54223 ac_ext=c
54224 ac_cpp='$CPP $CPPFLAGS'
54225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
54234 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
54236 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
54237 for ac_func in _isinff
54238 do :
54239 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
54240 if test "x$ac_cv_func__isinff" = x""yes; then :
54241 cat >>confdefs.h <<_ACEOF
54242 #define HAVE__ISINFF 1
54243 _ACEOF
54246 done
54255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
54256 $as_echo_n "checking for atan2f declaration... " >&6; }
54257 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
54258 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
54259 $as_echo_n "(cached) " >&6
54260 else
54263 ac_ext=cpp
54264 ac_cpp='$CXXCPP $CPPFLAGS'
54265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54270 /* end confdefs.h. */
54271 #include <math.h>
54273 main ()
54275 atan2f(0, 0);
54277 return 0;
54279 _ACEOF
54280 if ac_fn_cxx_try_compile "$LINENO"; then :
54281 glibcxx_cv_func_atan2f_use=yes
54282 else
54283 glibcxx_cv_func_atan2f_use=no
54285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54286 ac_ext=c
54287 ac_cpp='$CPP $CPPFLAGS'
54288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
54297 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
54299 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
54300 for ac_func in atan2f
54301 do :
54302 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
54303 if test "x$ac_cv_func_atan2f" = x""yes; then :
54304 cat >>confdefs.h <<_ACEOF
54305 #define HAVE_ATAN2F 1
54306 _ACEOF
54309 done
54311 else
54313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
54314 $as_echo_n "checking for _atan2f declaration... " >&6; }
54315 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
54316 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
54317 $as_echo_n "(cached) " >&6
54318 else
54321 ac_ext=cpp
54322 ac_cpp='$CXXCPP $CPPFLAGS'
54323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54328 /* end confdefs.h. */
54329 #include <math.h>
54331 main ()
54333 _atan2f(0, 0);
54335 return 0;
54337 _ACEOF
54338 if ac_fn_cxx_try_compile "$LINENO"; then :
54339 glibcxx_cv_func__atan2f_use=yes
54340 else
54341 glibcxx_cv_func__atan2f_use=no
54343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54344 ac_ext=c
54345 ac_cpp='$CPP $CPPFLAGS'
54346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
54355 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
54357 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
54358 for ac_func in _atan2f
54359 do :
54360 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
54361 if test "x$ac_cv_func__atan2f" = x""yes; then :
54362 cat >>confdefs.h <<_ACEOF
54363 #define HAVE__ATAN2F 1
54364 _ACEOF
54367 done
54376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
54377 $as_echo_n "checking for fabsf declaration... " >&6; }
54378 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
54379 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
54380 $as_echo_n "(cached) " >&6
54381 else
54384 ac_ext=cpp
54385 ac_cpp='$CXXCPP $CPPFLAGS'
54386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54391 /* end confdefs.h. */
54392 #include <math.h>
54393 #ifdef HAVE_IEEEFP_H
54394 #include <ieeefp.h>
54395 #endif
54398 main ()
54400 fabsf(0);
54402 return 0;
54404 _ACEOF
54405 if ac_fn_cxx_try_compile "$LINENO"; then :
54406 glibcxx_cv_func_fabsf_use=yes
54407 else
54408 glibcxx_cv_func_fabsf_use=no
54410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54411 ac_ext=c
54412 ac_cpp='$CPP $CPPFLAGS'
54413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
54422 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
54424 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
54425 for ac_func in fabsf
54426 do :
54427 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
54428 if test "x$ac_cv_func_fabsf" = x""yes; then :
54429 cat >>confdefs.h <<_ACEOF
54430 #define HAVE_FABSF 1
54431 _ACEOF
54434 done
54436 else
54438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
54439 $as_echo_n "checking for _fabsf declaration... " >&6; }
54440 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
54441 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
54442 $as_echo_n "(cached) " >&6
54443 else
54446 ac_ext=cpp
54447 ac_cpp='$CXXCPP $CPPFLAGS'
54448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54453 /* end confdefs.h. */
54454 #include <math.h>
54455 #ifdef HAVE_IEEEFP_H
54456 #include <ieeefp.h>
54457 #endif
54460 main ()
54462 _fabsf(0);
54464 return 0;
54466 _ACEOF
54467 if ac_fn_cxx_try_compile "$LINENO"; then :
54468 glibcxx_cv_func__fabsf_use=yes
54469 else
54470 glibcxx_cv_func__fabsf_use=no
54472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54473 ac_ext=c
54474 ac_cpp='$CPP $CPPFLAGS'
54475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
54484 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
54486 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
54487 for ac_func in _fabsf
54488 do :
54489 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
54490 if test "x$ac_cv_func__fabsf" = x""yes; then :
54491 cat >>confdefs.h <<_ACEOF
54492 #define HAVE__FABSF 1
54493 _ACEOF
54496 done
54505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
54506 $as_echo_n "checking for fmodf declaration... " >&6; }
54507 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
54508 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
54509 $as_echo_n "(cached) " >&6
54510 else
54513 ac_ext=cpp
54514 ac_cpp='$CXXCPP $CPPFLAGS'
54515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54520 /* end confdefs.h. */
54521 #include <math.h>
54523 main ()
54525 fmodf(0, 0);
54527 return 0;
54529 _ACEOF
54530 if ac_fn_cxx_try_compile "$LINENO"; then :
54531 glibcxx_cv_func_fmodf_use=yes
54532 else
54533 glibcxx_cv_func_fmodf_use=no
54535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54536 ac_ext=c
54537 ac_cpp='$CPP $CPPFLAGS'
54538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
54547 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
54549 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
54550 for ac_func in fmodf
54551 do :
54552 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
54553 if test "x$ac_cv_func_fmodf" = x""yes; then :
54554 cat >>confdefs.h <<_ACEOF
54555 #define HAVE_FMODF 1
54556 _ACEOF
54559 done
54561 else
54563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
54564 $as_echo_n "checking for _fmodf declaration... " >&6; }
54565 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
54566 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
54567 $as_echo_n "(cached) " >&6
54568 else
54571 ac_ext=cpp
54572 ac_cpp='$CXXCPP $CPPFLAGS'
54573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54578 /* end confdefs.h. */
54579 #include <math.h>
54581 main ()
54583 _fmodf(0, 0);
54585 return 0;
54587 _ACEOF
54588 if ac_fn_cxx_try_compile "$LINENO"; then :
54589 glibcxx_cv_func__fmodf_use=yes
54590 else
54591 glibcxx_cv_func__fmodf_use=no
54593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54594 ac_ext=c
54595 ac_cpp='$CPP $CPPFLAGS'
54596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
54605 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
54607 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
54608 for ac_func in _fmodf
54609 do :
54610 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
54611 if test "x$ac_cv_func__fmodf" = x""yes; then :
54612 cat >>confdefs.h <<_ACEOF
54613 #define HAVE__FMODF 1
54614 _ACEOF
54617 done
54626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
54627 $as_echo_n "checking for frexpf declaration... " >&6; }
54628 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
54629 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
54630 $as_echo_n "(cached) " >&6
54631 else
54634 ac_ext=cpp
54635 ac_cpp='$CXXCPP $CPPFLAGS'
54636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54641 /* end confdefs.h. */
54642 #include <math.h>
54644 main ()
54646 frexpf(0, 0);
54648 return 0;
54650 _ACEOF
54651 if ac_fn_cxx_try_compile "$LINENO"; then :
54652 glibcxx_cv_func_frexpf_use=yes
54653 else
54654 glibcxx_cv_func_frexpf_use=no
54656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54657 ac_ext=c
54658 ac_cpp='$CPP $CPPFLAGS'
54659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
54668 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
54670 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
54671 for ac_func in frexpf
54672 do :
54673 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
54674 if test "x$ac_cv_func_frexpf" = x""yes; then :
54675 cat >>confdefs.h <<_ACEOF
54676 #define HAVE_FREXPF 1
54677 _ACEOF
54680 done
54682 else
54684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
54685 $as_echo_n "checking for _frexpf declaration... " >&6; }
54686 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
54687 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
54688 $as_echo_n "(cached) " >&6
54689 else
54692 ac_ext=cpp
54693 ac_cpp='$CXXCPP $CPPFLAGS'
54694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54699 /* end confdefs.h. */
54700 #include <math.h>
54702 main ()
54704 _frexpf(0, 0);
54706 return 0;
54708 _ACEOF
54709 if ac_fn_cxx_try_compile "$LINENO"; then :
54710 glibcxx_cv_func__frexpf_use=yes
54711 else
54712 glibcxx_cv_func__frexpf_use=no
54714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54715 ac_ext=c
54716 ac_cpp='$CPP $CPPFLAGS'
54717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
54726 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
54728 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
54729 for ac_func in _frexpf
54730 do :
54731 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
54732 if test "x$ac_cv_func__frexpf" = x""yes; then :
54733 cat >>confdefs.h <<_ACEOF
54734 #define HAVE__FREXPF 1
54735 _ACEOF
54738 done
54747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
54748 $as_echo_n "checking for hypotf declaration... " >&6; }
54749 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
54750 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
54751 $as_echo_n "(cached) " >&6
54752 else
54755 ac_ext=cpp
54756 ac_cpp='$CXXCPP $CPPFLAGS'
54757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54762 /* end confdefs.h. */
54763 #include <math.h>
54765 main ()
54767 hypotf(0, 0);
54769 return 0;
54771 _ACEOF
54772 if ac_fn_cxx_try_compile "$LINENO"; then :
54773 glibcxx_cv_func_hypotf_use=yes
54774 else
54775 glibcxx_cv_func_hypotf_use=no
54777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54778 ac_ext=c
54779 ac_cpp='$CPP $CPPFLAGS'
54780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
54789 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
54791 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
54792 for ac_func in hypotf
54793 do :
54794 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
54795 if test "x$ac_cv_func_hypotf" = x""yes; then :
54796 cat >>confdefs.h <<_ACEOF
54797 #define HAVE_HYPOTF 1
54798 _ACEOF
54801 done
54803 else
54805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
54806 $as_echo_n "checking for _hypotf declaration... " >&6; }
54807 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
54808 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
54809 $as_echo_n "(cached) " >&6
54810 else
54813 ac_ext=cpp
54814 ac_cpp='$CXXCPP $CPPFLAGS'
54815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54820 /* end confdefs.h. */
54821 #include <math.h>
54823 main ()
54825 _hypotf(0, 0);
54827 return 0;
54829 _ACEOF
54830 if ac_fn_cxx_try_compile "$LINENO"; then :
54831 glibcxx_cv_func__hypotf_use=yes
54832 else
54833 glibcxx_cv_func__hypotf_use=no
54835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54836 ac_ext=c
54837 ac_cpp='$CPP $CPPFLAGS'
54838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
54847 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
54849 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
54850 for ac_func in _hypotf
54851 do :
54852 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
54853 if test "x$ac_cv_func__hypotf" = x""yes; then :
54854 cat >>confdefs.h <<_ACEOF
54855 #define HAVE__HYPOTF 1
54856 _ACEOF
54859 done
54868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
54869 $as_echo_n "checking for ldexpf declaration... " >&6; }
54870 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
54871 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
54872 $as_echo_n "(cached) " >&6
54873 else
54876 ac_ext=cpp
54877 ac_cpp='$CXXCPP $CPPFLAGS'
54878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54883 /* end confdefs.h. */
54884 #include <math.h>
54886 main ()
54888 ldexpf(0, 0);
54890 return 0;
54892 _ACEOF
54893 if ac_fn_cxx_try_compile "$LINENO"; then :
54894 glibcxx_cv_func_ldexpf_use=yes
54895 else
54896 glibcxx_cv_func_ldexpf_use=no
54898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54899 ac_ext=c
54900 ac_cpp='$CPP $CPPFLAGS'
54901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
54910 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
54912 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
54913 for ac_func in ldexpf
54914 do :
54915 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
54916 if test "x$ac_cv_func_ldexpf" = x""yes; then :
54917 cat >>confdefs.h <<_ACEOF
54918 #define HAVE_LDEXPF 1
54919 _ACEOF
54922 done
54924 else
54926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
54927 $as_echo_n "checking for _ldexpf declaration... " >&6; }
54928 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
54929 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
54930 $as_echo_n "(cached) " >&6
54931 else
54934 ac_ext=cpp
54935 ac_cpp='$CXXCPP $CPPFLAGS'
54936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54941 /* end confdefs.h. */
54942 #include <math.h>
54944 main ()
54946 _ldexpf(0, 0);
54948 return 0;
54950 _ACEOF
54951 if ac_fn_cxx_try_compile "$LINENO"; then :
54952 glibcxx_cv_func__ldexpf_use=yes
54953 else
54954 glibcxx_cv_func__ldexpf_use=no
54956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54957 ac_ext=c
54958 ac_cpp='$CPP $CPPFLAGS'
54959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
54968 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
54970 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
54971 for ac_func in _ldexpf
54972 do :
54973 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
54974 if test "x$ac_cv_func__ldexpf" = x""yes; then :
54975 cat >>confdefs.h <<_ACEOF
54976 #define HAVE__LDEXPF 1
54977 _ACEOF
54980 done
54989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
54990 $as_echo_n "checking for logf declaration... " >&6; }
54991 if test x${glibcxx_cv_func_logf_use+set} != xset; then
54992 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
54993 $as_echo_n "(cached) " >&6
54994 else
54997 ac_ext=cpp
54998 ac_cpp='$CXXCPP $CPPFLAGS'
54999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55004 /* end confdefs.h. */
55005 #include <math.h>
55006 #ifdef HAVE_IEEEFP_H
55007 #include <ieeefp.h>
55008 #endif
55011 main ()
55013 logf(0);
55015 return 0;
55017 _ACEOF
55018 if ac_fn_cxx_try_compile "$LINENO"; then :
55019 glibcxx_cv_func_logf_use=yes
55020 else
55021 glibcxx_cv_func_logf_use=no
55023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55024 ac_ext=c
55025 ac_cpp='$CPP $CPPFLAGS'
55026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
55035 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
55037 if test x$glibcxx_cv_func_logf_use = x"yes"; then
55038 for ac_func in logf
55039 do :
55040 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
55041 if test "x$ac_cv_func_logf" = x""yes; then :
55042 cat >>confdefs.h <<_ACEOF
55043 #define HAVE_LOGF 1
55044 _ACEOF
55047 done
55049 else
55051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
55052 $as_echo_n "checking for _logf declaration... " >&6; }
55053 if test x${glibcxx_cv_func__logf_use+set} != xset; then
55054 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
55055 $as_echo_n "(cached) " >&6
55056 else
55059 ac_ext=cpp
55060 ac_cpp='$CXXCPP $CPPFLAGS'
55061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55066 /* end confdefs.h. */
55067 #include <math.h>
55068 #ifdef HAVE_IEEEFP_H
55069 #include <ieeefp.h>
55070 #endif
55073 main ()
55075 _logf(0);
55077 return 0;
55079 _ACEOF
55080 if ac_fn_cxx_try_compile "$LINENO"; then :
55081 glibcxx_cv_func__logf_use=yes
55082 else
55083 glibcxx_cv_func__logf_use=no
55085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55086 ac_ext=c
55087 ac_cpp='$CPP $CPPFLAGS'
55088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
55097 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
55099 if test x$glibcxx_cv_func__logf_use = x"yes"; then
55100 for ac_func in _logf
55101 do :
55102 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
55103 if test "x$ac_cv_func__logf" = x""yes; then :
55104 cat >>confdefs.h <<_ACEOF
55105 #define HAVE__LOGF 1
55106 _ACEOF
55109 done
55118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
55119 $as_echo_n "checking for log10f declaration... " >&6; }
55120 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
55121 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
55122 $as_echo_n "(cached) " >&6
55123 else
55126 ac_ext=cpp
55127 ac_cpp='$CXXCPP $CPPFLAGS'
55128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55133 /* end confdefs.h. */
55134 #include <math.h>
55135 #ifdef HAVE_IEEEFP_H
55136 #include <ieeefp.h>
55137 #endif
55140 main ()
55142 log10f(0);
55144 return 0;
55146 _ACEOF
55147 if ac_fn_cxx_try_compile "$LINENO"; then :
55148 glibcxx_cv_func_log10f_use=yes
55149 else
55150 glibcxx_cv_func_log10f_use=no
55152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55153 ac_ext=c
55154 ac_cpp='$CPP $CPPFLAGS'
55155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
55164 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
55166 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
55167 for ac_func in log10f
55168 do :
55169 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
55170 if test "x$ac_cv_func_log10f" = x""yes; then :
55171 cat >>confdefs.h <<_ACEOF
55172 #define HAVE_LOG10F 1
55173 _ACEOF
55176 done
55178 else
55180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
55181 $as_echo_n "checking for _log10f declaration... " >&6; }
55182 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
55183 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
55184 $as_echo_n "(cached) " >&6
55185 else
55188 ac_ext=cpp
55189 ac_cpp='$CXXCPP $CPPFLAGS'
55190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55195 /* end confdefs.h. */
55196 #include <math.h>
55197 #ifdef HAVE_IEEEFP_H
55198 #include <ieeefp.h>
55199 #endif
55202 main ()
55204 _log10f(0);
55206 return 0;
55208 _ACEOF
55209 if ac_fn_cxx_try_compile "$LINENO"; then :
55210 glibcxx_cv_func__log10f_use=yes
55211 else
55212 glibcxx_cv_func__log10f_use=no
55214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55215 ac_ext=c
55216 ac_cpp='$CPP $CPPFLAGS'
55217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
55226 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
55228 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
55229 for ac_func in _log10f
55230 do :
55231 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
55232 if test "x$ac_cv_func__log10f" = x""yes; then :
55233 cat >>confdefs.h <<_ACEOF
55234 #define HAVE__LOG10F 1
55235 _ACEOF
55238 done
55247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
55248 $as_echo_n "checking for modff declaration... " >&6; }
55249 if test x${glibcxx_cv_func_modff_use+set} != xset; then
55250 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
55251 $as_echo_n "(cached) " >&6
55252 else
55255 ac_ext=cpp
55256 ac_cpp='$CXXCPP $CPPFLAGS'
55257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55262 /* end confdefs.h. */
55263 #include <math.h>
55265 main ()
55267 modff(0, 0);
55269 return 0;
55271 _ACEOF
55272 if ac_fn_cxx_try_compile "$LINENO"; then :
55273 glibcxx_cv_func_modff_use=yes
55274 else
55275 glibcxx_cv_func_modff_use=no
55277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55278 ac_ext=c
55279 ac_cpp='$CPP $CPPFLAGS'
55280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
55289 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
55291 if test x$glibcxx_cv_func_modff_use = x"yes"; then
55292 for ac_func in modff
55293 do :
55294 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
55295 if test "x$ac_cv_func_modff" = x""yes; then :
55296 cat >>confdefs.h <<_ACEOF
55297 #define HAVE_MODFF 1
55298 _ACEOF
55301 done
55303 else
55305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
55306 $as_echo_n "checking for _modff declaration... " >&6; }
55307 if test x${glibcxx_cv_func__modff_use+set} != xset; then
55308 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
55309 $as_echo_n "(cached) " >&6
55310 else
55313 ac_ext=cpp
55314 ac_cpp='$CXXCPP $CPPFLAGS'
55315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55320 /* end confdefs.h. */
55321 #include <math.h>
55323 main ()
55325 _modff(0, 0);
55327 return 0;
55329 _ACEOF
55330 if ac_fn_cxx_try_compile "$LINENO"; then :
55331 glibcxx_cv_func__modff_use=yes
55332 else
55333 glibcxx_cv_func__modff_use=no
55335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55336 ac_ext=c
55337 ac_cpp='$CPP $CPPFLAGS'
55338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
55347 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
55349 if test x$glibcxx_cv_func__modff_use = x"yes"; then
55350 for ac_func in _modff
55351 do :
55352 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
55353 if test "x$ac_cv_func__modff" = x""yes; then :
55354 cat >>confdefs.h <<_ACEOF
55355 #define HAVE__MODFF 1
55356 _ACEOF
55359 done
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
55369 $as_echo_n "checking for modf declaration... " >&6; }
55370 if test x${glibcxx_cv_func_modf_use+set} != xset; then
55371 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
55372 $as_echo_n "(cached) " >&6
55373 else
55376 ac_ext=cpp
55377 ac_cpp='$CXXCPP $CPPFLAGS'
55378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55383 /* end confdefs.h. */
55384 #include <math.h>
55386 main ()
55388 modf(0, 0);
55390 return 0;
55392 _ACEOF
55393 if ac_fn_cxx_try_compile "$LINENO"; then :
55394 glibcxx_cv_func_modf_use=yes
55395 else
55396 glibcxx_cv_func_modf_use=no
55398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55399 ac_ext=c
55400 ac_cpp='$CPP $CPPFLAGS'
55401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
55410 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
55412 if test x$glibcxx_cv_func_modf_use = x"yes"; then
55413 for ac_func in modf
55414 do :
55415 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
55416 if test "x$ac_cv_func_modf" = x""yes; then :
55417 cat >>confdefs.h <<_ACEOF
55418 #define HAVE_MODF 1
55419 _ACEOF
55422 done
55424 else
55426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
55427 $as_echo_n "checking for _modf declaration... " >&6; }
55428 if test x${glibcxx_cv_func__modf_use+set} != xset; then
55429 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
55430 $as_echo_n "(cached) " >&6
55431 else
55434 ac_ext=cpp
55435 ac_cpp='$CXXCPP $CPPFLAGS'
55436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55441 /* end confdefs.h. */
55442 #include <math.h>
55444 main ()
55446 _modf(0, 0);
55448 return 0;
55450 _ACEOF
55451 if ac_fn_cxx_try_compile "$LINENO"; then :
55452 glibcxx_cv_func__modf_use=yes
55453 else
55454 glibcxx_cv_func__modf_use=no
55456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55457 ac_ext=c
55458 ac_cpp='$CPP $CPPFLAGS'
55459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
55468 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
55470 if test x$glibcxx_cv_func__modf_use = x"yes"; then
55471 for ac_func in _modf
55472 do :
55473 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
55474 if test "x$ac_cv_func__modf" = x""yes; then :
55475 cat >>confdefs.h <<_ACEOF
55476 #define HAVE__MODF 1
55477 _ACEOF
55480 done
55489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
55490 $as_echo_n "checking for powf declaration... " >&6; }
55491 if test x${glibcxx_cv_func_powf_use+set} != xset; then
55492 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
55493 $as_echo_n "(cached) " >&6
55494 else
55497 ac_ext=cpp
55498 ac_cpp='$CXXCPP $CPPFLAGS'
55499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55504 /* end confdefs.h. */
55505 #include <math.h>
55507 main ()
55509 powf(0, 0);
55511 return 0;
55513 _ACEOF
55514 if ac_fn_cxx_try_compile "$LINENO"; then :
55515 glibcxx_cv_func_powf_use=yes
55516 else
55517 glibcxx_cv_func_powf_use=no
55519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55520 ac_ext=c
55521 ac_cpp='$CPP $CPPFLAGS'
55522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
55531 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
55533 if test x$glibcxx_cv_func_powf_use = x"yes"; then
55534 for ac_func in powf
55535 do :
55536 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
55537 if test "x$ac_cv_func_powf" = x""yes; then :
55538 cat >>confdefs.h <<_ACEOF
55539 #define HAVE_POWF 1
55540 _ACEOF
55543 done
55545 else
55547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
55548 $as_echo_n "checking for _powf declaration... " >&6; }
55549 if test x${glibcxx_cv_func__powf_use+set} != xset; then
55550 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
55551 $as_echo_n "(cached) " >&6
55552 else
55555 ac_ext=cpp
55556 ac_cpp='$CXXCPP $CPPFLAGS'
55557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55562 /* end confdefs.h. */
55563 #include <math.h>
55565 main ()
55567 _powf(0, 0);
55569 return 0;
55571 _ACEOF
55572 if ac_fn_cxx_try_compile "$LINENO"; then :
55573 glibcxx_cv_func__powf_use=yes
55574 else
55575 glibcxx_cv_func__powf_use=no
55577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55578 ac_ext=c
55579 ac_cpp='$CPP $CPPFLAGS'
55580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
55589 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
55591 if test x$glibcxx_cv_func__powf_use = x"yes"; then
55592 for ac_func in _powf
55593 do :
55594 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
55595 if test "x$ac_cv_func__powf" = x""yes; then :
55596 cat >>confdefs.h <<_ACEOF
55597 #define HAVE__POWF 1
55598 _ACEOF
55601 done
55610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
55611 $as_echo_n "checking for sqrtf declaration... " >&6; }
55612 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
55613 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
55614 $as_echo_n "(cached) " >&6
55615 else
55618 ac_ext=cpp
55619 ac_cpp='$CXXCPP $CPPFLAGS'
55620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55625 /* end confdefs.h. */
55626 #include <math.h>
55627 #ifdef HAVE_IEEEFP_H
55628 #include <ieeefp.h>
55629 #endif
55632 main ()
55634 sqrtf(0);
55636 return 0;
55638 _ACEOF
55639 if ac_fn_cxx_try_compile "$LINENO"; then :
55640 glibcxx_cv_func_sqrtf_use=yes
55641 else
55642 glibcxx_cv_func_sqrtf_use=no
55644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55645 ac_ext=c
55646 ac_cpp='$CPP $CPPFLAGS'
55647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
55656 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
55658 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
55659 for ac_func in sqrtf
55660 do :
55661 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
55662 if test "x$ac_cv_func_sqrtf" = x""yes; then :
55663 cat >>confdefs.h <<_ACEOF
55664 #define HAVE_SQRTF 1
55665 _ACEOF
55668 done
55670 else
55672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
55673 $as_echo_n "checking for _sqrtf declaration... " >&6; }
55674 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
55675 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
55676 $as_echo_n "(cached) " >&6
55677 else
55680 ac_ext=cpp
55681 ac_cpp='$CXXCPP $CPPFLAGS'
55682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55687 /* end confdefs.h. */
55688 #include <math.h>
55689 #ifdef HAVE_IEEEFP_H
55690 #include <ieeefp.h>
55691 #endif
55694 main ()
55696 _sqrtf(0);
55698 return 0;
55700 _ACEOF
55701 if ac_fn_cxx_try_compile "$LINENO"; then :
55702 glibcxx_cv_func__sqrtf_use=yes
55703 else
55704 glibcxx_cv_func__sqrtf_use=no
55706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55707 ac_ext=c
55708 ac_cpp='$CPP $CPPFLAGS'
55709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
55718 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
55720 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
55721 for ac_func in _sqrtf
55722 do :
55723 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
55724 if test "x$ac_cv_func__sqrtf" = x""yes; then :
55725 cat >>confdefs.h <<_ACEOF
55726 #define HAVE__SQRTF 1
55727 _ACEOF
55730 done
55739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
55740 $as_echo_n "checking for sincosf declaration... " >&6; }
55741 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
55742 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
55743 $as_echo_n "(cached) " >&6
55744 else
55747 ac_ext=cpp
55748 ac_cpp='$CXXCPP $CPPFLAGS'
55749 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55750 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55751 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55754 /* end confdefs.h. */
55755 #include <math.h>
55757 main ()
55759 sincosf(0, 0, 0);
55761 return 0;
55763 _ACEOF
55764 if ac_fn_cxx_try_compile "$LINENO"; then :
55765 glibcxx_cv_func_sincosf_use=yes
55766 else
55767 glibcxx_cv_func_sincosf_use=no
55769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55770 ac_ext=c
55771 ac_cpp='$CPP $CPPFLAGS'
55772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
55781 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
55783 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
55784 for ac_func in sincosf
55785 do :
55786 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
55787 if test "x$ac_cv_func_sincosf" = x""yes; then :
55788 cat >>confdefs.h <<_ACEOF
55789 #define HAVE_SINCOSF 1
55790 _ACEOF
55793 done
55795 else
55797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
55798 $as_echo_n "checking for _sincosf declaration... " >&6; }
55799 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
55800 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
55801 $as_echo_n "(cached) " >&6
55802 else
55805 ac_ext=cpp
55806 ac_cpp='$CXXCPP $CPPFLAGS'
55807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55812 /* end confdefs.h. */
55813 #include <math.h>
55815 main ()
55817 _sincosf(0, 0, 0);
55819 return 0;
55821 _ACEOF
55822 if ac_fn_cxx_try_compile "$LINENO"; then :
55823 glibcxx_cv_func__sincosf_use=yes
55824 else
55825 glibcxx_cv_func__sincosf_use=no
55827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55828 ac_ext=c
55829 ac_cpp='$CPP $CPPFLAGS'
55830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
55839 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
55841 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
55842 for ac_func in _sincosf
55843 do :
55844 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
55845 if test "x$ac_cv_func__sincosf" = x""yes; then :
55846 cat >>confdefs.h <<_ACEOF
55847 #define HAVE__SINCOSF 1
55848 _ACEOF
55851 done
55860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
55861 $as_echo_n "checking for finitef declaration... " >&6; }
55862 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
55863 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
55864 $as_echo_n "(cached) " >&6
55865 else
55868 ac_ext=cpp
55869 ac_cpp='$CXXCPP $CPPFLAGS'
55870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55875 /* end confdefs.h. */
55876 #include <math.h>
55877 #ifdef HAVE_IEEEFP_H
55878 #include <ieeefp.h>
55879 #endif
55882 main ()
55884 finitef(0);
55886 return 0;
55888 _ACEOF
55889 if ac_fn_cxx_try_compile "$LINENO"; then :
55890 glibcxx_cv_func_finitef_use=yes
55891 else
55892 glibcxx_cv_func_finitef_use=no
55894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55895 ac_ext=c
55896 ac_cpp='$CPP $CPPFLAGS'
55897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
55906 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
55908 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
55909 for ac_func in finitef
55910 do :
55911 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
55912 if test "x$ac_cv_func_finitef" = x""yes; then :
55913 cat >>confdefs.h <<_ACEOF
55914 #define HAVE_FINITEF 1
55915 _ACEOF
55918 done
55920 else
55922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
55923 $as_echo_n "checking for _finitef declaration... " >&6; }
55924 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
55925 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
55926 $as_echo_n "(cached) " >&6
55927 else
55930 ac_ext=cpp
55931 ac_cpp='$CXXCPP $CPPFLAGS'
55932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55937 /* end confdefs.h. */
55938 #include <math.h>
55939 #ifdef HAVE_IEEEFP_H
55940 #include <ieeefp.h>
55941 #endif
55944 main ()
55946 _finitef(0);
55948 return 0;
55950 _ACEOF
55951 if ac_fn_cxx_try_compile "$LINENO"; then :
55952 glibcxx_cv_func__finitef_use=yes
55953 else
55954 glibcxx_cv_func__finitef_use=no
55956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55957 ac_ext=c
55958 ac_cpp='$CPP $CPPFLAGS'
55959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
55968 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
55970 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
55971 for ac_func in _finitef
55972 do :
55973 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
55974 if test "x$ac_cv_func__finitef" = x""yes; then :
55975 cat >>confdefs.h <<_ACEOF
55976 #define HAVE__FINITEF 1
55977 _ACEOF
55980 done
55989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
55990 $as_echo_n "checking for long double trig functions... " >&6; }
55991 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
55992 $as_echo_n "(cached) " >&6
55993 else
55996 ac_ext=cpp
55997 ac_cpp='$CXXCPP $CPPFLAGS'
55998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56003 /* end confdefs.h. */
56004 #include <math.h>
56006 main ()
56008 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
56010 return 0;
56012 _ACEOF
56013 if ac_fn_cxx_try_compile "$LINENO"; then :
56014 glibcxx_cv_func_long_double_trig_use=yes
56015 else
56016 glibcxx_cv_func_long_double_trig_use=no
56018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56019 ac_ext=c
56020 ac_cpp='$CPP $CPPFLAGS'
56021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
56028 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
56029 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
56030 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
56031 do :
56032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56034 eval as_val=\$$as_ac_var
56035 if test "x$as_val" = x""yes; then :
56036 cat >>confdefs.h <<_ACEOF
56037 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56038 _ACEOF
56041 done
56043 else
56044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
56045 $as_echo_n "checking for _long double trig functions... " >&6; }
56046 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
56047 $as_echo_n "(cached) " >&6
56048 else
56051 ac_ext=cpp
56052 ac_cpp='$CXXCPP $CPPFLAGS'
56053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56058 /* end confdefs.h. */
56059 #include <math.h>
56061 main ()
56063 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
56065 return 0;
56067 _ACEOF
56068 if ac_fn_cxx_try_compile "$LINENO"; then :
56069 glibcxx_cv_func__long_double_trig_use=yes
56070 else
56071 glibcxx_cv_func__long_double_trig_use=no
56073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56074 ac_ext=c
56075 ac_cpp='$CPP $CPPFLAGS'
56076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
56083 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
56084 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
56085 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
56086 do :
56087 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56088 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56089 eval as_val=\$$as_ac_var
56090 if test "x$as_val" = x""yes; then :
56091 cat >>confdefs.h <<_ACEOF
56092 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56093 _ACEOF
56096 done
56105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
56106 $as_echo_n "checking for long double round functions... " >&6; }
56107 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
56108 $as_echo_n "(cached) " >&6
56109 else
56112 ac_ext=cpp
56113 ac_cpp='$CXXCPP $CPPFLAGS'
56114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56119 /* end confdefs.h. */
56120 #include <math.h>
56122 main ()
56124 ceill (0); floorl (0);
56126 return 0;
56128 _ACEOF
56129 if ac_fn_cxx_try_compile "$LINENO"; then :
56130 glibcxx_cv_func_long_double_round_use=yes
56131 else
56132 glibcxx_cv_func_long_double_round_use=no
56134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56135 ac_ext=c
56136 ac_cpp='$CPP $CPPFLAGS'
56137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
56144 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
56145 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
56146 for ac_func in ceill floorl
56147 do :
56148 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56149 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56150 eval as_val=\$$as_ac_var
56151 if test "x$as_val" = x""yes; then :
56152 cat >>confdefs.h <<_ACEOF
56153 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56154 _ACEOF
56157 done
56159 else
56160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
56161 $as_echo_n "checking for _long double round functions... " >&6; }
56162 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
56163 $as_echo_n "(cached) " >&6
56164 else
56167 ac_ext=cpp
56168 ac_cpp='$CXXCPP $CPPFLAGS'
56169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56174 /* end confdefs.h. */
56175 #include <math.h>
56177 main ()
56179 _ceill (0); _floorl (0);
56181 return 0;
56183 _ACEOF
56184 if ac_fn_cxx_try_compile "$LINENO"; then :
56185 glibcxx_cv_func__long_double_round_use=yes
56186 else
56187 glibcxx_cv_func__long_double_round_use=no
56189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56190 ac_ext=c
56191 ac_cpp='$CPP $CPPFLAGS'
56192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
56199 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
56200 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
56201 for ac_func in _ceill _floorl
56202 do :
56203 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
56204 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
56205 eval as_val=\$$as_ac_var
56206 if test "x$as_val" = x""yes; then :
56207 cat >>confdefs.h <<_ACEOF
56208 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
56209 _ACEOF
56212 done
56222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
56223 $as_echo_n "checking for isnanl declaration... " >&6; }
56224 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
56225 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
56226 $as_echo_n "(cached) " >&6
56227 else
56230 ac_ext=cpp
56231 ac_cpp='$CXXCPP $CPPFLAGS'
56232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56237 /* end confdefs.h. */
56238 #include <math.h>
56239 #ifdef HAVE_IEEEFP_H
56240 #include <ieeefp.h>
56241 #endif
56244 main ()
56246 isnanl(0);
56248 return 0;
56250 _ACEOF
56251 if ac_fn_cxx_try_compile "$LINENO"; then :
56252 glibcxx_cv_func_isnanl_use=yes
56253 else
56254 glibcxx_cv_func_isnanl_use=no
56256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56257 ac_ext=c
56258 ac_cpp='$CPP $CPPFLAGS'
56259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
56268 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
56270 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
56271 for ac_func in isnanl
56272 do :
56273 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
56274 if test "x$ac_cv_func_isnanl" = x""yes; then :
56275 cat >>confdefs.h <<_ACEOF
56276 #define HAVE_ISNANL 1
56277 _ACEOF
56280 done
56282 else
56284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
56285 $as_echo_n "checking for _isnanl declaration... " >&6; }
56286 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
56287 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
56288 $as_echo_n "(cached) " >&6
56289 else
56292 ac_ext=cpp
56293 ac_cpp='$CXXCPP $CPPFLAGS'
56294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56299 /* end confdefs.h. */
56300 #include <math.h>
56301 #ifdef HAVE_IEEEFP_H
56302 #include <ieeefp.h>
56303 #endif
56306 main ()
56308 _isnanl(0);
56310 return 0;
56312 _ACEOF
56313 if ac_fn_cxx_try_compile "$LINENO"; then :
56314 glibcxx_cv_func__isnanl_use=yes
56315 else
56316 glibcxx_cv_func__isnanl_use=no
56318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56319 ac_ext=c
56320 ac_cpp='$CPP $CPPFLAGS'
56321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
56330 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
56332 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
56333 for ac_func in _isnanl
56334 do :
56335 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
56336 if test "x$ac_cv_func__isnanl" = x""yes; then :
56337 cat >>confdefs.h <<_ACEOF
56338 #define HAVE__ISNANL 1
56339 _ACEOF
56342 done
56351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
56352 $as_echo_n "checking for isinfl declaration... " >&6; }
56353 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
56354 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
56355 $as_echo_n "(cached) " >&6
56356 else
56359 ac_ext=cpp
56360 ac_cpp='$CXXCPP $CPPFLAGS'
56361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56366 /* end confdefs.h. */
56367 #include <math.h>
56368 #ifdef HAVE_IEEEFP_H
56369 #include <ieeefp.h>
56370 #endif
56373 main ()
56375 isinfl(0);
56377 return 0;
56379 _ACEOF
56380 if ac_fn_cxx_try_compile "$LINENO"; then :
56381 glibcxx_cv_func_isinfl_use=yes
56382 else
56383 glibcxx_cv_func_isinfl_use=no
56385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56386 ac_ext=c
56387 ac_cpp='$CPP $CPPFLAGS'
56388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
56397 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
56399 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
56400 for ac_func in isinfl
56401 do :
56402 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
56403 if test "x$ac_cv_func_isinfl" = x""yes; then :
56404 cat >>confdefs.h <<_ACEOF
56405 #define HAVE_ISINFL 1
56406 _ACEOF
56409 done
56411 else
56413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
56414 $as_echo_n "checking for _isinfl declaration... " >&6; }
56415 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
56416 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
56417 $as_echo_n "(cached) " >&6
56418 else
56421 ac_ext=cpp
56422 ac_cpp='$CXXCPP $CPPFLAGS'
56423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56428 /* end confdefs.h. */
56429 #include <math.h>
56430 #ifdef HAVE_IEEEFP_H
56431 #include <ieeefp.h>
56432 #endif
56435 main ()
56437 _isinfl(0);
56439 return 0;
56441 _ACEOF
56442 if ac_fn_cxx_try_compile "$LINENO"; then :
56443 glibcxx_cv_func__isinfl_use=yes
56444 else
56445 glibcxx_cv_func__isinfl_use=no
56447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56448 ac_ext=c
56449 ac_cpp='$CPP $CPPFLAGS'
56450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
56459 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
56461 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
56462 for ac_func in _isinfl
56463 do :
56464 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
56465 if test "x$ac_cv_func__isinfl" = x""yes; then :
56466 cat >>confdefs.h <<_ACEOF
56467 #define HAVE__ISINFL 1
56468 _ACEOF
56471 done
56480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
56481 $as_echo_n "checking for atan2l declaration... " >&6; }
56482 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
56483 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
56484 $as_echo_n "(cached) " >&6
56485 else
56488 ac_ext=cpp
56489 ac_cpp='$CXXCPP $CPPFLAGS'
56490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56495 /* end confdefs.h. */
56496 #include <math.h>
56498 main ()
56500 atan2l(0, 0);
56502 return 0;
56504 _ACEOF
56505 if ac_fn_cxx_try_compile "$LINENO"; then :
56506 glibcxx_cv_func_atan2l_use=yes
56507 else
56508 glibcxx_cv_func_atan2l_use=no
56510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56511 ac_ext=c
56512 ac_cpp='$CPP $CPPFLAGS'
56513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
56522 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
56524 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
56525 for ac_func in atan2l
56526 do :
56527 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
56528 if test "x$ac_cv_func_atan2l" = x""yes; then :
56529 cat >>confdefs.h <<_ACEOF
56530 #define HAVE_ATAN2L 1
56531 _ACEOF
56534 done
56536 else
56538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
56539 $as_echo_n "checking for _atan2l declaration... " >&6; }
56540 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
56541 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
56542 $as_echo_n "(cached) " >&6
56543 else
56546 ac_ext=cpp
56547 ac_cpp='$CXXCPP $CPPFLAGS'
56548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56553 /* end confdefs.h. */
56554 #include <math.h>
56556 main ()
56558 _atan2l(0, 0);
56560 return 0;
56562 _ACEOF
56563 if ac_fn_cxx_try_compile "$LINENO"; then :
56564 glibcxx_cv_func__atan2l_use=yes
56565 else
56566 glibcxx_cv_func__atan2l_use=no
56568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56569 ac_ext=c
56570 ac_cpp='$CPP $CPPFLAGS'
56571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
56580 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
56582 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
56583 for ac_func in _atan2l
56584 do :
56585 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
56586 if test "x$ac_cv_func__atan2l" = x""yes; then :
56587 cat >>confdefs.h <<_ACEOF
56588 #define HAVE__ATAN2L 1
56589 _ACEOF
56592 done
56601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
56602 $as_echo_n "checking for expl declaration... " >&6; }
56603 if test x${glibcxx_cv_func_expl_use+set} != xset; then
56604 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
56605 $as_echo_n "(cached) " >&6
56606 else
56609 ac_ext=cpp
56610 ac_cpp='$CXXCPP $CPPFLAGS'
56611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56616 /* end confdefs.h. */
56617 #include <math.h>
56618 #ifdef HAVE_IEEEFP_H
56619 #include <ieeefp.h>
56620 #endif
56623 main ()
56625 expl(0);
56627 return 0;
56629 _ACEOF
56630 if ac_fn_cxx_try_compile "$LINENO"; then :
56631 glibcxx_cv_func_expl_use=yes
56632 else
56633 glibcxx_cv_func_expl_use=no
56635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56636 ac_ext=c
56637 ac_cpp='$CPP $CPPFLAGS'
56638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
56647 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
56649 if test x$glibcxx_cv_func_expl_use = x"yes"; then
56650 for ac_func in expl
56651 do :
56652 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
56653 if test "x$ac_cv_func_expl" = x""yes; then :
56654 cat >>confdefs.h <<_ACEOF
56655 #define HAVE_EXPL 1
56656 _ACEOF
56659 done
56661 else
56663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
56664 $as_echo_n "checking for _expl declaration... " >&6; }
56665 if test x${glibcxx_cv_func__expl_use+set} != xset; then
56666 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
56667 $as_echo_n "(cached) " >&6
56668 else
56671 ac_ext=cpp
56672 ac_cpp='$CXXCPP $CPPFLAGS'
56673 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56678 /* end confdefs.h. */
56679 #include <math.h>
56680 #ifdef HAVE_IEEEFP_H
56681 #include <ieeefp.h>
56682 #endif
56685 main ()
56687 _expl(0);
56689 return 0;
56691 _ACEOF
56692 if ac_fn_cxx_try_compile "$LINENO"; then :
56693 glibcxx_cv_func__expl_use=yes
56694 else
56695 glibcxx_cv_func__expl_use=no
56697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56698 ac_ext=c
56699 ac_cpp='$CPP $CPPFLAGS'
56700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
56709 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
56711 if test x$glibcxx_cv_func__expl_use = x"yes"; then
56712 for ac_func in _expl
56713 do :
56714 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
56715 if test "x$ac_cv_func__expl" = x""yes; then :
56716 cat >>confdefs.h <<_ACEOF
56717 #define HAVE__EXPL 1
56718 _ACEOF
56721 done
56730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
56731 $as_echo_n "checking for fabsl declaration... " >&6; }
56732 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
56733 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
56734 $as_echo_n "(cached) " >&6
56735 else
56738 ac_ext=cpp
56739 ac_cpp='$CXXCPP $CPPFLAGS'
56740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56745 /* end confdefs.h. */
56746 #include <math.h>
56747 #ifdef HAVE_IEEEFP_H
56748 #include <ieeefp.h>
56749 #endif
56752 main ()
56754 fabsl(0);
56756 return 0;
56758 _ACEOF
56759 if ac_fn_cxx_try_compile "$LINENO"; then :
56760 glibcxx_cv_func_fabsl_use=yes
56761 else
56762 glibcxx_cv_func_fabsl_use=no
56764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56765 ac_ext=c
56766 ac_cpp='$CPP $CPPFLAGS'
56767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
56776 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
56778 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
56779 for ac_func in fabsl
56780 do :
56781 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
56782 if test "x$ac_cv_func_fabsl" = x""yes; then :
56783 cat >>confdefs.h <<_ACEOF
56784 #define HAVE_FABSL 1
56785 _ACEOF
56788 done
56790 else
56792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
56793 $as_echo_n "checking for _fabsl declaration... " >&6; }
56794 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
56795 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
56796 $as_echo_n "(cached) " >&6
56797 else
56800 ac_ext=cpp
56801 ac_cpp='$CXXCPP $CPPFLAGS'
56802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56807 /* end confdefs.h. */
56808 #include <math.h>
56809 #ifdef HAVE_IEEEFP_H
56810 #include <ieeefp.h>
56811 #endif
56814 main ()
56816 _fabsl(0);
56818 return 0;
56820 _ACEOF
56821 if ac_fn_cxx_try_compile "$LINENO"; then :
56822 glibcxx_cv_func__fabsl_use=yes
56823 else
56824 glibcxx_cv_func__fabsl_use=no
56826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56827 ac_ext=c
56828 ac_cpp='$CPP $CPPFLAGS'
56829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
56838 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
56840 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
56841 for ac_func in _fabsl
56842 do :
56843 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
56844 if test "x$ac_cv_func__fabsl" = x""yes; then :
56845 cat >>confdefs.h <<_ACEOF
56846 #define HAVE__FABSL 1
56847 _ACEOF
56850 done
56859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
56860 $as_echo_n "checking for fmodl declaration... " >&6; }
56861 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
56862 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
56863 $as_echo_n "(cached) " >&6
56864 else
56867 ac_ext=cpp
56868 ac_cpp='$CXXCPP $CPPFLAGS'
56869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56874 /* end confdefs.h. */
56875 #include <math.h>
56877 main ()
56879 fmodl(0, 0);
56881 return 0;
56883 _ACEOF
56884 if ac_fn_cxx_try_compile "$LINENO"; then :
56885 glibcxx_cv_func_fmodl_use=yes
56886 else
56887 glibcxx_cv_func_fmodl_use=no
56889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56890 ac_ext=c
56891 ac_cpp='$CPP $CPPFLAGS'
56892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
56901 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
56903 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
56904 for ac_func in fmodl
56905 do :
56906 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
56907 if test "x$ac_cv_func_fmodl" = x""yes; then :
56908 cat >>confdefs.h <<_ACEOF
56909 #define HAVE_FMODL 1
56910 _ACEOF
56913 done
56915 else
56917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
56918 $as_echo_n "checking for _fmodl declaration... " >&6; }
56919 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
56920 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
56921 $as_echo_n "(cached) " >&6
56922 else
56925 ac_ext=cpp
56926 ac_cpp='$CXXCPP $CPPFLAGS'
56927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56932 /* end confdefs.h. */
56933 #include <math.h>
56935 main ()
56937 _fmodl(0, 0);
56939 return 0;
56941 _ACEOF
56942 if ac_fn_cxx_try_compile "$LINENO"; then :
56943 glibcxx_cv_func__fmodl_use=yes
56944 else
56945 glibcxx_cv_func__fmodl_use=no
56947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56948 ac_ext=c
56949 ac_cpp='$CPP $CPPFLAGS'
56950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
56959 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
56961 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
56962 for ac_func in _fmodl
56963 do :
56964 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
56965 if test "x$ac_cv_func__fmodl" = x""yes; then :
56966 cat >>confdefs.h <<_ACEOF
56967 #define HAVE__FMODL 1
56968 _ACEOF
56971 done
56980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
56981 $as_echo_n "checking for frexpl declaration... " >&6; }
56982 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
56983 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
56984 $as_echo_n "(cached) " >&6
56985 else
56988 ac_ext=cpp
56989 ac_cpp='$CXXCPP $CPPFLAGS'
56990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56995 /* end confdefs.h. */
56996 #include <math.h>
56998 main ()
57000 frexpl(0, 0);
57002 return 0;
57004 _ACEOF
57005 if ac_fn_cxx_try_compile "$LINENO"; then :
57006 glibcxx_cv_func_frexpl_use=yes
57007 else
57008 glibcxx_cv_func_frexpl_use=no
57010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57011 ac_ext=c
57012 ac_cpp='$CPP $CPPFLAGS'
57013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
57022 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
57024 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
57025 for ac_func in frexpl
57026 do :
57027 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
57028 if test "x$ac_cv_func_frexpl" = x""yes; then :
57029 cat >>confdefs.h <<_ACEOF
57030 #define HAVE_FREXPL 1
57031 _ACEOF
57034 done
57036 else
57038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
57039 $as_echo_n "checking for _frexpl declaration... " >&6; }
57040 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
57041 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
57042 $as_echo_n "(cached) " >&6
57043 else
57046 ac_ext=cpp
57047 ac_cpp='$CXXCPP $CPPFLAGS'
57048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57053 /* end confdefs.h. */
57054 #include <math.h>
57056 main ()
57058 _frexpl(0, 0);
57060 return 0;
57062 _ACEOF
57063 if ac_fn_cxx_try_compile "$LINENO"; then :
57064 glibcxx_cv_func__frexpl_use=yes
57065 else
57066 glibcxx_cv_func__frexpl_use=no
57068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57069 ac_ext=c
57070 ac_cpp='$CPP $CPPFLAGS'
57071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
57080 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
57082 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
57083 for ac_func in _frexpl
57084 do :
57085 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
57086 if test "x$ac_cv_func__frexpl" = x""yes; then :
57087 cat >>confdefs.h <<_ACEOF
57088 #define HAVE__FREXPL 1
57089 _ACEOF
57092 done
57101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
57102 $as_echo_n "checking for hypotl declaration... " >&6; }
57103 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
57104 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
57105 $as_echo_n "(cached) " >&6
57106 else
57109 ac_ext=cpp
57110 ac_cpp='$CXXCPP $CPPFLAGS'
57111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57116 /* end confdefs.h. */
57117 #include <math.h>
57119 main ()
57121 hypotl(0, 0);
57123 return 0;
57125 _ACEOF
57126 if ac_fn_cxx_try_compile "$LINENO"; then :
57127 glibcxx_cv_func_hypotl_use=yes
57128 else
57129 glibcxx_cv_func_hypotl_use=no
57131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57132 ac_ext=c
57133 ac_cpp='$CPP $CPPFLAGS'
57134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
57143 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
57145 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
57146 for ac_func in hypotl
57147 do :
57148 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
57149 if test "x$ac_cv_func_hypotl" = x""yes; then :
57150 cat >>confdefs.h <<_ACEOF
57151 #define HAVE_HYPOTL 1
57152 _ACEOF
57155 done
57157 else
57159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
57160 $as_echo_n "checking for _hypotl declaration... " >&6; }
57161 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
57162 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
57163 $as_echo_n "(cached) " >&6
57164 else
57167 ac_ext=cpp
57168 ac_cpp='$CXXCPP $CPPFLAGS'
57169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57174 /* end confdefs.h. */
57175 #include <math.h>
57177 main ()
57179 _hypotl(0, 0);
57181 return 0;
57183 _ACEOF
57184 if ac_fn_cxx_try_compile "$LINENO"; then :
57185 glibcxx_cv_func__hypotl_use=yes
57186 else
57187 glibcxx_cv_func__hypotl_use=no
57189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57190 ac_ext=c
57191 ac_cpp='$CPP $CPPFLAGS'
57192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
57201 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
57203 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
57204 for ac_func in _hypotl
57205 do :
57206 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
57207 if test "x$ac_cv_func__hypotl" = x""yes; then :
57208 cat >>confdefs.h <<_ACEOF
57209 #define HAVE__HYPOTL 1
57210 _ACEOF
57213 done
57222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
57223 $as_echo_n "checking for ldexpl declaration... " >&6; }
57224 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
57225 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
57226 $as_echo_n "(cached) " >&6
57227 else
57230 ac_ext=cpp
57231 ac_cpp='$CXXCPP $CPPFLAGS'
57232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57237 /* end confdefs.h. */
57238 #include <math.h>
57240 main ()
57242 ldexpl(0, 0);
57244 return 0;
57246 _ACEOF
57247 if ac_fn_cxx_try_compile "$LINENO"; then :
57248 glibcxx_cv_func_ldexpl_use=yes
57249 else
57250 glibcxx_cv_func_ldexpl_use=no
57252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57253 ac_ext=c
57254 ac_cpp='$CPP $CPPFLAGS'
57255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
57264 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
57266 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
57267 for ac_func in ldexpl
57268 do :
57269 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
57270 if test "x$ac_cv_func_ldexpl" = x""yes; then :
57271 cat >>confdefs.h <<_ACEOF
57272 #define HAVE_LDEXPL 1
57273 _ACEOF
57276 done
57278 else
57280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
57281 $as_echo_n "checking for _ldexpl declaration... " >&6; }
57282 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
57283 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
57284 $as_echo_n "(cached) " >&6
57285 else
57288 ac_ext=cpp
57289 ac_cpp='$CXXCPP $CPPFLAGS'
57290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57295 /* end confdefs.h. */
57296 #include <math.h>
57298 main ()
57300 _ldexpl(0, 0);
57302 return 0;
57304 _ACEOF
57305 if ac_fn_cxx_try_compile "$LINENO"; then :
57306 glibcxx_cv_func__ldexpl_use=yes
57307 else
57308 glibcxx_cv_func__ldexpl_use=no
57310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57311 ac_ext=c
57312 ac_cpp='$CPP $CPPFLAGS'
57313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
57322 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
57324 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
57325 for ac_func in _ldexpl
57326 do :
57327 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
57328 if test "x$ac_cv_func__ldexpl" = x""yes; then :
57329 cat >>confdefs.h <<_ACEOF
57330 #define HAVE__LDEXPL 1
57331 _ACEOF
57334 done
57343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
57344 $as_echo_n "checking for logl declaration... " >&6; }
57345 if test x${glibcxx_cv_func_logl_use+set} != xset; then
57346 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
57347 $as_echo_n "(cached) " >&6
57348 else
57351 ac_ext=cpp
57352 ac_cpp='$CXXCPP $CPPFLAGS'
57353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57358 /* end confdefs.h. */
57359 #include <math.h>
57360 #ifdef HAVE_IEEEFP_H
57361 #include <ieeefp.h>
57362 #endif
57365 main ()
57367 logl(0);
57369 return 0;
57371 _ACEOF
57372 if ac_fn_cxx_try_compile "$LINENO"; then :
57373 glibcxx_cv_func_logl_use=yes
57374 else
57375 glibcxx_cv_func_logl_use=no
57377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57378 ac_ext=c
57379 ac_cpp='$CPP $CPPFLAGS'
57380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
57389 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
57391 if test x$glibcxx_cv_func_logl_use = x"yes"; then
57392 for ac_func in logl
57393 do :
57394 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
57395 if test "x$ac_cv_func_logl" = x""yes; then :
57396 cat >>confdefs.h <<_ACEOF
57397 #define HAVE_LOGL 1
57398 _ACEOF
57401 done
57403 else
57405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
57406 $as_echo_n "checking for _logl declaration... " >&6; }
57407 if test x${glibcxx_cv_func__logl_use+set} != xset; then
57408 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
57409 $as_echo_n "(cached) " >&6
57410 else
57413 ac_ext=cpp
57414 ac_cpp='$CXXCPP $CPPFLAGS'
57415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57420 /* end confdefs.h. */
57421 #include <math.h>
57422 #ifdef HAVE_IEEEFP_H
57423 #include <ieeefp.h>
57424 #endif
57427 main ()
57429 _logl(0);
57431 return 0;
57433 _ACEOF
57434 if ac_fn_cxx_try_compile "$LINENO"; then :
57435 glibcxx_cv_func__logl_use=yes
57436 else
57437 glibcxx_cv_func__logl_use=no
57439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57440 ac_ext=c
57441 ac_cpp='$CPP $CPPFLAGS'
57442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
57451 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
57453 if test x$glibcxx_cv_func__logl_use = x"yes"; then
57454 for ac_func in _logl
57455 do :
57456 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
57457 if test "x$ac_cv_func__logl" = x""yes; then :
57458 cat >>confdefs.h <<_ACEOF
57459 #define HAVE__LOGL 1
57460 _ACEOF
57463 done
57472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
57473 $as_echo_n "checking for log10l declaration... " >&6; }
57474 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
57475 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
57476 $as_echo_n "(cached) " >&6
57477 else
57480 ac_ext=cpp
57481 ac_cpp='$CXXCPP $CPPFLAGS'
57482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57487 /* end confdefs.h. */
57488 #include <math.h>
57489 #ifdef HAVE_IEEEFP_H
57490 #include <ieeefp.h>
57491 #endif
57494 main ()
57496 log10l(0);
57498 return 0;
57500 _ACEOF
57501 if ac_fn_cxx_try_compile "$LINENO"; then :
57502 glibcxx_cv_func_log10l_use=yes
57503 else
57504 glibcxx_cv_func_log10l_use=no
57506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57507 ac_ext=c
57508 ac_cpp='$CPP $CPPFLAGS'
57509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
57518 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
57520 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
57521 for ac_func in log10l
57522 do :
57523 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
57524 if test "x$ac_cv_func_log10l" = x""yes; then :
57525 cat >>confdefs.h <<_ACEOF
57526 #define HAVE_LOG10L 1
57527 _ACEOF
57530 done
57532 else
57534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
57535 $as_echo_n "checking for _log10l declaration... " >&6; }
57536 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
57537 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
57538 $as_echo_n "(cached) " >&6
57539 else
57542 ac_ext=cpp
57543 ac_cpp='$CXXCPP $CPPFLAGS'
57544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57549 /* end confdefs.h. */
57550 #include <math.h>
57551 #ifdef HAVE_IEEEFP_H
57552 #include <ieeefp.h>
57553 #endif
57556 main ()
57558 _log10l(0);
57560 return 0;
57562 _ACEOF
57563 if ac_fn_cxx_try_compile "$LINENO"; then :
57564 glibcxx_cv_func__log10l_use=yes
57565 else
57566 glibcxx_cv_func__log10l_use=no
57568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57569 ac_ext=c
57570 ac_cpp='$CPP $CPPFLAGS'
57571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
57580 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
57582 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
57583 for ac_func in _log10l
57584 do :
57585 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
57586 if test "x$ac_cv_func__log10l" = x""yes; then :
57587 cat >>confdefs.h <<_ACEOF
57588 #define HAVE__LOG10L 1
57589 _ACEOF
57592 done
57601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
57602 $as_echo_n "checking for modfl declaration... " >&6; }
57603 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
57604 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
57605 $as_echo_n "(cached) " >&6
57606 else
57609 ac_ext=cpp
57610 ac_cpp='$CXXCPP $CPPFLAGS'
57611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57616 /* end confdefs.h. */
57617 #include <math.h>
57619 main ()
57621 modfl(0, 0);
57623 return 0;
57625 _ACEOF
57626 if ac_fn_cxx_try_compile "$LINENO"; then :
57627 glibcxx_cv_func_modfl_use=yes
57628 else
57629 glibcxx_cv_func_modfl_use=no
57631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57632 ac_ext=c
57633 ac_cpp='$CPP $CPPFLAGS'
57634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
57643 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
57645 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
57646 for ac_func in modfl
57647 do :
57648 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
57649 if test "x$ac_cv_func_modfl" = x""yes; then :
57650 cat >>confdefs.h <<_ACEOF
57651 #define HAVE_MODFL 1
57652 _ACEOF
57655 done
57657 else
57659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
57660 $as_echo_n "checking for _modfl declaration... " >&6; }
57661 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
57662 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
57663 $as_echo_n "(cached) " >&6
57664 else
57667 ac_ext=cpp
57668 ac_cpp='$CXXCPP $CPPFLAGS'
57669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57674 /* end confdefs.h. */
57675 #include <math.h>
57677 main ()
57679 _modfl(0, 0);
57681 return 0;
57683 _ACEOF
57684 if ac_fn_cxx_try_compile "$LINENO"; then :
57685 glibcxx_cv_func__modfl_use=yes
57686 else
57687 glibcxx_cv_func__modfl_use=no
57689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57690 ac_ext=c
57691 ac_cpp='$CPP $CPPFLAGS'
57692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
57701 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
57703 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
57704 for ac_func in _modfl
57705 do :
57706 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
57707 if test "x$ac_cv_func__modfl" = x""yes; then :
57708 cat >>confdefs.h <<_ACEOF
57709 #define HAVE__MODFL 1
57710 _ACEOF
57713 done
57722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
57723 $as_echo_n "checking for powl declaration... " >&6; }
57724 if test x${glibcxx_cv_func_powl_use+set} != xset; then
57725 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
57726 $as_echo_n "(cached) " >&6
57727 else
57730 ac_ext=cpp
57731 ac_cpp='$CXXCPP $CPPFLAGS'
57732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57737 /* end confdefs.h. */
57738 #include <math.h>
57740 main ()
57742 powl(0, 0);
57744 return 0;
57746 _ACEOF
57747 if ac_fn_cxx_try_compile "$LINENO"; then :
57748 glibcxx_cv_func_powl_use=yes
57749 else
57750 glibcxx_cv_func_powl_use=no
57752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57753 ac_ext=c
57754 ac_cpp='$CPP $CPPFLAGS'
57755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
57764 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
57766 if test x$glibcxx_cv_func_powl_use = x"yes"; then
57767 for ac_func in powl
57768 do :
57769 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
57770 if test "x$ac_cv_func_powl" = x""yes; then :
57771 cat >>confdefs.h <<_ACEOF
57772 #define HAVE_POWL 1
57773 _ACEOF
57776 done
57778 else
57780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
57781 $as_echo_n "checking for _powl declaration... " >&6; }
57782 if test x${glibcxx_cv_func__powl_use+set} != xset; then
57783 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
57784 $as_echo_n "(cached) " >&6
57785 else
57788 ac_ext=cpp
57789 ac_cpp='$CXXCPP $CPPFLAGS'
57790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57795 /* end confdefs.h. */
57796 #include <math.h>
57798 main ()
57800 _powl(0, 0);
57802 return 0;
57804 _ACEOF
57805 if ac_fn_cxx_try_compile "$LINENO"; then :
57806 glibcxx_cv_func__powl_use=yes
57807 else
57808 glibcxx_cv_func__powl_use=no
57810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57811 ac_ext=c
57812 ac_cpp='$CPP $CPPFLAGS'
57813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
57822 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
57824 if test x$glibcxx_cv_func__powl_use = x"yes"; then
57825 for ac_func in _powl
57826 do :
57827 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
57828 if test "x$ac_cv_func__powl" = x""yes; then :
57829 cat >>confdefs.h <<_ACEOF
57830 #define HAVE__POWL 1
57831 _ACEOF
57834 done
57843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
57844 $as_echo_n "checking for sqrtl declaration... " >&6; }
57845 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
57846 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
57847 $as_echo_n "(cached) " >&6
57848 else
57851 ac_ext=cpp
57852 ac_cpp='$CXXCPP $CPPFLAGS'
57853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57858 /* end confdefs.h. */
57859 #include <math.h>
57860 #ifdef HAVE_IEEEFP_H
57861 #include <ieeefp.h>
57862 #endif
57865 main ()
57867 sqrtl(0);
57869 return 0;
57871 _ACEOF
57872 if ac_fn_cxx_try_compile "$LINENO"; then :
57873 glibcxx_cv_func_sqrtl_use=yes
57874 else
57875 glibcxx_cv_func_sqrtl_use=no
57877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57878 ac_ext=c
57879 ac_cpp='$CPP $CPPFLAGS'
57880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
57889 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
57891 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
57892 for ac_func in sqrtl
57893 do :
57894 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
57895 if test "x$ac_cv_func_sqrtl" = x""yes; then :
57896 cat >>confdefs.h <<_ACEOF
57897 #define HAVE_SQRTL 1
57898 _ACEOF
57901 done
57903 else
57905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
57906 $as_echo_n "checking for _sqrtl declaration... " >&6; }
57907 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
57908 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
57909 $as_echo_n "(cached) " >&6
57910 else
57913 ac_ext=cpp
57914 ac_cpp='$CXXCPP $CPPFLAGS'
57915 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57916 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57917 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57920 /* end confdefs.h. */
57921 #include <math.h>
57922 #ifdef HAVE_IEEEFP_H
57923 #include <ieeefp.h>
57924 #endif
57927 main ()
57929 _sqrtl(0);
57931 return 0;
57933 _ACEOF
57934 if ac_fn_cxx_try_compile "$LINENO"; then :
57935 glibcxx_cv_func__sqrtl_use=yes
57936 else
57937 glibcxx_cv_func__sqrtl_use=no
57939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57940 ac_ext=c
57941 ac_cpp='$CPP $CPPFLAGS'
57942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
57951 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
57953 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
57954 for ac_func in _sqrtl
57955 do :
57956 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
57957 if test "x$ac_cv_func__sqrtl" = x""yes; then :
57958 cat >>confdefs.h <<_ACEOF
57959 #define HAVE__SQRTL 1
57960 _ACEOF
57963 done
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
57973 $as_echo_n "checking for sincosl declaration... " >&6; }
57974 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
57975 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
57976 $as_echo_n "(cached) " >&6
57977 else
57980 ac_ext=cpp
57981 ac_cpp='$CXXCPP $CPPFLAGS'
57982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57987 /* end confdefs.h. */
57988 #include <math.h>
57990 main ()
57992 sincosl(0, 0, 0);
57994 return 0;
57996 _ACEOF
57997 if ac_fn_cxx_try_compile "$LINENO"; then :
57998 glibcxx_cv_func_sincosl_use=yes
57999 else
58000 glibcxx_cv_func_sincosl_use=no
58002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58003 ac_ext=c
58004 ac_cpp='$CPP $CPPFLAGS'
58005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
58014 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
58016 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
58017 for ac_func in sincosl
58018 do :
58019 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
58020 if test "x$ac_cv_func_sincosl" = x""yes; then :
58021 cat >>confdefs.h <<_ACEOF
58022 #define HAVE_SINCOSL 1
58023 _ACEOF
58026 done
58028 else
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
58031 $as_echo_n "checking for _sincosl declaration... " >&6; }
58032 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
58033 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
58034 $as_echo_n "(cached) " >&6
58035 else
58038 ac_ext=cpp
58039 ac_cpp='$CXXCPP $CPPFLAGS'
58040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58045 /* end confdefs.h. */
58046 #include <math.h>
58048 main ()
58050 _sincosl(0, 0, 0);
58052 return 0;
58054 _ACEOF
58055 if ac_fn_cxx_try_compile "$LINENO"; then :
58056 glibcxx_cv_func__sincosl_use=yes
58057 else
58058 glibcxx_cv_func__sincosl_use=no
58060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58061 ac_ext=c
58062 ac_cpp='$CPP $CPPFLAGS'
58063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
58072 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
58074 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
58075 for ac_func in _sincosl
58076 do :
58077 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
58078 if test "x$ac_cv_func__sincosl" = x""yes; then :
58079 cat >>confdefs.h <<_ACEOF
58080 #define HAVE__SINCOSL 1
58081 _ACEOF
58084 done
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
58094 $as_echo_n "checking for finitel declaration... " >&6; }
58095 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
58096 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
58097 $as_echo_n "(cached) " >&6
58098 else
58101 ac_ext=cpp
58102 ac_cpp='$CXXCPP $CPPFLAGS'
58103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58108 /* end confdefs.h. */
58109 #include <math.h>
58110 #ifdef HAVE_IEEEFP_H
58111 #include <ieeefp.h>
58112 #endif
58115 main ()
58117 finitel(0);
58119 return 0;
58121 _ACEOF
58122 if ac_fn_cxx_try_compile "$LINENO"; then :
58123 glibcxx_cv_func_finitel_use=yes
58124 else
58125 glibcxx_cv_func_finitel_use=no
58127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58128 ac_ext=c
58129 ac_cpp='$CPP $CPPFLAGS'
58130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
58139 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
58141 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
58142 for ac_func in finitel
58143 do :
58144 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
58145 if test "x$ac_cv_func_finitel" = x""yes; then :
58146 cat >>confdefs.h <<_ACEOF
58147 #define HAVE_FINITEL 1
58148 _ACEOF
58151 done
58153 else
58155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
58156 $as_echo_n "checking for _finitel declaration... " >&6; }
58157 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
58158 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
58159 $as_echo_n "(cached) " >&6
58160 else
58163 ac_ext=cpp
58164 ac_cpp='$CXXCPP $CPPFLAGS'
58165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58170 /* end confdefs.h. */
58171 #include <math.h>
58172 #ifdef HAVE_IEEEFP_H
58173 #include <ieeefp.h>
58174 #endif
58177 main ()
58179 _finitel(0);
58181 return 0;
58183 _ACEOF
58184 if ac_fn_cxx_try_compile "$LINENO"; then :
58185 glibcxx_cv_func__finitel_use=yes
58186 else
58187 glibcxx_cv_func__finitel_use=no
58189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58190 ac_ext=c
58191 ac_cpp='$CPP $CPPFLAGS'
58192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
58201 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
58203 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
58204 for ac_func in _finitel
58205 do :
58206 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
58207 if test "x$ac_cv_func__finitel" = x""yes; then :
58208 cat >>confdefs.h <<_ACEOF
58209 #define HAVE__FINITEL 1
58210 _ACEOF
58213 done
58221 LIBS="$ac_save_LIBS"
58222 CXXFLAGS="$ac_save_CXXFLAGS"
58225 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58226 ac_save_CXXFLAGS="$CXXFLAGS"
58227 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
58231 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
58232 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
58233 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
58234 $as_echo_n "(cached) " >&6
58235 else
58238 ac_ext=cpp
58239 ac_cpp='$CXXCPP $CPPFLAGS'
58240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58245 /* end confdefs.h. */
58246 #include <stdlib.h>
58248 main ()
58250 at_quick_exit(0);
58252 return 0;
58254 _ACEOF
58255 if ac_fn_cxx_try_compile "$LINENO"; then :
58256 glibcxx_cv_func_at_quick_exit_use=yes
58257 else
58258 glibcxx_cv_func_at_quick_exit_use=no
58260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58261 ac_ext=c
58262 ac_cpp='$CPP $CPPFLAGS'
58263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
58272 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
58273 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
58274 for ac_func in at_quick_exit
58275 do :
58276 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
58277 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
58278 cat >>confdefs.h <<_ACEOF
58279 #define HAVE_AT_QUICK_EXIT 1
58280 _ACEOF
58283 done
58288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
58289 $as_echo_n "checking for quick_exit declaration... " >&6; }
58290 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
58291 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
58292 $as_echo_n "(cached) " >&6
58293 else
58296 ac_ext=cpp
58297 ac_cpp='$CXXCPP $CPPFLAGS'
58298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58303 /* end confdefs.h. */
58304 #include <stdlib.h>
58306 main ()
58308 quick_exit(0);
58310 return 0;
58312 _ACEOF
58313 if ac_fn_cxx_try_compile "$LINENO"; then :
58314 glibcxx_cv_func_quick_exit_use=yes
58315 else
58316 glibcxx_cv_func_quick_exit_use=no
58318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58319 ac_ext=c
58320 ac_cpp='$CPP $CPPFLAGS'
58321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
58330 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
58331 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
58332 for ac_func in quick_exit
58333 do :
58334 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
58335 if test "x$ac_cv_func_quick_exit" = x""yes; then :
58336 cat >>confdefs.h <<_ACEOF
58337 #define HAVE_QUICK_EXIT 1
58338 _ACEOF
58341 done
58346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
58347 $as_echo_n "checking for strtold declaration... " >&6; }
58348 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
58349 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
58350 $as_echo_n "(cached) " >&6
58351 else
58354 ac_ext=cpp
58355 ac_cpp='$CXXCPP $CPPFLAGS'
58356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58361 /* end confdefs.h. */
58362 #include <stdlib.h>
58364 main ()
58366 strtold(0, 0);
58368 return 0;
58370 _ACEOF
58371 if ac_fn_cxx_try_compile "$LINENO"; then :
58372 glibcxx_cv_func_strtold_use=yes
58373 else
58374 glibcxx_cv_func_strtold_use=no
58376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58377 ac_ext=c
58378 ac_cpp='$CPP $CPPFLAGS'
58379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
58388 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
58389 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
58390 for ac_func in strtold
58391 do :
58392 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
58393 if test "x$ac_cv_func_strtold" = x""yes; then :
58394 cat >>confdefs.h <<_ACEOF
58395 #define HAVE_STRTOLD 1
58396 _ACEOF
58399 done
58406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
58407 $as_echo_n "checking for strtof declaration... " >&6; }
58408 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
58409 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
58410 $as_echo_n "(cached) " >&6
58411 else
58414 ac_ext=cpp
58415 ac_cpp='$CXXCPP $CPPFLAGS'
58416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58421 /* end confdefs.h. */
58422 #include <stdlib.h>
58424 main ()
58426 strtof(0, 0);
58428 return 0;
58430 _ACEOF
58431 if ac_fn_cxx_try_compile "$LINENO"; then :
58432 glibcxx_cv_func_strtof_use=yes
58433 else
58434 glibcxx_cv_func_strtof_use=no
58436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58437 ac_ext=c
58438 ac_cpp='$CPP $CPPFLAGS'
58439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
58448 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
58449 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
58450 for ac_func in strtof
58451 do :
58452 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
58453 if test "x$ac_cv_func_strtof" = x""yes; then :
58454 cat >>confdefs.h <<_ACEOF
58455 #define HAVE_STRTOF 1
58456 _ACEOF
58459 done
58466 CXXFLAGS="$ac_save_CXXFLAGS"
58468 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
58472 # Check whether --enable-tls was given.
58473 if test "${enable_tls+set}" = set; then :
58474 enableval=$enable_tls;
58475 case "$enableval" in
58476 yes|no) ;;
58477 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
58478 esac
58480 else
58481 enable_tls=yes
58485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
58486 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
58487 if test "${gcc_cv_have_tls+set}" = set; then :
58488 $as_echo_n "(cached) " >&6
58489 else
58491 if test "$cross_compiling" = yes; then :
58492 if test x$gcc_no_link = xyes; then
58493 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58496 /* end confdefs.h. */
58497 __thread int a; int b; int main() { return a = b; }
58498 _ACEOF
58499 if ac_fn_c_try_link "$LINENO"; then :
58500 chktls_save_LDFLAGS="$LDFLAGS"
58501 case $host in
58502 *-*-linux*)
58503 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
58505 esac
58506 chktls_save_CFLAGS="$CFLAGS"
58507 CFLAGS="-fPIC $CFLAGS"
58508 if test x$gcc_no_link = xyes; then
58509 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58512 /* end confdefs.h. */
58513 int f() { return 0; }
58514 _ACEOF
58515 if ac_fn_c_try_link "$LINENO"; then :
58516 if test x$gcc_no_link = xyes; then
58517 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58520 /* end confdefs.h. */
58521 __thread int a; int b; int f() { return a = b; }
58522 _ACEOF
58523 if ac_fn_c_try_link "$LINENO"; then :
58524 gcc_cv_have_tls=yes
58525 else
58526 gcc_cv_have_tls=no
58528 rm -f core conftest.err conftest.$ac_objext \
58529 conftest$ac_exeext conftest.$ac_ext
58530 else
58531 gcc_cv_have_tls=yes
58533 rm -f core conftest.err conftest.$ac_objext \
58534 conftest$ac_exeext conftest.$ac_ext
58535 CFLAGS="$chktls_save_CFLAGS"
58536 LDFLAGS="$chktls_save_LDFLAGS"
58537 else
58538 gcc_cv_have_tls=no
58540 rm -f core conftest.err conftest.$ac_objext \
58541 conftest$ac_exeext conftest.$ac_ext
58544 else
58545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58546 /* end confdefs.h. */
58547 __thread int a; int b; int main() { return a = b; }
58548 _ACEOF
58549 if ac_fn_c_try_run "$LINENO"; then :
58550 chktls_save_LDFLAGS="$LDFLAGS"
58551 LDFLAGS="-static $LDFLAGS"
58552 if test x$gcc_no_link = xyes; then
58553 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58556 /* end confdefs.h. */
58557 int main() { return 0; }
58558 _ACEOF
58559 if ac_fn_c_try_link "$LINENO"; then :
58560 if test "$cross_compiling" = yes; then :
58561 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58562 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58563 as_fn_error "cannot run test program while cross compiling
58564 See \`config.log' for more details." "$LINENO" 5; }
58565 else
58566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58567 /* end confdefs.h. */
58568 __thread int a; int b; int main() { return a = b; }
58569 _ACEOF
58570 if ac_fn_c_try_run "$LINENO"; then :
58571 gcc_cv_have_tls=yes
58572 else
58573 gcc_cv_have_tls=no
58575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58576 conftest.$ac_objext conftest.beam conftest.$ac_ext
58579 else
58580 gcc_cv_have_tls=yes
58582 rm -f core conftest.err conftest.$ac_objext \
58583 conftest$ac_exeext conftest.$ac_ext
58584 LDFLAGS="$chktls_save_LDFLAGS"
58585 if test $gcc_cv_have_tls = yes; then
58586 chktls_save_CFLAGS="$CFLAGS"
58587 thread_CFLAGS=failed
58588 for flag in '' '-pthread' '-lpthread'; do
58589 CFLAGS="$flag $chktls_save_CFLAGS"
58590 if test x$gcc_no_link = xyes; then
58591 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58594 /* end confdefs.h. */
58595 #include <pthread.h>
58596 void *g(void *d) { return NULL; }
58598 main ()
58600 pthread_t t; pthread_create(&t,NULL,g,NULL);
58602 return 0;
58604 _ACEOF
58605 if ac_fn_c_try_link "$LINENO"; then :
58606 thread_CFLAGS="$flag"
58608 rm -f core conftest.err conftest.$ac_objext \
58609 conftest$ac_exeext conftest.$ac_ext
58610 if test "X$thread_CFLAGS" != Xfailed; then
58611 break
58613 done
58614 CFLAGS="$chktls_save_CFLAGS"
58615 if test "X$thread_CFLAGS" != Xfailed; then
58616 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
58617 if test "$cross_compiling" = yes; then :
58618 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
58619 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
58620 as_fn_error "cannot run test program while cross compiling
58621 See \`config.log' for more details." "$LINENO" 5; }
58622 else
58623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58624 /* end confdefs.h. */
58625 #include <pthread.h>
58626 __thread int a;
58627 static int *volatile a_in_other_thread;
58628 static void *
58629 thread_func (void *arg)
58631 a_in_other_thread = &a;
58632 return (void *)0;
58635 main ()
58637 pthread_t thread;
58638 void *thread_retval;
58639 int *volatile a_in_main_thread;
58640 a_in_main_thread = &a;
58641 if (pthread_create (&thread, (pthread_attr_t *)0,
58642 thread_func, (void *)0))
58643 return 0;
58644 if (pthread_join (thread, &thread_retval))
58645 return 0;
58646 return (a_in_other_thread == a_in_main_thread);
58648 return 0;
58650 _ACEOF
58651 if ac_fn_c_try_run "$LINENO"; then :
58652 gcc_cv_have_tls=yes
58653 else
58654 gcc_cv_have_tls=no
58656 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58657 conftest.$ac_objext conftest.beam conftest.$ac_ext
58660 CFLAGS="$chktls_save_CFLAGS"
58663 else
58664 gcc_cv_have_tls=no
58666 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
58667 conftest.$ac_objext conftest.beam conftest.$ac_ext
58671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
58672 $as_echo "$gcc_cv_have_tls" >&6; }
58673 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
58675 $as_echo "#define HAVE_TLS 1" >>confdefs.h
58683 am_save_CPPFLAGS="$CPPFLAGS"
58685 for element in $INCICONV; do
58686 haveit=
58687 for x in $CPPFLAGS; do
58689 acl_save_prefix="$prefix"
58690 prefix="$acl_final_prefix"
58691 acl_save_exec_prefix="$exec_prefix"
58692 exec_prefix="$acl_final_exec_prefix"
58693 eval x=\"$x\"
58694 exec_prefix="$acl_save_exec_prefix"
58695 prefix="$acl_save_prefix"
58697 if test "X$x" = "X$element"; then
58698 haveit=yes
58699 break
58701 done
58702 if test -z "$haveit"; then
58703 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
58705 done
58708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
58709 $as_echo_n "checking for iconv... " >&6; }
58710 if test "${am_cv_func_iconv+set}" = set; then :
58711 $as_echo_n "(cached) " >&6
58712 else
58714 am_cv_func_iconv="no, consider installing GNU libiconv"
58715 am_cv_lib_iconv=no
58716 if test x$gcc_no_link = xyes; then
58717 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58720 /* end confdefs.h. */
58721 #include <stdlib.h>
58722 #include <iconv.h>
58724 main ()
58726 iconv_t cd = iconv_open("","");
58727 iconv(cd,NULL,NULL,NULL,NULL);
58728 iconv_close(cd);
58730 return 0;
58732 _ACEOF
58733 if ac_fn_c_try_link "$LINENO"; then :
58734 am_cv_func_iconv=yes
58736 rm -f core conftest.err conftest.$ac_objext \
58737 conftest$ac_exeext conftest.$ac_ext
58738 if test "$am_cv_func_iconv" != yes; then
58739 am_save_LIBS="$LIBS"
58740 LIBS="$LIBS $LIBICONV"
58741 if test x$gcc_no_link = xyes; then
58742 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58745 /* end confdefs.h. */
58746 #include <stdlib.h>
58747 #include <iconv.h>
58749 main ()
58751 iconv_t cd = iconv_open("","");
58752 iconv(cd,NULL,NULL,NULL,NULL);
58753 iconv_close(cd);
58755 return 0;
58757 _ACEOF
58758 if ac_fn_c_try_link "$LINENO"; then :
58759 am_cv_lib_iconv=yes
58760 am_cv_func_iconv=yes
58762 rm -f core conftest.err conftest.$ac_objext \
58763 conftest$ac_exeext conftest.$ac_ext
58764 LIBS="$am_save_LIBS"
58768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
58769 $as_echo "$am_cv_func_iconv" >&6; }
58770 if test "$am_cv_func_iconv" = yes; then
58772 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
58775 if test "$am_cv_lib_iconv" = yes; then
58776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
58777 $as_echo_n "checking how to link with libiconv... " >&6; }
58778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
58779 $as_echo "$LIBICONV" >&6; }
58780 else
58781 CPPFLAGS="$am_save_CPPFLAGS"
58782 LIBICONV=
58783 LTLIBICONV=
58788 if test "$am_cv_func_iconv" = yes; then
58789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
58790 $as_echo_n "checking for iconv declaration... " >&6; }
58791 if test "${am_cv_proto_iconv+set}" = set; then :
58792 $as_echo_n "(cached) " >&6
58793 else
58795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58796 /* end confdefs.h. */
58798 #include <stdlib.h>
58799 #include <iconv.h>
58800 extern
58801 #ifdef __cplusplus
58803 #endif
58804 #if defined(__STDC__) || defined(__cplusplus)
58805 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
58806 #else
58807 size_t iconv();
58808 #endif
58811 main ()
58815 return 0;
58817 _ACEOF
58818 if ac_fn_c_try_compile "$LINENO"; then :
58819 am_cv_proto_iconv_arg1=""
58820 else
58821 am_cv_proto_iconv_arg1="const"
58823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58824 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);"
58827 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
58828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
58829 }$am_cv_proto_iconv" >&5
58830 $as_echo "${ac_t:-
58831 }$am_cv_proto_iconv" >&6; }
58833 cat >>confdefs.h <<_ACEOF
58834 #define ICONV_CONST $am_cv_proto_iconv_arg1
58835 _ACEOF
58840 *-mingw32*)
58842 # If we're not using GNU ld, then there's no point in even trying these
58843 # tests. Check for that first. We should have already tested for gld
58844 # by now (in libtool), but require it now just to be safe...
58845 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
58846 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
58850 # The name set by libtool depends on the version of libtool. Shame on us
58851 # for depending on an impl detail, but c'est la vie. Older versions used
58852 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
58853 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
58854 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
58855 # set (hence we're using an older libtool), then set it.
58856 if test x${with_gnu_ld+set} != xset; then
58857 if test x${ac_cv_prog_gnu_ld+set} != xset; then
58858 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
58859 with_gnu_ld=no
58860 else
58861 with_gnu_ld=$ac_cv_prog_gnu_ld
58865 # Start by getting the version number. I think the libtool test already
58866 # does some of this, but throws away the result.
58867 glibcxx_ld_is_gold=no
58868 if test x"$with_gnu_ld" = x"yes"; then
58869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
58870 $as_echo_n "checking for ld version... " >&6; }
58872 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
58873 glibcxx_ld_is_gold=yes
58875 ldver=`$LD --version 2>/dev/null |
58876 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'`
58878 glibcxx_gnu_ld_version=`echo $ldver | \
58879 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
58880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
58881 $as_echo "$glibcxx_gnu_ld_version" >&6; }
58884 # Set --gc-sections.
58885 glibcxx_have_gc_sections=no
58886 if test "$glibcxx_ld_is_gold" = "yes"; then
58887 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
58888 glibcxx_have_gc_sections=yes
58890 else
58891 glibcxx_gcsections_min_ld=21602
58892 if test x"$with_gnu_ld" = x"yes" &&
58893 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
58894 glibcxx_have_gc_sections=yes
58897 if test "$glibcxx_have_gc_sections" = "yes"; then
58898 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
58899 # NB: This flag only works reliably after 2.16.1. Configure tests
58900 # for this are difficult, so hard wire a value that should work.
58902 ac_test_CFLAGS="${CFLAGS+set}"
58903 ac_save_CFLAGS="$CFLAGS"
58904 CFLAGS='-Wl,--gc-sections'
58906 # Check for -Wl,--gc-sections
58907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
58908 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
58909 if test x$gcc_no_link = xyes; then
58910 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58913 /* end confdefs.h. */
58914 int one(void) { return 1; }
58915 int two(void) { return 2; }
58918 main ()
58920 two();
58922 return 0;
58924 _ACEOF
58925 if ac_fn_c_try_link "$LINENO"; then :
58926 ac_gcsections=yes
58927 else
58928 ac_gcsections=no
58930 rm -f core conftest.err conftest.$ac_objext \
58931 conftest$ac_exeext conftest.$ac_ext
58932 if test "$ac_gcsections" = "yes"; then
58933 rm -f conftest.c
58934 touch conftest.c
58935 if $CC -c conftest.c; then
58936 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
58937 grep "Warning: gc-sections option ignored" > /dev/null; then
58938 ac_gcsections=no
58941 rm -f conftest.c conftest.o conftest
58943 if test "$ac_gcsections" = "yes"; then
58944 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
58946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
58947 $as_echo "$ac_gcsections" >&6; }
58949 if test "$ac_test_CFLAGS" = set; then
58950 CFLAGS="$ac_save_CFLAGS"
58951 else
58952 # this is the suspicious part
58953 CFLAGS=''
58957 # Set -z,relro.
58958 # Note this is only for shared objects.
58959 ac_ld_relro=no
58960 if test x"$with_gnu_ld" = x"yes"; then
58961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
58962 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
58963 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
58964 if test -n "$cxx_z_relo"; then
58965 OPT_LDFLAGS="-Wl,-z,relro"
58966 ac_ld_relro=yes
58968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
58969 $as_echo "$ac_ld_relro" >&6; }
58972 # Set linker optimization flags.
58973 if test x"$with_gnu_ld" = x"yes"; then
58974 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
58981 ac_test_CXXFLAGS="${CXXFLAGS+set}"
58982 ac_save_CXXFLAGS="$CXXFLAGS"
58983 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
58985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
58986 $as_echo_n "checking for sin in -lm... " >&6; }
58987 if test "${ac_cv_lib_m_sin+set}" = set; then :
58988 $as_echo_n "(cached) " >&6
58989 else
58990 ac_check_lib_save_LIBS=$LIBS
58991 LIBS="-lm $LIBS"
58992 if test x$gcc_no_link = xyes; then
58993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
58995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58996 /* end confdefs.h. */
58998 /* Override any GCC internal prototype to avoid an error.
58999 Use char because int might match the return type of a GCC
59000 builtin and then its argument prototype would still apply. */
59001 #ifdef __cplusplus
59002 extern "C"
59003 #endif
59004 char sin ();
59006 main ()
59008 return sin ();
59010 return 0;
59012 _ACEOF
59013 if ac_fn_c_try_link "$LINENO"; then :
59014 ac_cv_lib_m_sin=yes
59015 else
59016 ac_cv_lib_m_sin=no
59018 rm -f core conftest.err conftest.$ac_objext \
59019 conftest$ac_exeext conftest.$ac_ext
59020 LIBS=$ac_check_lib_save_LIBS
59022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
59023 $as_echo "$ac_cv_lib_m_sin" >&6; }
59024 if test "x$ac_cv_lib_m_sin" = x""yes; then :
59025 libm="-lm"
59028 ac_save_LIBS="$LIBS"
59029 LIBS="$LIBS $libm"
59033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
59034 $as_echo_n "checking for isinf declaration... " >&6; }
59035 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
59036 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
59037 $as_echo_n "(cached) " >&6
59038 else
59041 ac_ext=cpp
59042 ac_cpp='$CXXCPP $CPPFLAGS'
59043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59048 /* end confdefs.h. */
59049 #include <math.h>
59050 #ifdef HAVE_IEEEFP_H
59051 #include <ieeefp.h>
59052 #endif
59055 main ()
59057 isinf(0);
59059 return 0;
59061 _ACEOF
59062 if ac_fn_cxx_try_compile "$LINENO"; then :
59063 glibcxx_cv_func_isinf_use=yes
59064 else
59065 glibcxx_cv_func_isinf_use=no
59067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59068 ac_ext=c
59069 ac_cpp='$CPP $CPPFLAGS'
59070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
59079 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
59081 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
59082 for ac_func in isinf
59083 do :
59084 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
59085 if test "x$ac_cv_func_isinf" = x""yes; then :
59086 cat >>confdefs.h <<_ACEOF
59087 #define HAVE_ISINF 1
59088 _ACEOF
59091 done
59093 else
59095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
59096 $as_echo_n "checking for _isinf declaration... " >&6; }
59097 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
59098 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
59099 $as_echo_n "(cached) " >&6
59100 else
59103 ac_ext=cpp
59104 ac_cpp='$CXXCPP $CPPFLAGS'
59105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59110 /* end confdefs.h. */
59111 #include <math.h>
59112 #ifdef HAVE_IEEEFP_H
59113 #include <ieeefp.h>
59114 #endif
59117 main ()
59119 _isinf(0);
59121 return 0;
59123 _ACEOF
59124 if ac_fn_cxx_try_compile "$LINENO"; then :
59125 glibcxx_cv_func__isinf_use=yes
59126 else
59127 glibcxx_cv_func__isinf_use=no
59129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59130 ac_ext=c
59131 ac_cpp='$CPP $CPPFLAGS'
59132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
59141 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
59143 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
59144 for ac_func in _isinf
59145 do :
59146 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
59147 if test "x$ac_cv_func__isinf" = x""yes; then :
59148 cat >>confdefs.h <<_ACEOF
59149 #define HAVE__ISINF 1
59150 _ACEOF
59153 done
59162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
59163 $as_echo_n "checking for isnan declaration... " >&6; }
59164 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
59165 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
59166 $as_echo_n "(cached) " >&6
59167 else
59170 ac_ext=cpp
59171 ac_cpp='$CXXCPP $CPPFLAGS'
59172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59177 /* end confdefs.h. */
59178 #include <math.h>
59179 #ifdef HAVE_IEEEFP_H
59180 #include <ieeefp.h>
59181 #endif
59184 main ()
59186 isnan(0);
59188 return 0;
59190 _ACEOF
59191 if ac_fn_cxx_try_compile "$LINENO"; then :
59192 glibcxx_cv_func_isnan_use=yes
59193 else
59194 glibcxx_cv_func_isnan_use=no
59196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59197 ac_ext=c
59198 ac_cpp='$CPP $CPPFLAGS'
59199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
59208 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
59210 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
59211 for ac_func in isnan
59212 do :
59213 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
59214 if test "x$ac_cv_func_isnan" = x""yes; then :
59215 cat >>confdefs.h <<_ACEOF
59216 #define HAVE_ISNAN 1
59217 _ACEOF
59220 done
59222 else
59224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
59225 $as_echo_n "checking for _isnan declaration... " >&6; }
59226 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
59227 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
59228 $as_echo_n "(cached) " >&6
59229 else
59232 ac_ext=cpp
59233 ac_cpp='$CXXCPP $CPPFLAGS'
59234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59239 /* end confdefs.h. */
59240 #include <math.h>
59241 #ifdef HAVE_IEEEFP_H
59242 #include <ieeefp.h>
59243 #endif
59246 main ()
59248 _isnan(0);
59250 return 0;
59252 _ACEOF
59253 if ac_fn_cxx_try_compile "$LINENO"; then :
59254 glibcxx_cv_func__isnan_use=yes
59255 else
59256 glibcxx_cv_func__isnan_use=no
59258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59259 ac_ext=c
59260 ac_cpp='$CPP $CPPFLAGS'
59261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
59270 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
59272 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
59273 for ac_func in _isnan
59274 do :
59275 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
59276 if test "x$ac_cv_func__isnan" = x""yes; then :
59277 cat >>confdefs.h <<_ACEOF
59278 #define HAVE__ISNAN 1
59279 _ACEOF
59282 done
59291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
59292 $as_echo_n "checking for finite declaration... " >&6; }
59293 if test x${glibcxx_cv_func_finite_use+set} != xset; then
59294 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
59295 $as_echo_n "(cached) " >&6
59296 else
59299 ac_ext=cpp
59300 ac_cpp='$CXXCPP $CPPFLAGS'
59301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59306 /* end confdefs.h. */
59307 #include <math.h>
59308 #ifdef HAVE_IEEEFP_H
59309 #include <ieeefp.h>
59310 #endif
59313 main ()
59315 finite(0);
59317 return 0;
59319 _ACEOF
59320 if ac_fn_cxx_try_compile "$LINENO"; then :
59321 glibcxx_cv_func_finite_use=yes
59322 else
59323 glibcxx_cv_func_finite_use=no
59325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59326 ac_ext=c
59327 ac_cpp='$CPP $CPPFLAGS'
59328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
59337 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
59339 if test x$glibcxx_cv_func_finite_use = x"yes"; then
59340 for ac_func in finite
59341 do :
59342 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
59343 if test "x$ac_cv_func_finite" = x""yes; then :
59344 cat >>confdefs.h <<_ACEOF
59345 #define HAVE_FINITE 1
59346 _ACEOF
59349 done
59351 else
59353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
59354 $as_echo_n "checking for _finite declaration... " >&6; }
59355 if test x${glibcxx_cv_func__finite_use+set} != xset; then
59356 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
59357 $as_echo_n "(cached) " >&6
59358 else
59361 ac_ext=cpp
59362 ac_cpp='$CXXCPP $CPPFLAGS'
59363 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59364 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59365 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59368 /* end confdefs.h. */
59369 #include <math.h>
59370 #ifdef HAVE_IEEEFP_H
59371 #include <ieeefp.h>
59372 #endif
59375 main ()
59377 _finite(0);
59379 return 0;
59381 _ACEOF
59382 if ac_fn_cxx_try_compile "$LINENO"; then :
59383 glibcxx_cv_func__finite_use=yes
59384 else
59385 glibcxx_cv_func__finite_use=no
59387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59388 ac_ext=c
59389 ac_cpp='$CPP $CPPFLAGS'
59390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
59399 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
59401 if test x$glibcxx_cv_func__finite_use = x"yes"; then
59402 for ac_func in _finite
59403 do :
59404 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
59405 if test "x$ac_cv_func__finite" = x""yes; then :
59406 cat >>confdefs.h <<_ACEOF
59407 #define HAVE__FINITE 1
59408 _ACEOF
59411 done
59420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
59421 $as_echo_n "checking for sincos declaration... " >&6; }
59422 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
59423 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
59424 $as_echo_n "(cached) " >&6
59425 else
59428 ac_ext=cpp
59429 ac_cpp='$CXXCPP $CPPFLAGS'
59430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59435 /* end confdefs.h. */
59436 #include <math.h>
59438 main ()
59440 sincos(0, 0, 0);
59442 return 0;
59444 _ACEOF
59445 if ac_fn_cxx_try_compile "$LINENO"; then :
59446 glibcxx_cv_func_sincos_use=yes
59447 else
59448 glibcxx_cv_func_sincos_use=no
59450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59451 ac_ext=c
59452 ac_cpp='$CPP $CPPFLAGS'
59453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
59462 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
59464 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
59465 for ac_func in sincos
59466 do :
59467 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
59468 if test "x$ac_cv_func_sincos" = x""yes; then :
59469 cat >>confdefs.h <<_ACEOF
59470 #define HAVE_SINCOS 1
59471 _ACEOF
59474 done
59476 else
59478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
59479 $as_echo_n "checking for _sincos declaration... " >&6; }
59480 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
59481 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
59482 $as_echo_n "(cached) " >&6
59483 else
59486 ac_ext=cpp
59487 ac_cpp='$CXXCPP $CPPFLAGS'
59488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59493 /* end confdefs.h. */
59494 #include <math.h>
59496 main ()
59498 _sincos(0, 0, 0);
59500 return 0;
59502 _ACEOF
59503 if ac_fn_cxx_try_compile "$LINENO"; then :
59504 glibcxx_cv_func__sincos_use=yes
59505 else
59506 glibcxx_cv_func__sincos_use=no
59508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59509 ac_ext=c
59510 ac_cpp='$CPP $CPPFLAGS'
59511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
59520 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
59522 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
59523 for ac_func in _sincos
59524 do :
59525 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
59526 if test "x$ac_cv_func__sincos" = x""yes; then :
59527 cat >>confdefs.h <<_ACEOF
59528 #define HAVE__SINCOS 1
59529 _ACEOF
59532 done
59541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
59542 $as_echo_n "checking for fpclass declaration... " >&6; }
59543 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
59544 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
59545 $as_echo_n "(cached) " >&6
59546 else
59549 ac_ext=cpp
59550 ac_cpp='$CXXCPP $CPPFLAGS'
59551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59556 /* end confdefs.h. */
59557 #include <math.h>
59558 #ifdef HAVE_IEEEFP_H
59559 #include <ieeefp.h>
59560 #endif
59563 main ()
59565 fpclass(0);
59567 return 0;
59569 _ACEOF
59570 if ac_fn_cxx_try_compile "$LINENO"; then :
59571 glibcxx_cv_func_fpclass_use=yes
59572 else
59573 glibcxx_cv_func_fpclass_use=no
59575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59576 ac_ext=c
59577 ac_cpp='$CPP $CPPFLAGS'
59578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
59587 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
59589 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
59590 for ac_func in fpclass
59591 do :
59592 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
59593 if test "x$ac_cv_func_fpclass" = x""yes; then :
59594 cat >>confdefs.h <<_ACEOF
59595 #define HAVE_FPCLASS 1
59596 _ACEOF
59599 done
59601 else
59603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
59604 $as_echo_n "checking for _fpclass declaration... " >&6; }
59605 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
59606 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
59607 $as_echo_n "(cached) " >&6
59608 else
59611 ac_ext=cpp
59612 ac_cpp='$CXXCPP $CPPFLAGS'
59613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59618 /* end confdefs.h. */
59619 #include <math.h>
59620 #ifdef HAVE_IEEEFP_H
59621 #include <ieeefp.h>
59622 #endif
59625 main ()
59627 _fpclass(0);
59629 return 0;
59631 _ACEOF
59632 if ac_fn_cxx_try_compile "$LINENO"; then :
59633 glibcxx_cv_func__fpclass_use=yes
59634 else
59635 glibcxx_cv_func__fpclass_use=no
59637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59638 ac_ext=c
59639 ac_cpp='$CPP $CPPFLAGS'
59640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
59649 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
59651 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
59652 for ac_func in _fpclass
59653 do :
59654 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
59655 if test "x$ac_cv_func__fpclass" = x""yes; then :
59656 cat >>confdefs.h <<_ACEOF
59657 #define HAVE__FPCLASS 1
59658 _ACEOF
59661 done
59670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
59671 $as_echo_n "checking for qfpclass declaration... " >&6; }
59672 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
59673 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
59674 $as_echo_n "(cached) " >&6
59675 else
59678 ac_ext=cpp
59679 ac_cpp='$CXXCPP $CPPFLAGS'
59680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59685 /* end confdefs.h. */
59686 #include <math.h>
59687 #ifdef HAVE_IEEEFP_H
59688 #include <ieeefp.h>
59689 #endif
59692 main ()
59694 qfpclass(0);
59696 return 0;
59698 _ACEOF
59699 if ac_fn_cxx_try_compile "$LINENO"; then :
59700 glibcxx_cv_func_qfpclass_use=yes
59701 else
59702 glibcxx_cv_func_qfpclass_use=no
59704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59705 ac_ext=c
59706 ac_cpp='$CPP $CPPFLAGS'
59707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
59716 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
59718 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
59719 for ac_func in qfpclass
59720 do :
59721 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
59722 if test "x$ac_cv_func_qfpclass" = x""yes; then :
59723 cat >>confdefs.h <<_ACEOF
59724 #define HAVE_QFPCLASS 1
59725 _ACEOF
59728 done
59730 else
59732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
59733 $as_echo_n "checking for _qfpclass declaration... " >&6; }
59734 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
59735 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
59736 $as_echo_n "(cached) " >&6
59737 else
59740 ac_ext=cpp
59741 ac_cpp='$CXXCPP $CPPFLAGS'
59742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59747 /* end confdefs.h. */
59748 #include <math.h>
59749 #ifdef HAVE_IEEEFP_H
59750 #include <ieeefp.h>
59751 #endif
59754 main ()
59756 _qfpclass(0);
59758 return 0;
59760 _ACEOF
59761 if ac_fn_cxx_try_compile "$LINENO"; then :
59762 glibcxx_cv_func__qfpclass_use=yes
59763 else
59764 glibcxx_cv_func__qfpclass_use=no
59766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59767 ac_ext=c
59768 ac_cpp='$CPP $CPPFLAGS'
59769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
59778 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
59780 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
59781 for ac_func in _qfpclass
59782 do :
59783 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
59784 if test "x$ac_cv_func__qfpclass" = x""yes; then :
59785 cat >>confdefs.h <<_ACEOF
59786 #define HAVE__QFPCLASS 1
59787 _ACEOF
59790 done
59799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
59800 $as_echo_n "checking for hypot declaration... " >&6; }
59801 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
59802 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
59803 $as_echo_n "(cached) " >&6
59804 else
59807 ac_ext=cpp
59808 ac_cpp='$CXXCPP $CPPFLAGS'
59809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59814 /* end confdefs.h. */
59815 #include <math.h>
59817 main ()
59819 hypot(0, 0);
59821 return 0;
59823 _ACEOF
59824 if ac_fn_cxx_try_compile "$LINENO"; then :
59825 glibcxx_cv_func_hypot_use=yes
59826 else
59827 glibcxx_cv_func_hypot_use=no
59829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59830 ac_ext=c
59831 ac_cpp='$CPP $CPPFLAGS'
59832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
59841 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
59843 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
59844 for ac_func in hypot
59845 do :
59846 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
59847 if test "x$ac_cv_func_hypot" = x""yes; then :
59848 cat >>confdefs.h <<_ACEOF
59849 #define HAVE_HYPOT 1
59850 _ACEOF
59853 done
59855 else
59857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
59858 $as_echo_n "checking for _hypot declaration... " >&6; }
59859 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
59860 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
59861 $as_echo_n "(cached) " >&6
59862 else
59865 ac_ext=cpp
59866 ac_cpp='$CXXCPP $CPPFLAGS'
59867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59872 /* end confdefs.h. */
59873 #include <math.h>
59875 main ()
59877 _hypot(0, 0);
59879 return 0;
59881 _ACEOF
59882 if ac_fn_cxx_try_compile "$LINENO"; then :
59883 glibcxx_cv_func__hypot_use=yes
59884 else
59885 glibcxx_cv_func__hypot_use=no
59887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59888 ac_ext=c
59889 ac_cpp='$CPP $CPPFLAGS'
59890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
59899 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
59901 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
59902 for ac_func in _hypot
59903 do :
59904 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
59905 if test "x$ac_cv_func__hypot" = x""yes; then :
59906 cat >>confdefs.h <<_ACEOF
59907 #define HAVE__HYPOT 1
59908 _ACEOF
59911 done
59920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
59921 $as_echo_n "checking for float trig functions... " >&6; }
59922 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
59923 $as_echo_n "(cached) " >&6
59924 else
59927 ac_ext=cpp
59928 ac_cpp='$CXXCPP $CPPFLAGS'
59929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59934 /* end confdefs.h. */
59935 #include <math.h>
59937 main ()
59939 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
59941 return 0;
59943 _ACEOF
59944 if ac_fn_cxx_try_compile "$LINENO"; then :
59945 glibcxx_cv_func_float_trig_use=yes
59946 else
59947 glibcxx_cv_func_float_trig_use=no
59949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59950 ac_ext=c
59951 ac_cpp='$CPP $CPPFLAGS'
59952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
59959 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
59960 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
59961 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
59962 do :
59963 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
59964 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
59965 eval as_val=\$$as_ac_var
59966 if test "x$as_val" = x""yes; then :
59967 cat >>confdefs.h <<_ACEOF
59968 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
59969 _ACEOF
59972 done
59974 else
59975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
59976 $as_echo_n "checking for _float trig functions... " >&6; }
59977 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
59978 $as_echo_n "(cached) " >&6
59979 else
59982 ac_ext=cpp
59983 ac_cpp='$CXXCPP $CPPFLAGS'
59984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59989 /* end confdefs.h. */
59990 #include <math.h>
59992 main ()
59994 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
59996 return 0;
59998 _ACEOF
59999 if ac_fn_cxx_try_compile "$LINENO"; then :
60000 glibcxx_cv_func__float_trig_use=yes
60001 else
60002 glibcxx_cv_func__float_trig_use=no
60004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60005 ac_ext=c
60006 ac_cpp='$CPP $CPPFLAGS'
60007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
60014 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
60015 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
60016 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
60017 do :
60018 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60019 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60020 eval as_val=\$$as_ac_var
60021 if test "x$as_val" = x""yes; then :
60022 cat >>confdefs.h <<_ACEOF
60023 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60024 _ACEOF
60027 done
60036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
60037 $as_echo_n "checking for float round functions... " >&6; }
60038 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
60039 $as_echo_n "(cached) " >&6
60040 else
60043 ac_ext=cpp
60044 ac_cpp='$CXXCPP $CPPFLAGS'
60045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60050 /* end confdefs.h. */
60051 #include <math.h>
60053 main ()
60055 ceilf (0); floorf (0);
60057 return 0;
60059 _ACEOF
60060 if ac_fn_cxx_try_compile "$LINENO"; then :
60061 glibcxx_cv_func_float_round_use=yes
60062 else
60063 glibcxx_cv_func_float_round_use=no
60065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60066 ac_ext=c
60067 ac_cpp='$CPP $CPPFLAGS'
60068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
60075 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
60076 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
60077 for ac_func in ceilf floorf
60078 do :
60079 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60080 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60081 eval as_val=\$$as_ac_var
60082 if test "x$as_val" = x""yes; then :
60083 cat >>confdefs.h <<_ACEOF
60084 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60085 _ACEOF
60088 done
60090 else
60091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
60092 $as_echo_n "checking for _float round functions... " >&6; }
60093 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
60094 $as_echo_n "(cached) " >&6
60095 else
60098 ac_ext=cpp
60099 ac_cpp='$CXXCPP $CPPFLAGS'
60100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60105 /* end confdefs.h. */
60106 #include <math.h>
60108 main ()
60110 _ceilf (0); _floorf (0);
60112 return 0;
60114 _ACEOF
60115 if ac_fn_cxx_try_compile "$LINENO"; then :
60116 glibcxx_cv_func__float_round_use=yes
60117 else
60118 glibcxx_cv_func__float_round_use=no
60120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60121 ac_ext=c
60122 ac_cpp='$CPP $CPPFLAGS'
60123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
60130 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
60131 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
60132 for ac_func in _ceilf _floorf
60133 do :
60134 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60135 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60136 eval as_val=\$$as_ac_var
60137 if test "x$as_val" = x""yes; then :
60138 cat >>confdefs.h <<_ACEOF
60139 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60140 _ACEOF
60143 done
60153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
60154 $as_echo_n "checking for expf declaration... " >&6; }
60155 if test x${glibcxx_cv_func_expf_use+set} != xset; then
60156 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
60157 $as_echo_n "(cached) " >&6
60158 else
60161 ac_ext=cpp
60162 ac_cpp='$CXXCPP $CPPFLAGS'
60163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60168 /* end confdefs.h. */
60169 #include <math.h>
60170 #ifdef HAVE_IEEEFP_H
60171 #include <ieeefp.h>
60172 #endif
60175 main ()
60177 expf(0);
60179 return 0;
60181 _ACEOF
60182 if ac_fn_cxx_try_compile "$LINENO"; then :
60183 glibcxx_cv_func_expf_use=yes
60184 else
60185 glibcxx_cv_func_expf_use=no
60187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60188 ac_ext=c
60189 ac_cpp='$CPP $CPPFLAGS'
60190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
60199 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
60201 if test x$glibcxx_cv_func_expf_use = x"yes"; then
60202 for ac_func in expf
60203 do :
60204 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
60205 if test "x$ac_cv_func_expf" = x""yes; then :
60206 cat >>confdefs.h <<_ACEOF
60207 #define HAVE_EXPF 1
60208 _ACEOF
60211 done
60213 else
60215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
60216 $as_echo_n "checking for _expf declaration... " >&6; }
60217 if test x${glibcxx_cv_func__expf_use+set} != xset; then
60218 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
60219 $as_echo_n "(cached) " >&6
60220 else
60223 ac_ext=cpp
60224 ac_cpp='$CXXCPP $CPPFLAGS'
60225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60230 /* end confdefs.h. */
60231 #include <math.h>
60232 #ifdef HAVE_IEEEFP_H
60233 #include <ieeefp.h>
60234 #endif
60237 main ()
60239 _expf(0);
60241 return 0;
60243 _ACEOF
60244 if ac_fn_cxx_try_compile "$LINENO"; then :
60245 glibcxx_cv_func__expf_use=yes
60246 else
60247 glibcxx_cv_func__expf_use=no
60249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60250 ac_ext=c
60251 ac_cpp='$CPP $CPPFLAGS'
60252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
60261 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
60263 if test x$glibcxx_cv_func__expf_use = x"yes"; then
60264 for ac_func in _expf
60265 do :
60266 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
60267 if test "x$ac_cv_func__expf" = x""yes; then :
60268 cat >>confdefs.h <<_ACEOF
60269 #define HAVE__EXPF 1
60270 _ACEOF
60273 done
60282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
60283 $as_echo_n "checking for isnanf declaration... " >&6; }
60284 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
60285 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
60286 $as_echo_n "(cached) " >&6
60287 else
60290 ac_ext=cpp
60291 ac_cpp='$CXXCPP $CPPFLAGS'
60292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60297 /* end confdefs.h. */
60298 #include <math.h>
60299 #ifdef HAVE_IEEEFP_H
60300 #include <ieeefp.h>
60301 #endif
60304 main ()
60306 isnanf(0);
60308 return 0;
60310 _ACEOF
60311 if ac_fn_cxx_try_compile "$LINENO"; then :
60312 glibcxx_cv_func_isnanf_use=yes
60313 else
60314 glibcxx_cv_func_isnanf_use=no
60316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60317 ac_ext=c
60318 ac_cpp='$CPP $CPPFLAGS'
60319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
60328 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
60330 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
60331 for ac_func in isnanf
60332 do :
60333 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
60334 if test "x$ac_cv_func_isnanf" = x""yes; then :
60335 cat >>confdefs.h <<_ACEOF
60336 #define HAVE_ISNANF 1
60337 _ACEOF
60340 done
60342 else
60344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
60345 $as_echo_n "checking for _isnanf declaration... " >&6; }
60346 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
60347 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
60348 $as_echo_n "(cached) " >&6
60349 else
60352 ac_ext=cpp
60353 ac_cpp='$CXXCPP $CPPFLAGS'
60354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60359 /* end confdefs.h. */
60360 #include <math.h>
60361 #ifdef HAVE_IEEEFP_H
60362 #include <ieeefp.h>
60363 #endif
60366 main ()
60368 _isnanf(0);
60370 return 0;
60372 _ACEOF
60373 if ac_fn_cxx_try_compile "$LINENO"; then :
60374 glibcxx_cv_func__isnanf_use=yes
60375 else
60376 glibcxx_cv_func__isnanf_use=no
60378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60379 ac_ext=c
60380 ac_cpp='$CPP $CPPFLAGS'
60381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
60390 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
60392 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
60393 for ac_func in _isnanf
60394 do :
60395 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
60396 if test "x$ac_cv_func__isnanf" = x""yes; then :
60397 cat >>confdefs.h <<_ACEOF
60398 #define HAVE__ISNANF 1
60399 _ACEOF
60402 done
60411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
60412 $as_echo_n "checking for isinff declaration... " >&6; }
60413 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
60414 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
60415 $as_echo_n "(cached) " >&6
60416 else
60419 ac_ext=cpp
60420 ac_cpp='$CXXCPP $CPPFLAGS'
60421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60426 /* end confdefs.h. */
60427 #include <math.h>
60428 #ifdef HAVE_IEEEFP_H
60429 #include <ieeefp.h>
60430 #endif
60433 main ()
60435 isinff(0);
60437 return 0;
60439 _ACEOF
60440 if ac_fn_cxx_try_compile "$LINENO"; then :
60441 glibcxx_cv_func_isinff_use=yes
60442 else
60443 glibcxx_cv_func_isinff_use=no
60445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60446 ac_ext=c
60447 ac_cpp='$CPP $CPPFLAGS'
60448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
60457 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
60459 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
60460 for ac_func in isinff
60461 do :
60462 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
60463 if test "x$ac_cv_func_isinff" = x""yes; then :
60464 cat >>confdefs.h <<_ACEOF
60465 #define HAVE_ISINFF 1
60466 _ACEOF
60469 done
60471 else
60473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
60474 $as_echo_n "checking for _isinff declaration... " >&6; }
60475 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
60476 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
60477 $as_echo_n "(cached) " >&6
60478 else
60481 ac_ext=cpp
60482 ac_cpp='$CXXCPP $CPPFLAGS'
60483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60488 /* end confdefs.h. */
60489 #include <math.h>
60490 #ifdef HAVE_IEEEFP_H
60491 #include <ieeefp.h>
60492 #endif
60495 main ()
60497 _isinff(0);
60499 return 0;
60501 _ACEOF
60502 if ac_fn_cxx_try_compile "$LINENO"; then :
60503 glibcxx_cv_func__isinff_use=yes
60504 else
60505 glibcxx_cv_func__isinff_use=no
60507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60508 ac_ext=c
60509 ac_cpp='$CPP $CPPFLAGS'
60510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
60519 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
60521 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
60522 for ac_func in _isinff
60523 do :
60524 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
60525 if test "x$ac_cv_func__isinff" = x""yes; then :
60526 cat >>confdefs.h <<_ACEOF
60527 #define HAVE__ISINFF 1
60528 _ACEOF
60531 done
60540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
60541 $as_echo_n "checking for atan2f declaration... " >&6; }
60542 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
60543 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
60544 $as_echo_n "(cached) " >&6
60545 else
60548 ac_ext=cpp
60549 ac_cpp='$CXXCPP $CPPFLAGS'
60550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60555 /* end confdefs.h. */
60556 #include <math.h>
60558 main ()
60560 atan2f(0, 0);
60562 return 0;
60564 _ACEOF
60565 if ac_fn_cxx_try_compile "$LINENO"; then :
60566 glibcxx_cv_func_atan2f_use=yes
60567 else
60568 glibcxx_cv_func_atan2f_use=no
60570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60571 ac_ext=c
60572 ac_cpp='$CPP $CPPFLAGS'
60573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
60582 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
60584 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
60585 for ac_func in atan2f
60586 do :
60587 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
60588 if test "x$ac_cv_func_atan2f" = x""yes; then :
60589 cat >>confdefs.h <<_ACEOF
60590 #define HAVE_ATAN2F 1
60591 _ACEOF
60594 done
60596 else
60598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
60599 $as_echo_n "checking for _atan2f declaration... " >&6; }
60600 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
60601 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
60602 $as_echo_n "(cached) " >&6
60603 else
60606 ac_ext=cpp
60607 ac_cpp='$CXXCPP $CPPFLAGS'
60608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60613 /* end confdefs.h. */
60614 #include <math.h>
60616 main ()
60618 _atan2f(0, 0);
60620 return 0;
60622 _ACEOF
60623 if ac_fn_cxx_try_compile "$LINENO"; then :
60624 glibcxx_cv_func__atan2f_use=yes
60625 else
60626 glibcxx_cv_func__atan2f_use=no
60628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60629 ac_ext=c
60630 ac_cpp='$CPP $CPPFLAGS'
60631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
60640 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
60642 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
60643 for ac_func in _atan2f
60644 do :
60645 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
60646 if test "x$ac_cv_func__atan2f" = x""yes; then :
60647 cat >>confdefs.h <<_ACEOF
60648 #define HAVE__ATAN2F 1
60649 _ACEOF
60652 done
60661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
60662 $as_echo_n "checking for fabsf declaration... " >&6; }
60663 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
60664 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
60665 $as_echo_n "(cached) " >&6
60666 else
60669 ac_ext=cpp
60670 ac_cpp='$CXXCPP $CPPFLAGS'
60671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60676 /* end confdefs.h. */
60677 #include <math.h>
60678 #ifdef HAVE_IEEEFP_H
60679 #include <ieeefp.h>
60680 #endif
60683 main ()
60685 fabsf(0);
60687 return 0;
60689 _ACEOF
60690 if ac_fn_cxx_try_compile "$LINENO"; then :
60691 glibcxx_cv_func_fabsf_use=yes
60692 else
60693 glibcxx_cv_func_fabsf_use=no
60695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60696 ac_ext=c
60697 ac_cpp='$CPP $CPPFLAGS'
60698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
60707 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
60709 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
60710 for ac_func in fabsf
60711 do :
60712 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
60713 if test "x$ac_cv_func_fabsf" = x""yes; then :
60714 cat >>confdefs.h <<_ACEOF
60715 #define HAVE_FABSF 1
60716 _ACEOF
60719 done
60721 else
60723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
60724 $as_echo_n "checking for _fabsf declaration... " >&6; }
60725 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
60726 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
60727 $as_echo_n "(cached) " >&6
60728 else
60731 ac_ext=cpp
60732 ac_cpp='$CXXCPP $CPPFLAGS'
60733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60738 /* end confdefs.h. */
60739 #include <math.h>
60740 #ifdef HAVE_IEEEFP_H
60741 #include <ieeefp.h>
60742 #endif
60745 main ()
60747 _fabsf(0);
60749 return 0;
60751 _ACEOF
60752 if ac_fn_cxx_try_compile "$LINENO"; then :
60753 glibcxx_cv_func__fabsf_use=yes
60754 else
60755 glibcxx_cv_func__fabsf_use=no
60757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60758 ac_ext=c
60759 ac_cpp='$CPP $CPPFLAGS'
60760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
60769 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
60771 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
60772 for ac_func in _fabsf
60773 do :
60774 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
60775 if test "x$ac_cv_func__fabsf" = x""yes; then :
60776 cat >>confdefs.h <<_ACEOF
60777 #define HAVE__FABSF 1
60778 _ACEOF
60781 done
60790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
60791 $as_echo_n "checking for fmodf declaration... " >&6; }
60792 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
60793 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
60794 $as_echo_n "(cached) " >&6
60795 else
60798 ac_ext=cpp
60799 ac_cpp='$CXXCPP $CPPFLAGS'
60800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60805 /* end confdefs.h. */
60806 #include <math.h>
60808 main ()
60810 fmodf(0, 0);
60812 return 0;
60814 _ACEOF
60815 if ac_fn_cxx_try_compile "$LINENO"; then :
60816 glibcxx_cv_func_fmodf_use=yes
60817 else
60818 glibcxx_cv_func_fmodf_use=no
60820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60821 ac_ext=c
60822 ac_cpp='$CPP $CPPFLAGS'
60823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
60832 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
60834 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
60835 for ac_func in fmodf
60836 do :
60837 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
60838 if test "x$ac_cv_func_fmodf" = x""yes; then :
60839 cat >>confdefs.h <<_ACEOF
60840 #define HAVE_FMODF 1
60841 _ACEOF
60844 done
60846 else
60848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
60849 $as_echo_n "checking for _fmodf declaration... " >&6; }
60850 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
60851 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
60852 $as_echo_n "(cached) " >&6
60853 else
60856 ac_ext=cpp
60857 ac_cpp='$CXXCPP $CPPFLAGS'
60858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60863 /* end confdefs.h. */
60864 #include <math.h>
60866 main ()
60868 _fmodf(0, 0);
60870 return 0;
60872 _ACEOF
60873 if ac_fn_cxx_try_compile "$LINENO"; then :
60874 glibcxx_cv_func__fmodf_use=yes
60875 else
60876 glibcxx_cv_func__fmodf_use=no
60878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60879 ac_ext=c
60880 ac_cpp='$CPP $CPPFLAGS'
60881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
60890 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
60892 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
60893 for ac_func in _fmodf
60894 do :
60895 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
60896 if test "x$ac_cv_func__fmodf" = x""yes; then :
60897 cat >>confdefs.h <<_ACEOF
60898 #define HAVE__FMODF 1
60899 _ACEOF
60902 done
60911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
60912 $as_echo_n "checking for frexpf declaration... " >&6; }
60913 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
60914 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
60915 $as_echo_n "(cached) " >&6
60916 else
60919 ac_ext=cpp
60920 ac_cpp='$CXXCPP $CPPFLAGS'
60921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60926 /* end confdefs.h. */
60927 #include <math.h>
60929 main ()
60931 frexpf(0, 0);
60933 return 0;
60935 _ACEOF
60936 if ac_fn_cxx_try_compile "$LINENO"; then :
60937 glibcxx_cv_func_frexpf_use=yes
60938 else
60939 glibcxx_cv_func_frexpf_use=no
60941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60942 ac_ext=c
60943 ac_cpp='$CPP $CPPFLAGS'
60944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
60953 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
60955 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
60956 for ac_func in frexpf
60957 do :
60958 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
60959 if test "x$ac_cv_func_frexpf" = x""yes; then :
60960 cat >>confdefs.h <<_ACEOF
60961 #define HAVE_FREXPF 1
60962 _ACEOF
60965 done
60967 else
60969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
60970 $as_echo_n "checking for _frexpf declaration... " >&6; }
60971 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
60972 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
60973 $as_echo_n "(cached) " >&6
60974 else
60977 ac_ext=cpp
60978 ac_cpp='$CXXCPP $CPPFLAGS'
60979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60984 /* end confdefs.h. */
60985 #include <math.h>
60987 main ()
60989 _frexpf(0, 0);
60991 return 0;
60993 _ACEOF
60994 if ac_fn_cxx_try_compile "$LINENO"; then :
60995 glibcxx_cv_func__frexpf_use=yes
60996 else
60997 glibcxx_cv_func__frexpf_use=no
60999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61000 ac_ext=c
61001 ac_cpp='$CPP $CPPFLAGS'
61002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
61011 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
61013 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
61014 for ac_func in _frexpf
61015 do :
61016 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
61017 if test "x$ac_cv_func__frexpf" = x""yes; then :
61018 cat >>confdefs.h <<_ACEOF
61019 #define HAVE__FREXPF 1
61020 _ACEOF
61023 done
61032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
61033 $as_echo_n "checking for hypotf declaration... " >&6; }
61034 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
61035 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
61036 $as_echo_n "(cached) " >&6
61037 else
61040 ac_ext=cpp
61041 ac_cpp='$CXXCPP $CPPFLAGS'
61042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61047 /* end confdefs.h. */
61048 #include <math.h>
61050 main ()
61052 hypotf(0, 0);
61054 return 0;
61056 _ACEOF
61057 if ac_fn_cxx_try_compile "$LINENO"; then :
61058 glibcxx_cv_func_hypotf_use=yes
61059 else
61060 glibcxx_cv_func_hypotf_use=no
61062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61063 ac_ext=c
61064 ac_cpp='$CPP $CPPFLAGS'
61065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
61074 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
61076 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
61077 for ac_func in hypotf
61078 do :
61079 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
61080 if test "x$ac_cv_func_hypotf" = x""yes; then :
61081 cat >>confdefs.h <<_ACEOF
61082 #define HAVE_HYPOTF 1
61083 _ACEOF
61086 done
61088 else
61090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
61091 $as_echo_n "checking for _hypotf declaration... " >&6; }
61092 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
61093 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
61094 $as_echo_n "(cached) " >&6
61095 else
61098 ac_ext=cpp
61099 ac_cpp='$CXXCPP $CPPFLAGS'
61100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61105 /* end confdefs.h. */
61106 #include <math.h>
61108 main ()
61110 _hypotf(0, 0);
61112 return 0;
61114 _ACEOF
61115 if ac_fn_cxx_try_compile "$LINENO"; then :
61116 glibcxx_cv_func__hypotf_use=yes
61117 else
61118 glibcxx_cv_func__hypotf_use=no
61120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61121 ac_ext=c
61122 ac_cpp='$CPP $CPPFLAGS'
61123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
61132 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
61134 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
61135 for ac_func in _hypotf
61136 do :
61137 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
61138 if test "x$ac_cv_func__hypotf" = x""yes; then :
61139 cat >>confdefs.h <<_ACEOF
61140 #define HAVE__HYPOTF 1
61141 _ACEOF
61144 done
61153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
61154 $as_echo_n "checking for ldexpf declaration... " >&6; }
61155 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
61156 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
61157 $as_echo_n "(cached) " >&6
61158 else
61161 ac_ext=cpp
61162 ac_cpp='$CXXCPP $CPPFLAGS'
61163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61168 /* end confdefs.h. */
61169 #include <math.h>
61171 main ()
61173 ldexpf(0, 0);
61175 return 0;
61177 _ACEOF
61178 if ac_fn_cxx_try_compile "$LINENO"; then :
61179 glibcxx_cv_func_ldexpf_use=yes
61180 else
61181 glibcxx_cv_func_ldexpf_use=no
61183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61184 ac_ext=c
61185 ac_cpp='$CPP $CPPFLAGS'
61186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
61195 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
61197 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
61198 for ac_func in ldexpf
61199 do :
61200 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
61201 if test "x$ac_cv_func_ldexpf" = x""yes; then :
61202 cat >>confdefs.h <<_ACEOF
61203 #define HAVE_LDEXPF 1
61204 _ACEOF
61207 done
61209 else
61211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
61212 $as_echo_n "checking for _ldexpf declaration... " >&6; }
61213 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
61214 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
61215 $as_echo_n "(cached) " >&6
61216 else
61219 ac_ext=cpp
61220 ac_cpp='$CXXCPP $CPPFLAGS'
61221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61226 /* end confdefs.h. */
61227 #include <math.h>
61229 main ()
61231 _ldexpf(0, 0);
61233 return 0;
61235 _ACEOF
61236 if ac_fn_cxx_try_compile "$LINENO"; then :
61237 glibcxx_cv_func__ldexpf_use=yes
61238 else
61239 glibcxx_cv_func__ldexpf_use=no
61241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61242 ac_ext=c
61243 ac_cpp='$CPP $CPPFLAGS'
61244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
61253 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
61255 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
61256 for ac_func in _ldexpf
61257 do :
61258 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
61259 if test "x$ac_cv_func__ldexpf" = x""yes; then :
61260 cat >>confdefs.h <<_ACEOF
61261 #define HAVE__LDEXPF 1
61262 _ACEOF
61265 done
61274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
61275 $as_echo_n "checking for logf declaration... " >&6; }
61276 if test x${glibcxx_cv_func_logf_use+set} != xset; then
61277 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
61278 $as_echo_n "(cached) " >&6
61279 else
61282 ac_ext=cpp
61283 ac_cpp='$CXXCPP $CPPFLAGS'
61284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61289 /* end confdefs.h. */
61290 #include <math.h>
61291 #ifdef HAVE_IEEEFP_H
61292 #include <ieeefp.h>
61293 #endif
61296 main ()
61298 logf(0);
61300 return 0;
61302 _ACEOF
61303 if ac_fn_cxx_try_compile "$LINENO"; then :
61304 glibcxx_cv_func_logf_use=yes
61305 else
61306 glibcxx_cv_func_logf_use=no
61308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61309 ac_ext=c
61310 ac_cpp='$CPP $CPPFLAGS'
61311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
61320 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
61322 if test x$glibcxx_cv_func_logf_use = x"yes"; then
61323 for ac_func in logf
61324 do :
61325 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
61326 if test "x$ac_cv_func_logf" = x""yes; then :
61327 cat >>confdefs.h <<_ACEOF
61328 #define HAVE_LOGF 1
61329 _ACEOF
61332 done
61334 else
61336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
61337 $as_echo_n "checking for _logf declaration... " >&6; }
61338 if test x${glibcxx_cv_func__logf_use+set} != xset; then
61339 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
61340 $as_echo_n "(cached) " >&6
61341 else
61344 ac_ext=cpp
61345 ac_cpp='$CXXCPP $CPPFLAGS'
61346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61351 /* end confdefs.h. */
61352 #include <math.h>
61353 #ifdef HAVE_IEEEFP_H
61354 #include <ieeefp.h>
61355 #endif
61358 main ()
61360 _logf(0);
61362 return 0;
61364 _ACEOF
61365 if ac_fn_cxx_try_compile "$LINENO"; then :
61366 glibcxx_cv_func__logf_use=yes
61367 else
61368 glibcxx_cv_func__logf_use=no
61370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61371 ac_ext=c
61372 ac_cpp='$CPP $CPPFLAGS'
61373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
61382 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
61384 if test x$glibcxx_cv_func__logf_use = x"yes"; then
61385 for ac_func in _logf
61386 do :
61387 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
61388 if test "x$ac_cv_func__logf" = x""yes; then :
61389 cat >>confdefs.h <<_ACEOF
61390 #define HAVE__LOGF 1
61391 _ACEOF
61394 done
61403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
61404 $as_echo_n "checking for log10f declaration... " >&6; }
61405 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
61406 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
61407 $as_echo_n "(cached) " >&6
61408 else
61411 ac_ext=cpp
61412 ac_cpp='$CXXCPP $CPPFLAGS'
61413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61418 /* end confdefs.h. */
61419 #include <math.h>
61420 #ifdef HAVE_IEEEFP_H
61421 #include <ieeefp.h>
61422 #endif
61425 main ()
61427 log10f(0);
61429 return 0;
61431 _ACEOF
61432 if ac_fn_cxx_try_compile "$LINENO"; then :
61433 glibcxx_cv_func_log10f_use=yes
61434 else
61435 glibcxx_cv_func_log10f_use=no
61437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61438 ac_ext=c
61439 ac_cpp='$CPP $CPPFLAGS'
61440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
61449 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
61451 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
61452 for ac_func in log10f
61453 do :
61454 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
61455 if test "x$ac_cv_func_log10f" = x""yes; then :
61456 cat >>confdefs.h <<_ACEOF
61457 #define HAVE_LOG10F 1
61458 _ACEOF
61461 done
61463 else
61465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
61466 $as_echo_n "checking for _log10f declaration... " >&6; }
61467 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
61468 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
61469 $as_echo_n "(cached) " >&6
61470 else
61473 ac_ext=cpp
61474 ac_cpp='$CXXCPP $CPPFLAGS'
61475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61480 /* end confdefs.h. */
61481 #include <math.h>
61482 #ifdef HAVE_IEEEFP_H
61483 #include <ieeefp.h>
61484 #endif
61487 main ()
61489 _log10f(0);
61491 return 0;
61493 _ACEOF
61494 if ac_fn_cxx_try_compile "$LINENO"; then :
61495 glibcxx_cv_func__log10f_use=yes
61496 else
61497 glibcxx_cv_func__log10f_use=no
61499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61500 ac_ext=c
61501 ac_cpp='$CPP $CPPFLAGS'
61502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
61511 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
61513 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
61514 for ac_func in _log10f
61515 do :
61516 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
61517 if test "x$ac_cv_func__log10f" = x""yes; then :
61518 cat >>confdefs.h <<_ACEOF
61519 #define HAVE__LOG10F 1
61520 _ACEOF
61523 done
61532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
61533 $as_echo_n "checking for modff declaration... " >&6; }
61534 if test x${glibcxx_cv_func_modff_use+set} != xset; then
61535 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
61536 $as_echo_n "(cached) " >&6
61537 else
61540 ac_ext=cpp
61541 ac_cpp='$CXXCPP $CPPFLAGS'
61542 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61543 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61544 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61547 /* end confdefs.h. */
61548 #include <math.h>
61550 main ()
61552 modff(0, 0);
61554 return 0;
61556 _ACEOF
61557 if ac_fn_cxx_try_compile "$LINENO"; then :
61558 glibcxx_cv_func_modff_use=yes
61559 else
61560 glibcxx_cv_func_modff_use=no
61562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61563 ac_ext=c
61564 ac_cpp='$CPP $CPPFLAGS'
61565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
61574 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
61576 if test x$glibcxx_cv_func_modff_use = x"yes"; then
61577 for ac_func in modff
61578 do :
61579 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
61580 if test "x$ac_cv_func_modff" = x""yes; then :
61581 cat >>confdefs.h <<_ACEOF
61582 #define HAVE_MODFF 1
61583 _ACEOF
61586 done
61588 else
61590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
61591 $as_echo_n "checking for _modff declaration... " >&6; }
61592 if test x${glibcxx_cv_func__modff_use+set} != xset; then
61593 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
61594 $as_echo_n "(cached) " >&6
61595 else
61598 ac_ext=cpp
61599 ac_cpp='$CXXCPP $CPPFLAGS'
61600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61605 /* end confdefs.h. */
61606 #include <math.h>
61608 main ()
61610 _modff(0, 0);
61612 return 0;
61614 _ACEOF
61615 if ac_fn_cxx_try_compile "$LINENO"; then :
61616 glibcxx_cv_func__modff_use=yes
61617 else
61618 glibcxx_cv_func__modff_use=no
61620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61621 ac_ext=c
61622 ac_cpp='$CPP $CPPFLAGS'
61623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
61632 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
61634 if test x$glibcxx_cv_func__modff_use = x"yes"; then
61635 for ac_func in _modff
61636 do :
61637 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
61638 if test "x$ac_cv_func__modff" = x""yes; then :
61639 cat >>confdefs.h <<_ACEOF
61640 #define HAVE__MODFF 1
61641 _ACEOF
61644 done
61653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
61654 $as_echo_n "checking for modf declaration... " >&6; }
61655 if test x${glibcxx_cv_func_modf_use+set} != xset; then
61656 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
61657 $as_echo_n "(cached) " >&6
61658 else
61661 ac_ext=cpp
61662 ac_cpp='$CXXCPP $CPPFLAGS'
61663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61668 /* end confdefs.h. */
61669 #include <math.h>
61671 main ()
61673 modf(0, 0);
61675 return 0;
61677 _ACEOF
61678 if ac_fn_cxx_try_compile "$LINENO"; then :
61679 glibcxx_cv_func_modf_use=yes
61680 else
61681 glibcxx_cv_func_modf_use=no
61683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61684 ac_ext=c
61685 ac_cpp='$CPP $CPPFLAGS'
61686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
61695 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
61697 if test x$glibcxx_cv_func_modf_use = x"yes"; then
61698 for ac_func in modf
61699 do :
61700 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
61701 if test "x$ac_cv_func_modf" = x""yes; then :
61702 cat >>confdefs.h <<_ACEOF
61703 #define HAVE_MODF 1
61704 _ACEOF
61707 done
61709 else
61711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
61712 $as_echo_n "checking for _modf declaration... " >&6; }
61713 if test x${glibcxx_cv_func__modf_use+set} != xset; then
61714 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
61715 $as_echo_n "(cached) " >&6
61716 else
61719 ac_ext=cpp
61720 ac_cpp='$CXXCPP $CPPFLAGS'
61721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61726 /* end confdefs.h. */
61727 #include <math.h>
61729 main ()
61731 _modf(0, 0);
61733 return 0;
61735 _ACEOF
61736 if ac_fn_cxx_try_compile "$LINENO"; then :
61737 glibcxx_cv_func__modf_use=yes
61738 else
61739 glibcxx_cv_func__modf_use=no
61741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61742 ac_ext=c
61743 ac_cpp='$CPP $CPPFLAGS'
61744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
61753 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
61755 if test x$glibcxx_cv_func__modf_use = x"yes"; then
61756 for ac_func in _modf
61757 do :
61758 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
61759 if test "x$ac_cv_func__modf" = x""yes; then :
61760 cat >>confdefs.h <<_ACEOF
61761 #define HAVE__MODF 1
61762 _ACEOF
61765 done
61774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
61775 $as_echo_n "checking for powf declaration... " >&6; }
61776 if test x${glibcxx_cv_func_powf_use+set} != xset; then
61777 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
61778 $as_echo_n "(cached) " >&6
61779 else
61782 ac_ext=cpp
61783 ac_cpp='$CXXCPP $CPPFLAGS'
61784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61789 /* end confdefs.h. */
61790 #include <math.h>
61792 main ()
61794 powf(0, 0);
61796 return 0;
61798 _ACEOF
61799 if ac_fn_cxx_try_compile "$LINENO"; then :
61800 glibcxx_cv_func_powf_use=yes
61801 else
61802 glibcxx_cv_func_powf_use=no
61804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61805 ac_ext=c
61806 ac_cpp='$CPP $CPPFLAGS'
61807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
61816 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
61818 if test x$glibcxx_cv_func_powf_use = x"yes"; then
61819 for ac_func in powf
61820 do :
61821 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
61822 if test "x$ac_cv_func_powf" = x""yes; then :
61823 cat >>confdefs.h <<_ACEOF
61824 #define HAVE_POWF 1
61825 _ACEOF
61828 done
61830 else
61832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
61833 $as_echo_n "checking for _powf declaration... " >&6; }
61834 if test x${glibcxx_cv_func__powf_use+set} != xset; then
61835 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
61836 $as_echo_n "(cached) " >&6
61837 else
61840 ac_ext=cpp
61841 ac_cpp='$CXXCPP $CPPFLAGS'
61842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61847 /* end confdefs.h. */
61848 #include <math.h>
61850 main ()
61852 _powf(0, 0);
61854 return 0;
61856 _ACEOF
61857 if ac_fn_cxx_try_compile "$LINENO"; then :
61858 glibcxx_cv_func__powf_use=yes
61859 else
61860 glibcxx_cv_func__powf_use=no
61862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61863 ac_ext=c
61864 ac_cpp='$CPP $CPPFLAGS'
61865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
61874 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
61876 if test x$glibcxx_cv_func__powf_use = x"yes"; then
61877 for ac_func in _powf
61878 do :
61879 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
61880 if test "x$ac_cv_func__powf" = x""yes; then :
61881 cat >>confdefs.h <<_ACEOF
61882 #define HAVE__POWF 1
61883 _ACEOF
61886 done
61895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
61896 $as_echo_n "checking for sqrtf declaration... " >&6; }
61897 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
61898 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
61899 $as_echo_n "(cached) " >&6
61900 else
61903 ac_ext=cpp
61904 ac_cpp='$CXXCPP $CPPFLAGS'
61905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61910 /* end confdefs.h. */
61911 #include <math.h>
61912 #ifdef HAVE_IEEEFP_H
61913 #include <ieeefp.h>
61914 #endif
61917 main ()
61919 sqrtf(0);
61921 return 0;
61923 _ACEOF
61924 if ac_fn_cxx_try_compile "$LINENO"; then :
61925 glibcxx_cv_func_sqrtf_use=yes
61926 else
61927 glibcxx_cv_func_sqrtf_use=no
61929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61930 ac_ext=c
61931 ac_cpp='$CPP $CPPFLAGS'
61932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
61941 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
61943 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
61944 for ac_func in sqrtf
61945 do :
61946 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
61947 if test "x$ac_cv_func_sqrtf" = x""yes; then :
61948 cat >>confdefs.h <<_ACEOF
61949 #define HAVE_SQRTF 1
61950 _ACEOF
61953 done
61955 else
61957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
61958 $as_echo_n "checking for _sqrtf declaration... " >&6; }
61959 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
61960 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
61961 $as_echo_n "(cached) " >&6
61962 else
61965 ac_ext=cpp
61966 ac_cpp='$CXXCPP $CPPFLAGS'
61967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61972 /* end confdefs.h. */
61973 #include <math.h>
61974 #ifdef HAVE_IEEEFP_H
61975 #include <ieeefp.h>
61976 #endif
61979 main ()
61981 _sqrtf(0);
61983 return 0;
61985 _ACEOF
61986 if ac_fn_cxx_try_compile "$LINENO"; then :
61987 glibcxx_cv_func__sqrtf_use=yes
61988 else
61989 glibcxx_cv_func__sqrtf_use=no
61991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61992 ac_ext=c
61993 ac_cpp='$CPP $CPPFLAGS'
61994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
62003 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
62005 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
62006 for ac_func in _sqrtf
62007 do :
62008 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
62009 if test "x$ac_cv_func__sqrtf" = x""yes; then :
62010 cat >>confdefs.h <<_ACEOF
62011 #define HAVE__SQRTF 1
62012 _ACEOF
62015 done
62024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
62025 $as_echo_n "checking for sincosf declaration... " >&6; }
62026 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
62027 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
62028 $as_echo_n "(cached) " >&6
62029 else
62032 ac_ext=cpp
62033 ac_cpp='$CXXCPP $CPPFLAGS'
62034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62039 /* end confdefs.h. */
62040 #include <math.h>
62042 main ()
62044 sincosf(0, 0, 0);
62046 return 0;
62048 _ACEOF
62049 if ac_fn_cxx_try_compile "$LINENO"; then :
62050 glibcxx_cv_func_sincosf_use=yes
62051 else
62052 glibcxx_cv_func_sincosf_use=no
62054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62055 ac_ext=c
62056 ac_cpp='$CPP $CPPFLAGS'
62057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
62066 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
62068 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
62069 for ac_func in sincosf
62070 do :
62071 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
62072 if test "x$ac_cv_func_sincosf" = x""yes; then :
62073 cat >>confdefs.h <<_ACEOF
62074 #define HAVE_SINCOSF 1
62075 _ACEOF
62078 done
62080 else
62082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
62083 $as_echo_n "checking for _sincosf declaration... " >&6; }
62084 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
62085 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
62086 $as_echo_n "(cached) " >&6
62087 else
62090 ac_ext=cpp
62091 ac_cpp='$CXXCPP $CPPFLAGS'
62092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62097 /* end confdefs.h. */
62098 #include <math.h>
62100 main ()
62102 _sincosf(0, 0, 0);
62104 return 0;
62106 _ACEOF
62107 if ac_fn_cxx_try_compile "$LINENO"; then :
62108 glibcxx_cv_func__sincosf_use=yes
62109 else
62110 glibcxx_cv_func__sincosf_use=no
62112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62113 ac_ext=c
62114 ac_cpp='$CPP $CPPFLAGS'
62115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
62124 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
62126 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
62127 for ac_func in _sincosf
62128 do :
62129 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
62130 if test "x$ac_cv_func__sincosf" = x""yes; then :
62131 cat >>confdefs.h <<_ACEOF
62132 #define HAVE__SINCOSF 1
62133 _ACEOF
62136 done
62145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
62146 $as_echo_n "checking for finitef declaration... " >&6; }
62147 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
62148 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
62149 $as_echo_n "(cached) " >&6
62150 else
62153 ac_ext=cpp
62154 ac_cpp='$CXXCPP $CPPFLAGS'
62155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62160 /* end confdefs.h. */
62161 #include <math.h>
62162 #ifdef HAVE_IEEEFP_H
62163 #include <ieeefp.h>
62164 #endif
62167 main ()
62169 finitef(0);
62171 return 0;
62173 _ACEOF
62174 if ac_fn_cxx_try_compile "$LINENO"; then :
62175 glibcxx_cv_func_finitef_use=yes
62176 else
62177 glibcxx_cv_func_finitef_use=no
62179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62180 ac_ext=c
62181 ac_cpp='$CPP $CPPFLAGS'
62182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
62191 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
62193 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
62194 for ac_func in finitef
62195 do :
62196 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
62197 if test "x$ac_cv_func_finitef" = x""yes; then :
62198 cat >>confdefs.h <<_ACEOF
62199 #define HAVE_FINITEF 1
62200 _ACEOF
62203 done
62205 else
62207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
62208 $as_echo_n "checking for _finitef declaration... " >&6; }
62209 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
62210 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
62211 $as_echo_n "(cached) " >&6
62212 else
62215 ac_ext=cpp
62216 ac_cpp='$CXXCPP $CPPFLAGS'
62217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62222 /* end confdefs.h. */
62223 #include <math.h>
62224 #ifdef HAVE_IEEEFP_H
62225 #include <ieeefp.h>
62226 #endif
62229 main ()
62231 _finitef(0);
62233 return 0;
62235 _ACEOF
62236 if ac_fn_cxx_try_compile "$LINENO"; then :
62237 glibcxx_cv_func__finitef_use=yes
62238 else
62239 glibcxx_cv_func__finitef_use=no
62241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62242 ac_ext=c
62243 ac_cpp='$CPP $CPPFLAGS'
62244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
62253 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
62255 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
62256 for ac_func in _finitef
62257 do :
62258 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
62259 if test "x$ac_cv_func__finitef" = x""yes; then :
62260 cat >>confdefs.h <<_ACEOF
62261 #define HAVE__FINITEF 1
62262 _ACEOF
62265 done
62274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
62275 $as_echo_n "checking for long double trig functions... " >&6; }
62276 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
62277 $as_echo_n "(cached) " >&6
62278 else
62281 ac_ext=cpp
62282 ac_cpp='$CXXCPP $CPPFLAGS'
62283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62288 /* end confdefs.h. */
62289 #include <math.h>
62291 main ()
62293 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
62295 return 0;
62297 _ACEOF
62298 if ac_fn_cxx_try_compile "$LINENO"; then :
62299 glibcxx_cv_func_long_double_trig_use=yes
62300 else
62301 glibcxx_cv_func_long_double_trig_use=no
62303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62304 ac_ext=c
62305 ac_cpp='$CPP $CPPFLAGS'
62306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
62313 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
62314 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
62315 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
62316 do :
62317 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62318 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62319 eval as_val=\$$as_ac_var
62320 if test "x$as_val" = x""yes; then :
62321 cat >>confdefs.h <<_ACEOF
62322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62323 _ACEOF
62326 done
62328 else
62329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
62330 $as_echo_n "checking for _long double trig functions... " >&6; }
62331 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
62332 $as_echo_n "(cached) " >&6
62333 else
62336 ac_ext=cpp
62337 ac_cpp='$CXXCPP $CPPFLAGS'
62338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62343 /* end confdefs.h. */
62344 #include <math.h>
62346 main ()
62348 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
62350 return 0;
62352 _ACEOF
62353 if ac_fn_cxx_try_compile "$LINENO"; then :
62354 glibcxx_cv_func__long_double_trig_use=yes
62355 else
62356 glibcxx_cv_func__long_double_trig_use=no
62358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62359 ac_ext=c
62360 ac_cpp='$CPP $CPPFLAGS'
62361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
62368 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
62369 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
62370 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
62371 do :
62372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62374 eval as_val=\$$as_ac_var
62375 if test "x$as_val" = x""yes; then :
62376 cat >>confdefs.h <<_ACEOF
62377 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62378 _ACEOF
62381 done
62390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
62391 $as_echo_n "checking for long double round functions... " >&6; }
62392 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
62393 $as_echo_n "(cached) " >&6
62394 else
62397 ac_ext=cpp
62398 ac_cpp='$CXXCPP $CPPFLAGS'
62399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62404 /* end confdefs.h. */
62405 #include <math.h>
62407 main ()
62409 ceill (0); floorl (0);
62411 return 0;
62413 _ACEOF
62414 if ac_fn_cxx_try_compile "$LINENO"; then :
62415 glibcxx_cv_func_long_double_round_use=yes
62416 else
62417 glibcxx_cv_func_long_double_round_use=no
62419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62420 ac_ext=c
62421 ac_cpp='$CPP $CPPFLAGS'
62422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
62429 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
62430 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
62431 for ac_func in ceill floorl
62432 do :
62433 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62434 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62435 eval as_val=\$$as_ac_var
62436 if test "x$as_val" = x""yes; then :
62437 cat >>confdefs.h <<_ACEOF
62438 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62439 _ACEOF
62442 done
62444 else
62445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
62446 $as_echo_n "checking for _long double round functions... " >&6; }
62447 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
62448 $as_echo_n "(cached) " >&6
62449 else
62452 ac_ext=cpp
62453 ac_cpp='$CXXCPP $CPPFLAGS'
62454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62459 /* end confdefs.h. */
62460 #include <math.h>
62462 main ()
62464 _ceill (0); _floorl (0);
62466 return 0;
62468 _ACEOF
62469 if ac_fn_cxx_try_compile "$LINENO"; then :
62470 glibcxx_cv_func__long_double_round_use=yes
62471 else
62472 glibcxx_cv_func__long_double_round_use=no
62474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62475 ac_ext=c
62476 ac_cpp='$CPP $CPPFLAGS'
62477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
62484 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
62485 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
62486 for ac_func in _ceill _floorl
62487 do :
62488 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
62489 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
62490 eval as_val=\$$as_ac_var
62491 if test "x$as_val" = x""yes; then :
62492 cat >>confdefs.h <<_ACEOF
62493 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
62494 _ACEOF
62497 done
62507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
62508 $as_echo_n "checking for isnanl declaration... " >&6; }
62509 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
62510 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
62511 $as_echo_n "(cached) " >&6
62512 else
62515 ac_ext=cpp
62516 ac_cpp='$CXXCPP $CPPFLAGS'
62517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62522 /* end confdefs.h. */
62523 #include <math.h>
62524 #ifdef HAVE_IEEEFP_H
62525 #include <ieeefp.h>
62526 #endif
62529 main ()
62531 isnanl(0);
62533 return 0;
62535 _ACEOF
62536 if ac_fn_cxx_try_compile "$LINENO"; then :
62537 glibcxx_cv_func_isnanl_use=yes
62538 else
62539 glibcxx_cv_func_isnanl_use=no
62541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62542 ac_ext=c
62543 ac_cpp='$CPP $CPPFLAGS'
62544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
62553 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
62555 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
62556 for ac_func in isnanl
62557 do :
62558 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
62559 if test "x$ac_cv_func_isnanl" = x""yes; then :
62560 cat >>confdefs.h <<_ACEOF
62561 #define HAVE_ISNANL 1
62562 _ACEOF
62565 done
62567 else
62569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
62570 $as_echo_n "checking for _isnanl declaration... " >&6; }
62571 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
62572 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
62573 $as_echo_n "(cached) " >&6
62574 else
62577 ac_ext=cpp
62578 ac_cpp='$CXXCPP $CPPFLAGS'
62579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62584 /* end confdefs.h. */
62585 #include <math.h>
62586 #ifdef HAVE_IEEEFP_H
62587 #include <ieeefp.h>
62588 #endif
62591 main ()
62593 _isnanl(0);
62595 return 0;
62597 _ACEOF
62598 if ac_fn_cxx_try_compile "$LINENO"; then :
62599 glibcxx_cv_func__isnanl_use=yes
62600 else
62601 glibcxx_cv_func__isnanl_use=no
62603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62604 ac_ext=c
62605 ac_cpp='$CPP $CPPFLAGS'
62606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
62615 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
62617 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
62618 for ac_func in _isnanl
62619 do :
62620 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
62621 if test "x$ac_cv_func__isnanl" = x""yes; then :
62622 cat >>confdefs.h <<_ACEOF
62623 #define HAVE__ISNANL 1
62624 _ACEOF
62627 done
62636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
62637 $as_echo_n "checking for isinfl declaration... " >&6; }
62638 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
62639 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
62640 $as_echo_n "(cached) " >&6
62641 else
62644 ac_ext=cpp
62645 ac_cpp='$CXXCPP $CPPFLAGS'
62646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62651 /* end confdefs.h. */
62652 #include <math.h>
62653 #ifdef HAVE_IEEEFP_H
62654 #include <ieeefp.h>
62655 #endif
62658 main ()
62660 isinfl(0);
62662 return 0;
62664 _ACEOF
62665 if ac_fn_cxx_try_compile "$LINENO"; then :
62666 glibcxx_cv_func_isinfl_use=yes
62667 else
62668 glibcxx_cv_func_isinfl_use=no
62670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62671 ac_ext=c
62672 ac_cpp='$CPP $CPPFLAGS'
62673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
62682 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
62684 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
62685 for ac_func in isinfl
62686 do :
62687 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
62688 if test "x$ac_cv_func_isinfl" = x""yes; then :
62689 cat >>confdefs.h <<_ACEOF
62690 #define HAVE_ISINFL 1
62691 _ACEOF
62694 done
62696 else
62698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
62699 $as_echo_n "checking for _isinfl declaration... " >&6; }
62700 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
62701 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
62702 $as_echo_n "(cached) " >&6
62703 else
62706 ac_ext=cpp
62707 ac_cpp='$CXXCPP $CPPFLAGS'
62708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62713 /* end confdefs.h. */
62714 #include <math.h>
62715 #ifdef HAVE_IEEEFP_H
62716 #include <ieeefp.h>
62717 #endif
62720 main ()
62722 _isinfl(0);
62724 return 0;
62726 _ACEOF
62727 if ac_fn_cxx_try_compile "$LINENO"; then :
62728 glibcxx_cv_func__isinfl_use=yes
62729 else
62730 glibcxx_cv_func__isinfl_use=no
62732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62733 ac_ext=c
62734 ac_cpp='$CPP $CPPFLAGS'
62735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
62744 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
62746 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
62747 for ac_func in _isinfl
62748 do :
62749 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
62750 if test "x$ac_cv_func__isinfl" = x""yes; then :
62751 cat >>confdefs.h <<_ACEOF
62752 #define HAVE__ISINFL 1
62753 _ACEOF
62756 done
62765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
62766 $as_echo_n "checking for atan2l declaration... " >&6; }
62767 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
62768 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
62769 $as_echo_n "(cached) " >&6
62770 else
62773 ac_ext=cpp
62774 ac_cpp='$CXXCPP $CPPFLAGS'
62775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62780 /* end confdefs.h. */
62781 #include <math.h>
62783 main ()
62785 atan2l(0, 0);
62787 return 0;
62789 _ACEOF
62790 if ac_fn_cxx_try_compile "$LINENO"; then :
62791 glibcxx_cv_func_atan2l_use=yes
62792 else
62793 glibcxx_cv_func_atan2l_use=no
62795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62796 ac_ext=c
62797 ac_cpp='$CPP $CPPFLAGS'
62798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
62807 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
62809 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
62810 for ac_func in atan2l
62811 do :
62812 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
62813 if test "x$ac_cv_func_atan2l" = x""yes; then :
62814 cat >>confdefs.h <<_ACEOF
62815 #define HAVE_ATAN2L 1
62816 _ACEOF
62819 done
62821 else
62823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
62824 $as_echo_n "checking for _atan2l declaration... " >&6; }
62825 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
62826 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
62827 $as_echo_n "(cached) " >&6
62828 else
62831 ac_ext=cpp
62832 ac_cpp='$CXXCPP $CPPFLAGS'
62833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62838 /* end confdefs.h. */
62839 #include <math.h>
62841 main ()
62843 _atan2l(0, 0);
62845 return 0;
62847 _ACEOF
62848 if ac_fn_cxx_try_compile "$LINENO"; then :
62849 glibcxx_cv_func__atan2l_use=yes
62850 else
62851 glibcxx_cv_func__atan2l_use=no
62853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62854 ac_ext=c
62855 ac_cpp='$CPP $CPPFLAGS'
62856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
62865 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
62867 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
62868 for ac_func in _atan2l
62869 do :
62870 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
62871 if test "x$ac_cv_func__atan2l" = x""yes; then :
62872 cat >>confdefs.h <<_ACEOF
62873 #define HAVE__ATAN2L 1
62874 _ACEOF
62877 done
62886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
62887 $as_echo_n "checking for expl declaration... " >&6; }
62888 if test x${glibcxx_cv_func_expl_use+set} != xset; then
62889 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
62890 $as_echo_n "(cached) " >&6
62891 else
62894 ac_ext=cpp
62895 ac_cpp='$CXXCPP $CPPFLAGS'
62896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62901 /* end confdefs.h. */
62902 #include <math.h>
62903 #ifdef HAVE_IEEEFP_H
62904 #include <ieeefp.h>
62905 #endif
62908 main ()
62910 expl(0);
62912 return 0;
62914 _ACEOF
62915 if ac_fn_cxx_try_compile "$LINENO"; then :
62916 glibcxx_cv_func_expl_use=yes
62917 else
62918 glibcxx_cv_func_expl_use=no
62920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62921 ac_ext=c
62922 ac_cpp='$CPP $CPPFLAGS'
62923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
62932 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
62934 if test x$glibcxx_cv_func_expl_use = x"yes"; then
62935 for ac_func in expl
62936 do :
62937 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
62938 if test "x$ac_cv_func_expl" = x""yes; then :
62939 cat >>confdefs.h <<_ACEOF
62940 #define HAVE_EXPL 1
62941 _ACEOF
62944 done
62946 else
62948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
62949 $as_echo_n "checking for _expl declaration... " >&6; }
62950 if test x${glibcxx_cv_func__expl_use+set} != xset; then
62951 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
62952 $as_echo_n "(cached) " >&6
62953 else
62956 ac_ext=cpp
62957 ac_cpp='$CXXCPP $CPPFLAGS'
62958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62963 /* end confdefs.h. */
62964 #include <math.h>
62965 #ifdef HAVE_IEEEFP_H
62966 #include <ieeefp.h>
62967 #endif
62970 main ()
62972 _expl(0);
62974 return 0;
62976 _ACEOF
62977 if ac_fn_cxx_try_compile "$LINENO"; then :
62978 glibcxx_cv_func__expl_use=yes
62979 else
62980 glibcxx_cv_func__expl_use=no
62982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62983 ac_ext=c
62984 ac_cpp='$CPP $CPPFLAGS'
62985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
62994 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
62996 if test x$glibcxx_cv_func__expl_use = x"yes"; then
62997 for ac_func in _expl
62998 do :
62999 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
63000 if test "x$ac_cv_func__expl" = x""yes; then :
63001 cat >>confdefs.h <<_ACEOF
63002 #define HAVE__EXPL 1
63003 _ACEOF
63006 done
63015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
63016 $as_echo_n "checking for fabsl declaration... " >&6; }
63017 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
63018 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
63019 $as_echo_n "(cached) " >&6
63020 else
63023 ac_ext=cpp
63024 ac_cpp='$CXXCPP $CPPFLAGS'
63025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63030 /* end confdefs.h. */
63031 #include <math.h>
63032 #ifdef HAVE_IEEEFP_H
63033 #include <ieeefp.h>
63034 #endif
63037 main ()
63039 fabsl(0);
63041 return 0;
63043 _ACEOF
63044 if ac_fn_cxx_try_compile "$LINENO"; then :
63045 glibcxx_cv_func_fabsl_use=yes
63046 else
63047 glibcxx_cv_func_fabsl_use=no
63049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63050 ac_ext=c
63051 ac_cpp='$CPP $CPPFLAGS'
63052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
63061 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
63063 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
63064 for ac_func in fabsl
63065 do :
63066 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
63067 if test "x$ac_cv_func_fabsl" = x""yes; then :
63068 cat >>confdefs.h <<_ACEOF
63069 #define HAVE_FABSL 1
63070 _ACEOF
63073 done
63075 else
63077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
63078 $as_echo_n "checking for _fabsl declaration... " >&6; }
63079 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
63080 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
63081 $as_echo_n "(cached) " >&6
63082 else
63085 ac_ext=cpp
63086 ac_cpp='$CXXCPP $CPPFLAGS'
63087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63092 /* end confdefs.h. */
63093 #include <math.h>
63094 #ifdef HAVE_IEEEFP_H
63095 #include <ieeefp.h>
63096 #endif
63099 main ()
63101 _fabsl(0);
63103 return 0;
63105 _ACEOF
63106 if ac_fn_cxx_try_compile "$LINENO"; then :
63107 glibcxx_cv_func__fabsl_use=yes
63108 else
63109 glibcxx_cv_func__fabsl_use=no
63111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63112 ac_ext=c
63113 ac_cpp='$CPP $CPPFLAGS'
63114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
63123 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
63125 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
63126 for ac_func in _fabsl
63127 do :
63128 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
63129 if test "x$ac_cv_func__fabsl" = x""yes; then :
63130 cat >>confdefs.h <<_ACEOF
63131 #define HAVE__FABSL 1
63132 _ACEOF
63135 done
63144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
63145 $as_echo_n "checking for fmodl declaration... " >&6; }
63146 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
63147 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
63148 $as_echo_n "(cached) " >&6
63149 else
63152 ac_ext=cpp
63153 ac_cpp='$CXXCPP $CPPFLAGS'
63154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63159 /* end confdefs.h. */
63160 #include <math.h>
63162 main ()
63164 fmodl(0, 0);
63166 return 0;
63168 _ACEOF
63169 if ac_fn_cxx_try_compile "$LINENO"; then :
63170 glibcxx_cv_func_fmodl_use=yes
63171 else
63172 glibcxx_cv_func_fmodl_use=no
63174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63175 ac_ext=c
63176 ac_cpp='$CPP $CPPFLAGS'
63177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
63186 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
63188 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
63189 for ac_func in fmodl
63190 do :
63191 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
63192 if test "x$ac_cv_func_fmodl" = x""yes; then :
63193 cat >>confdefs.h <<_ACEOF
63194 #define HAVE_FMODL 1
63195 _ACEOF
63198 done
63200 else
63202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
63203 $as_echo_n "checking for _fmodl declaration... " >&6; }
63204 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
63205 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
63206 $as_echo_n "(cached) " >&6
63207 else
63210 ac_ext=cpp
63211 ac_cpp='$CXXCPP $CPPFLAGS'
63212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63217 /* end confdefs.h. */
63218 #include <math.h>
63220 main ()
63222 _fmodl(0, 0);
63224 return 0;
63226 _ACEOF
63227 if ac_fn_cxx_try_compile "$LINENO"; then :
63228 glibcxx_cv_func__fmodl_use=yes
63229 else
63230 glibcxx_cv_func__fmodl_use=no
63232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63233 ac_ext=c
63234 ac_cpp='$CPP $CPPFLAGS'
63235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
63244 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
63246 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
63247 for ac_func in _fmodl
63248 do :
63249 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
63250 if test "x$ac_cv_func__fmodl" = x""yes; then :
63251 cat >>confdefs.h <<_ACEOF
63252 #define HAVE__FMODL 1
63253 _ACEOF
63256 done
63265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
63266 $as_echo_n "checking for frexpl declaration... " >&6; }
63267 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
63268 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
63269 $as_echo_n "(cached) " >&6
63270 else
63273 ac_ext=cpp
63274 ac_cpp='$CXXCPP $CPPFLAGS'
63275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63280 /* end confdefs.h. */
63281 #include <math.h>
63283 main ()
63285 frexpl(0, 0);
63287 return 0;
63289 _ACEOF
63290 if ac_fn_cxx_try_compile "$LINENO"; then :
63291 glibcxx_cv_func_frexpl_use=yes
63292 else
63293 glibcxx_cv_func_frexpl_use=no
63295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63296 ac_ext=c
63297 ac_cpp='$CPP $CPPFLAGS'
63298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
63307 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
63309 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
63310 for ac_func in frexpl
63311 do :
63312 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
63313 if test "x$ac_cv_func_frexpl" = x""yes; then :
63314 cat >>confdefs.h <<_ACEOF
63315 #define HAVE_FREXPL 1
63316 _ACEOF
63319 done
63321 else
63323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
63324 $as_echo_n "checking for _frexpl declaration... " >&6; }
63325 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
63326 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
63327 $as_echo_n "(cached) " >&6
63328 else
63331 ac_ext=cpp
63332 ac_cpp='$CXXCPP $CPPFLAGS'
63333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63338 /* end confdefs.h. */
63339 #include <math.h>
63341 main ()
63343 _frexpl(0, 0);
63345 return 0;
63347 _ACEOF
63348 if ac_fn_cxx_try_compile "$LINENO"; then :
63349 glibcxx_cv_func__frexpl_use=yes
63350 else
63351 glibcxx_cv_func__frexpl_use=no
63353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63354 ac_ext=c
63355 ac_cpp='$CPP $CPPFLAGS'
63356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
63365 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
63367 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
63368 for ac_func in _frexpl
63369 do :
63370 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
63371 if test "x$ac_cv_func__frexpl" = x""yes; then :
63372 cat >>confdefs.h <<_ACEOF
63373 #define HAVE__FREXPL 1
63374 _ACEOF
63377 done
63386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
63387 $as_echo_n "checking for hypotl declaration... " >&6; }
63388 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
63389 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
63390 $as_echo_n "(cached) " >&6
63391 else
63394 ac_ext=cpp
63395 ac_cpp='$CXXCPP $CPPFLAGS'
63396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63401 /* end confdefs.h. */
63402 #include <math.h>
63404 main ()
63406 hypotl(0, 0);
63408 return 0;
63410 _ACEOF
63411 if ac_fn_cxx_try_compile "$LINENO"; then :
63412 glibcxx_cv_func_hypotl_use=yes
63413 else
63414 glibcxx_cv_func_hypotl_use=no
63416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63417 ac_ext=c
63418 ac_cpp='$CPP $CPPFLAGS'
63419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
63428 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
63430 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
63431 for ac_func in hypotl
63432 do :
63433 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
63434 if test "x$ac_cv_func_hypotl" = x""yes; then :
63435 cat >>confdefs.h <<_ACEOF
63436 #define HAVE_HYPOTL 1
63437 _ACEOF
63440 done
63442 else
63444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
63445 $as_echo_n "checking for _hypotl declaration... " >&6; }
63446 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
63447 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
63448 $as_echo_n "(cached) " >&6
63449 else
63452 ac_ext=cpp
63453 ac_cpp='$CXXCPP $CPPFLAGS'
63454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63459 /* end confdefs.h. */
63460 #include <math.h>
63462 main ()
63464 _hypotl(0, 0);
63466 return 0;
63468 _ACEOF
63469 if ac_fn_cxx_try_compile "$LINENO"; then :
63470 glibcxx_cv_func__hypotl_use=yes
63471 else
63472 glibcxx_cv_func__hypotl_use=no
63474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63475 ac_ext=c
63476 ac_cpp='$CPP $CPPFLAGS'
63477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
63486 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
63488 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
63489 for ac_func in _hypotl
63490 do :
63491 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
63492 if test "x$ac_cv_func__hypotl" = x""yes; then :
63493 cat >>confdefs.h <<_ACEOF
63494 #define HAVE__HYPOTL 1
63495 _ACEOF
63498 done
63507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
63508 $as_echo_n "checking for ldexpl declaration... " >&6; }
63509 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
63510 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
63511 $as_echo_n "(cached) " >&6
63512 else
63515 ac_ext=cpp
63516 ac_cpp='$CXXCPP $CPPFLAGS'
63517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63522 /* end confdefs.h. */
63523 #include <math.h>
63525 main ()
63527 ldexpl(0, 0);
63529 return 0;
63531 _ACEOF
63532 if ac_fn_cxx_try_compile "$LINENO"; then :
63533 glibcxx_cv_func_ldexpl_use=yes
63534 else
63535 glibcxx_cv_func_ldexpl_use=no
63537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63538 ac_ext=c
63539 ac_cpp='$CPP $CPPFLAGS'
63540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
63549 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
63551 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
63552 for ac_func in ldexpl
63553 do :
63554 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
63555 if test "x$ac_cv_func_ldexpl" = x""yes; then :
63556 cat >>confdefs.h <<_ACEOF
63557 #define HAVE_LDEXPL 1
63558 _ACEOF
63561 done
63563 else
63565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
63566 $as_echo_n "checking for _ldexpl declaration... " >&6; }
63567 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
63568 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
63569 $as_echo_n "(cached) " >&6
63570 else
63573 ac_ext=cpp
63574 ac_cpp='$CXXCPP $CPPFLAGS'
63575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63580 /* end confdefs.h. */
63581 #include <math.h>
63583 main ()
63585 _ldexpl(0, 0);
63587 return 0;
63589 _ACEOF
63590 if ac_fn_cxx_try_compile "$LINENO"; then :
63591 glibcxx_cv_func__ldexpl_use=yes
63592 else
63593 glibcxx_cv_func__ldexpl_use=no
63595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63596 ac_ext=c
63597 ac_cpp='$CPP $CPPFLAGS'
63598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
63607 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
63609 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
63610 for ac_func in _ldexpl
63611 do :
63612 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
63613 if test "x$ac_cv_func__ldexpl" = x""yes; then :
63614 cat >>confdefs.h <<_ACEOF
63615 #define HAVE__LDEXPL 1
63616 _ACEOF
63619 done
63628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
63629 $as_echo_n "checking for logl declaration... " >&6; }
63630 if test x${glibcxx_cv_func_logl_use+set} != xset; then
63631 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
63632 $as_echo_n "(cached) " >&6
63633 else
63636 ac_ext=cpp
63637 ac_cpp='$CXXCPP $CPPFLAGS'
63638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63643 /* end confdefs.h. */
63644 #include <math.h>
63645 #ifdef HAVE_IEEEFP_H
63646 #include <ieeefp.h>
63647 #endif
63650 main ()
63652 logl(0);
63654 return 0;
63656 _ACEOF
63657 if ac_fn_cxx_try_compile "$LINENO"; then :
63658 glibcxx_cv_func_logl_use=yes
63659 else
63660 glibcxx_cv_func_logl_use=no
63662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63663 ac_ext=c
63664 ac_cpp='$CPP $CPPFLAGS'
63665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
63674 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
63676 if test x$glibcxx_cv_func_logl_use = x"yes"; then
63677 for ac_func in logl
63678 do :
63679 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
63680 if test "x$ac_cv_func_logl" = x""yes; then :
63681 cat >>confdefs.h <<_ACEOF
63682 #define HAVE_LOGL 1
63683 _ACEOF
63686 done
63688 else
63690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
63691 $as_echo_n "checking for _logl declaration... " >&6; }
63692 if test x${glibcxx_cv_func__logl_use+set} != xset; then
63693 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
63694 $as_echo_n "(cached) " >&6
63695 else
63698 ac_ext=cpp
63699 ac_cpp='$CXXCPP $CPPFLAGS'
63700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63705 /* end confdefs.h. */
63706 #include <math.h>
63707 #ifdef HAVE_IEEEFP_H
63708 #include <ieeefp.h>
63709 #endif
63712 main ()
63714 _logl(0);
63716 return 0;
63718 _ACEOF
63719 if ac_fn_cxx_try_compile "$LINENO"; then :
63720 glibcxx_cv_func__logl_use=yes
63721 else
63722 glibcxx_cv_func__logl_use=no
63724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63725 ac_ext=c
63726 ac_cpp='$CPP $CPPFLAGS'
63727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
63736 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
63738 if test x$glibcxx_cv_func__logl_use = x"yes"; then
63739 for ac_func in _logl
63740 do :
63741 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
63742 if test "x$ac_cv_func__logl" = x""yes; then :
63743 cat >>confdefs.h <<_ACEOF
63744 #define HAVE__LOGL 1
63745 _ACEOF
63748 done
63757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
63758 $as_echo_n "checking for log10l declaration... " >&6; }
63759 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
63760 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
63761 $as_echo_n "(cached) " >&6
63762 else
63765 ac_ext=cpp
63766 ac_cpp='$CXXCPP $CPPFLAGS'
63767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63772 /* end confdefs.h. */
63773 #include <math.h>
63774 #ifdef HAVE_IEEEFP_H
63775 #include <ieeefp.h>
63776 #endif
63779 main ()
63781 log10l(0);
63783 return 0;
63785 _ACEOF
63786 if ac_fn_cxx_try_compile "$LINENO"; then :
63787 glibcxx_cv_func_log10l_use=yes
63788 else
63789 glibcxx_cv_func_log10l_use=no
63791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63792 ac_ext=c
63793 ac_cpp='$CPP $CPPFLAGS'
63794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
63803 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
63805 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
63806 for ac_func in log10l
63807 do :
63808 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
63809 if test "x$ac_cv_func_log10l" = x""yes; then :
63810 cat >>confdefs.h <<_ACEOF
63811 #define HAVE_LOG10L 1
63812 _ACEOF
63815 done
63817 else
63819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
63820 $as_echo_n "checking for _log10l declaration... " >&6; }
63821 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
63822 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
63823 $as_echo_n "(cached) " >&6
63824 else
63827 ac_ext=cpp
63828 ac_cpp='$CXXCPP $CPPFLAGS'
63829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63834 /* end confdefs.h. */
63835 #include <math.h>
63836 #ifdef HAVE_IEEEFP_H
63837 #include <ieeefp.h>
63838 #endif
63841 main ()
63843 _log10l(0);
63845 return 0;
63847 _ACEOF
63848 if ac_fn_cxx_try_compile "$LINENO"; then :
63849 glibcxx_cv_func__log10l_use=yes
63850 else
63851 glibcxx_cv_func__log10l_use=no
63853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63854 ac_ext=c
63855 ac_cpp='$CPP $CPPFLAGS'
63856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
63865 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
63867 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
63868 for ac_func in _log10l
63869 do :
63870 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
63871 if test "x$ac_cv_func__log10l" = x""yes; then :
63872 cat >>confdefs.h <<_ACEOF
63873 #define HAVE__LOG10L 1
63874 _ACEOF
63877 done
63886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
63887 $as_echo_n "checking for modfl declaration... " >&6; }
63888 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
63889 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
63890 $as_echo_n "(cached) " >&6
63891 else
63894 ac_ext=cpp
63895 ac_cpp='$CXXCPP $CPPFLAGS'
63896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63901 /* end confdefs.h. */
63902 #include <math.h>
63904 main ()
63906 modfl(0, 0);
63908 return 0;
63910 _ACEOF
63911 if ac_fn_cxx_try_compile "$LINENO"; then :
63912 glibcxx_cv_func_modfl_use=yes
63913 else
63914 glibcxx_cv_func_modfl_use=no
63916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63917 ac_ext=c
63918 ac_cpp='$CPP $CPPFLAGS'
63919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
63928 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
63930 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
63931 for ac_func in modfl
63932 do :
63933 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
63934 if test "x$ac_cv_func_modfl" = x""yes; then :
63935 cat >>confdefs.h <<_ACEOF
63936 #define HAVE_MODFL 1
63937 _ACEOF
63940 done
63942 else
63944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
63945 $as_echo_n "checking for _modfl declaration... " >&6; }
63946 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
63947 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
63948 $as_echo_n "(cached) " >&6
63949 else
63952 ac_ext=cpp
63953 ac_cpp='$CXXCPP $CPPFLAGS'
63954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63959 /* end confdefs.h. */
63960 #include <math.h>
63962 main ()
63964 _modfl(0, 0);
63966 return 0;
63968 _ACEOF
63969 if ac_fn_cxx_try_compile "$LINENO"; then :
63970 glibcxx_cv_func__modfl_use=yes
63971 else
63972 glibcxx_cv_func__modfl_use=no
63974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63975 ac_ext=c
63976 ac_cpp='$CPP $CPPFLAGS'
63977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
63986 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
63988 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
63989 for ac_func in _modfl
63990 do :
63991 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
63992 if test "x$ac_cv_func__modfl" = x""yes; then :
63993 cat >>confdefs.h <<_ACEOF
63994 #define HAVE__MODFL 1
63995 _ACEOF
63998 done
64007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
64008 $as_echo_n "checking for powl declaration... " >&6; }
64009 if test x${glibcxx_cv_func_powl_use+set} != xset; then
64010 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
64011 $as_echo_n "(cached) " >&6
64012 else
64015 ac_ext=cpp
64016 ac_cpp='$CXXCPP $CPPFLAGS'
64017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64022 /* end confdefs.h. */
64023 #include <math.h>
64025 main ()
64027 powl(0, 0);
64029 return 0;
64031 _ACEOF
64032 if ac_fn_cxx_try_compile "$LINENO"; then :
64033 glibcxx_cv_func_powl_use=yes
64034 else
64035 glibcxx_cv_func_powl_use=no
64037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64038 ac_ext=c
64039 ac_cpp='$CPP $CPPFLAGS'
64040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
64049 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
64051 if test x$glibcxx_cv_func_powl_use = x"yes"; then
64052 for ac_func in powl
64053 do :
64054 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
64055 if test "x$ac_cv_func_powl" = x""yes; then :
64056 cat >>confdefs.h <<_ACEOF
64057 #define HAVE_POWL 1
64058 _ACEOF
64061 done
64063 else
64065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
64066 $as_echo_n "checking for _powl declaration... " >&6; }
64067 if test x${glibcxx_cv_func__powl_use+set} != xset; then
64068 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
64069 $as_echo_n "(cached) " >&6
64070 else
64073 ac_ext=cpp
64074 ac_cpp='$CXXCPP $CPPFLAGS'
64075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64080 /* end confdefs.h. */
64081 #include <math.h>
64083 main ()
64085 _powl(0, 0);
64087 return 0;
64089 _ACEOF
64090 if ac_fn_cxx_try_compile "$LINENO"; then :
64091 glibcxx_cv_func__powl_use=yes
64092 else
64093 glibcxx_cv_func__powl_use=no
64095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64096 ac_ext=c
64097 ac_cpp='$CPP $CPPFLAGS'
64098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
64107 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
64109 if test x$glibcxx_cv_func__powl_use = x"yes"; then
64110 for ac_func in _powl
64111 do :
64112 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
64113 if test "x$ac_cv_func__powl" = x""yes; then :
64114 cat >>confdefs.h <<_ACEOF
64115 #define HAVE__POWL 1
64116 _ACEOF
64119 done
64128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
64129 $as_echo_n "checking for sqrtl declaration... " >&6; }
64130 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
64131 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
64132 $as_echo_n "(cached) " >&6
64133 else
64136 ac_ext=cpp
64137 ac_cpp='$CXXCPP $CPPFLAGS'
64138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64143 /* end confdefs.h. */
64144 #include <math.h>
64145 #ifdef HAVE_IEEEFP_H
64146 #include <ieeefp.h>
64147 #endif
64150 main ()
64152 sqrtl(0);
64154 return 0;
64156 _ACEOF
64157 if ac_fn_cxx_try_compile "$LINENO"; then :
64158 glibcxx_cv_func_sqrtl_use=yes
64159 else
64160 glibcxx_cv_func_sqrtl_use=no
64162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64163 ac_ext=c
64164 ac_cpp='$CPP $CPPFLAGS'
64165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
64174 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
64176 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
64177 for ac_func in sqrtl
64178 do :
64179 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
64180 if test "x$ac_cv_func_sqrtl" = x""yes; then :
64181 cat >>confdefs.h <<_ACEOF
64182 #define HAVE_SQRTL 1
64183 _ACEOF
64186 done
64188 else
64190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
64191 $as_echo_n "checking for _sqrtl declaration... " >&6; }
64192 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
64193 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
64194 $as_echo_n "(cached) " >&6
64195 else
64198 ac_ext=cpp
64199 ac_cpp='$CXXCPP $CPPFLAGS'
64200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64205 /* end confdefs.h. */
64206 #include <math.h>
64207 #ifdef HAVE_IEEEFP_H
64208 #include <ieeefp.h>
64209 #endif
64212 main ()
64214 _sqrtl(0);
64216 return 0;
64218 _ACEOF
64219 if ac_fn_cxx_try_compile "$LINENO"; then :
64220 glibcxx_cv_func__sqrtl_use=yes
64221 else
64222 glibcxx_cv_func__sqrtl_use=no
64224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64225 ac_ext=c
64226 ac_cpp='$CPP $CPPFLAGS'
64227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
64236 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
64238 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
64239 for ac_func in _sqrtl
64240 do :
64241 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
64242 if test "x$ac_cv_func__sqrtl" = x""yes; then :
64243 cat >>confdefs.h <<_ACEOF
64244 #define HAVE__SQRTL 1
64245 _ACEOF
64248 done
64257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
64258 $as_echo_n "checking for sincosl declaration... " >&6; }
64259 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
64260 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
64261 $as_echo_n "(cached) " >&6
64262 else
64265 ac_ext=cpp
64266 ac_cpp='$CXXCPP $CPPFLAGS'
64267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64272 /* end confdefs.h. */
64273 #include <math.h>
64275 main ()
64277 sincosl(0, 0, 0);
64279 return 0;
64281 _ACEOF
64282 if ac_fn_cxx_try_compile "$LINENO"; then :
64283 glibcxx_cv_func_sincosl_use=yes
64284 else
64285 glibcxx_cv_func_sincosl_use=no
64287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64288 ac_ext=c
64289 ac_cpp='$CPP $CPPFLAGS'
64290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
64299 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
64301 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
64302 for ac_func in sincosl
64303 do :
64304 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
64305 if test "x$ac_cv_func_sincosl" = x""yes; then :
64306 cat >>confdefs.h <<_ACEOF
64307 #define HAVE_SINCOSL 1
64308 _ACEOF
64311 done
64313 else
64315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
64316 $as_echo_n "checking for _sincosl declaration... " >&6; }
64317 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
64318 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
64319 $as_echo_n "(cached) " >&6
64320 else
64323 ac_ext=cpp
64324 ac_cpp='$CXXCPP $CPPFLAGS'
64325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64330 /* end confdefs.h. */
64331 #include <math.h>
64333 main ()
64335 _sincosl(0, 0, 0);
64337 return 0;
64339 _ACEOF
64340 if ac_fn_cxx_try_compile "$LINENO"; then :
64341 glibcxx_cv_func__sincosl_use=yes
64342 else
64343 glibcxx_cv_func__sincosl_use=no
64345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64346 ac_ext=c
64347 ac_cpp='$CPP $CPPFLAGS'
64348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
64357 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
64359 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
64360 for ac_func in _sincosl
64361 do :
64362 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
64363 if test "x$ac_cv_func__sincosl" = x""yes; then :
64364 cat >>confdefs.h <<_ACEOF
64365 #define HAVE__SINCOSL 1
64366 _ACEOF
64369 done
64378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
64379 $as_echo_n "checking for finitel declaration... " >&6; }
64380 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
64381 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
64382 $as_echo_n "(cached) " >&6
64383 else
64386 ac_ext=cpp
64387 ac_cpp='$CXXCPP $CPPFLAGS'
64388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64393 /* end confdefs.h. */
64394 #include <math.h>
64395 #ifdef HAVE_IEEEFP_H
64396 #include <ieeefp.h>
64397 #endif
64400 main ()
64402 finitel(0);
64404 return 0;
64406 _ACEOF
64407 if ac_fn_cxx_try_compile "$LINENO"; then :
64408 glibcxx_cv_func_finitel_use=yes
64409 else
64410 glibcxx_cv_func_finitel_use=no
64412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64413 ac_ext=c
64414 ac_cpp='$CPP $CPPFLAGS'
64415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
64424 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
64426 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
64427 for ac_func in finitel
64428 do :
64429 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
64430 if test "x$ac_cv_func_finitel" = x""yes; then :
64431 cat >>confdefs.h <<_ACEOF
64432 #define HAVE_FINITEL 1
64433 _ACEOF
64436 done
64438 else
64440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
64441 $as_echo_n "checking for _finitel declaration... " >&6; }
64442 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
64443 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
64444 $as_echo_n "(cached) " >&6
64445 else
64448 ac_ext=cpp
64449 ac_cpp='$CXXCPP $CPPFLAGS'
64450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64455 /* end confdefs.h. */
64456 #include <math.h>
64457 #ifdef HAVE_IEEEFP_H
64458 #include <ieeefp.h>
64459 #endif
64462 main ()
64464 _finitel(0);
64466 return 0;
64468 _ACEOF
64469 if ac_fn_cxx_try_compile "$LINENO"; then :
64470 glibcxx_cv_func__finitel_use=yes
64471 else
64472 glibcxx_cv_func__finitel_use=no
64474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64475 ac_ext=c
64476 ac_cpp='$CPP $CPPFLAGS'
64477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
64486 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
64488 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
64489 for ac_func in _finitel
64490 do :
64491 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
64492 if test "x$ac_cv_func__finitel" = x""yes; then :
64493 cat >>confdefs.h <<_ACEOF
64494 #define HAVE__FINITEL 1
64495 _ACEOF
64498 done
64506 LIBS="$ac_save_LIBS"
64507 CXXFLAGS="$ac_save_CXXFLAGS"
64510 ac_test_CXXFLAGS="${CXXFLAGS+set}"
64511 ac_save_CXXFLAGS="$CXXFLAGS"
64512 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
64515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
64516 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
64517 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
64518 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
64519 $as_echo_n "(cached) " >&6
64520 else
64523 ac_ext=cpp
64524 ac_cpp='$CXXCPP $CPPFLAGS'
64525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64530 /* end confdefs.h. */
64531 #include <stdlib.h>
64533 main ()
64535 at_quick_exit(0);
64537 return 0;
64539 _ACEOF
64540 if ac_fn_cxx_try_compile "$LINENO"; then :
64541 glibcxx_cv_func_at_quick_exit_use=yes
64542 else
64543 glibcxx_cv_func_at_quick_exit_use=no
64545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64546 ac_ext=c
64547 ac_cpp='$CPP $CPPFLAGS'
64548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
64557 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
64558 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
64559 for ac_func in at_quick_exit
64560 do :
64561 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
64562 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
64563 cat >>confdefs.h <<_ACEOF
64564 #define HAVE_AT_QUICK_EXIT 1
64565 _ACEOF
64568 done
64573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
64574 $as_echo_n "checking for quick_exit declaration... " >&6; }
64575 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
64576 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
64577 $as_echo_n "(cached) " >&6
64578 else
64581 ac_ext=cpp
64582 ac_cpp='$CXXCPP $CPPFLAGS'
64583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64588 /* end confdefs.h. */
64589 #include <stdlib.h>
64591 main ()
64593 quick_exit(0);
64595 return 0;
64597 _ACEOF
64598 if ac_fn_cxx_try_compile "$LINENO"; then :
64599 glibcxx_cv_func_quick_exit_use=yes
64600 else
64601 glibcxx_cv_func_quick_exit_use=no
64603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64604 ac_ext=c
64605 ac_cpp='$CPP $CPPFLAGS'
64606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
64615 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
64616 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
64617 for ac_func in quick_exit
64618 do :
64619 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
64620 if test "x$ac_cv_func_quick_exit" = x""yes; then :
64621 cat >>confdefs.h <<_ACEOF
64622 #define HAVE_QUICK_EXIT 1
64623 _ACEOF
64626 done
64631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
64632 $as_echo_n "checking for strtold declaration... " >&6; }
64633 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
64634 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
64635 $as_echo_n "(cached) " >&6
64636 else
64639 ac_ext=cpp
64640 ac_cpp='$CXXCPP $CPPFLAGS'
64641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64646 /* end confdefs.h. */
64647 #include <stdlib.h>
64649 main ()
64651 strtold(0, 0);
64653 return 0;
64655 _ACEOF
64656 if ac_fn_cxx_try_compile "$LINENO"; then :
64657 glibcxx_cv_func_strtold_use=yes
64658 else
64659 glibcxx_cv_func_strtold_use=no
64661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64662 ac_ext=c
64663 ac_cpp='$CPP $CPPFLAGS'
64664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
64673 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
64674 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
64675 for ac_func in strtold
64676 do :
64677 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
64678 if test "x$ac_cv_func_strtold" = x""yes; then :
64679 cat >>confdefs.h <<_ACEOF
64680 #define HAVE_STRTOLD 1
64681 _ACEOF
64684 done
64691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
64692 $as_echo_n "checking for strtof declaration... " >&6; }
64693 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
64694 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
64695 $as_echo_n "(cached) " >&6
64696 else
64699 ac_ext=cpp
64700 ac_cpp='$CXXCPP $CPPFLAGS'
64701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64706 /* end confdefs.h. */
64707 #include <stdlib.h>
64709 main ()
64711 strtof(0, 0);
64713 return 0;
64715 _ACEOF
64716 if ac_fn_cxx_try_compile "$LINENO"; then :
64717 glibcxx_cv_func_strtof_use=yes
64718 else
64719 glibcxx_cv_func_strtof_use=no
64721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64722 ac_ext=c
64723 ac_cpp='$CPP $CPPFLAGS'
64724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
64733 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
64734 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
64735 for ac_func in strtof
64736 do :
64737 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
64738 if test "x$ac_cv_func_strtof" = x""yes; then :
64739 cat >>confdefs.h <<_ACEOF
64740 #define HAVE_STRTOF 1
64741 _ACEOF
64744 done
64751 CXXFLAGS="$ac_save_CXXFLAGS"
64754 *-netbsd*)
64755 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64758 # If we're not using GNU ld, then there's no point in even trying these
64759 # tests. Check for that first. We should have already tested for gld
64760 # by now (in libtool), but require it now just to be safe...
64761 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64762 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64766 # The name set by libtool depends on the version of libtool. Shame on us
64767 # for depending on an impl detail, but c'est la vie. Older versions used
64768 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64769 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64770 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64771 # set (hence we're using an older libtool), then set it.
64772 if test x${with_gnu_ld+set} != xset; then
64773 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64774 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64775 with_gnu_ld=no
64776 else
64777 with_gnu_ld=$ac_cv_prog_gnu_ld
64781 # Start by getting the version number. I think the libtool test already
64782 # does some of this, but throws away the result.
64783 glibcxx_ld_is_gold=no
64784 if test x"$with_gnu_ld" = x"yes"; then
64785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64786 $as_echo_n "checking for ld version... " >&6; }
64788 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64789 glibcxx_ld_is_gold=yes
64791 ldver=`$LD --version 2>/dev/null |
64792 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'`
64794 glibcxx_gnu_ld_version=`echo $ldver | \
64795 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64797 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64800 # Set --gc-sections.
64801 glibcxx_have_gc_sections=no
64802 if test "$glibcxx_ld_is_gold" = "yes"; then
64803 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64804 glibcxx_have_gc_sections=yes
64806 else
64807 glibcxx_gcsections_min_ld=21602
64808 if test x"$with_gnu_ld" = x"yes" &&
64809 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64810 glibcxx_have_gc_sections=yes
64813 if test "$glibcxx_have_gc_sections" = "yes"; then
64814 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64815 # NB: This flag only works reliably after 2.16.1. Configure tests
64816 # for this are difficult, so hard wire a value that should work.
64818 ac_test_CFLAGS="${CFLAGS+set}"
64819 ac_save_CFLAGS="$CFLAGS"
64820 CFLAGS='-Wl,--gc-sections'
64822 # Check for -Wl,--gc-sections
64823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64824 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64825 if test x$gcc_no_link = xyes; then
64826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64829 /* end confdefs.h. */
64830 int one(void) { return 1; }
64831 int two(void) { return 2; }
64834 main ()
64836 two();
64838 return 0;
64840 _ACEOF
64841 if ac_fn_c_try_link "$LINENO"; then :
64842 ac_gcsections=yes
64843 else
64844 ac_gcsections=no
64846 rm -f core conftest.err conftest.$ac_objext \
64847 conftest$ac_exeext conftest.$ac_ext
64848 if test "$ac_gcsections" = "yes"; then
64849 rm -f conftest.c
64850 touch conftest.c
64851 if $CC -c conftest.c; then
64852 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
64853 grep "Warning: gc-sections option ignored" > /dev/null; then
64854 ac_gcsections=no
64857 rm -f conftest.c conftest.o conftest
64859 if test "$ac_gcsections" = "yes"; then
64860 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
64863 $as_echo "$ac_gcsections" >&6; }
64865 if test "$ac_test_CFLAGS" = set; then
64866 CFLAGS="$ac_save_CFLAGS"
64867 else
64868 # this is the suspicious part
64869 CFLAGS=''
64873 # Set -z,relro.
64874 # Note this is only for shared objects.
64875 ac_ld_relro=no
64876 if test x"$with_gnu_ld" = x"yes"; then
64877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
64878 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
64879 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
64880 if test -n "$cxx_z_relo"; then
64881 OPT_LDFLAGS="-Wl,-z,relro"
64882 ac_ld_relro=yes
64884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
64885 $as_echo "$ac_ld_relro" >&6; }
64888 # Set linker optimization flags.
64889 if test x"$with_gnu_ld" = x"yes"; then
64890 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
64896 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
64898 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
64900 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
64902 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
64904 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
64906 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
64908 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
64910 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
64912 if test x"long_double_math_on_this_cpu" = x"yes"; then
64913 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
64915 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
64917 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
64921 *-qnx6.1* | *-qnx6.2*)
64922 SECTION_FLAGS='-ffunction-sections -fdata-sections'
64925 # If we're not using GNU ld, then there's no point in even trying these
64926 # tests. Check for that first. We should have already tested for gld
64927 # by now (in libtool), but require it now just to be safe...
64928 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
64929 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
64933 # The name set by libtool depends on the version of libtool. Shame on us
64934 # for depending on an impl detail, but c'est la vie. Older versions used
64935 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
64936 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
64937 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
64938 # set (hence we're using an older libtool), then set it.
64939 if test x${with_gnu_ld+set} != xset; then
64940 if test x${ac_cv_prog_gnu_ld+set} != xset; then
64941 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
64942 with_gnu_ld=no
64943 else
64944 with_gnu_ld=$ac_cv_prog_gnu_ld
64948 # Start by getting the version number. I think the libtool test already
64949 # does some of this, but throws away the result.
64950 glibcxx_ld_is_gold=no
64951 if test x"$with_gnu_ld" = x"yes"; then
64952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
64953 $as_echo_n "checking for ld version... " >&6; }
64955 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
64956 glibcxx_ld_is_gold=yes
64958 ldver=`$LD --version 2>/dev/null |
64959 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'`
64961 glibcxx_gnu_ld_version=`echo $ldver | \
64962 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
64963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
64964 $as_echo "$glibcxx_gnu_ld_version" >&6; }
64967 # Set --gc-sections.
64968 glibcxx_have_gc_sections=no
64969 if test "$glibcxx_ld_is_gold" = "yes"; then
64970 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
64971 glibcxx_have_gc_sections=yes
64973 else
64974 glibcxx_gcsections_min_ld=21602
64975 if test x"$with_gnu_ld" = x"yes" &&
64976 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
64977 glibcxx_have_gc_sections=yes
64980 if test "$glibcxx_have_gc_sections" = "yes"; then
64981 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
64982 # NB: This flag only works reliably after 2.16.1. Configure tests
64983 # for this are difficult, so hard wire a value that should work.
64985 ac_test_CFLAGS="${CFLAGS+set}"
64986 ac_save_CFLAGS="$CFLAGS"
64987 CFLAGS='-Wl,--gc-sections'
64989 # Check for -Wl,--gc-sections
64990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
64991 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
64992 if test x$gcc_no_link = xyes; then
64993 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
64995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64996 /* end confdefs.h. */
64997 int one(void) { return 1; }
64998 int two(void) { return 2; }
65001 main ()
65003 two();
65005 return 0;
65007 _ACEOF
65008 if ac_fn_c_try_link "$LINENO"; then :
65009 ac_gcsections=yes
65010 else
65011 ac_gcsections=no
65013 rm -f core conftest.err conftest.$ac_objext \
65014 conftest$ac_exeext conftest.$ac_ext
65015 if test "$ac_gcsections" = "yes"; then
65016 rm -f conftest.c
65017 touch conftest.c
65018 if $CC -c conftest.c; then
65019 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65020 grep "Warning: gc-sections option ignored" > /dev/null; then
65021 ac_gcsections=no
65024 rm -f conftest.c conftest.o conftest
65026 if test "$ac_gcsections" = "yes"; then
65027 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65030 $as_echo "$ac_gcsections" >&6; }
65032 if test "$ac_test_CFLAGS" = set; then
65033 CFLAGS="$ac_save_CFLAGS"
65034 else
65035 # this is the suspicious part
65036 CFLAGS=''
65040 # Set -z,relro.
65041 # Note this is only for shared objects.
65042 ac_ld_relro=no
65043 if test x"$with_gnu_ld" = x"yes"; then
65044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65045 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65046 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65047 if test -n "$cxx_z_relo"; then
65048 OPT_LDFLAGS="-Wl,-z,relro"
65049 ac_ld_relro=yes
65051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65052 $as_echo "$ac_ld_relro" >&6; }
65055 # Set linker optimization flags.
65056 if test x"$with_gnu_ld" = x"yes"; then
65057 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65063 $as_echo "#define HAVE_COSF 1" >>confdefs.h
65065 $as_echo "#define HAVE_COSL 1" >>confdefs.h
65067 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
65069 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
65071 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
65073 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
65075 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
65077 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
65079 $as_echo "#define HAVE_SINF 1" >>confdefs.h
65081 $as_echo "#define HAVE_SINL 1" >>confdefs.h
65083 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
65085 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
65088 *-rtems*)
65090 # All these tests are for C++; save the language and the compiler flags.
65091 # The CXXFLAGS thing is suspicious, but based on similar bits previously
65092 # found in GLIBCXX_CONFIGURE.
65094 ac_ext=cpp
65095 ac_cpp='$CXXCPP $CPPFLAGS'
65096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65100 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65101 ac_save_CXXFLAGS="$CXXFLAGS"
65103 # Check for maintainer-mode bits.
65104 if test x"$USE_MAINTAINER_MODE" = xno; then
65105 WERROR=''
65106 else
65107 WERROR='-Werror'
65110 # Check for -ffunction-sections -fdata-sections
65111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
65112 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
65113 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
65114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65115 /* end confdefs.h. */
65116 int foo; void bar() { };
65118 main ()
65122 return 0;
65124 _ACEOF
65125 if ac_fn_cxx_try_compile "$LINENO"; then :
65126 ac_fdsections=yes
65127 else
65128 ac_fdsections=no
65130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65131 if test "$ac_test_CXXFLAGS" = set; then
65132 CXXFLAGS="$ac_save_CXXFLAGS"
65133 else
65134 # this is the suspicious part
65135 CXXFLAGS=''
65137 if test x"$ac_fdsections" = x"yes"; then
65138 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
65141 $as_echo "$ac_fdsections" >&6; }
65143 ac_ext=c
65144 ac_cpp='$CPP $CPPFLAGS'
65145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65153 # If we're not using GNU ld, then there's no point in even trying these
65154 # tests. Check for that first. We should have already tested for gld
65155 # by now (in libtool), but require it now just to be safe...
65156 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65157 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65161 # The name set by libtool depends on the version of libtool. Shame on us
65162 # for depending on an impl detail, but c'est la vie. Older versions used
65163 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65164 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65165 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65166 # set (hence we're using an older libtool), then set it.
65167 if test x${with_gnu_ld+set} != xset; then
65168 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65169 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65170 with_gnu_ld=no
65171 else
65172 with_gnu_ld=$ac_cv_prog_gnu_ld
65176 # Start by getting the version number. I think the libtool test already
65177 # does some of this, but throws away the result.
65178 glibcxx_ld_is_gold=no
65179 if test x"$with_gnu_ld" = x"yes"; then
65180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65181 $as_echo_n "checking for ld version... " >&6; }
65183 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65184 glibcxx_ld_is_gold=yes
65186 ldver=`$LD --version 2>/dev/null |
65187 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'`
65189 glibcxx_gnu_ld_version=`echo $ldver | \
65190 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65192 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65195 # Set --gc-sections.
65196 glibcxx_have_gc_sections=no
65197 if test "$glibcxx_ld_is_gold" = "yes"; then
65198 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65199 glibcxx_have_gc_sections=yes
65201 else
65202 glibcxx_gcsections_min_ld=21602
65203 if test x"$with_gnu_ld" = x"yes" &&
65204 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65205 glibcxx_have_gc_sections=yes
65208 if test "$glibcxx_have_gc_sections" = "yes"; then
65209 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65210 # NB: This flag only works reliably after 2.16.1. Configure tests
65211 # for this are difficult, so hard wire a value that should work.
65213 ac_test_CFLAGS="${CFLAGS+set}"
65214 ac_save_CFLAGS="$CFLAGS"
65215 CFLAGS='-Wl,--gc-sections'
65217 # Check for -Wl,--gc-sections
65218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65219 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65220 if test x$gcc_no_link = xyes; then
65221 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65224 /* end confdefs.h. */
65225 int one(void) { return 1; }
65226 int two(void) { return 2; }
65229 main ()
65231 two();
65233 return 0;
65235 _ACEOF
65236 if ac_fn_c_try_link "$LINENO"; then :
65237 ac_gcsections=yes
65238 else
65239 ac_gcsections=no
65241 rm -f core conftest.err conftest.$ac_objext \
65242 conftest$ac_exeext conftest.$ac_ext
65243 if test "$ac_gcsections" = "yes"; then
65244 rm -f conftest.c
65245 touch conftest.c
65246 if $CC -c conftest.c; then
65247 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65248 grep "Warning: gc-sections option ignored" > /dev/null; then
65249 ac_gcsections=no
65252 rm -f conftest.c conftest.o conftest
65254 if test "$ac_gcsections" = "yes"; then
65255 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65258 $as_echo "$ac_gcsections" >&6; }
65260 if test "$ac_test_CFLAGS" = set; then
65261 CFLAGS="$ac_save_CFLAGS"
65262 else
65263 # this is the suspicious part
65264 CFLAGS=''
65268 # Set -z,relro.
65269 # Note this is only for shared objects.
65270 ac_ld_relro=no
65271 if test x"$with_gnu_ld" = x"yes"; then
65272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
65273 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
65274 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
65275 if test -n "$cxx_z_relo"; then
65276 OPT_LDFLAGS="-Wl,-z,relro"
65277 ac_ld_relro=yes
65279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
65280 $as_echo "$ac_ld_relro" >&6; }
65283 # Set linker optimization flags.
65284 if test x"$with_gnu_ld" = x"yes"; then
65285 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
65292 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65293 ac_save_CXXFLAGS="$CXXFLAGS"
65294 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
65297 $as_echo_n "checking for sin in -lm... " >&6; }
65298 if test "${ac_cv_lib_m_sin+set}" = set; then :
65299 $as_echo_n "(cached) " >&6
65300 else
65301 ac_check_lib_save_LIBS=$LIBS
65302 LIBS="-lm $LIBS"
65303 if test x$gcc_no_link = xyes; then
65304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65307 /* end confdefs.h. */
65309 /* Override any GCC internal prototype to avoid an error.
65310 Use char because int might match the return type of a GCC
65311 builtin and then its argument prototype would still apply. */
65312 #ifdef __cplusplus
65313 extern "C"
65314 #endif
65315 char sin ();
65317 main ()
65319 return sin ();
65321 return 0;
65323 _ACEOF
65324 if ac_fn_c_try_link "$LINENO"; then :
65325 ac_cv_lib_m_sin=yes
65326 else
65327 ac_cv_lib_m_sin=no
65329 rm -f core conftest.err conftest.$ac_objext \
65330 conftest$ac_exeext conftest.$ac_ext
65331 LIBS=$ac_check_lib_save_LIBS
65333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
65334 $as_echo "$ac_cv_lib_m_sin" >&6; }
65335 if test "x$ac_cv_lib_m_sin" = x""yes; then :
65336 libm="-lm"
65339 ac_save_LIBS="$LIBS"
65340 LIBS="$LIBS $libm"
65344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
65345 $as_echo_n "checking for isinf declaration... " >&6; }
65346 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
65347 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
65348 $as_echo_n "(cached) " >&6
65349 else
65352 ac_ext=cpp
65353 ac_cpp='$CXXCPP $CPPFLAGS'
65354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65359 /* end confdefs.h. */
65360 #include <math.h>
65361 #ifdef HAVE_IEEEFP_H
65362 #include <ieeefp.h>
65363 #endif
65366 main ()
65368 isinf(0);
65370 return 0;
65372 _ACEOF
65373 if ac_fn_cxx_try_compile "$LINENO"; then :
65374 glibcxx_cv_func_isinf_use=yes
65375 else
65376 glibcxx_cv_func_isinf_use=no
65378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65379 ac_ext=c
65380 ac_cpp='$CPP $CPPFLAGS'
65381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
65390 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
65392 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
65393 for ac_func in isinf
65394 do :
65395 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
65396 if test "x$ac_cv_func_isinf" = x""yes; then :
65397 cat >>confdefs.h <<_ACEOF
65398 #define HAVE_ISINF 1
65399 _ACEOF
65402 done
65404 else
65406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
65407 $as_echo_n "checking for _isinf declaration... " >&6; }
65408 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
65409 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
65410 $as_echo_n "(cached) " >&6
65411 else
65414 ac_ext=cpp
65415 ac_cpp='$CXXCPP $CPPFLAGS'
65416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65421 /* end confdefs.h. */
65422 #include <math.h>
65423 #ifdef HAVE_IEEEFP_H
65424 #include <ieeefp.h>
65425 #endif
65428 main ()
65430 _isinf(0);
65432 return 0;
65434 _ACEOF
65435 if ac_fn_cxx_try_compile "$LINENO"; then :
65436 glibcxx_cv_func__isinf_use=yes
65437 else
65438 glibcxx_cv_func__isinf_use=no
65440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65441 ac_ext=c
65442 ac_cpp='$CPP $CPPFLAGS'
65443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
65452 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
65454 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
65455 for ac_func in _isinf
65456 do :
65457 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
65458 if test "x$ac_cv_func__isinf" = x""yes; then :
65459 cat >>confdefs.h <<_ACEOF
65460 #define HAVE__ISINF 1
65461 _ACEOF
65464 done
65473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
65474 $as_echo_n "checking for isnan declaration... " >&6; }
65475 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
65476 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
65477 $as_echo_n "(cached) " >&6
65478 else
65481 ac_ext=cpp
65482 ac_cpp='$CXXCPP $CPPFLAGS'
65483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65488 /* end confdefs.h. */
65489 #include <math.h>
65490 #ifdef HAVE_IEEEFP_H
65491 #include <ieeefp.h>
65492 #endif
65495 main ()
65497 isnan(0);
65499 return 0;
65501 _ACEOF
65502 if ac_fn_cxx_try_compile "$LINENO"; then :
65503 glibcxx_cv_func_isnan_use=yes
65504 else
65505 glibcxx_cv_func_isnan_use=no
65507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65508 ac_ext=c
65509 ac_cpp='$CPP $CPPFLAGS'
65510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
65519 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
65521 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
65522 for ac_func in isnan
65523 do :
65524 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
65525 if test "x$ac_cv_func_isnan" = x""yes; then :
65526 cat >>confdefs.h <<_ACEOF
65527 #define HAVE_ISNAN 1
65528 _ACEOF
65531 done
65533 else
65535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
65536 $as_echo_n "checking for _isnan declaration... " >&6; }
65537 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
65538 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
65539 $as_echo_n "(cached) " >&6
65540 else
65543 ac_ext=cpp
65544 ac_cpp='$CXXCPP $CPPFLAGS'
65545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65550 /* end confdefs.h. */
65551 #include <math.h>
65552 #ifdef HAVE_IEEEFP_H
65553 #include <ieeefp.h>
65554 #endif
65557 main ()
65559 _isnan(0);
65561 return 0;
65563 _ACEOF
65564 if ac_fn_cxx_try_compile "$LINENO"; then :
65565 glibcxx_cv_func__isnan_use=yes
65566 else
65567 glibcxx_cv_func__isnan_use=no
65569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65570 ac_ext=c
65571 ac_cpp='$CPP $CPPFLAGS'
65572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
65581 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
65583 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
65584 for ac_func in _isnan
65585 do :
65586 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
65587 if test "x$ac_cv_func__isnan" = x""yes; then :
65588 cat >>confdefs.h <<_ACEOF
65589 #define HAVE__ISNAN 1
65590 _ACEOF
65593 done
65602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
65603 $as_echo_n "checking for finite declaration... " >&6; }
65604 if test x${glibcxx_cv_func_finite_use+set} != xset; then
65605 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
65606 $as_echo_n "(cached) " >&6
65607 else
65610 ac_ext=cpp
65611 ac_cpp='$CXXCPP $CPPFLAGS'
65612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65617 /* end confdefs.h. */
65618 #include <math.h>
65619 #ifdef HAVE_IEEEFP_H
65620 #include <ieeefp.h>
65621 #endif
65624 main ()
65626 finite(0);
65628 return 0;
65630 _ACEOF
65631 if ac_fn_cxx_try_compile "$LINENO"; then :
65632 glibcxx_cv_func_finite_use=yes
65633 else
65634 glibcxx_cv_func_finite_use=no
65636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65637 ac_ext=c
65638 ac_cpp='$CPP $CPPFLAGS'
65639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
65648 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
65650 if test x$glibcxx_cv_func_finite_use = x"yes"; then
65651 for ac_func in finite
65652 do :
65653 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
65654 if test "x$ac_cv_func_finite" = x""yes; then :
65655 cat >>confdefs.h <<_ACEOF
65656 #define HAVE_FINITE 1
65657 _ACEOF
65660 done
65662 else
65664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
65665 $as_echo_n "checking for _finite declaration... " >&6; }
65666 if test x${glibcxx_cv_func__finite_use+set} != xset; then
65667 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
65668 $as_echo_n "(cached) " >&6
65669 else
65672 ac_ext=cpp
65673 ac_cpp='$CXXCPP $CPPFLAGS'
65674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65679 /* end confdefs.h. */
65680 #include <math.h>
65681 #ifdef HAVE_IEEEFP_H
65682 #include <ieeefp.h>
65683 #endif
65686 main ()
65688 _finite(0);
65690 return 0;
65692 _ACEOF
65693 if ac_fn_cxx_try_compile "$LINENO"; then :
65694 glibcxx_cv_func__finite_use=yes
65695 else
65696 glibcxx_cv_func__finite_use=no
65698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65699 ac_ext=c
65700 ac_cpp='$CPP $CPPFLAGS'
65701 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65702 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65703 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
65710 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
65712 if test x$glibcxx_cv_func__finite_use = x"yes"; then
65713 for ac_func in _finite
65714 do :
65715 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
65716 if test "x$ac_cv_func__finite" = x""yes; then :
65717 cat >>confdefs.h <<_ACEOF
65718 #define HAVE__FINITE 1
65719 _ACEOF
65722 done
65731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
65732 $as_echo_n "checking for sincos declaration... " >&6; }
65733 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
65734 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
65735 $as_echo_n "(cached) " >&6
65736 else
65739 ac_ext=cpp
65740 ac_cpp='$CXXCPP $CPPFLAGS'
65741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65746 /* end confdefs.h. */
65747 #include <math.h>
65749 main ()
65751 sincos(0, 0, 0);
65753 return 0;
65755 _ACEOF
65756 if ac_fn_cxx_try_compile "$LINENO"; then :
65757 glibcxx_cv_func_sincos_use=yes
65758 else
65759 glibcxx_cv_func_sincos_use=no
65761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65762 ac_ext=c
65763 ac_cpp='$CPP $CPPFLAGS'
65764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
65773 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
65775 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
65776 for ac_func in sincos
65777 do :
65778 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
65779 if test "x$ac_cv_func_sincos" = x""yes; then :
65780 cat >>confdefs.h <<_ACEOF
65781 #define HAVE_SINCOS 1
65782 _ACEOF
65785 done
65787 else
65789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
65790 $as_echo_n "checking for _sincos declaration... " >&6; }
65791 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
65792 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
65793 $as_echo_n "(cached) " >&6
65794 else
65797 ac_ext=cpp
65798 ac_cpp='$CXXCPP $CPPFLAGS'
65799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65804 /* end confdefs.h. */
65805 #include <math.h>
65807 main ()
65809 _sincos(0, 0, 0);
65811 return 0;
65813 _ACEOF
65814 if ac_fn_cxx_try_compile "$LINENO"; then :
65815 glibcxx_cv_func__sincos_use=yes
65816 else
65817 glibcxx_cv_func__sincos_use=no
65819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65820 ac_ext=c
65821 ac_cpp='$CPP $CPPFLAGS'
65822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
65831 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
65833 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
65834 for ac_func in _sincos
65835 do :
65836 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
65837 if test "x$ac_cv_func__sincos" = x""yes; then :
65838 cat >>confdefs.h <<_ACEOF
65839 #define HAVE__SINCOS 1
65840 _ACEOF
65843 done
65852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
65853 $as_echo_n "checking for fpclass declaration... " >&6; }
65854 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
65855 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
65856 $as_echo_n "(cached) " >&6
65857 else
65860 ac_ext=cpp
65861 ac_cpp='$CXXCPP $CPPFLAGS'
65862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65867 /* end confdefs.h. */
65868 #include <math.h>
65869 #ifdef HAVE_IEEEFP_H
65870 #include <ieeefp.h>
65871 #endif
65874 main ()
65876 fpclass(0);
65878 return 0;
65880 _ACEOF
65881 if ac_fn_cxx_try_compile "$LINENO"; then :
65882 glibcxx_cv_func_fpclass_use=yes
65883 else
65884 glibcxx_cv_func_fpclass_use=no
65886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65887 ac_ext=c
65888 ac_cpp='$CPP $CPPFLAGS'
65889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
65898 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
65900 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
65901 for ac_func in fpclass
65902 do :
65903 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
65904 if test "x$ac_cv_func_fpclass" = x""yes; then :
65905 cat >>confdefs.h <<_ACEOF
65906 #define HAVE_FPCLASS 1
65907 _ACEOF
65910 done
65912 else
65914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
65915 $as_echo_n "checking for _fpclass declaration... " >&6; }
65916 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
65917 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
65918 $as_echo_n "(cached) " >&6
65919 else
65922 ac_ext=cpp
65923 ac_cpp='$CXXCPP $CPPFLAGS'
65924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65929 /* end confdefs.h. */
65930 #include <math.h>
65931 #ifdef HAVE_IEEEFP_H
65932 #include <ieeefp.h>
65933 #endif
65936 main ()
65938 _fpclass(0);
65940 return 0;
65942 _ACEOF
65943 if ac_fn_cxx_try_compile "$LINENO"; then :
65944 glibcxx_cv_func__fpclass_use=yes
65945 else
65946 glibcxx_cv_func__fpclass_use=no
65948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65949 ac_ext=c
65950 ac_cpp='$CPP $CPPFLAGS'
65951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
65960 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
65962 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
65963 for ac_func in _fpclass
65964 do :
65965 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
65966 if test "x$ac_cv_func__fpclass" = x""yes; then :
65967 cat >>confdefs.h <<_ACEOF
65968 #define HAVE__FPCLASS 1
65969 _ACEOF
65972 done
65981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
65982 $as_echo_n "checking for qfpclass declaration... " >&6; }
65983 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
65984 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
65985 $as_echo_n "(cached) " >&6
65986 else
65989 ac_ext=cpp
65990 ac_cpp='$CXXCPP $CPPFLAGS'
65991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65996 /* end confdefs.h. */
65997 #include <math.h>
65998 #ifdef HAVE_IEEEFP_H
65999 #include <ieeefp.h>
66000 #endif
66003 main ()
66005 qfpclass(0);
66007 return 0;
66009 _ACEOF
66010 if ac_fn_cxx_try_compile "$LINENO"; then :
66011 glibcxx_cv_func_qfpclass_use=yes
66012 else
66013 glibcxx_cv_func_qfpclass_use=no
66015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66016 ac_ext=c
66017 ac_cpp='$CPP $CPPFLAGS'
66018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
66027 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
66029 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
66030 for ac_func in qfpclass
66031 do :
66032 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
66033 if test "x$ac_cv_func_qfpclass" = x""yes; then :
66034 cat >>confdefs.h <<_ACEOF
66035 #define HAVE_QFPCLASS 1
66036 _ACEOF
66039 done
66041 else
66043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
66044 $as_echo_n "checking for _qfpclass declaration... " >&6; }
66045 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
66046 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
66047 $as_echo_n "(cached) " >&6
66048 else
66051 ac_ext=cpp
66052 ac_cpp='$CXXCPP $CPPFLAGS'
66053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66058 /* end confdefs.h. */
66059 #include <math.h>
66060 #ifdef HAVE_IEEEFP_H
66061 #include <ieeefp.h>
66062 #endif
66065 main ()
66067 _qfpclass(0);
66069 return 0;
66071 _ACEOF
66072 if ac_fn_cxx_try_compile "$LINENO"; then :
66073 glibcxx_cv_func__qfpclass_use=yes
66074 else
66075 glibcxx_cv_func__qfpclass_use=no
66077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66078 ac_ext=c
66079 ac_cpp='$CPP $CPPFLAGS'
66080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
66089 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
66091 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
66092 for ac_func in _qfpclass
66093 do :
66094 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
66095 if test "x$ac_cv_func__qfpclass" = x""yes; then :
66096 cat >>confdefs.h <<_ACEOF
66097 #define HAVE__QFPCLASS 1
66098 _ACEOF
66101 done
66110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
66111 $as_echo_n "checking for hypot declaration... " >&6; }
66112 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
66113 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
66114 $as_echo_n "(cached) " >&6
66115 else
66118 ac_ext=cpp
66119 ac_cpp='$CXXCPP $CPPFLAGS'
66120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66125 /* end confdefs.h. */
66126 #include <math.h>
66128 main ()
66130 hypot(0, 0);
66132 return 0;
66134 _ACEOF
66135 if ac_fn_cxx_try_compile "$LINENO"; then :
66136 glibcxx_cv_func_hypot_use=yes
66137 else
66138 glibcxx_cv_func_hypot_use=no
66140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66141 ac_ext=c
66142 ac_cpp='$CPP $CPPFLAGS'
66143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
66152 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
66154 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
66155 for ac_func in hypot
66156 do :
66157 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
66158 if test "x$ac_cv_func_hypot" = x""yes; then :
66159 cat >>confdefs.h <<_ACEOF
66160 #define HAVE_HYPOT 1
66161 _ACEOF
66164 done
66166 else
66168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
66169 $as_echo_n "checking for _hypot declaration... " >&6; }
66170 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
66171 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
66172 $as_echo_n "(cached) " >&6
66173 else
66176 ac_ext=cpp
66177 ac_cpp='$CXXCPP $CPPFLAGS'
66178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66183 /* end confdefs.h. */
66184 #include <math.h>
66186 main ()
66188 _hypot(0, 0);
66190 return 0;
66192 _ACEOF
66193 if ac_fn_cxx_try_compile "$LINENO"; then :
66194 glibcxx_cv_func__hypot_use=yes
66195 else
66196 glibcxx_cv_func__hypot_use=no
66198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66199 ac_ext=c
66200 ac_cpp='$CPP $CPPFLAGS'
66201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
66210 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
66212 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
66213 for ac_func in _hypot
66214 do :
66215 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
66216 if test "x$ac_cv_func__hypot" = x""yes; then :
66217 cat >>confdefs.h <<_ACEOF
66218 #define HAVE__HYPOT 1
66219 _ACEOF
66222 done
66231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
66232 $as_echo_n "checking for float trig functions... " >&6; }
66233 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
66234 $as_echo_n "(cached) " >&6
66235 else
66238 ac_ext=cpp
66239 ac_cpp='$CXXCPP $CPPFLAGS'
66240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66245 /* end confdefs.h. */
66246 #include <math.h>
66248 main ()
66250 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
66252 return 0;
66254 _ACEOF
66255 if ac_fn_cxx_try_compile "$LINENO"; then :
66256 glibcxx_cv_func_float_trig_use=yes
66257 else
66258 glibcxx_cv_func_float_trig_use=no
66260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66261 ac_ext=c
66262 ac_cpp='$CPP $CPPFLAGS'
66263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
66270 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
66271 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
66272 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
66273 do :
66274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66276 eval as_val=\$$as_ac_var
66277 if test "x$as_val" = x""yes; then :
66278 cat >>confdefs.h <<_ACEOF
66279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66280 _ACEOF
66283 done
66285 else
66286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
66287 $as_echo_n "checking for _float trig functions... " >&6; }
66288 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
66289 $as_echo_n "(cached) " >&6
66290 else
66293 ac_ext=cpp
66294 ac_cpp='$CXXCPP $CPPFLAGS'
66295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66300 /* end confdefs.h. */
66301 #include <math.h>
66303 main ()
66305 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
66307 return 0;
66309 _ACEOF
66310 if ac_fn_cxx_try_compile "$LINENO"; then :
66311 glibcxx_cv_func__float_trig_use=yes
66312 else
66313 glibcxx_cv_func__float_trig_use=no
66315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66316 ac_ext=c
66317 ac_cpp='$CPP $CPPFLAGS'
66318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
66325 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
66326 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
66327 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
66328 do :
66329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66331 eval as_val=\$$as_ac_var
66332 if test "x$as_val" = x""yes; then :
66333 cat >>confdefs.h <<_ACEOF
66334 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66335 _ACEOF
66338 done
66347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
66348 $as_echo_n "checking for float round functions... " >&6; }
66349 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
66350 $as_echo_n "(cached) " >&6
66351 else
66354 ac_ext=cpp
66355 ac_cpp='$CXXCPP $CPPFLAGS'
66356 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66357 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66358 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66361 /* end confdefs.h. */
66362 #include <math.h>
66364 main ()
66366 ceilf (0); floorf (0);
66368 return 0;
66370 _ACEOF
66371 if ac_fn_cxx_try_compile "$LINENO"; then :
66372 glibcxx_cv_func_float_round_use=yes
66373 else
66374 glibcxx_cv_func_float_round_use=no
66376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66377 ac_ext=c
66378 ac_cpp='$CPP $CPPFLAGS'
66379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
66386 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
66387 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
66388 for ac_func in ceilf floorf
66389 do :
66390 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66391 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66392 eval as_val=\$$as_ac_var
66393 if test "x$as_val" = x""yes; then :
66394 cat >>confdefs.h <<_ACEOF
66395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66396 _ACEOF
66399 done
66401 else
66402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
66403 $as_echo_n "checking for _float round functions... " >&6; }
66404 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
66405 $as_echo_n "(cached) " >&6
66406 else
66409 ac_ext=cpp
66410 ac_cpp='$CXXCPP $CPPFLAGS'
66411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66416 /* end confdefs.h. */
66417 #include <math.h>
66419 main ()
66421 _ceilf (0); _floorf (0);
66423 return 0;
66425 _ACEOF
66426 if ac_fn_cxx_try_compile "$LINENO"; then :
66427 glibcxx_cv_func__float_round_use=yes
66428 else
66429 glibcxx_cv_func__float_round_use=no
66431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66432 ac_ext=c
66433 ac_cpp='$CPP $CPPFLAGS'
66434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
66441 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
66442 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
66443 for ac_func in _ceilf _floorf
66444 do :
66445 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66446 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66447 eval as_val=\$$as_ac_var
66448 if test "x$as_val" = x""yes; then :
66449 cat >>confdefs.h <<_ACEOF
66450 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66451 _ACEOF
66454 done
66464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
66465 $as_echo_n "checking for expf declaration... " >&6; }
66466 if test x${glibcxx_cv_func_expf_use+set} != xset; then
66467 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
66468 $as_echo_n "(cached) " >&6
66469 else
66472 ac_ext=cpp
66473 ac_cpp='$CXXCPP $CPPFLAGS'
66474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66479 /* end confdefs.h. */
66480 #include <math.h>
66481 #ifdef HAVE_IEEEFP_H
66482 #include <ieeefp.h>
66483 #endif
66486 main ()
66488 expf(0);
66490 return 0;
66492 _ACEOF
66493 if ac_fn_cxx_try_compile "$LINENO"; then :
66494 glibcxx_cv_func_expf_use=yes
66495 else
66496 glibcxx_cv_func_expf_use=no
66498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66499 ac_ext=c
66500 ac_cpp='$CPP $CPPFLAGS'
66501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
66510 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
66512 if test x$glibcxx_cv_func_expf_use = x"yes"; then
66513 for ac_func in expf
66514 do :
66515 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
66516 if test "x$ac_cv_func_expf" = x""yes; then :
66517 cat >>confdefs.h <<_ACEOF
66518 #define HAVE_EXPF 1
66519 _ACEOF
66522 done
66524 else
66526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
66527 $as_echo_n "checking for _expf declaration... " >&6; }
66528 if test x${glibcxx_cv_func__expf_use+set} != xset; then
66529 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
66530 $as_echo_n "(cached) " >&6
66531 else
66534 ac_ext=cpp
66535 ac_cpp='$CXXCPP $CPPFLAGS'
66536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66541 /* end confdefs.h. */
66542 #include <math.h>
66543 #ifdef HAVE_IEEEFP_H
66544 #include <ieeefp.h>
66545 #endif
66548 main ()
66550 _expf(0);
66552 return 0;
66554 _ACEOF
66555 if ac_fn_cxx_try_compile "$LINENO"; then :
66556 glibcxx_cv_func__expf_use=yes
66557 else
66558 glibcxx_cv_func__expf_use=no
66560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66561 ac_ext=c
66562 ac_cpp='$CPP $CPPFLAGS'
66563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
66572 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
66574 if test x$glibcxx_cv_func__expf_use = x"yes"; then
66575 for ac_func in _expf
66576 do :
66577 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
66578 if test "x$ac_cv_func__expf" = x""yes; then :
66579 cat >>confdefs.h <<_ACEOF
66580 #define HAVE__EXPF 1
66581 _ACEOF
66584 done
66593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
66594 $as_echo_n "checking for isnanf declaration... " >&6; }
66595 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
66596 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
66597 $as_echo_n "(cached) " >&6
66598 else
66601 ac_ext=cpp
66602 ac_cpp='$CXXCPP $CPPFLAGS'
66603 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66604 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66605 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66608 /* end confdefs.h. */
66609 #include <math.h>
66610 #ifdef HAVE_IEEEFP_H
66611 #include <ieeefp.h>
66612 #endif
66615 main ()
66617 isnanf(0);
66619 return 0;
66621 _ACEOF
66622 if ac_fn_cxx_try_compile "$LINENO"; then :
66623 glibcxx_cv_func_isnanf_use=yes
66624 else
66625 glibcxx_cv_func_isnanf_use=no
66627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66628 ac_ext=c
66629 ac_cpp='$CPP $CPPFLAGS'
66630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
66639 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
66641 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
66642 for ac_func in isnanf
66643 do :
66644 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
66645 if test "x$ac_cv_func_isnanf" = x""yes; then :
66646 cat >>confdefs.h <<_ACEOF
66647 #define HAVE_ISNANF 1
66648 _ACEOF
66651 done
66653 else
66655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
66656 $as_echo_n "checking for _isnanf declaration... " >&6; }
66657 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
66658 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
66659 $as_echo_n "(cached) " >&6
66660 else
66663 ac_ext=cpp
66664 ac_cpp='$CXXCPP $CPPFLAGS'
66665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66670 /* end confdefs.h. */
66671 #include <math.h>
66672 #ifdef HAVE_IEEEFP_H
66673 #include <ieeefp.h>
66674 #endif
66677 main ()
66679 _isnanf(0);
66681 return 0;
66683 _ACEOF
66684 if ac_fn_cxx_try_compile "$LINENO"; then :
66685 glibcxx_cv_func__isnanf_use=yes
66686 else
66687 glibcxx_cv_func__isnanf_use=no
66689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66690 ac_ext=c
66691 ac_cpp='$CPP $CPPFLAGS'
66692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
66701 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
66703 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
66704 for ac_func in _isnanf
66705 do :
66706 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
66707 if test "x$ac_cv_func__isnanf" = x""yes; then :
66708 cat >>confdefs.h <<_ACEOF
66709 #define HAVE__ISNANF 1
66710 _ACEOF
66713 done
66722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
66723 $as_echo_n "checking for isinff declaration... " >&6; }
66724 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
66725 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
66726 $as_echo_n "(cached) " >&6
66727 else
66730 ac_ext=cpp
66731 ac_cpp='$CXXCPP $CPPFLAGS'
66732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66737 /* end confdefs.h. */
66738 #include <math.h>
66739 #ifdef HAVE_IEEEFP_H
66740 #include <ieeefp.h>
66741 #endif
66744 main ()
66746 isinff(0);
66748 return 0;
66750 _ACEOF
66751 if ac_fn_cxx_try_compile "$LINENO"; then :
66752 glibcxx_cv_func_isinff_use=yes
66753 else
66754 glibcxx_cv_func_isinff_use=no
66756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66757 ac_ext=c
66758 ac_cpp='$CPP $CPPFLAGS'
66759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
66768 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
66770 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
66771 for ac_func in isinff
66772 do :
66773 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
66774 if test "x$ac_cv_func_isinff" = x""yes; then :
66775 cat >>confdefs.h <<_ACEOF
66776 #define HAVE_ISINFF 1
66777 _ACEOF
66780 done
66782 else
66784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
66785 $as_echo_n "checking for _isinff declaration... " >&6; }
66786 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
66787 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
66788 $as_echo_n "(cached) " >&6
66789 else
66792 ac_ext=cpp
66793 ac_cpp='$CXXCPP $CPPFLAGS'
66794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66799 /* end confdefs.h. */
66800 #include <math.h>
66801 #ifdef HAVE_IEEEFP_H
66802 #include <ieeefp.h>
66803 #endif
66806 main ()
66808 _isinff(0);
66810 return 0;
66812 _ACEOF
66813 if ac_fn_cxx_try_compile "$LINENO"; then :
66814 glibcxx_cv_func__isinff_use=yes
66815 else
66816 glibcxx_cv_func__isinff_use=no
66818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66819 ac_ext=c
66820 ac_cpp='$CPP $CPPFLAGS'
66821 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66822 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66823 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
66830 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
66832 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
66833 for ac_func in _isinff
66834 do :
66835 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
66836 if test "x$ac_cv_func__isinff" = x""yes; then :
66837 cat >>confdefs.h <<_ACEOF
66838 #define HAVE__ISINFF 1
66839 _ACEOF
66842 done
66851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
66852 $as_echo_n "checking for atan2f declaration... " >&6; }
66853 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
66854 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
66855 $as_echo_n "(cached) " >&6
66856 else
66859 ac_ext=cpp
66860 ac_cpp='$CXXCPP $CPPFLAGS'
66861 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66862 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66863 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66866 /* end confdefs.h. */
66867 #include <math.h>
66869 main ()
66871 atan2f(0, 0);
66873 return 0;
66875 _ACEOF
66876 if ac_fn_cxx_try_compile "$LINENO"; then :
66877 glibcxx_cv_func_atan2f_use=yes
66878 else
66879 glibcxx_cv_func_atan2f_use=no
66881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66882 ac_ext=c
66883 ac_cpp='$CPP $CPPFLAGS'
66884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
66893 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
66895 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
66896 for ac_func in atan2f
66897 do :
66898 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
66899 if test "x$ac_cv_func_atan2f" = x""yes; then :
66900 cat >>confdefs.h <<_ACEOF
66901 #define HAVE_ATAN2F 1
66902 _ACEOF
66905 done
66907 else
66909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
66910 $as_echo_n "checking for _atan2f declaration... " >&6; }
66911 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
66912 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
66913 $as_echo_n "(cached) " >&6
66914 else
66917 ac_ext=cpp
66918 ac_cpp='$CXXCPP $CPPFLAGS'
66919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66924 /* end confdefs.h. */
66925 #include <math.h>
66927 main ()
66929 _atan2f(0, 0);
66931 return 0;
66933 _ACEOF
66934 if ac_fn_cxx_try_compile "$LINENO"; then :
66935 glibcxx_cv_func__atan2f_use=yes
66936 else
66937 glibcxx_cv_func__atan2f_use=no
66939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66940 ac_ext=c
66941 ac_cpp='$CPP $CPPFLAGS'
66942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
66951 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
66953 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
66954 for ac_func in _atan2f
66955 do :
66956 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
66957 if test "x$ac_cv_func__atan2f" = x""yes; then :
66958 cat >>confdefs.h <<_ACEOF
66959 #define HAVE__ATAN2F 1
66960 _ACEOF
66963 done
66972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
66973 $as_echo_n "checking for fabsf declaration... " >&6; }
66974 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
66975 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
66976 $as_echo_n "(cached) " >&6
66977 else
66980 ac_ext=cpp
66981 ac_cpp='$CXXCPP $CPPFLAGS'
66982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66987 /* end confdefs.h. */
66988 #include <math.h>
66989 #ifdef HAVE_IEEEFP_H
66990 #include <ieeefp.h>
66991 #endif
66994 main ()
66996 fabsf(0);
66998 return 0;
67000 _ACEOF
67001 if ac_fn_cxx_try_compile "$LINENO"; then :
67002 glibcxx_cv_func_fabsf_use=yes
67003 else
67004 glibcxx_cv_func_fabsf_use=no
67006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67007 ac_ext=c
67008 ac_cpp='$CPP $CPPFLAGS'
67009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
67018 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
67020 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
67021 for ac_func in fabsf
67022 do :
67023 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
67024 if test "x$ac_cv_func_fabsf" = x""yes; then :
67025 cat >>confdefs.h <<_ACEOF
67026 #define HAVE_FABSF 1
67027 _ACEOF
67030 done
67032 else
67034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
67035 $as_echo_n "checking for _fabsf declaration... " >&6; }
67036 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
67037 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
67038 $as_echo_n "(cached) " >&6
67039 else
67042 ac_ext=cpp
67043 ac_cpp='$CXXCPP $CPPFLAGS'
67044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67049 /* end confdefs.h. */
67050 #include <math.h>
67051 #ifdef HAVE_IEEEFP_H
67052 #include <ieeefp.h>
67053 #endif
67056 main ()
67058 _fabsf(0);
67060 return 0;
67062 _ACEOF
67063 if ac_fn_cxx_try_compile "$LINENO"; then :
67064 glibcxx_cv_func__fabsf_use=yes
67065 else
67066 glibcxx_cv_func__fabsf_use=no
67068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67069 ac_ext=c
67070 ac_cpp='$CPP $CPPFLAGS'
67071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
67080 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
67082 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
67083 for ac_func in _fabsf
67084 do :
67085 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
67086 if test "x$ac_cv_func__fabsf" = x""yes; then :
67087 cat >>confdefs.h <<_ACEOF
67088 #define HAVE__FABSF 1
67089 _ACEOF
67092 done
67101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
67102 $as_echo_n "checking for fmodf declaration... " >&6; }
67103 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
67104 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
67105 $as_echo_n "(cached) " >&6
67106 else
67109 ac_ext=cpp
67110 ac_cpp='$CXXCPP $CPPFLAGS'
67111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67116 /* end confdefs.h. */
67117 #include <math.h>
67119 main ()
67121 fmodf(0, 0);
67123 return 0;
67125 _ACEOF
67126 if ac_fn_cxx_try_compile "$LINENO"; then :
67127 glibcxx_cv_func_fmodf_use=yes
67128 else
67129 glibcxx_cv_func_fmodf_use=no
67131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67132 ac_ext=c
67133 ac_cpp='$CPP $CPPFLAGS'
67134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
67143 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
67145 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
67146 for ac_func in fmodf
67147 do :
67148 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
67149 if test "x$ac_cv_func_fmodf" = x""yes; then :
67150 cat >>confdefs.h <<_ACEOF
67151 #define HAVE_FMODF 1
67152 _ACEOF
67155 done
67157 else
67159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
67160 $as_echo_n "checking for _fmodf declaration... " >&6; }
67161 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
67162 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
67163 $as_echo_n "(cached) " >&6
67164 else
67167 ac_ext=cpp
67168 ac_cpp='$CXXCPP $CPPFLAGS'
67169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67174 /* end confdefs.h. */
67175 #include <math.h>
67177 main ()
67179 _fmodf(0, 0);
67181 return 0;
67183 _ACEOF
67184 if ac_fn_cxx_try_compile "$LINENO"; then :
67185 glibcxx_cv_func__fmodf_use=yes
67186 else
67187 glibcxx_cv_func__fmodf_use=no
67189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67190 ac_ext=c
67191 ac_cpp='$CPP $CPPFLAGS'
67192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
67201 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
67203 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
67204 for ac_func in _fmodf
67205 do :
67206 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
67207 if test "x$ac_cv_func__fmodf" = x""yes; then :
67208 cat >>confdefs.h <<_ACEOF
67209 #define HAVE__FMODF 1
67210 _ACEOF
67213 done
67222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
67223 $as_echo_n "checking for frexpf declaration... " >&6; }
67224 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
67225 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
67226 $as_echo_n "(cached) " >&6
67227 else
67230 ac_ext=cpp
67231 ac_cpp='$CXXCPP $CPPFLAGS'
67232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67237 /* end confdefs.h. */
67238 #include <math.h>
67240 main ()
67242 frexpf(0, 0);
67244 return 0;
67246 _ACEOF
67247 if ac_fn_cxx_try_compile "$LINENO"; then :
67248 glibcxx_cv_func_frexpf_use=yes
67249 else
67250 glibcxx_cv_func_frexpf_use=no
67252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67253 ac_ext=c
67254 ac_cpp='$CPP $CPPFLAGS'
67255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
67264 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
67266 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
67267 for ac_func in frexpf
67268 do :
67269 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
67270 if test "x$ac_cv_func_frexpf" = x""yes; then :
67271 cat >>confdefs.h <<_ACEOF
67272 #define HAVE_FREXPF 1
67273 _ACEOF
67276 done
67278 else
67280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
67281 $as_echo_n "checking for _frexpf declaration... " >&6; }
67282 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
67283 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
67284 $as_echo_n "(cached) " >&6
67285 else
67288 ac_ext=cpp
67289 ac_cpp='$CXXCPP $CPPFLAGS'
67290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67295 /* end confdefs.h. */
67296 #include <math.h>
67298 main ()
67300 _frexpf(0, 0);
67302 return 0;
67304 _ACEOF
67305 if ac_fn_cxx_try_compile "$LINENO"; then :
67306 glibcxx_cv_func__frexpf_use=yes
67307 else
67308 glibcxx_cv_func__frexpf_use=no
67310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67311 ac_ext=c
67312 ac_cpp='$CPP $CPPFLAGS'
67313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
67322 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
67324 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
67325 for ac_func in _frexpf
67326 do :
67327 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
67328 if test "x$ac_cv_func__frexpf" = x""yes; then :
67329 cat >>confdefs.h <<_ACEOF
67330 #define HAVE__FREXPF 1
67331 _ACEOF
67334 done
67343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
67344 $as_echo_n "checking for hypotf declaration... " >&6; }
67345 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
67346 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
67347 $as_echo_n "(cached) " >&6
67348 else
67351 ac_ext=cpp
67352 ac_cpp='$CXXCPP $CPPFLAGS'
67353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67358 /* end confdefs.h. */
67359 #include <math.h>
67361 main ()
67363 hypotf(0, 0);
67365 return 0;
67367 _ACEOF
67368 if ac_fn_cxx_try_compile "$LINENO"; then :
67369 glibcxx_cv_func_hypotf_use=yes
67370 else
67371 glibcxx_cv_func_hypotf_use=no
67373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67374 ac_ext=c
67375 ac_cpp='$CPP $CPPFLAGS'
67376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
67385 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
67387 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
67388 for ac_func in hypotf
67389 do :
67390 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
67391 if test "x$ac_cv_func_hypotf" = x""yes; then :
67392 cat >>confdefs.h <<_ACEOF
67393 #define HAVE_HYPOTF 1
67394 _ACEOF
67397 done
67399 else
67401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
67402 $as_echo_n "checking for _hypotf declaration... " >&6; }
67403 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
67404 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
67405 $as_echo_n "(cached) " >&6
67406 else
67409 ac_ext=cpp
67410 ac_cpp='$CXXCPP $CPPFLAGS'
67411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67416 /* end confdefs.h. */
67417 #include <math.h>
67419 main ()
67421 _hypotf(0, 0);
67423 return 0;
67425 _ACEOF
67426 if ac_fn_cxx_try_compile "$LINENO"; then :
67427 glibcxx_cv_func__hypotf_use=yes
67428 else
67429 glibcxx_cv_func__hypotf_use=no
67431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67432 ac_ext=c
67433 ac_cpp='$CPP $CPPFLAGS'
67434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
67443 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
67445 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
67446 for ac_func in _hypotf
67447 do :
67448 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
67449 if test "x$ac_cv_func__hypotf" = x""yes; then :
67450 cat >>confdefs.h <<_ACEOF
67451 #define HAVE__HYPOTF 1
67452 _ACEOF
67455 done
67464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
67465 $as_echo_n "checking for ldexpf declaration... " >&6; }
67466 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
67467 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
67468 $as_echo_n "(cached) " >&6
67469 else
67472 ac_ext=cpp
67473 ac_cpp='$CXXCPP $CPPFLAGS'
67474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67479 /* end confdefs.h. */
67480 #include <math.h>
67482 main ()
67484 ldexpf(0, 0);
67486 return 0;
67488 _ACEOF
67489 if ac_fn_cxx_try_compile "$LINENO"; then :
67490 glibcxx_cv_func_ldexpf_use=yes
67491 else
67492 glibcxx_cv_func_ldexpf_use=no
67494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67495 ac_ext=c
67496 ac_cpp='$CPP $CPPFLAGS'
67497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
67506 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
67508 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
67509 for ac_func in ldexpf
67510 do :
67511 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
67512 if test "x$ac_cv_func_ldexpf" = x""yes; then :
67513 cat >>confdefs.h <<_ACEOF
67514 #define HAVE_LDEXPF 1
67515 _ACEOF
67518 done
67520 else
67522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
67523 $as_echo_n "checking for _ldexpf declaration... " >&6; }
67524 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
67525 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
67526 $as_echo_n "(cached) " >&6
67527 else
67530 ac_ext=cpp
67531 ac_cpp='$CXXCPP $CPPFLAGS'
67532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67537 /* end confdefs.h. */
67538 #include <math.h>
67540 main ()
67542 _ldexpf(0, 0);
67544 return 0;
67546 _ACEOF
67547 if ac_fn_cxx_try_compile "$LINENO"; then :
67548 glibcxx_cv_func__ldexpf_use=yes
67549 else
67550 glibcxx_cv_func__ldexpf_use=no
67552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67553 ac_ext=c
67554 ac_cpp='$CPP $CPPFLAGS'
67555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
67564 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
67566 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
67567 for ac_func in _ldexpf
67568 do :
67569 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
67570 if test "x$ac_cv_func__ldexpf" = x""yes; then :
67571 cat >>confdefs.h <<_ACEOF
67572 #define HAVE__LDEXPF 1
67573 _ACEOF
67576 done
67585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
67586 $as_echo_n "checking for logf declaration... " >&6; }
67587 if test x${glibcxx_cv_func_logf_use+set} != xset; then
67588 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
67589 $as_echo_n "(cached) " >&6
67590 else
67593 ac_ext=cpp
67594 ac_cpp='$CXXCPP $CPPFLAGS'
67595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67600 /* end confdefs.h. */
67601 #include <math.h>
67602 #ifdef HAVE_IEEEFP_H
67603 #include <ieeefp.h>
67604 #endif
67607 main ()
67609 logf(0);
67611 return 0;
67613 _ACEOF
67614 if ac_fn_cxx_try_compile "$LINENO"; then :
67615 glibcxx_cv_func_logf_use=yes
67616 else
67617 glibcxx_cv_func_logf_use=no
67619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67620 ac_ext=c
67621 ac_cpp='$CPP $CPPFLAGS'
67622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
67631 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
67633 if test x$glibcxx_cv_func_logf_use = x"yes"; then
67634 for ac_func in logf
67635 do :
67636 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
67637 if test "x$ac_cv_func_logf" = x""yes; then :
67638 cat >>confdefs.h <<_ACEOF
67639 #define HAVE_LOGF 1
67640 _ACEOF
67643 done
67645 else
67647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
67648 $as_echo_n "checking for _logf declaration... " >&6; }
67649 if test x${glibcxx_cv_func__logf_use+set} != xset; then
67650 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
67651 $as_echo_n "(cached) " >&6
67652 else
67655 ac_ext=cpp
67656 ac_cpp='$CXXCPP $CPPFLAGS'
67657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67662 /* end confdefs.h. */
67663 #include <math.h>
67664 #ifdef HAVE_IEEEFP_H
67665 #include <ieeefp.h>
67666 #endif
67669 main ()
67671 _logf(0);
67673 return 0;
67675 _ACEOF
67676 if ac_fn_cxx_try_compile "$LINENO"; then :
67677 glibcxx_cv_func__logf_use=yes
67678 else
67679 glibcxx_cv_func__logf_use=no
67681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67682 ac_ext=c
67683 ac_cpp='$CPP $CPPFLAGS'
67684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
67693 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
67695 if test x$glibcxx_cv_func__logf_use = x"yes"; then
67696 for ac_func in _logf
67697 do :
67698 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
67699 if test "x$ac_cv_func__logf" = x""yes; then :
67700 cat >>confdefs.h <<_ACEOF
67701 #define HAVE__LOGF 1
67702 _ACEOF
67705 done
67714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
67715 $as_echo_n "checking for log10f declaration... " >&6; }
67716 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
67717 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
67718 $as_echo_n "(cached) " >&6
67719 else
67722 ac_ext=cpp
67723 ac_cpp='$CXXCPP $CPPFLAGS'
67724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67729 /* end confdefs.h. */
67730 #include <math.h>
67731 #ifdef HAVE_IEEEFP_H
67732 #include <ieeefp.h>
67733 #endif
67736 main ()
67738 log10f(0);
67740 return 0;
67742 _ACEOF
67743 if ac_fn_cxx_try_compile "$LINENO"; then :
67744 glibcxx_cv_func_log10f_use=yes
67745 else
67746 glibcxx_cv_func_log10f_use=no
67748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67749 ac_ext=c
67750 ac_cpp='$CPP $CPPFLAGS'
67751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
67760 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
67762 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
67763 for ac_func in log10f
67764 do :
67765 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
67766 if test "x$ac_cv_func_log10f" = x""yes; then :
67767 cat >>confdefs.h <<_ACEOF
67768 #define HAVE_LOG10F 1
67769 _ACEOF
67772 done
67774 else
67776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
67777 $as_echo_n "checking for _log10f declaration... " >&6; }
67778 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
67779 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
67780 $as_echo_n "(cached) " >&6
67781 else
67784 ac_ext=cpp
67785 ac_cpp='$CXXCPP $CPPFLAGS'
67786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67791 /* end confdefs.h. */
67792 #include <math.h>
67793 #ifdef HAVE_IEEEFP_H
67794 #include <ieeefp.h>
67795 #endif
67798 main ()
67800 _log10f(0);
67802 return 0;
67804 _ACEOF
67805 if ac_fn_cxx_try_compile "$LINENO"; then :
67806 glibcxx_cv_func__log10f_use=yes
67807 else
67808 glibcxx_cv_func__log10f_use=no
67810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67811 ac_ext=c
67812 ac_cpp='$CPP $CPPFLAGS'
67813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
67822 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
67824 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
67825 for ac_func in _log10f
67826 do :
67827 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
67828 if test "x$ac_cv_func__log10f" = x""yes; then :
67829 cat >>confdefs.h <<_ACEOF
67830 #define HAVE__LOG10F 1
67831 _ACEOF
67834 done
67843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
67844 $as_echo_n "checking for modff declaration... " >&6; }
67845 if test x${glibcxx_cv_func_modff_use+set} != xset; then
67846 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
67847 $as_echo_n "(cached) " >&6
67848 else
67851 ac_ext=cpp
67852 ac_cpp='$CXXCPP $CPPFLAGS'
67853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67858 /* end confdefs.h. */
67859 #include <math.h>
67861 main ()
67863 modff(0, 0);
67865 return 0;
67867 _ACEOF
67868 if ac_fn_cxx_try_compile "$LINENO"; then :
67869 glibcxx_cv_func_modff_use=yes
67870 else
67871 glibcxx_cv_func_modff_use=no
67873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67874 ac_ext=c
67875 ac_cpp='$CPP $CPPFLAGS'
67876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
67885 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
67887 if test x$glibcxx_cv_func_modff_use = x"yes"; then
67888 for ac_func in modff
67889 do :
67890 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
67891 if test "x$ac_cv_func_modff" = x""yes; then :
67892 cat >>confdefs.h <<_ACEOF
67893 #define HAVE_MODFF 1
67894 _ACEOF
67897 done
67899 else
67901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
67902 $as_echo_n "checking for _modff declaration... " >&6; }
67903 if test x${glibcxx_cv_func__modff_use+set} != xset; then
67904 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
67905 $as_echo_n "(cached) " >&6
67906 else
67909 ac_ext=cpp
67910 ac_cpp='$CXXCPP $CPPFLAGS'
67911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67916 /* end confdefs.h. */
67917 #include <math.h>
67919 main ()
67921 _modff(0, 0);
67923 return 0;
67925 _ACEOF
67926 if ac_fn_cxx_try_compile "$LINENO"; then :
67927 glibcxx_cv_func__modff_use=yes
67928 else
67929 glibcxx_cv_func__modff_use=no
67931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67932 ac_ext=c
67933 ac_cpp='$CPP $CPPFLAGS'
67934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
67943 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
67945 if test x$glibcxx_cv_func__modff_use = x"yes"; then
67946 for ac_func in _modff
67947 do :
67948 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
67949 if test "x$ac_cv_func__modff" = x""yes; then :
67950 cat >>confdefs.h <<_ACEOF
67951 #define HAVE__MODFF 1
67952 _ACEOF
67955 done
67964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
67965 $as_echo_n "checking for modf declaration... " >&6; }
67966 if test x${glibcxx_cv_func_modf_use+set} != xset; then
67967 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
67968 $as_echo_n "(cached) " >&6
67969 else
67972 ac_ext=cpp
67973 ac_cpp='$CXXCPP $CPPFLAGS'
67974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67979 /* end confdefs.h. */
67980 #include <math.h>
67982 main ()
67984 modf(0, 0);
67986 return 0;
67988 _ACEOF
67989 if ac_fn_cxx_try_compile "$LINENO"; then :
67990 glibcxx_cv_func_modf_use=yes
67991 else
67992 glibcxx_cv_func_modf_use=no
67994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67995 ac_ext=c
67996 ac_cpp='$CPP $CPPFLAGS'
67997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
68006 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
68008 if test x$glibcxx_cv_func_modf_use = x"yes"; then
68009 for ac_func in modf
68010 do :
68011 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
68012 if test "x$ac_cv_func_modf" = x""yes; then :
68013 cat >>confdefs.h <<_ACEOF
68014 #define HAVE_MODF 1
68015 _ACEOF
68018 done
68020 else
68022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
68023 $as_echo_n "checking for _modf declaration... " >&6; }
68024 if test x${glibcxx_cv_func__modf_use+set} != xset; then
68025 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
68026 $as_echo_n "(cached) " >&6
68027 else
68030 ac_ext=cpp
68031 ac_cpp='$CXXCPP $CPPFLAGS'
68032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68037 /* end confdefs.h. */
68038 #include <math.h>
68040 main ()
68042 _modf(0, 0);
68044 return 0;
68046 _ACEOF
68047 if ac_fn_cxx_try_compile "$LINENO"; then :
68048 glibcxx_cv_func__modf_use=yes
68049 else
68050 glibcxx_cv_func__modf_use=no
68052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68053 ac_ext=c
68054 ac_cpp='$CPP $CPPFLAGS'
68055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
68064 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
68066 if test x$glibcxx_cv_func__modf_use = x"yes"; then
68067 for ac_func in _modf
68068 do :
68069 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
68070 if test "x$ac_cv_func__modf" = x""yes; then :
68071 cat >>confdefs.h <<_ACEOF
68072 #define HAVE__MODF 1
68073 _ACEOF
68076 done
68085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
68086 $as_echo_n "checking for powf declaration... " >&6; }
68087 if test x${glibcxx_cv_func_powf_use+set} != xset; then
68088 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
68089 $as_echo_n "(cached) " >&6
68090 else
68093 ac_ext=cpp
68094 ac_cpp='$CXXCPP $CPPFLAGS'
68095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68100 /* end confdefs.h. */
68101 #include <math.h>
68103 main ()
68105 powf(0, 0);
68107 return 0;
68109 _ACEOF
68110 if ac_fn_cxx_try_compile "$LINENO"; then :
68111 glibcxx_cv_func_powf_use=yes
68112 else
68113 glibcxx_cv_func_powf_use=no
68115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68116 ac_ext=c
68117 ac_cpp='$CPP $CPPFLAGS'
68118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
68127 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
68129 if test x$glibcxx_cv_func_powf_use = x"yes"; then
68130 for ac_func in powf
68131 do :
68132 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
68133 if test "x$ac_cv_func_powf" = x""yes; then :
68134 cat >>confdefs.h <<_ACEOF
68135 #define HAVE_POWF 1
68136 _ACEOF
68139 done
68141 else
68143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
68144 $as_echo_n "checking for _powf declaration... " >&6; }
68145 if test x${glibcxx_cv_func__powf_use+set} != xset; then
68146 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
68147 $as_echo_n "(cached) " >&6
68148 else
68151 ac_ext=cpp
68152 ac_cpp='$CXXCPP $CPPFLAGS'
68153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68158 /* end confdefs.h. */
68159 #include <math.h>
68161 main ()
68163 _powf(0, 0);
68165 return 0;
68167 _ACEOF
68168 if ac_fn_cxx_try_compile "$LINENO"; then :
68169 glibcxx_cv_func__powf_use=yes
68170 else
68171 glibcxx_cv_func__powf_use=no
68173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68174 ac_ext=c
68175 ac_cpp='$CPP $CPPFLAGS'
68176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
68185 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
68187 if test x$glibcxx_cv_func__powf_use = x"yes"; then
68188 for ac_func in _powf
68189 do :
68190 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
68191 if test "x$ac_cv_func__powf" = x""yes; then :
68192 cat >>confdefs.h <<_ACEOF
68193 #define HAVE__POWF 1
68194 _ACEOF
68197 done
68206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
68207 $as_echo_n "checking for sqrtf declaration... " >&6; }
68208 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
68209 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
68210 $as_echo_n "(cached) " >&6
68211 else
68214 ac_ext=cpp
68215 ac_cpp='$CXXCPP $CPPFLAGS'
68216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68221 /* end confdefs.h. */
68222 #include <math.h>
68223 #ifdef HAVE_IEEEFP_H
68224 #include <ieeefp.h>
68225 #endif
68228 main ()
68230 sqrtf(0);
68232 return 0;
68234 _ACEOF
68235 if ac_fn_cxx_try_compile "$LINENO"; then :
68236 glibcxx_cv_func_sqrtf_use=yes
68237 else
68238 glibcxx_cv_func_sqrtf_use=no
68240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68241 ac_ext=c
68242 ac_cpp='$CPP $CPPFLAGS'
68243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
68252 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
68254 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
68255 for ac_func in sqrtf
68256 do :
68257 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
68258 if test "x$ac_cv_func_sqrtf" = x""yes; then :
68259 cat >>confdefs.h <<_ACEOF
68260 #define HAVE_SQRTF 1
68261 _ACEOF
68264 done
68266 else
68268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
68269 $as_echo_n "checking for _sqrtf declaration... " >&6; }
68270 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
68271 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
68272 $as_echo_n "(cached) " >&6
68273 else
68276 ac_ext=cpp
68277 ac_cpp='$CXXCPP $CPPFLAGS'
68278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68283 /* end confdefs.h. */
68284 #include <math.h>
68285 #ifdef HAVE_IEEEFP_H
68286 #include <ieeefp.h>
68287 #endif
68290 main ()
68292 _sqrtf(0);
68294 return 0;
68296 _ACEOF
68297 if ac_fn_cxx_try_compile "$LINENO"; then :
68298 glibcxx_cv_func__sqrtf_use=yes
68299 else
68300 glibcxx_cv_func__sqrtf_use=no
68302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68303 ac_ext=c
68304 ac_cpp='$CPP $CPPFLAGS'
68305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
68314 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
68316 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
68317 for ac_func in _sqrtf
68318 do :
68319 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
68320 if test "x$ac_cv_func__sqrtf" = x""yes; then :
68321 cat >>confdefs.h <<_ACEOF
68322 #define HAVE__SQRTF 1
68323 _ACEOF
68326 done
68335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
68336 $as_echo_n "checking for sincosf declaration... " >&6; }
68337 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
68338 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
68339 $as_echo_n "(cached) " >&6
68340 else
68343 ac_ext=cpp
68344 ac_cpp='$CXXCPP $CPPFLAGS'
68345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68350 /* end confdefs.h. */
68351 #include <math.h>
68353 main ()
68355 sincosf(0, 0, 0);
68357 return 0;
68359 _ACEOF
68360 if ac_fn_cxx_try_compile "$LINENO"; then :
68361 glibcxx_cv_func_sincosf_use=yes
68362 else
68363 glibcxx_cv_func_sincosf_use=no
68365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68366 ac_ext=c
68367 ac_cpp='$CPP $CPPFLAGS'
68368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
68377 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
68379 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
68380 for ac_func in sincosf
68381 do :
68382 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
68383 if test "x$ac_cv_func_sincosf" = x""yes; then :
68384 cat >>confdefs.h <<_ACEOF
68385 #define HAVE_SINCOSF 1
68386 _ACEOF
68389 done
68391 else
68393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
68394 $as_echo_n "checking for _sincosf declaration... " >&6; }
68395 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
68396 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
68397 $as_echo_n "(cached) " >&6
68398 else
68401 ac_ext=cpp
68402 ac_cpp='$CXXCPP $CPPFLAGS'
68403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68408 /* end confdefs.h. */
68409 #include <math.h>
68411 main ()
68413 _sincosf(0, 0, 0);
68415 return 0;
68417 _ACEOF
68418 if ac_fn_cxx_try_compile "$LINENO"; then :
68419 glibcxx_cv_func__sincosf_use=yes
68420 else
68421 glibcxx_cv_func__sincosf_use=no
68423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68424 ac_ext=c
68425 ac_cpp='$CPP $CPPFLAGS'
68426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
68435 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
68437 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
68438 for ac_func in _sincosf
68439 do :
68440 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
68441 if test "x$ac_cv_func__sincosf" = x""yes; then :
68442 cat >>confdefs.h <<_ACEOF
68443 #define HAVE__SINCOSF 1
68444 _ACEOF
68447 done
68456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
68457 $as_echo_n "checking for finitef declaration... " >&6; }
68458 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
68459 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
68460 $as_echo_n "(cached) " >&6
68461 else
68464 ac_ext=cpp
68465 ac_cpp='$CXXCPP $CPPFLAGS'
68466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68471 /* end confdefs.h. */
68472 #include <math.h>
68473 #ifdef HAVE_IEEEFP_H
68474 #include <ieeefp.h>
68475 #endif
68478 main ()
68480 finitef(0);
68482 return 0;
68484 _ACEOF
68485 if ac_fn_cxx_try_compile "$LINENO"; then :
68486 glibcxx_cv_func_finitef_use=yes
68487 else
68488 glibcxx_cv_func_finitef_use=no
68490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68491 ac_ext=c
68492 ac_cpp='$CPP $CPPFLAGS'
68493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
68502 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
68504 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
68505 for ac_func in finitef
68506 do :
68507 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
68508 if test "x$ac_cv_func_finitef" = x""yes; then :
68509 cat >>confdefs.h <<_ACEOF
68510 #define HAVE_FINITEF 1
68511 _ACEOF
68514 done
68516 else
68518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
68519 $as_echo_n "checking for _finitef declaration... " >&6; }
68520 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
68521 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
68522 $as_echo_n "(cached) " >&6
68523 else
68526 ac_ext=cpp
68527 ac_cpp='$CXXCPP $CPPFLAGS'
68528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68533 /* end confdefs.h. */
68534 #include <math.h>
68535 #ifdef HAVE_IEEEFP_H
68536 #include <ieeefp.h>
68537 #endif
68540 main ()
68542 _finitef(0);
68544 return 0;
68546 _ACEOF
68547 if ac_fn_cxx_try_compile "$LINENO"; then :
68548 glibcxx_cv_func__finitef_use=yes
68549 else
68550 glibcxx_cv_func__finitef_use=no
68552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68553 ac_ext=c
68554 ac_cpp='$CPP $CPPFLAGS'
68555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
68564 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
68566 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
68567 for ac_func in _finitef
68568 do :
68569 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
68570 if test "x$ac_cv_func__finitef" = x""yes; then :
68571 cat >>confdefs.h <<_ACEOF
68572 #define HAVE__FINITEF 1
68573 _ACEOF
68576 done
68585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
68586 $as_echo_n "checking for long double trig functions... " >&6; }
68587 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
68588 $as_echo_n "(cached) " >&6
68589 else
68592 ac_ext=cpp
68593 ac_cpp='$CXXCPP $CPPFLAGS'
68594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68599 /* end confdefs.h. */
68600 #include <math.h>
68602 main ()
68604 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
68606 return 0;
68608 _ACEOF
68609 if ac_fn_cxx_try_compile "$LINENO"; then :
68610 glibcxx_cv_func_long_double_trig_use=yes
68611 else
68612 glibcxx_cv_func_long_double_trig_use=no
68614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68615 ac_ext=c
68616 ac_cpp='$CPP $CPPFLAGS'
68617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
68624 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
68625 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
68626 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
68627 do :
68628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68630 eval as_val=\$$as_ac_var
68631 if test "x$as_val" = x""yes; then :
68632 cat >>confdefs.h <<_ACEOF
68633 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68634 _ACEOF
68637 done
68639 else
68640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
68641 $as_echo_n "checking for _long double trig functions... " >&6; }
68642 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
68643 $as_echo_n "(cached) " >&6
68644 else
68647 ac_ext=cpp
68648 ac_cpp='$CXXCPP $CPPFLAGS'
68649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68654 /* end confdefs.h. */
68655 #include <math.h>
68657 main ()
68659 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
68661 return 0;
68663 _ACEOF
68664 if ac_fn_cxx_try_compile "$LINENO"; then :
68665 glibcxx_cv_func__long_double_trig_use=yes
68666 else
68667 glibcxx_cv_func__long_double_trig_use=no
68669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68670 ac_ext=c
68671 ac_cpp='$CPP $CPPFLAGS'
68672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
68679 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
68680 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
68681 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
68682 do :
68683 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68684 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68685 eval as_val=\$$as_ac_var
68686 if test "x$as_val" = x""yes; then :
68687 cat >>confdefs.h <<_ACEOF
68688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68689 _ACEOF
68692 done
68701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
68702 $as_echo_n "checking for long double round functions... " >&6; }
68703 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
68704 $as_echo_n "(cached) " >&6
68705 else
68708 ac_ext=cpp
68709 ac_cpp='$CXXCPP $CPPFLAGS'
68710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68715 /* end confdefs.h. */
68716 #include <math.h>
68718 main ()
68720 ceill (0); floorl (0);
68722 return 0;
68724 _ACEOF
68725 if ac_fn_cxx_try_compile "$LINENO"; then :
68726 glibcxx_cv_func_long_double_round_use=yes
68727 else
68728 glibcxx_cv_func_long_double_round_use=no
68730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68731 ac_ext=c
68732 ac_cpp='$CPP $CPPFLAGS'
68733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
68740 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
68741 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
68742 for ac_func in ceill floorl
68743 do :
68744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68746 eval as_val=\$$as_ac_var
68747 if test "x$as_val" = x""yes; then :
68748 cat >>confdefs.h <<_ACEOF
68749 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68750 _ACEOF
68753 done
68755 else
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
68757 $as_echo_n "checking for _long double round functions... " >&6; }
68758 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
68759 $as_echo_n "(cached) " >&6
68760 else
68763 ac_ext=cpp
68764 ac_cpp='$CXXCPP $CPPFLAGS'
68765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68770 /* end confdefs.h. */
68771 #include <math.h>
68773 main ()
68775 _ceill (0); _floorl (0);
68777 return 0;
68779 _ACEOF
68780 if ac_fn_cxx_try_compile "$LINENO"; then :
68781 glibcxx_cv_func__long_double_round_use=yes
68782 else
68783 glibcxx_cv_func__long_double_round_use=no
68785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68786 ac_ext=c
68787 ac_cpp='$CPP $CPPFLAGS'
68788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
68795 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
68796 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
68797 for ac_func in _ceill _floorl
68798 do :
68799 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68800 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68801 eval as_val=\$$as_ac_var
68802 if test "x$as_val" = x""yes; then :
68803 cat >>confdefs.h <<_ACEOF
68804 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68805 _ACEOF
68808 done
68818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
68819 $as_echo_n "checking for isnanl declaration... " >&6; }
68820 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
68821 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
68822 $as_echo_n "(cached) " >&6
68823 else
68826 ac_ext=cpp
68827 ac_cpp='$CXXCPP $CPPFLAGS'
68828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68833 /* end confdefs.h. */
68834 #include <math.h>
68835 #ifdef HAVE_IEEEFP_H
68836 #include <ieeefp.h>
68837 #endif
68840 main ()
68842 isnanl(0);
68844 return 0;
68846 _ACEOF
68847 if ac_fn_cxx_try_compile "$LINENO"; then :
68848 glibcxx_cv_func_isnanl_use=yes
68849 else
68850 glibcxx_cv_func_isnanl_use=no
68852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68853 ac_ext=c
68854 ac_cpp='$CPP $CPPFLAGS'
68855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
68864 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
68866 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
68867 for ac_func in isnanl
68868 do :
68869 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
68870 if test "x$ac_cv_func_isnanl" = x""yes; then :
68871 cat >>confdefs.h <<_ACEOF
68872 #define HAVE_ISNANL 1
68873 _ACEOF
68876 done
68878 else
68880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
68881 $as_echo_n "checking for _isnanl declaration... " >&6; }
68882 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
68883 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
68884 $as_echo_n "(cached) " >&6
68885 else
68888 ac_ext=cpp
68889 ac_cpp='$CXXCPP $CPPFLAGS'
68890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68895 /* end confdefs.h. */
68896 #include <math.h>
68897 #ifdef HAVE_IEEEFP_H
68898 #include <ieeefp.h>
68899 #endif
68902 main ()
68904 _isnanl(0);
68906 return 0;
68908 _ACEOF
68909 if ac_fn_cxx_try_compile "$LINENO"; then :
68910 glibcxx_cv_func__isnanl_use=yes
68911 else
68912 glibcxx_cv_func__isnanl_use=no
68914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68915 ac_ext=c
68916 ac_cpp='$CPP $CPPFLAGS'
68917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
68926 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
68928 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
68929 for ac_func in _isnanl
68930 do :
68931 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
68932 if test "x$ac_cv_func__isnanl" = x""yes; then :
68933 cat >>confdefs.h <<_ACEOF
68934 #define HAVE__ISNANL 1
68935 _ACEOF
68938 done
68947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
68948 $as_echo_n "checking for isinfl declaration... " >&6; }
68949 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
68950 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
68951 $as_echo_n "(cached) " >&6
68952 else
68955 ac_ext=cpp
68956 ac_cpp='$CXXCPP $CPPFLAGS'
68957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68962 /* end confdefs.h. */
68963 #include <math.h>
68964 #ifdef HAVE_IEEEFP_H
68965 #include <ieeefp.h>
68966 #endif
68969 main ()
68971 isinfl(0);
68973 return 0;
68975 _ACEOF
68976 if ac_fn_cxx_try_compile "$LINENO"; then :
68977 glibcxx_cv_func_isinfl_use=yes
68978 else
68979 glibcxx_cv_func_isinfl_use=no
68981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68982 ac_ext=c
68983 ac_cpp='$CPP $CPPFLAGS'
68984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
68993 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
68995 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
68996 for ac_func in isinfl
68997 do :
68998 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
68999 if test "x$ac_cv_func_isinfl" = x""yes; then :
69000 cat >>confdefs.h <<_ACEOF
69001 #define HAVE_ISINFL 1
69002 _ACEOF
69005 done
69007 else
69009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
69010 $as_echo_n "checking for _isinfl declaration... " >&6; }
69011 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
69012 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
69013 $as_echo_n "(cached) " >&6
69014 else
69017 ac_ext=cpp
69018 ac_cpp='$CXXCPP $CPPFLAGS'
69019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69024 /* end confdefs.h. */
69025 #include <math.h>
69026 #ifdef HAVE_IEEEFP_H
69027 #include <ieeefp.h>
69028 #endif
69031 main ()
69033 _isinfl(0);
69035 return 0;
69037 _ACEOF
69038 if ac_fn_cxx_try_compile "$LINENO"; then :
69039 glibcxx_cv_func__isinfl_use=yes
69040 else
69041 glibcxx_cv_func__isinfl_use=no
69043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69044 ac_ext=c
69045 ac_cpp='$CPP $CPPFLAGS'
69046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
69055 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
69057 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
69058 for ac_func in _isinfl
69059 do :
69060 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
69061 if test "x$ac_cv_func__isinfl" = x""yes; then :
69062 cat >>confdefs.h <<_ACEOF
69063 #define HAVE__ISINFL 1
69064 _ACEOF
69067 done
69076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
69077 $as_echo_n "checking for atan2l declaration... " >&6; }
69078 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
69079 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
69080 $as_echo_n "(cached) " >&6
69081 else
69084 ac_ext=cpp
69085 ac_cpp='$CXXCPP $CPPFLAGS'
69086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69091 /* end confdefs.h. */
69092 #include <math.h>
69094 main ()
69096 atan2l(0, 0);
69098 return 0;
69100 _ACEOF
69101 if ac_fn_cxx_try_compile "$LINENO"; then :
69102 glibcxx_cv_func_atan2l_use=yes
69103 else
69104 glibcxx_cv_func_atan2l_use=no
69106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69107 ac_ext=c
69108 ac_cpp='$CPP $CPPFLAGS'
69109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
69118 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
69120 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
69121 for ac_func in atan2l
69122 do :
69123 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
69124 if test "x$ac_cv_func_atan2l" = x""yes; then :
69125 cat >>confdefs.h <<_ACEOF
69126 #define HAVE_ATAN2L 1
69127 _ACEOF
69130 done
69132 else
69134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
69135 $as_echo_n "checking for _atan2l declaration... " >&6; }
69136 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
69137 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
69138 $as_echo_n "(cached) " >&6
69139 else
69142 ac_ext=cpp
69143 ac_cpp='$CXXCPP $CPPFLAGS'
69144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69149 /* end confdefs.h. */
69150 #include <math.h>
69152 main ()
69154 _atan2l(0, 0);
69156 return 0;
69158 _ACEOF
69159 if ac_fn_cxx_try_compile "$LINENO"; then :
69160 glibcxx_cv_func__atan2l_use=yes
69161 else
69162 glibcxx_cv_func__atan2l_use=no
69164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69165 ac_ext=c
69166 ac_cpp='$CPP $CPPFLAGS'
69167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
69176 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
69178 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
69179 for ac_func in _atan2l
69180 do :
69181 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
69182 if test "x$ac_cv_func__atan2l" = x""yes; then :
69183 cat >>confdefs.h <<_ACEOF
69184 #define HAVE__ATAN2L 1
69185 _ACEOF
69188 done
69197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
69198 $as_echo_n "checking for expl declaration... " >&6; }
69199 if test x${glibcxx_cv_func_expl_use+set} != xset; then
69200 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
69201 $as_echo_n "(cached) " >&6
69202 else
69205 ac_ext=cpp
69206 ac_cpp='$CXXCPP $CPPFLAGS'
69207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69212 /* end confdefs.h. */
69213 #include <math.h>
69214 #ifdef HAVE_IEEEFP_H
69215 #include <ieeefp.h>
69216 #endif
69219 main ()
69221 expl(0);
69223 return 0;
69225 _ACEOF
69226 if ac_fn_cxx_try_compile "$LINENO"; then :
69227 glibcxx_cv_func_expl_use=yes
69228 else
69229 glibcxx_cv_func_expl_use=no
69231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69232 ac_ext=c
69233 ac_cpp='$CPP $CPPFLAGS'
69234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
69243 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
69245 if test x$glibcxx_cv_func_expl_use = x"yes"; then
69246 for ac_func in expl
69247 do :
69248 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
69249 if test "x$ac_cv_func_expl" = x""yes; then :
69250 cat >>confdefs.h <<_ACEOF
69251 #define HAVE_EXPL 1
69252 _ACEOF
69255 done
69257 else
69259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
69260 $as_echo_n "checking for _expl declaration... " >&6; }
69261 if test x${glibcxx_cv_func__expl_use+set} != xset; then
69262 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
69263 $as_echo_n "(cached) " >&6
69264 else
69267 ac_ext=cpp
69268 ac_cpp='$CXXCPP $CPPFLAGS'
69269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69274 /* end confdefs.h. */
69275 #include <math.h>
69276 #ifdef HAVE_IEEEFP_H
69277 #include <ieeefp.h>
69278 #endif
69281 main ()
69283 _expl(0);
69285 return 0;
69287 _ACEOF
69288 if ac_fn_cxx_try_compile "$LINENO"; then :
69289 glibcxx_cv_func__expl_use=yes
69290 else
69291 glibcxx_cv_func__expl_use=no
69293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69294 ac_ext=c
69295 ac_cpp='$CPP $CPPFLAGS'
69296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
69305 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
69307 if test x$glibcxx_cv_func__expl_use = x"yes"; then
69308 for ac_func in _expl
69309 do :
69310 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
69311 if test "x$ac_cv_func__expl" = x""yes; then :
69312 cat >>confdefs.h <<_ACEOF
69313 #define HAVE__EXPL 1
69314 _ACEOF
69317 done
69326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
69327 $as_echo_n "checking for fabsl declaration... " >&6; }
69328 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
69329 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
69330 $as_echo_n "(cached) " >&6
69331 else
69334 ac_ext=cpp
69335 ac_cpp='$CXXCPP $CPPFLAGS'
69336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69341 /* end confdefs.h. */
69342 #include <math.h>
69343 #ifdef HAVE_IEEEFP_H
69344 #include <ieeefp.h>
69345 #endif
69348 main ()
69350 fabsl(0);
69352 return 0;
69354 _ACEOF
69355 if ac_fn_cxx_try_compile "$LINENO"; then :
69356 glibcxx_cv_func_fabsl_use=yes
69357 else
69358 glibcxx_cv_func_fabsl_use=no
69360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69361 ac_ext=c
69362 ac_cpp='$CPP $CPPFLAGS'
69363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
69372 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
69374 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
69375 for ac_func in fabsl
69376 do :
69377 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
69378 if test "x$ac_cv_func_fabsl" = x""yes; then :
69379 cat >>confdefs.h <<_ACEOF
69380 #define HAVE_FABSL 1
69381 _ACEOF
69384 done
69386 else
69388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
69389 $as_echo_n "checking for _fabsl declaration... " >&6; }
69390 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
69391 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
69392 $as_echo_n "(cached) " >&6
69393 else
69396 ac_ext=cpp
69397 ac_cpp='$CXXCPP $CPPFLAGS'
69398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69403 /* end confdefs.h. */
69404 #include <math.h>
69405 #ifdef HAVE_IEEEFP_H
69406 #include <ieeefp.h>
69407 #endif
69410 main ()
69412 _fabsl(0);
69414 return 0;
69416 _ACEOF
69417 if ac_fn_cxx_try_compile "$LINENO"; then :
69418 glibcxx_cv_func__fabsl_use=yes
69419 else
69420 glibcxx_cv_func__fabsl_use=no
69422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69423 ac_ext=c
69424 ac_cpp='$CPP $CPPFLAGS'
69425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
69434 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
69436 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
69437 for ac_func in _fabsl
69438 do :
69439 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
69440 if test "x$ac_cv_func__fabsl" = x""yes; then :
69441 cat >>confdefs.h <<_ACEOF
69442 #define HAVE__FABSL 1
69443 _ACEOF
69446 done
69455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
69456 $as_echo_n "checking for fmodl declaration... " >&6; }
69457 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
69458 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
69459 $as_echo_n "(cached) " >&6
69460 else
69463 ac_ext=cpp
69464 ac_cpp='$CXXCPP $CPPFLAGS'
69465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69470 /* end confdefs.h. */
69471 #include <math.h>
69473 main ()
69475 fmodl(0, 0);
69477 return 0;
69479 _ACEOF
69480 if ac_fn_cxx_try_compile "$LINENO"; then :
69481 glibcxx_cv_func_fmodl_use=yes
69482 else
69483 glibcxx_cv_func_fmodl_use=no
69485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69486 ac_ext=c
69487 ac_cpp='$CPP $CPPFLAGS'
69488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
69497 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
69499 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
69500 for ac_func in fmodl
69501 do :
69502 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
69503 if test "x$ac_cv_func_fmodl" = x""yes; then :
69504 cat >>confdefs.h <<_ACEOF
69505 #define HAVE_FMODL 1
69506 _ACEOF
69509 done
69511 else
69513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
69514 $as_echo_n "checking for _fmodl declaration... " >&6; }
69515 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
69516 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
69517 $as_echo_n "(cached) " >&6
69518 else
69521 ac_ext=cpp
69522 ac_cpp='$CXXCPP $CPPFLAGS'
69523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69528 /* end confdefs.h. */
69529 #include <math.h>
69531 main ()
69533 _fmodl(0, 0);
69535 return 0;
69537 _ACEOF
69538 if ac_fn_cxx_try_compile "$LINENO"; then :
69539 glibcxx_cv_func__fmodl_use=yes
69540 else
69541 glibcxx_cv_func__fmodl_use=no
69543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69544 ac_ext=c
69545 ac_cpp='$CPP $CPPFLAGS'
69546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
69555 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
69557 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
69558 for ac_func in _fmodl
69559 do :
69560 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
69561 if test "x$ac_cv_func__fmodl" = x""yes; then :
69562 cat >>confdefs.h <<_ACEOF
69563 #define HAVE__FMODL 1
69564 _ACEOF
69567 done
69576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
69577 $as_echo_n "checking for frexpl declaration... " >&6; }
69578 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
69579 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
69580 $as_echo_n "(cached) " >&6
69581 else
69584 ac_ext=cpp
69585 ac_cpp='$CXXCPP $CPPFLAGS'
69586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69591 /* end confdefs.h. */
69592 #include <math.h>
69594 main ()
69596 frexpl(0, 0);
69598 return 0;
69600 _ACEOF
69601 if ac_fn_cxx_try_compile "$LINENO"; then :
69602 glibcxx_cv_func_frexpl_use=yes
69603 else
69604 glibcxx_cv_func_frexpl_use=no
69606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69607 ac_ext=c
69608 ac_cpp='$CPP $CPPFLAGS'
69609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
69618 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
69620 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
69621 for ac_func in frexpl
69622 do :
69623 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
69624 if test "x$ac_cv_func_frexpl" = x""yes; then :
69625 cat >>confdefs.h <<_ACEOF
69626 #define HAVE_FREXPL 1
69627 _ACEOF
69630 done
69632 else
69634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
69635 $as_echo_n "checking for _frexpl declaration... " >&6; }
69636 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
69637 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
69638 $as_echo_n "(cached) " >&6
69639 else
69642 ac_ext=cpp
69643 ac_cpp='$CXXCPP $CPPFLAGS'
69644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69649 /* end confdefs.h. */
69650 #include <math.h>
69652 main ()
69654 _frexpl(0, 0);
69656 return 0;
69658 _ACEOF
69659 if ac_fn_cxx_try_compile "$LINENO"; then :
69660 glibcxx_cv_func__frexpl_use=yes
69661 else
69662 glibcxx_cv_func__frexpl_use=no
69664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69665 ac_ext=c
69666 ac_cpp='$CPP $CPPFLAGS'
69667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
69676 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
69678 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
69679 for ac_func in _frexpl
69680 do :
69681 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
69682 if test "x$ac_cv_func__frexpl" = x""yes; then :
69683 cat >>confdefs.h <<_ACEOF
69684 #define HAVE__FREXPL 1
69685 _ACEOF
69688 done
69697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
69698 $as_echo_n "checking for hypotl declaration... " >&6; }
69699 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
69700 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
69701 $as_echo_n "(cached) " >&6
69702 else
69705 ac_ext=cpp
69706 ac_cpp='$CXXCPP $CPPFLAGS'
69707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69712 /* end confdefs.h. */
69713 #include <math.h>
69715 main ()
69717 hypotl(0, 0);
69719 return 0;
69721 _ACEOF
69722 if ac_fn_cxx_try_compile "$LINENO"; then :
69723 glibcxx_cv_func_hypotl_use=yes
69724 else
69725 glibcxx_cv_func_hypotl_use=no
69727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69728 ac_ext=c
69729 ac_cpp='$CPP $CPPFLAGS'
69730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
69739 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
69741 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
69742 for ac_func in hypotl
69743 do :
69744 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
69745 if test "x$ac_cv_func_hypotl" = x""yes; then :
69746 cat >>confdefs.h <<_ACEOF
69747 #define HAVE_HYPOTL 1
69748 _ACEOF
69751 done
69753 else
69755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
69756 $as_echo_n "checking for _hypotl declaration... " >&6; }
69757 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
69758 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
69759 $as_echo_n "(cached) " >&6
69760 else
69763 ac_ext=cpp
69764 ac_cpp='$CXXCPP $CPPFLAGS'
69765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69770 /* end confdefs.h. */
69771 #include <math.h>
69773 main ()
69775 _hypotl(0, 0);
69777 return 0;
69779 _ACEOF
69780 if ac_fn_cxx_try_compile "$LINENO"; then :
69781 glibcxx_cv_func__hypotl_use=yes
69782 else
69783 glibcxx_cv_func__hypotl_use=no
69785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69786 ac_ext=c
69787 ac_cpp='$CPP $CPPFLAGS'
69788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
69797 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
69799 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
69800 for ac_func in _hypotl
69801 do :
69802 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
69803 if test "x$ac_cv_func__hypotl" = x""yes; then :
69804 cat >>confdefs.h <<_ACEOF
69805 #define HAVE__HYPOTL 1
69806 _ACEOF
69809 done
69818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
69819 $as_echo_n "checking for ldexpl declaration... " >&6; }
69820 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
69821 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
69822 $as_echo_n "(cached) " >&6
69823 else
69826 ac_ext=cpp
69827 ac_cpp='$CXXCPP $CPPFLAGS'
69828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69833 /* end confdefs.h. */
69834 #include <math.h>
69836 main ()
69838 ldexpl(0, 0);
69840 return 0;
69842 _ACEOF
69843 if ac_fn_cxx_try_compile "$LINENO"; then :
69844 glibcxx_cv_func_ldexpl_use=yes
69845 else
69846 glibcxx_cv_func_ldexpl_use=no
69848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69849 ac_ext=c
69850 ac_cpp='$CPP $CPPFLAGS'
69851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
69860 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
69862 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
69863 for ac_func in ldexpl
69864 do :
69865 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
69866 if test "x$ac_cv_func_ldexpl" = x""yes; then :
69867 cat >>confdefs.h <<_ACEOF
69868 #define HAVE_LDEXPL 1
69869 _ACEOF
69872 done
69874 else
69876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
69877 $as_echo_n "checking for _ldexpl declaration... " >&6; }
69878 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
69879 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
69880 $as_echo_n "(cached) " >&6
69881 else
69884 ac_ext=cpp
69885 ac_cpp='$CXXCPP $CPPFLAGS'
69886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69891 /* end confdefs.h. */
69892 #include <math.h>
69894 main ()
69896 _ldexpl(0, 0);
69898 return 0;
69900 _ACEOF
69901 if ac_fn_cxx_try_compile "$LINENO"; then :
69902 glibcxx_cv_func__ldexpl_use=yes
69903 else
69904 glibcxx_cv_func__ldexpl_use=no
69906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69907 ac_ext=c
69908 ac_cpp='$CPP $CPPFLAGS'
69909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
69918 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
69920 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
69921 for ac_func in _ldexpl
69922 do :
69923 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
69924 if test "x$ac_cv_func__ldexpl" = x""yes; then :
69925 cat >>confdefs.h <<_ACEOF
69926 #define HAVE__LDEXPL 1
69927 _ACEOF
69930 done
69939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
69940 $as_echo_n "checking for logl declaration... " >&6; }
69941 if test x${glibcxx_cv_func_logl_use+set} != xset; then
69942 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
69943 $as_echo_n "(cached) " >&6
69944 else
69947 ac_ext=cpp
69948 ac_cpp='$CXXCPP $CPPFLAGS'
69949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69954 /* end confdefs.h. */
69955 #include <math.h>
69956 #ifdef HAVE_IEEEFP_H
69957 #include <ieeefp.h>
69958 #endif
69961 main ()
69963 logl(0);
69965 return 0;
69967 _ACEOF
69968 if ac_fn_cxx_try_compile "$LINENO"; then :
69969 glibcxx_cv_func_logl_use=yes
69970 else
69971 glibcxx_cv_func_logl_use=no
69973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69974 ac_ext=c
69975 ac_cpp='$CPP $CPPFLAGS'
69976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
69985 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
69987 if test x$glibcxx_cv_func_logl_use = x"yes"; then
69988 for ac_func in logl
69989 do :
69990 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
69991 if test "x$ac_cv_func_logl" = x""yes; then :
69992 cat >>confdefs.h <<_ACEOF
69993 #define HAVE_LOGL 1
69994 _ACEOF
69997 done
69999 else
70001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
70002 $as_echo_n "checking for _logl declaration... " >&6; }
70003 if test x${glibcxx_cv_func__logl_use+set} != xset; then
70004 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
70005 $as_echo_n "(cached) " >&6
70006 else
70009 ac_ext=cpp
70010 ac_cpp='$CXXCPP $CPPFLAGS'
70011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70016 /* end confdefs.h. */
70017 #include <math.h>
70018 #ifdef HAVE_IEEEFP_H
70019 #include <ieeefp.h>
70020 #endif
70023 main ()
70025 _logl(0);
70027 return 0;
70029 _ACEOF
70030 if ac_fn_cxx_try_compile "$LINENO"; then :
70031 glibcxx_cv_func__logl_use=yes
70032 else
70033 glibcxx_cv_func__logl_use=no
70035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70036 ac_ext=c
70037 ac_cpp='$CPP $CPPFLAGS'
70038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
70047 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
70049 if test x$glibcxx_cv_func__logl_use = x"yes"; then
70050 for ac_func in _logl
70051 do :
70052 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
70053 if test "x$ac_cv_func__logl" = x""yes; then :
70054 cat >>confdefs.h <<_ACEOF
70055 #define HAVE__LOGL 1
70056 _ACEOF
70059 done
70068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
70069 $as_echo_n "checking for log10l declaration... " >&6; }
70070 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
70071 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
70072 $as_echo_n "(cached) " >&6
70073 else
70076 ac_ext=cpp
70077 ac_cpp='$CXXCPP $CPPFLAGS'
70078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70083 /* end confdefs.h. */
70084 #include <math.h>
70085 #ifdef HAVE_IEEEFP_H
70086 #include <ieeefp.h>
70087 #endif
70090 main ()
70092 log10l(0);
70094 return 0;
70096 _ACEOF
70097 if ac_fn_cxx_try_compile "$LINENO"; then :
70098 glibcxx_cv_func_log10l_use=yes
70099 else
70100 glibcxx_cv_func_log10l_use=no
70102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70103 ac_ext=c
70104 ac_cpp='$CPP $CPPFLAGS'
70105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
70114 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
70116 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
70117 for ac_func in log10l
70118 do :
70119 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
70120 if test "x$ac_cv_func_log10l" = x""yes; then :
70121 cat >>confdefs.h <<_ACEOF
70122 #define HAVE_LOG10L 1
70123 _ACEOF
70126 done
70128 else
70130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
70131 $as_echo_n "checking for _log10l declaration... " >&6; }
70132 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
70133 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
70134 $as_echo_n "(cached) " >&6
70135 else
70138 ac_ext=cpp
70139 ac_cpp='$CXXCPP $CPPFLAGS'
70140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70145 /* end confdefs.h. */
70146 #include <math.h>
70147 #ifdef HAVE_IEEEFP_H
70148 #include <ieeefp.h>
70149 #endif
70152 main ()
70154 _log10l(0);
70156 return 0;
70158 _ACEOF
70159 if ac_fn_cxx_try_compile "$LINENO"; then :
70160 glibcxx_cv_func__log10l_use=yes
70161 else
70162 glibcxx_cv_func__log10l_use=no
70164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70165 ac_ext=c
70166 ac_cpp='$CPP $CPPFLAGS'
70167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
70176 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
70178 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
70179 for ac_func in _log10l
70180 do :
70181 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
70182 if test "x$ac_cv_func__log10l" = x""yes; then :
70183 cat >>confdefs.h <<_ACEOF
70184 #define HAVE__LOG10L 1
70185 _ACEOF
70188 done
70197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
70198 $as_echo_n "checking for modfl declaration... " >&6; }
70199 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
70200 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
70201 $as_echo_n "(cached) " >&6
70202 else
70205 ac_ext=cpp
70206 ac_cpp='$CXXCPP $CPPFLAGS'
70207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70212 /* end confdefs.h. */
70213 #include <math.h>
70215 main ()
70217 modfl(0, 0);
70219 return 0;
70221 _ACEOF
70222 if ac_fn_cxx_try_compile "$LINENO"; then :
70223 glibcxx_cv_func_modfl_use=yes
70224 else
70225 glibcxx_cv_func_modfl_use=no
70227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70228 ac_ext=c
70229 ac_cpp='$CPP $CPPFLAGS'
70230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
70239 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
70241 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
70242 for ac_func in modfl
70243 do :
70244 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
70245 if test "x$ac_cv_func_modfl" = x""yes; then :
70246 cat >>confdefs.h <<_ACEOF
70247 #define HAVE_MODFL 1
70248 _ACEOF
70251 done
70253 else
70255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
70256 $as_echo_n "checking for _modfl declaration... " >&6; }
70257 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
70258 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
70259 $as_echo_n "(cached) " >&6
70260 else
70263 ac_ext=cpp
70264 ac_cpp='$CXXCPP $CPPFLAGS'
70265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70270 /* end confdefs.h. */
70271 #include <math.h>
70273 main ()
70275 _modfl(0, 0);
70277 return 0;
70279 _ACEOF
70280 if ac_fn_cxx_try_compile "$LINENO"; then :
70281 glibcxx_cv_func__modfl_use=yes
70282 else
70283 glibcxx_cv_func__modfl_use=no
70285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70286 ac_ext=c
70287 ac_cpp='$CPP $CPPFLAGS'
70288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
70297 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
70299 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
70300 for ac_func in _modfl
70301 do :
70302 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
70303 if test "x$ac_cv_func__modfl" = x""yes; then :
70304 cat >>confdefs.h <<_ACEOF
70305 #define HAVE__MODFL 1
70306 _ACEOF
70309 done
70318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
70319 $as_echo_n "checking for powl declaration... " >&6; }
70320 if test x${glibcxx_cv_func_powl_use+set} != xset; then
70321 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
70322 $as_echo_n "(cached) " >&6
70323 else
70326 ac_ext=cpp
70327 ac_cpp='$CXXCPP $CPPFLAGS'
70328 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70329 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70330 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70333 /* end confdefs.h. */
70334 #include <math.h>
70336 main ()
70338 powl(0, 0);
70340 return 0;
70342 _ACEOF
70343 if ac_fn_cxx_try_compile "$LINENO"; then :
70344 glibcxx_cv_func_powl_use=yes
70345 else
70346 glibcxx_cv_func_powl_use=no
70348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70349 ac_ext=c
70350 ac_cpp='$CPP $CPPFLAGS'
70351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
70360 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
70362 if test x$glibcxx_cv_func_powl_use = x"yes"; then
70363 for ac_func in powl
70364 do :
70365 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
70366 if test "x$ac_cv_func_powl" = x""yes; then :
70367 cat >>confdefs.h <<_ACEOF
70368 #define HAVE_POWL 1
70369 _ACEOF
70372 done
70374 else
70376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
70377 $as_echo_n "checking for _powl declaration... " >&6; }
70378 if test x${glibcxx_cv_func__powl_use+set} != xset; then
70379 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
70380 $as_echo_n "(cached) " >&6
70381 else
70384 ac_ext=cpp
70385 ac_cpp='$CXXCPP $CPPFLAGS'
70386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70391 /* end confdefs.h. */
70392 #include <math.h>
70394 main ()
70396 _powl(0, 0);
70398 return 0;
70400 _ACEOF
70401 if ac_fn_cxx_try_compile "$LINENO"; then :
70402 glibcxx_cv_func__powl_use=yes
70403 else
70404 glibcxx_cv_func__powl_use=no
70406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70407 ac_ext=c
70408 ac_cpp='$CPP $CPPFLAGS'
70409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
70418 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
70420 if test x$glibcxx_cv_func__powl_use = x"yes"; then
70421 for ac_func in _powl
70422 do :
70423 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
70424 if test "x$ac_cv_func__powl" = x""yes; then :
70425 cat >>confdefs.h <<_ACEOF
70426 #define HAVE__POWL 1
70427 _ACEOF
70430 done
70439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
70440 $as_echo_n "checking for sqrtl declaration... " >&6; }
70441 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
70442 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
70443 $as_echo_n "(cached) " >&6
70444 else
70447 ac_ext=cpp
70448 ac_cpp='$CXXCPP $CPPFLAGS'
70449 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70450 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70451 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70454 /* end confdefs.h. */
70455 #include <math.h>
70456 #ifdef HAVE_IEEEFP_H
70457 #include <ieeefp.h>
70458 #endif
70461 main ()
70463 sqrtl(0);
70465 return 0;
70467 _ACEOF
70468 if ac_fn_cxx_try_compile "$LINENO"; then :
70469 glibcxx_cv_func_sqrtl_use=yes
70470 else
70471 glibcxx_cv_func_sqrtl_use=no
70473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70474 ac_ext=c
70475 ac_cpp='$CPP $CPPFLAGS'
70476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
70485 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
70487 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
70488 for ac_func in sqrtl
70489 do :
70490 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
70491 if test "x$ac_cv_func_sqrtl" = x""yes; then :
70492 cat >>confdefs.h <<_ACEOF
70493 #define HAVE_SQRTL 1
70494 _ACEOF
70497 done
70499 else
70501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
70502 $as_echo_n "checking for _sqrtl declaration... " >&6; }
70503 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
70504 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
70505 $as_echo_n "(cached) " >&6
70506 else
70509 ac_ext=cpp
70510 ac_cpp='$CXXCPP $CPPFLAGS'
70511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70516 /* end confdefs.h. */
70517 #include <math.h>
70518 #ifdef HAVE_IEEEFP_H
70519 #include <ieeefp.h>
70520 #endif
70523 main ()
70525 _sqrtl(0);
70527 return 0;
70529 _ACEOF
70530 if ac_fn_cxx_try_compile "$LINENO"; then :
70531 glibcxx_cv_func__sqrtl_use=yes
70532 else
70533 glibcxx_cv_func__sqrtl_use=no
70535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70536 ac_ext=c
70537 ac_cpp='$CPP $CPPFLAGS'
70538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
70547 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
70549 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
70550 for ac_func in _sqrtl
70551 do :
70552 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
70553 if test "x$ac_cv_func__sqrtl" = x""yes; then :
70554 cat >>confdefs.h <<_ACEOF
70555 #define HAVE__SQRTL 1
70556 _ACEOF
70559 done
70568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
70569 $as_echo_n "checking for sincosl declaration... " >&6; }
70570 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
70571 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
70572 $as_echo_n "(cached) " >&6
70573 else
70576 ac_ext=cpp
70577 ac_cpp='$CXXCPP $CPPFLAGS'
70578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70583 /* end confdefs.h. */
70584 #include <math.h>
70586 main ()
70588 sincosl(0, 0, 0);
70590 return 0;
70592 _ACEOF
70593 if ac_fn_cxx_try_compile "$LINENO"; then :
70594 glibcxx_cv_func_sincosl_use=yes
70595 else
70596 glibcxx_cv_func_sincosl_use=no
70598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70599 ac_ext=c
70600 ac_cpp='$CPP $CPPFLAGS'
70601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
70610 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
70612 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
70613 for ac_func in sincosl
70614 do :
70615 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
70616 if test "x$ac_cv_func_sincosl" = x""yes; then :
70617 cat >>confdefs.h <<_ACEOF
70618 #define HAVE_SINCOSL 1
70619 _ACEOF
70622 done
70624 else
70626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
70627 $as_echo_n "checking for _sincosl declaration... " >&6; }
70628 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
70629 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
70630 $as_echo_n "(cached) " >&6
70631 else
70634 ac_ext=cpp
70635 ac_cpp='$CXXCPP $CPPFLAGS'
70636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70641 /* end confdefs.h. */
70642 #include <math.h>
70644 main ()
70646 _sincosl(0, 0, 0);
70648 return 0;
70650 _ACEOF
70651 if ac_fn_cxx_try_compile "$LINENO"; then :
70652 glibcxx_cv_func__sincosl_use=yes
70653 else
70654 glibcxx_cv_func__sincosl_use=no
70656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70657 ac_ext=c
70658 ac_cpp='$CPP $CPPFLAGS'
70659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
70668 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
70670 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
70671 for ac_func in _sincosl
70672 do :
70673 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
70674 if test "x$ac_cv_func__sincosl" = x""yes; then :
70675 cat >>confdefs.h <<_ACEOF
70676 #define HAVE__SINCOSL 1
70677 _ACEOF
70680 done
70689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
70690 $as_echo_n "checking for finitel declaration... " >&6; }
70691 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
70692 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
70693 $as_echo_n "(cached) " >&6
70694 else
70697 ac_ext=cpp
70698 ac_cpp='$CXXCPP $CPPFLAGS'
70699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70704 /* end confdefs.h. */
70705 #include <math.h>
70706 #ifdef HAVE_IEEEFP_H
70707 #include <ieeefp.h>
70708 #endif
70711 main ()
70713 finitel(0);
70715 return 0;
70717 _ACEOF
70718 if ac_fn_cxx_try_compile "$LINENO"; then :
70719 glibcxx_cv_func_finitel_use=yes
70720 else
70721 glibcxx_cv_func_finitel_use=no
70723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70724 ac_ext=c
70725 ac_cpp='$CPP $CPPFLAGS'
70726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
70735 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
70737 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
70738 for ac_func in finitel
70739 do :
70740 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
70741 if test "x$ac_cv_func_finitel" = x""yes; then :
70742 cat >>confdefs.h <<_ACEOF
70743 #define HAVE_FINITEL 1
70744 _ACEOF
70747 done
70749 else
70751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
70752 $as_echo_n "checking for _finitel declaration... " >&6; }
70753 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
70754 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
70755 $as_echo_n "(cached) " >&6
70756 else
70759 ac_ext=cpp
70760 ac_cpp='$CXXCPP $CPPFLAGS'
70761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70766 /* end confdefs.h. */
70767 #include <math.h>
70768 #ifdef HAVE_IEEEFP_H
70769 #include <ieeefp.h>
70770 #endif
70773 main ()
70775 _finitel(0);
70777 return 0;
70779 _ACEOF
70780 if ac_fn_cxx_try_compile "$LINENO"; then :
70781 glibcxx_cv_func__finitel_use=yes
70782 else
70783 glibcxx_cv_func__finitel_use=no
70785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70786 ac_ext=c
70787 ac_cpp='$CPP $CPPFLAGS'
70788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
70797 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
70799 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
70800 for ac_func in _finitel
70801 do :
70802 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
70803 if test "x$ac_cv_func__finitel" = x""yes; then :
70804 cat >>confdefs.h <<_ACEOF
70805 #define HAVE__FINITEL 1
70806 _ACEOF
70809 done
70817 LIBS="$ac_save_LIBS"
70818 CXXFLAGS="$ac_save_CXXFLAGS"
70821 ac_test_CXXFLAGS="${CXXFLAGS+set}"
70822 ac_save_CXXFLAGS="$CXXFLAGS"
70823 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
70826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
70827 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
70828 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
70829 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
70830 $as_echo_n "(cached) " >&6
70831 else
70834 ac_ext=cpp
70835 ac_cpp='$CXXCPP $CPPFLAGS'
70836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70841 /* end confdefs.h. */
70842 #include <stdlib.h>
70844 main ()
70846 at_quick_exit(0);
70848 return 0;
70850 _ACEOF
70851 if ac_fn_cxx_try_compile "$LINENO"; then :
70852 glibcxx_cv_func_at_quick_exit_use=yes
70853 else
70854 glibcxx_cv_func_at_quick_exit_use=no
70856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70857 ac_ext=c
70858 ac_cpp='$CPP $CPPFLAGS'
70859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
70868 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
70869 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
70870 for ac_func in at_quick_exit
70871 do :
70872 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
70873 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
70874 cat >>confdefs.h <<_ACEOF
70875 #define HAVE_AT_QUICK_EXIT 1
70876 _ACEOF
70879 done
70884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
70885 $as_echo_n "checking for quick_exit declaration... " >&6; }
70886 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
70887 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
70888 $as_echo_n "(cached) " >&6
70889 else
70892 ac_ext=cpp
70893 ac_cpp='$CXXCPP $CPPFLAGS'
70894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70899 /* end confdefs.h. */
70900 #include <stdlib.h>
70902 main ()
70904 quick_exit(0);
70906 return 0;
70908 _ACEOF
70909 if ac_fn_cxx_try_compile "$LINENO"; then :
70910 glibcxx_cv_func_quick_exit_use=yes
70911 else
70912 glibcxx_cv_func_quick_exit_use=no
70914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70915 ac_ext=c
70916 ac_cpp='$CPP $CPPFLAGS'
70917 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70918 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70919 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
70926 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
70927 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
70928 for ac_func in quick_exit
70929 do :
70930 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
70931 if test "x$ac_cv_func_quick_exit" = x""yes; then :
70932 cat >>confdefs.h <<_ACEOF
70933 #define HAVE_QUICK_EXIT 1
70934 _ACEOF
70937 done
70942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
70943 $as_echo_n "checking for strtold declaration... " >&6; }
70944 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
70945 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
70946 $as_echo_n "(cached) " >&6
70947 else
70950 ac_ext=cpp
70951 ac_cpp='$CXXCPP $CPPFLAGS'
70952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70957 /* end confdefs.h. */
70958 #include <stdlib.h>
70960 main ()
70962 strtold(0, 0);
70964 return 0;
70966 _ACEOF
70967 if ac_fn_cxx_try_compile "$LINENO"; then :
70968 glibcxx_cv_func_strtold_use=yes
70969 else
70970 glibcxx_cv_func_strtold_use=no
70972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70973 ac_ext=c
70974 ac_cpp='$CPP $CPPFLAGS'
70975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
70984 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
70985 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
70986 for ac_func in strtold
70987 do :
70988 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
70989 if test "x$ac_cv_func_strtold" = x""yes; then :
70990 cat >>confdefs.h <<_ACEOF
70991 #define HAVE_STRTOLD 1
70992 _ACEOF
70995 done
71002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
71003 $as_echo_n "checking for strtof declaration... " >&6; }
71004 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
71005 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
71006 $as_echo_n "(cached) " >&6
71007 else
71010 ac_ext=cpp
71011 ac_cpp='$CXXCPP $CPPFLAGS'
71012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71017 /* end confdefs.h. */
71018 #include <stdlib.h>
71020 main ()
71022 strtof(0, 0);
71024 return 0;
71026 _ACEOF
71027 if ac_fn_cxx_try_compile "$LINENO"; then :
71028 glibcxx_cv_func_strtof_use=yes
71029 else
71030 glibcxx_cv_func_strtof_use=no
71032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71033 ac_ext=c
71034 ac_cpp='$CPP $CPPFLAGS'
71035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
71044 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
71045 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
71046 for ac_func in strtof
71047 do :
71048 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
71049 if test "x$ac_cv_func_strtof" = x""yes; then :
71050 cat >>confdefs.h <<_ACEOF
71051 #define HAVE_STRTOF 1
71052 _ACEOF
71055 done
71062 CXXFLAGS="$ac_save_CXXFLAGS"
71065 *-solaris*)
71067 # If we're not using GNU ld, then there's no point in even trying these
71068 # tests. Check for that first. We should have already tested for gld
71069 # by now (in libtool), but require it now just to be safe...
71070 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
71071 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
71075 # The name set by libtool depends on the version of libtool. Shame on us
71076 # for depending on an impl detail, but c'est la vie. Older versions used
71077 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
71078 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
71079 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
71080 # set (hence we're using an older libtool), then set it.
71081 if test x${with_gnu_ld+set} != xset; then
71082 if test x${ac_cv_prog_gnu_ld+set} != xset; then
71083 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
71084 with_gnu_ld=no
71085 else
71086 with_gnu_ld=$ac_cv_prog_gnu_ld
71090 # Start by getting the version number. I think the libtool test already
71091 # does some of this, but throws away the result.
71092 glibcxx_ld_is_gold=no
71093 if test x"$with_gnu_ld" = x"yes"; then
71094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
71095 $as_echo_n "checking for ld version... " >&6; }
71097 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
71098 glibcxx_ld_is_gold=yes
71100 ldver=`$LD --version 2>/dev/null |
71101 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'`
71103 glibcxx_gnu_ld_version=`echo $ldver | \
71104 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
71105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
71106 $as_echo "$glibcxx_gnu_ld_version" >&6; }
71109 # Set --gc-sections.
71110 glibcxx_have_gc_sections=no
71111 if test "$glibcxx_ld_is_gold" = "yes"; then
71112 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
71113 glibcxx_have_gc_sections=yes
71115 else
71116 glibcxx_gcsections_min_ld=21602
71117 if test x"$with_gnu_ld" = x"yes" &&
71118 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
71119 glibcxx_have_gc_sections=yes
71122 if test "$glibcxx_have_gc_sections" = "yes"; then
71123 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
71124 # NB: This flag only works reliably after 2.16.1. Configure tests
71125 # for this are difficult, so hard wire a value that should work.
71127 ac_test_CFLAGS="${CFLAGS+set}"
71128 ac_save_CFLAGS="$CFLAGS"
71129 CFLAGS='-Wl,--gc-sections'
71131 # Check for -Wl,--gc-sections
71132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
71133 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
71134 if test x$gcc_no_link = xyes; then
71135 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71138 /* end confdefs.h. */
71139 int one(void) { return 1; }
71140 int two(void) { return 2; }
71143 main ()
71145 two();
71147 return 0;
71149 _ACEOF
71150 if ac_fn_c_try_link "$LINENO"; then :
71151 ac_gcsections=yes
71152 else
71153 ac_gcsections=no
71155 rm -f core conftest.err conftest.$ac_objext \
71156 conftest$ac_exeext conftest.$ac_ext
71157 if test "$ac_gcsections" = "yes"; then
71158 rm -f conftest.c
71159 touch conftest.c
71160 if $CC -c conftest.c; then
71161 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
71162 grep "Warning: gc-sections option ignored" > /dev/null; then
71163 ac_gcsections=no
71166 rm -f conftest.c conftest.o conftest
71168 if test "$ac_gcsections" = "yes"; then
71169 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
71171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
71172 $as_echo "$ac_gcsections" >&6; }
71174 if test "$ac_test_CFLAGS" = set; then
71175 CFLAGS="$ac_save_CFLAGS"
71176 else
71177 # this is the suspicious part
71178 CFLAGS=''
71182 # Set -z,relro.
71183 # Note this is only for shared objects.
71184 ac_ld_relro=no
71185 if test x"$with_gnu_ld" = x"yes"; then
71186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
71187 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
71188 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
71189 if test -n "$cxx_z_relo"; then
71190 OPT_LDFLAGS="-Wl,-z,relro"
71191 ac_ld_relro=yes
71193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
71194 $as_echo "$ac_ld_relro" >&6; }
71197 # Set linker optimization flags.
71198 if test x"$with_gnu_ld" = x"yes"; then
71199 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
71205 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
71207 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71209 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
71211 # All of the dependencies for wide character support are here, so
71212 # turn it on.
71213 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
71215 # These two C99 functions are present only in Solaris >= 10
71216 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
71218 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
71220 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71222 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71224 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
71226 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
71229 *-tpf)
71230 SECTION_FLAGS='-ffunction-sections -fdata-sections'
71231 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
71233 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
71235 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
71237 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
71239 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
71241 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
71243 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
71245 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
71247 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
71249 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
71251 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
71253 if test x"long_double_math_on_this_cpu" = x"yes"; then
71254 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
71256 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
71258 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
71260 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
71264 *-*vms*)
71265 # Check for available headers.
71266 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
71268 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71269 ac_save_CXXFLAGS="$CXXFLAGS"
71270 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
71273 $as_echo_n "checking for sin in -lm... " >&6; }
71274 if test "${ac_cv_lib_m_sin+set}" = set; then :
71275 $as_echo_n "(cached) " >&6
71276 else
71277 ac_check_lib_save_LIBS=$LIBS
71278 LIBS="-lm $LIBS"
71279 if test x$gcc_no_link = xyes; then
71280 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
71282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71283 /* end confdefs.h. */
71285 /* Override any GCC internal prototype to avoid an error.
71286 Use char because int might match the return type of a GCC
71287 builtin and then its argument prototype would still apply. */
71288 #ifdef __cplusplus
71289 extern "C"
71290 #endif
71291 char sin ();
71293 main ()
71295 return sin ();
71297 return 0;
71299 _ACEOF
71300 if ac_fn_c_try_link "$LINENO"; then :
71301 ac_cv_lib_m_sin=yes
71302 else
71303 ac_cv_lib_m_sin=no
71305 rm -f core conftest.err conftest.$ac_objext \
71306 conftest$ac_exeext conftest.$ac_ext
71307 LIBS=$ac_check_lib_save_LIBS
71309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
71310 $as_echo "$ac_cv_lib_m_sin" >&6; }
71311 if test "x$ac_cv_lib_m_sin" = x""yes; then :
71312 libm="-lm"
71315 ac_save_LIBS="$LIBS"
71316 LIBS="$LIBS $libm"
71320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
71321 $as_echo_n "checking for isinf declaration... " >&6; }
71322 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
71323 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
71324 $as_echo_n "(cached) " >&6
71325 else
71328 ac_ext=cpp
71329 ac_cpp='$CXXCPP $CPPFLAGS'
71330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71335 /* end confdefs.h. */
71336 #include <math.h>
71337 #ifdef HAVE_IEEEFP_H
71338 #include <ieeefp.h>
71339 #endif
71342 main ()
71344 isinf(0);
71346 return 0;
71348 _ACEOF
71349 if ac_fn_cxx_try_compile "$LINENO"; then :
71350 glibcxx_cv_func_isinf_use=yes
71351 else
71352 glibcxx_cv_func_isinf_use=no
71354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71355 ac_ext=c
71356 ac_cpp='$CPP $CPPFLAGS'
71357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
71366 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
71368 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
71369 for ac_func in isinf
71370 do :
71371 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
71372 if test "x$ac_cv_func_isinf" = x""yes; then :
71373 cat >>confdefs.h <<_ACEOF
71374 #define HAVE_ISINF 1
71375 _ACEOF
71378 done
71380 else
71382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
71383 $as_echo_n "checking for _isinf declaration... " >&6; }
71384 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
71385 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
71386 $as_echo_n "(cached) " >&6
71387 else
71390 ac_ext=cpp
71391 ac_cpp='$CXXCPP $CPPFLAGS'
71392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71397 /* end confdefs.h. */
71398 #include <math.h>
71399 #ifdef HAVE_IEEEFP_H
71400 #include <ieeefp.h>
71401 #endif
71404 main ()
71406 _isinf(0);
71408 return 0;
71410 _ACEOF
71411 if ac_fn_cxx_try_compile "$LINENO"; then :
71412 glibcxx_cv_func__isinf_use=yes
71413 else
71414 glibcxx_cv_func__isinf_use=no
71416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71417 ac_ext=c
71418 ac_cpp='$CPP $CPPFLAGS'
71419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
71428 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
71430 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
71431 for ac_func in _isinf
71432 do :
71433 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
71434 if test "x$ac_cv_func__isinf" = x""yes; then :
71435 cat >>confdefs.h <<_ACEOF
71436 #define HAVE__ISINF 1
71437 _ACEOF
71440 done
71449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
71450 $as_echo_n "checking for isnan declaration... " >&6; }
71451 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
71452 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
71453 $as_echo_n "(cached) " >&6
71454 else
71457 ac_ext=cpp
71458 ac_cpp='$CXXCPP $CPPFLAGS'
71459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71464 /* end confdefs.h. */
71465 #include <math.h>
71466 #ifdef HAVE_IEEEFP_H
71467 #include <ieeefp.h>
71468 #endif
71471 main ()
71473 isnan(0);
71475 return 0;
71477 _ACEOF
71478 if ac_fn_cxx_try_compile "$LINENO"; then :
71479 glibcxx_cv_func_isnan_use=yes
71480 else
71481 glibcxx_cv_func_isnan_use=no
71483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71484 ac_ext=c
71485 ac_cpp='$CPP $CPPFLAGS'
71486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
71495 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
71497 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
71498 for ac_func in isnan
71499 do :
71500 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
71501 if test "x$ac_cv_func_isnan" = x""yes; then :
71502 cat >>confdefs.h <<_ACEOF
71503 #define HAVE_ISNAN 1
71504 _ACEOF
71507 done
71509 else
71511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
71512 $as_echo_n "checking for _isnan declaration... " >&6; }
71513 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
71514 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
71515 $as_echo_n "(cached) " >&6
71516 else
71519 ac_ext=cpp
71520 ac_cpp='$CXXCPP $CPPFLAGS'
71521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71526 /* end confdefs.h. */
71527 #include <math.h>
71528 #ifdef HAVE_IEEEFP_H
71529 #include <ieeefp.h>
71530 #endif
71533 main ()
71535 _isnan(0);
71537 return 0;
71539 _ACEOF
71540 if ac_fn_cxx_try_compile "$LINENO"; then :
71541 glibcxx_cv_func__isnan_use=yes
71542 else
71543 glibcxx_cv_func__isnan_use=no
71545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71546 ac_ext=c
71547 ac_cpp='$CPP $CPPFLAGS'
71548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
71557 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
71559 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
71560 for ac_func in _isnan
71561 do :
71562 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
71563 if test "x$ac_cv_func__isnan" = x""yes; then :
71564 cat >>confdefs.h <<_ACEOF
71565 #define HAVE__ISNAN 1
71566 _ACEOF
71569 done
71578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
71579 $as_echo_n "checking for finite declaration... " >&6; }
71580 if test x${glibcxx_cv_func_finite_use+set} != xset; then
71581 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
71582 $as_echo_n "(cached) " >&6
71583 else
71586 ac_ext=cpp
71587 ac_cpp='$CXXCPP $CPPFLAGS'
71588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71593 /* end confdefs.h. */
71594 #include <math.h>
71595 #ifdef HAVE_IEEEFP_H
71596 #include <ieeefp.h>
71597 #endif
71600 main ()
71602 finite(0);
71604 return 0;
71606 _ACEOF
71607 if ac_fn_cxx_try_compile "$LINENO"; then :
71608 glibcxx_cv_func_finite_use=yes
71609 else
71610 glibcxx_cv_func_finite_use=no
71612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71613 ac_ext=c
71614 ac_cpp='$CPP $CPPFLAGS'
71615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
71624 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
71626 if test x$glibcxx_cv_func_finite_use = x"yes"; then
71627 for ac_func in finite
71628 do :
71629 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
71630 if test "x$ac_cv_func_finite" = x""yes; then :
71631 cat >>confdefs.h <<_ACEOF
71632 #define HAVE_FINITE 1
71633 _ACEOF
71636 done
71638 else
71640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
71641 $as_echo_n "checking for _finite declaration... " >&6; }
71642 if test x${glibcxx_cv_func__finite_use+set} != xset; then
71643 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
71644 $as_echo_n "(cached) " >&6
71645 else
71648 ac_ext=cpp
71649 ac_cpp='$CXXCPP $CPPFLAGS'
71650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71655 /* end confdefs.h. */
71656 #include <math.h>
71657 #ifdef HAVE_IEEEFP_H
71658 #include <ieeefp.h>
71659 #endif
71662 main ()
71664 _finite(0);
71666 return 0;
71668 _ACEOF
71669 if ac_fn_cxx_try_compile "$LINENO"; then :
71670 glibcxx_cv_func__finite_use=yes
71671 else
71672 glibcxx_cv_func__finite_use=no
71674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71675 ac_ext=c
71676 ac_cpp='$CPP $CPPFLAGS'
71677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
71686 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
71688 if test x$glibcxx_cv_func__finite_use = x"yes"; then
71689 for ac_func in _finite
71690 do :
71691 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
71692 if test "x$ac_cv_func__finite" = x""yes; then :
71693 cat >>confdefs.h <<_ACEOF
71694 #define HAVE__FINITE 1
71695 _ACEOF
71698 done
71707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
71708 $as_echo_n "checking for sincos declaration... " >&6; }
71709 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
71710 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
71711 $as_echo_n "(cached) " >&6
71712 else
71715 ac_ext=cpp
71716 ac_cpp='$CXXCPP $CPPFLAGS'
71717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71722 /* end confdefs.h. */
71723 #include <math.h>
71725 main ()
71727 sincos(0, 0, 0);
71729 return 0;
71731 _ACEOF
71732 if ac_fn_cxx_try_compile "$LINENO"; then :
71733 glibcxx_cv_func_sincos_use=yes
71734 else
71735 glibcxx_cv_func_sincos_use=no
71737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71738 ac_ext=c
71739 ac_cpp='$CPP $CPPFLAGS'
71740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
71749 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
71751 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
71752 for ac_func in sincos
71753 do :
71754 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
71755 if test "x$ac_cv_func_sincos" = x""yes; then :
71756 cat >>confdefs.h <<_ACEOF
71757 #define HAVE_SINCOS 1
71758 _ACEOF
71761 done
71763 else
71765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
71766 $as_echo_n "checking for _sincos declaration... " >&6; }
71767 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
71768 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
71769 $as_echo_n "(cached) " >&6
71770 else
71773 ac_ext=cpp
71774 ac_cpp='$CXXCPP $CPPFLAGS'
71775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71780 /* end confdefs.h. */
71781 #include <math.h>
71783 main ()
71785 _sincos(0, 0, 0);
71787 return 0;
71789 _ACEOF
71790 if ac_fn_cxx_try_compile "$LINENO"; then :
71791 glibcxx_cv_func__sincos_use=yes
71792 else
71793 glibcxx_cv_func__sincos_use=no
71795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71796 ac_ext=c
71797 ac_cpp='$CPP $CPPFLAGS'
71798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
71807 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
71809 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
71810 for ac_func in _sincos
71811 do :
71812 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
71813 if test "x$ac_cv_func__sincos" = x""yes; then :
71814 cat >>confdefs.h <<_ACEOF
71815 #define HAVE__SINCOS 1
71816 _ACEOF
71819 done
71828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
71829 $as_echo_n "checking for fpclass declaration... " >&6; }
71830 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
71831 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
71832 $as_echo_n "(cached) " >&6
71833 else
71836 ac_ext=cpp
71837 ac_cpp='$CXXCPP $CPPFLAGS'
71838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71843 /* end confdefs.h. */
71844 #include <math.h>
71845 #ifdef HAVE_IEEEFP_H
71846 #include <ieeefp.h>
71847 #endif
71850 main ()
71852 fpclass(0);
71854 return 0;
71856 _ACEOF
71857 if ac_fn_cxx_try_compile "$LINENO"; then :
71858 glibcxx_cv_func_fpclass_use=yes
71859 else
71860 glibcxx_cv_func_fpclass_use=no
71862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71863 ac_ext=c
71864 ac_cpp='$CPP $CPPFLAGS'
71865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
71874 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
71876 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
71877 for ac_func in fpclass
71878 do :
71879 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
71880 if test "x$ac_cv_func_fpclass" = x""yes; then :
71881 cat >>confdefs.h <<_ACEOF
71882 #define HAVE_FPCLASS 1
71883 _ACEOF
71886 done
71888 else
71890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
71891 $as_echo_n "checking for _fpclass declaration... " >&6; }
71892 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
71893 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
71894 $as_echo_n "(cached) " >&6
71895 else
71898 ac_ext=cpp
71899 ac_cpp='$CXXCPP $CPPFLAGS'
71900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71905 /* end confdefs.h. */
71906 #include <math.h>
71907 #ifdef HAVE_IEEEFP_H
71908 #include <ieeefp.h>
71909 #endif
71912 main ()
71914 _fpclass(0);
71916 return 0;
71918 _ACEOF
71919 if ac_fn_cxx_try_compile "$LINENO"; then :
71920 glibcxx_cv_func__fpclass_use=yes
71921 else
71922 glibcxx_cv_func__fpclass_use=no
71924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71925 ac_ext=c
71926 ac_cpp='$CPP $CPPFLAGS'
71927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
71936 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
71938 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
71939 for ac_func in _fpclass
71940 do :
71941 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
71942 if test "x$ac_cv_func__fpclass" = x""yes; then :
71943 cat >>confdefs.h <<_ACEOF
71944 #define HAVE__FPCLASS 1
71945 _ACEOF
71948 done
71957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
71958 $as_echo_n "checking for qfpclass declaration... " >&6; }
71959 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
71960 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
71961 $as_echo_n "(cached) " >&6
71962 else
71965 ac_ext=cpp
71966 ac_cpp='$CXXCPP $CPPFLAGS'
71967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71972 /* end confdefs.h. */
71973 #include <math.h>
71974 #ifdef HAVE_IEEEFP_H
71975 #include <ieeefp.h>
71976 #endif
71979 main ()
71981 qfpclass(0);
71983 return 0;
71985 _ACEOF
71986 if ac_fn_cxx_try_compile "$LINENO"; then :
71987 glibcxx_cv_func_qfpclass_use=yes
71988 else
71989 glibcxx_cv_func_qfpclass_use=no
71991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71992 ac_ext=c
71993 ac_cpp='$CPP $CPPFLAGS'
71994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
72003 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
72005 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
72006 for ac_func in qfpclass
72007 do :
72008 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
72009 if test "x$ac_cv_func_qfpclass" = x""yes; then :
72010 cat >>confdefs.h <<_ACEOF
72011 #define HAVE_QFPCLASS 1
72012 _ACEOF
72015 done
72017 else
72019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
72020 $as_echo_n "checking for _qfpclass declaration... " >&6; }
72021 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
72022 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
72023 $as_echo_n "(cached) " >&6
72024 else
72027 ac_ext=cpp
72028 ac_cpp='$CXXCPP $CPPFLAGS'
72029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72034 /* end confdefs.h. */
72035 #include <math.h>
72036 #ifdef HAVE_IEEEFP_H
72037 #include <ieeefp.h>
72038 #endif
72041 main ()
72043 _qfpclass(0);
72045 return 0;
72047 _ACEOF
72048 if ac_fn_cxx_try_compile "$LINENO"; then :
72049 glibcxx_cv_func__qfpclass_use=yes
72050 else
72051 glibcxx_cv_func__qfpclass_use=no
72053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72054 ac_ext=c
72055 ac_cpp='$CPP $CPPFLAGS'
72056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
72065 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
72067 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
72068 for ac_func in _qfpclass
72069 do :
72070 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
72071 if test "x$ac_cv_func__qfpclass" = x""yes; then :
72072 cat >>confdefs.h <<_ACEOF
72073 #define HAVE__QFPCLASS 1
72074 _ACEOF
72077 done
72086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
72087 $as_echo_n "checking for hypot declaration... " >&6; }
72088 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
72089 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
72090 $as_echo_n "(cached) " >&6
72091 else
72094 ac_ext=cpp
72095 ac_cpp='$CXXCPP $CPPFLAGS'
72096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72101 /* end confdefs.h. */
72102 #include <math.h>
72104 main ()
72106 hypot(0, 0);
72108 return 0;
72110 _ACEOF
72111 if ac_fn_cxx_try_compile "$LINENO"; then :
72112 glibcxx_cv_func_hypot_use=yes
72113 else
72114 glibcxx_cv_func_hypot_use=no
72116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72117 ac_ext=c
72118 ac_cpp='$CPP $CPPFLAGS'
72119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
72128 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
72130 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
72131 for ac_func in hypot
72132 do :
72133 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
72134 if test "x$ac_cv_func_hypot" = x""yes; then :
72135 cat >>confdefs.h <<_ACEOF
72136 #define HAVE_HYPOT 1
72137 _ACEOF
72140 done
72142 else
72144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
72145 $as_echo_n "checking for _hypot declaration... " >&6; }
72146 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
72147 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
72148 $as_echo_n "(cached) " >&6
72149 else
72152 ac_ext=cpp
72153 ac_cpp='$CXXCPP $CPPFLAGS'
72154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72159 /* end confdefs.h. */
72160 #include <math.h>
72162 main ()
72164 _hypot(0, 0);
72166 return 0;
72168 _ACEOF
72169 if ac_fn_cxx_try_compile "$LINENO"; then :
72170 glibcxx_cv_func__hypot_use=yes
72171 else
72172 glibcxx_cv_func__hypot_use=no
72174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72175 ac_ext=c
72176 ac_cpp='$CPP $CPPFLAGS'
72177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
72186 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
72188 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
72189 for ac_func in _hypot
72190 do :
72191 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
72192 if test "x$ac_cv_func__hypot" = x""yes; then :
72193 cat >>confdefs.h <<_ACEOF
72194 #define HAVE__HYPOT 1
72195 _ACEOF
72198 done
72207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
72208 $as_echo_n "checking for float trig functions... " >&6; }
72209 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
72210 $as_echo_n "(cached) " >&6
72211 else
72214 ac_ext=cpp
72215 ac_cpp='$CXXCPP $CPPFLAGS'
72216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72221 /* end confdefs.h. */
72222 #include <math.h>
72224 main ()
72226 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
72228 return 0;
72230 _ACEOF
72231 if ac_fn_cxx_try_compile "$LINENO"; then :
72232 glibcxx_cv_func_float_trig_use=yes
72233 else
72234 glibcxx_cv_func_float_trig_use=no
72236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72237 ac_ext=c
72238 ac_cpp='$CPP $CPPFLAGS'
72239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
72246 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
72247 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
72248 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
72249 do :
72250 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72251 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72252 eval as_val=\$$as_ac_var
72253 if test "x$as_val" = x""yes; then :
72254 cat >>confdefs.h <<_ACEOF
72255 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72256 _ACEOF
72259 done
72261 else
72262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
72263 $as_echo_n "checking for _float trig functions... " >&6; }
72264 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
72265 $as_echo_n "(cached) " >&6
72266 else
72269 ac_ext=cpp
72270 ac_cpp='$CXXCPP $CPPFLAGS'
72271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72276 /* end confdefs.h. */
72277 #include <math.h>
72279 main ()
72281 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
72283 return 0;
72285 _ACEOF
72286 if ac_fn_cxx_try_compile "$LINENO"; then :
72287 glibcxx_cv_func__float_trig_use=yes
72288 else
72289 glibcxx_cv_func__float_trig_use=no
72291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72292 ac_ext=c
72293 ac_cpp='$CPP $CPPFLAGS'
72294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
72301 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
72302 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
72303 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
72304 do :
72305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72307 eval as_val=\$$as_ac_var
72308 if test "x$as_val" = x""yes; then :
72309 cat >>confdefs.h <<_ACEOF
72310 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72311 _ACEOF
72314 done
72323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
72324 $as_echo_n "checking for float round functions... " >&6; }
72325 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
72326 $as_echo_n "(cached) " >&6
72327 else
72330 ac_ext=cpp
72331 ac_cpp='$CXXCPP $CPPFLAGS'
72332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72337 /* end confdefs.h. */
72338 #include <math.h>
72340 main ()
72342 ceilf (0); floorf (0);
72344 return 0;
72346 _ACEOF
72347 if ac_fn_cxx_try_compile "$LINENO"; then :
72348 glibcxx_cv_func_float_round_use=yes
72349 else
72350 glibcxx_cv_func_float_round_use=no
72352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72353 ac_ext=c
72354 ac_cpp='$CPP $CPPFLAGS'
72355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
72362 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
72363 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
72364 for ac_func in ceilf floorf
72365 do :
72366 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72367 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72368 eval as_val=\$$as_ac_var
72369 if test "x$as_val" = x""yes; then :
72370 cat >>confdefs.h <<_ACEOF
72371 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72372 _ACEOF
72375 done
72377 else
72378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
72379 $as_echo_n "checking for _float round functions... " >&6; }
72380 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
72381 $as_echo_n "(cached) " >&6
72382 else
72385 ac_ext=cpp
72386 ac_cpp='$CXXCPP $CPPFLAGS'
72387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72392 /* end confdefs.h. */
72393 #include <math.h>
72395 main ()
72397 _ceilf (0); _floorf (0);
72399 return 0;
72401 _ACEOF
72402 if ac_fn_cxx_try_compile "$LINENO"; then :
72403 glibcxx_cv_func__float_round_use=yes
72404 else
72405 glibcxx_cv_func__float_round_use=no
72407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72408 ac_ext=c
72409 ac_cpp='$CPP $CPPFLAGS'
72410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
72417 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
72418 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
72419 for ac_func in _ceilf _floorf
72420 do :
72421 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
72422 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
72423 eval as_val=\$$as_ac_var
72424 if test "x$as_val" = x""yes; then :
72425 cat >>confdefs.h <<_ACEOF
72426 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
72427 _ACEOF
72430 done
72440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
72441 $as_echo_n "checking for expf declaration... " >&6; }
72442 if test x${glibcxx_cv_func_expf_use+set} != xset; then
72443 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
72444 $as_echo_n "(cached) " >&6
72445 else
72448 ac_ext=cpp
72449 ac_cpp='$CXXCPP $CPPFLAGS'
72450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72455 /* end confdefs.h. */
72456 #include <math.h>
72457 #ifdef HAVE_IEEEFP_H
72458 #include <ieeefp.h>
72459 #endif
72462 main ()
72464 expf(0);
72466 return 0;
72468 _ACEOF
72469 if ac_fn_cxx_try_compile "$LINENO"; then :
72470 glibcxx_cv_func_expf_use=yes
72471 else
72472 glibcxx_cv_func_expf_use=no
72474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72475 ac_ext=c
72476 ac_cpp='$CPP $CPPFLAGS'
72477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
72486 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
72488 if test x$glibcxx_cv_func_expf_use = x"yes"; then
72489 for ac_func in expf
72490 do :
72491 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
72492 if test "x$ac_cv_func_expf" = x""yes; then :
72493 cat >>confdefs.h <<_ACEOF
72494 #define HAVE_EXPF 1
72495 _ACEOF
72498 done
72500 else
72502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
72503 $as_echo_n "checking for _expf declaration... " >&6; }
72504 if test x${glibcxx_cv_func__expf_use+set} != xset; then
72505 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
72506 $as_echo_n "(cached) " >&6
72507 else
72510 ac_ext=cpp
72511 ac_cpp='$CXXCPP $CPPFLAGS'
72512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72517 /* end confdefs.h. */
72518 #include <math.h>
72519 #ifdef HAVE_IEEEFP_H
72520 #include <ieeefp.h>
72521 #endif
72524 main ()
72526 _expf(0);
72528 return 0;
72530 _ACEOF
72531 if ac_fn_cxx_try_compile "$LINENO"; then :
72532 glibcxx_cv_func__expf_use=yes
72533 else
72534 glibcxx_cv_func__expf_use=no
72536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72537 ac_ext=c
72538 ac_cpp='$CPP $CPPFLAGS'
72539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
72548 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
72550 if test x$glibcxx_cv_func__expf_use = x"yes"; then
72551 for ac_func in _expf
72552 do :
72553 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
72554 if test "x$ac_cv_func__expf" = x""yes; then :
72555 cat >>confdefs.h <<_ACEOF
72556 #define HAVE__EXPF 1
72557 _ACEOF
72560 done
72569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
72570 $as_echo_n "checking for isnanf declaration... " >&6; }
72571 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
72572 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
72573 $as_echo_n "(cached) " >&6
72574 else
72577 ac_ext=cpp
72578 ac_cpp='$CXXCPP $CPPFLAGS'
72579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72584 /* end confdefs.h. */
72585 #include <math.h>
72586 #ifdef HAVE_IEEEFP_H
72587 #include <ieeefp.h>
72588 #endif
72591 main ()
72593 isnanf(0);
72595 return 0;
72597 _ACEOF
72598 if ac_fn_cxx_try_compile "$LINENO"; then :
72599 glibcxx_cv_func_isnanf_use=yes
72600 else
72601 glibcxx_cv_func_isnanf_use=no
72603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72604 ac_ext=c
72605 ac_cpp='$CPP $CPPFLAGS'
72606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
72615 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
72617 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
72618 for ac_func in isnanf
72619 do :
72620 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
72621 if test "x$ac_cv_func_isnanf" = x""yes; then :
72622 cat >>confdefs.h <<_ACEOF
72623 #define HAVE_ISNANF 1
72624 _ACEOF
72627 done
72629 else
72631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
72632 $as_echo_n "checking for _isnanf declaration... " >&6; }
72633 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
72634 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
72635 $as_echo_n "(cached) " >&6
72636 else
72639 ac_ext=cpp
72640 ac_cpp='$CXXCPP $CPPFLAGS'
72641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72646 /* end confdefs.h. */
72647 #include <math.h>
72648 #ifdef HAVE_IEEEFP_H
72649 #include <ieeefp.h>
72650 #endif
72653 main ()
72655 _isnanf(0);
72657 return 0;
72659 _ACEOF
72660 if ac_fn_cxx_try_compile "$LINENO"; then :
72661 glibcxx_cv_func__isnanf_use=yes
72662 else
72663 glibcxx_cv_func__isnanf_use=no
72665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72666 ac_ext=c
72667 ac_cpp='$CPP $CPPFLAGS'
72668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
72677 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
72679 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
72680 for ac_func in _isnanf
72681 do :
72682 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
72683 if test "x$ac_cv_func__isnanf" = x""yes; then :
72684 cat >>confdefs.h <<_ACEOF
72685 #define HAVE__ISNANF 1
72686 _ACEOF
72689 done
72698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
72699 $as_echo_n "checking for isinff declaration... " >&6; }
72700 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
72701 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
72702 $as_echo_n "(cached) " >&6
72703 else
72706 ac_ext=cpp
72707 ac_cpp='$CXXCPP $CPPFLAGS'
72708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72713 /* end confdefs.h. */
72714 #include <math.h>
72715 #ifdef HAVE_IEEEFP_H
72716 #include <ieeefp.h>
72717 #endif
72720 main ()
72722 isinff(0);
72724 return 0;
72726 _ACEOF
72727 if ac_fn_cxx_try_compile "$LINENO"; then :
72728 glibcxx_cv_func_isinff_use=yes
72729 else
72730 glibcxx_cv_func_isinff_use=no
72732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72733 ac_ext=c
72734 ac_cpp='$CPP $CPPFLAGS'
72735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
72744 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
72746 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
72747 for ac_func in isinff
72748 do :
72749 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
72750 if test "x$ac_cv_func_isinff" = x""yes; then :
72751 cat >>confdefs.h <<_ACEOF
72752 #define HAVE_ISINFF 1
72753 _ACEOF
72756 done
72758 else
72760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
72761 $as_echo_n "checking for _isinff declaration... " >&6; }
72762 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
72763 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
72764 $as_echo_n "(cached) " >&6
72765 else
72768 ac_ext=cpp
72769 ac_cpp='$CXXCPP $CPPFLAGS'
72770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72775 /* end confdefs.h. */
72776 #include <math.h>
72777 #ifdef HAVE_IEEEFP_H
72778 #include <ieeefp.h>
72779 #endif
72782 main ()
72784 _isinff(0);
72786 return 0;
72788 _ACEOF
72789 if ac_fn_cxx_try_compile "$LINENO"; then :
72790 glibcxx_cv_func__isinff_use=yes
72791 else
72792 glibcxx_cv_func__isinff_use=no
72794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72795 ac_ext=c
72796 ac_cpp='$CPP $CPPFLAGS'
72797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
72806 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
72808 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
72809 for ac_func in _isinff
72810 do :
72811 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
72812 if test "x$ac_cv_func__isinff" = x""yes; then :
72813 cat >>confdefs.h <<_ACEOF
72814 #define HAVE__ISINFF 1
72815 _ACEOF
72818 done
72827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
72828 $as_echo_n "checking for atan2f declaration... " >&6; }
72829 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
72830 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
72831 $as_echo_n "(cached) " >&6
72832 else
72835 ac_ext=cpp
72836 ac_cpp='$CXXCPP $CPPFLAGS'
72837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72842 /* end confdefs.h. */
72843 #include <math.h>
72845 main ()
72847 atan2f(0, 0);
72849 return 0;
72851 _ACEOF
72852 if ac_fn_cxx_try_compile "$LINENO"; then :
72853 glibcxx_cv_func_atan2f_use=yes
72854 else
72855 glibcxx_cv_func_atan2f_use=no
72857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72858 ac_ext=c
72859 ac_cpp='$CPP $CPPFLAGS'
72860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
72869 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
72871 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
72872 for ac_func in atan2f
72873 do :
72874 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
72875 if test "x$ac_cv_func_atan2f" = x""yes; then :
72876 cat >>confdefs.h <<_ACEOF
72877 #define HAVE_ATAN2F 1
72878 _ACEOF
72881 done
72883 else
72885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
72886 $as_echo_n "checking for _atan2f declaration... " >&6; }
72887 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
72888 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
72889 $as_echo_n "(cached) " >&6
72890 else
72893 ac_ext=cpp
72894 ac_cpp='$CXXCPP $CPPFLAGS'
72895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72900 /* end confdefs.h. */
72901 #include <math.h>
72903 main ()
72905 _atan2f(0, 0);
72907 return 0;
72909 _ACEOF
72910 if ac_fn_cxx_try_compile "$LINENO"; then :
72911 glibcxx_cv_func__atan2f_use=yes
72912 else
72913 glibcxx_cv_func__atan2f_use=no
72915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72916 ac_ext=c
72917 ac_cpp='$CPP $CPPFLAGS'
72918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
72927 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
72929 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
72930 for ac_func in _atan2f
72931 do :
72932 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
72933 if test "x$ac_cv_func__atan2f" = x""yes; then :
72934 cat >>confdefs.h <<_ACEOF
72935 #define HAVE__ATAN2F 1
72936 _ACEOF
72939 done
72948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
72949 $as_echo_n "checking for fabsf declaration... " >&6; }
72950 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
72951 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
72952 $as_echo_n "(cached) " >&6
72953 else
72956 ac_ext=cpp
72957 ac_cpp='$CXXCPP $CPPFLAGS'
72958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72963 /* end confdefs.h. */
72964 #include <math.h>
72965 #ifdef HAVE_IEEEFP_H
72966 #include <ieeefp.h>
72967 #endif
72970 main ()
72972 fabsf(0);
72974 return 0;
72976 _ACEOF
72977 if ac_fn_cxx_try_compile "$LINENO"; then :
72978 glibcxx_cv_func_fabsf_use=yes
72979 else
72980 glibcxx_cv_func_fabsf_use=no
72982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72983 ac_ext=c
72984 ac_cpp='$CPP $CPPFLAGS'
72985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
72994 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
72996 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
72997 for ac_func in fabsf
72998 do :
72999 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
73000 if test "x$ac_cv_func_fabsf" = x""yes; then :
73001 cat >>confdefs.h <<_ACEOF
73002 #define HAVE_FABSF 1
73003 _ACEOF
73006 done
73008 else
73010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
73011 $as_echo_n "checking for _fabsf declaration... " >&6; }
73012 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
73013 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
73014 $as_echo_n "(cached) " >&6
73015 else
73018 ac_ext=cpp
73019 ac_cpp='$CXXCPP $CPPFLAGS'
73020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73025 /* end confdefs.h. */
73026 #include <math.h>
73027 #ifdef HAVE_IEEEFP_H
73028 #include <ieeefp.h>
73029 #endif
73032 main ()
73034 _fabsf(0);
73036 return 0;
73038 _ACEOF
73039 if ac_fn_cxx_try_compile "$LINENO"; then :
73040 glibcxx_cv_func__fabsf_use=yes
73041 else
73042 glibcxx_cv_func__fabsf_use=no
73044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73045 ac_ext=c
73046 ac_cpp='$CPP $CPPFLAGS'
73047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
73056 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
73058 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
73059 for ac_func in _fabsf
73060 do :
73061 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
73062 if test "x$ac_cv_func__fabsf" = x""yes; then :
73063 cat >>confdefs.h <<_ACEOF
73064 #define HAVE__FABSF 1
73065 _ACEOF
73068 done
73077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
73078 $as_echo_n "checking for fmodf declaration... " >&6; }
73079 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
73080 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
73081 $as_echo_n "(cached) " >&6
73082 else
73085 ac_ext=cpp
73086 ac_cpp='$CXXCPP $CPPFLAGS'
73087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73092 /* end confdefs.h. */
73093 #include <math.h>
73095 main ()
73097 fmodf(0, 0);
73099 return 0;
73101 _ACEOF
73102 if ac_fn_cxx_try_compile "$LINENO"; then :
73103 glibcxx_cv_func_fmodf_use=yes
73104 else
73105 glibcxx_cv_func_fmodf_use=no
73107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73108 ac_ext=c
73109 ac_cpp='$CPP $CPPFLAGS'
73110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
73119 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
73121 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
73122 for ac_func in fmodf
73123 do :
73124 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
73125 if test "x$ac_cv_func_fmodf" = x""yes; then :
73126 cat >>confdefs.h <<_ACEOF
73127 #define HAVE_FMODF 1
73128 _ACEOF
73131 done
73133 else
73135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
73136 $as_echo_n "checking for _fmodf declaration... " >&6; }
73137 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
73138 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
73139 $as_echo_n "(cached) " >&6
73140 else
73143 ac_ext=cpp
73144 ac_cpp='$CXXCPP $CPPFLAGS'
73145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73150 /* end confdefs.h. */
73151 #include <math.h>
73153 main ()
73155 _fmodf(0, 0);
73157 return 0;
73159 _ACEOF
73160 if ac_fn_cxx_try_compile "$LINENO"; then :
73161 glibcxx_cv_func__fmodf_use=yes
73162 else
73163 glibcxx_cv_func__fmodf_use=no
73165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73166 ac_ext=c
73167 ac_cpp='$CPP $CPPFLAGS'
73168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
73177 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
73179 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
73180 for ac_func in _fmodf
73181 do :
73182 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
73183 if test "x$ac_cv_func__fmodf" = x""yes; then :
73184 cat >>confdefs.h <<_ACEOF
73185 #define HAVE__FMODF 1
73186 _ACEOF
73189 done
73198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73199 $as_echo_n "checking for frexpf declaration... " >&6; }
73200 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
73201 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
73202 $as_echo_n "(cached) " >&6
73203 else
73206 ac_ext=cpp
73207 ac_cpp='$CXXCPP $CPPFLAGS'
73208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73213 /* end confdefs.h. */
73214 #include <math.h>
73216 main ()
73218 frexpf(0, 0);
73220 return 0;
73222 _ACEOF
73223 if ac_fn_cxx_try_compile "$LINENO"; then :
73224 glibcxx_cv_func_frexpf_use=yes
73225 else
73226 glibcxx_cv_func_frexpf_use=no
73228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73229 ac_ext=c
73230 ac_cpp='$CPP $CPPFLAGS'
73231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73240 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73242 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
73243 for ac_func in frexpf
73244 do :
73245 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
73246 if test "x$ac_cv_func_frexpf" = x""yes; then :
73247 cat >>confdefs.h <<_ACEOF
73248 #define HAVE_FREXPF 1
73249 _ACEOF
73252 done
73254 else
73256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
73257 $as_echo_n "checking for _frexpf declaration... " >&6; }
73258 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
73259 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
73260 $as_echo_n "(cached) " >&6
73261 else
73264 ac_ext=cpp
73265 ac_cpp='$CXXCPP $CPPFLAGS'
73266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73271 /* end confdefs.h. */
73272 #include <math.h>
73274 main ()
73276 _frexpf(0, 0);
73278 return 0;
73280 _ACEOF
73281 if ac_fn_cxx_try_compile "$LINENO"; then :
73282 glibcxx_cv_func__frexpf_use=yes
73283 else
73284 glibcxx_cv_func__frexpf_use=no
73286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73287 ac_ext=c
73288 ac_cpp='$CPP $CPPFLAGS'
73289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
73298 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
73300 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
73301 for ac_func in _frexpf
73302 do :
73303 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
73304 if test "x$ac_cv_func__frexpf" = x""yes; then :
73305 cat >>confdefs.h <<_ACEOF
73306 #define HAVE__FREXPF 1
73307 _ACEOF
73310 done
73319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73320 $as_echo_n "checking for hypotf declaration... " >&6; }
73321 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
73322 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
73323 $as_echo_n "(cached) " >&6
73324 else
73327 ac_ext=cpp
73328 ac_cpp='$CXXCPP $CPPFLAGS'
73329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73334 /* end confdefs.h. */
73335 #include <math.h>
73337 main ()
73339 hypotf(0, 0);
73341 return 0;
73343 _ACEOF
73344 if ac_fn_cxx_try_compile "$LINENO"; then :
73345 glibcxx_cv_func_hypotf_use=yes
73346 else
73347 glibcxx_cv_func_hypotf_use=no
73349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73350 ac_ext=c
73351 ac_cpp='$CPP $CPPFLAGS'
73352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73361 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73363 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
73364 for ac_func in hypotf
73365 do :
73366 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
73367 if test "x$ac_cv_func_hypotf" = x""yes; then :
73368 cat >>confdefs.h <<_ACEOF
73369 #define HAVE_HYPOTF 1
73370 _ACEOF
73373 done
73375 else
73377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
73378 $as_echo_n "checking for _hypotf declaration... " >&6; }
73379 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
73380 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
73381 $as_echo_n "(cached) " >&6
73382 else
73385 ac_ext=cpp
73386 ac_cpp='$CXXCPP $CPPFLAGS'
73387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73392 /* end confdefs.h. */
73393 #include <math.h>
73395 main ()
73397 _hypotf(0, 0);
73399 return 0;
73401 _ACEOF
73402 if ac_fn_cxx_try_compile "$LINENO"; then :
73403 glibcxx_cv_func__hypotf_use=yes
73404 else
73405 glibcxx_cv_func__hypotf_use=no
73407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73408 ac_ext=c
73409 ac_cpp='$CPP $CPPFLAGS'
73410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
73419 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
73421 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
73422 for ac_func in _hypotf
73423 do :
73424 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
73425 if test "x$ac_cv_func__hypotf" = x""yes; then :
73426 cat >>confdefs.h <<_ACEOF
73427 #define HAVE__HYPOTF 1
73428 _ACEOF
73431 done
73440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73441 $as_echo_n "checking for ldexpf declaration... " >&6; }
73442 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
73443 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
73444 $as_echo_n "(cached) " >&6
73445 else
73448 ac_ext=cpp
73449 ac_cpp='$CXXCPP $CPPFLAGS'
73450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73455 /* end confdefs.h. */
73456 #include <math.h>
73458 main ()
73460 ldexpf(0, 0);
73462 return 0;
73464 _ACEOF
73465 if ac_fn_cxx_try_compile "$LINENO"; then :
73466 glibcxx_cv_func_ldexpf_use=yes
73467 else
73468 glibcxx_cv_func_ldexpf_use=no
73470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73471 ac_ext=c
73472 ac_cpp='$CPP $CPPFLAGS'
73473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73482 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73484 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
73485 for ac_func in ldexpf
73486 do :
73487 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
73488 if test "x$ac_cv_func_ldexpf" = x""yes; then :
73489 cat >>confdefs.h <<_ACEOF
73490 #define HAVE_LDEXPF 1
73491 _ACEOF
73494 done
73496 else
73498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
73499 $as_echo_n "checking for _ldexpf declaration... " >&6; }
73500 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
73501 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
73502 $as_echo_n "(cached) " >&6
73503 else
73506 ac_ext=cpp
73507 ac_cpp='$CXXCPP $CPPFLAGS'
73508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73513 /* end confdefs.h. */
73514 #include <math.h>
73516 main ()
73518 _ldexpf(0, 0);
73520 return 0;
73522 _ACEOF
73523 if ac_fn_cxx_try_compile "$LINENO"; then :
73524 glibcxx_cv_func__ldexpf_use=yes
73525 else
73526 glibcxx_cv_func__ldexpf_use=no
73528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73529 ac_ext=c
73530 ac_cpp='$CPP $CPPFLAGS'
73531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
73540 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
73542 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
73543 for ac_func in _ldexpf
73544 do :
73545 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
73546 if test "x$ac_cv_func__ldexpf" = x""yes; then :
73547 cat >>confdefs.h <<_ACEOF
73548 #define HAVE__LDEXPF 1
73549 _ACEOF
73552 done
73561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
73562 $as_echo_n "checking for logf declaration... " >&6; }
73563 if test x${glibcxx_cv_func_logf_use+set} != xset; then
73564 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
73565 $as_echo_n "(cached) " >&6
73566 else
73569 ac_ext=cpp
73570 ac_cpp='$CXXCPP $CPPFLAGS'
73571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73576 /* end confdefs.h. */
73577 #include <math.h>
73578 #ifdef HAVE_IEEEFP_H
73579 #include <ieeefp.h>
73580 #endif
73583 main ()
73585 logf(0);
73587 return 0;
73589 _ACEOF
73590 if ac_fn_cxx_try_compile "$LINENO"; then :
73591 glibcxx_cv_func_logf_use=yes
73592 else
73593 glibcxx_cv_func_logf_use=no
73595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73596 ac_ext=c
73597 ac_cpp='$CPP $CPPFLAGS'
73598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
73607 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
73609 if test x$glibcxx_cv_func_logf_use = x"yes"; then
73610 for ac_func in logf
73611 do :
73612 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
73613 if test "x$ac_cv_func_logf" = x""yes; then :
73614 cat >>confdefs.h <<_ACEOF
73615 #define HAVE_LOGF 1
73616 _ACEOF
73619 done
73621 else
73623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
73624 $as_echo_n "checking for _logf declaration... " >&6; }
73625 if test x${glibcxx_cv_func__logf_use+set} != xset; then
73626 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
73627 $as_echo_n "(cached) " >&6
73628 else
73631 ac_ext=cpp
73632 ac_cpp='$CXXCPP $CPPFLAGS'
73633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73638 /* end confdefs.h. */
73639 #include <math.h>
73640 #ifdef HAVE_IEEEFP_H
73641 #include <ieeefp.h>
73642 #endif
73645 main ()
73647 _logf(0);
73649 return 0;
73651 _ACEOF
73652 if ac_fn_cxx_try_compile "$LINENO"; then :
73653 glibcxx_cv_func__logf_use=yes
73654 else
73655 glibcxx_cv_func__logf_use=no
73657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73658 ac_ext=c
73659 ac_cpp='$CPP $CPPFLAGS'
73660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
73669 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
73671 if test x$glibcxx_cv_func__logf_use = x"yes"; then
73672 for ac_func in _logf
73673 do :
73674 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
73675 if test "x$ac_cv_func__logf" = x""yes; then :
73676 cat >>confdefs.h <<_ACEOF
73677 #define HAVE__LOGF 1
73678 _ACEOF
73681 done
73690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
73691 $as_echo_n "checking for log10f declaration... " >&6; }
73692 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
73693 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
73694 $as_echo_n "(cached) " >&6
73695 else
73698 ac_ext=cpp
73699 ac_cpp='$CXXCPP $CPPFLAGS'
73700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73705 /* end confdefs.h. */
73706 #include <math.h>
73707 #ifdef HAVE_IEEEFP_H
73708 #include <ieeefp.h>
73709 #endif
73712 main ()
73714 log10f(0);
73716 return 0;
73718 _ACEOF
73719 if ac_fn_cxx_try_compile "$LINENO"; then :
73720 glibcxx_cv_func_log10f_use=yes
73721 else
73722 glibcxx_cv_func_log10f_use=no
73724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73725 ac_ext=c
73726 ac_cpp='$CPP $CPPFLAGS'
73727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
73736 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
73738 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
73739 for ac_func in log10f
73740 do :
73741 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
73742 if test "x$ac_cv_func_log10f" = x""yes; then :
73743 cat >>confdefs.h <<_ACEOF
73744 #define HAVE_LOG10F 1
73745 _ACEOF
73748 done
73750 else
73752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
73753 $as_echo_n "checking for _log10f declaration... " >&6; }
73754 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
73755 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
73756 $as_echo_n "(cached) " >&6
73757 else
73760 ac_ext=cpp
73761 ac_cpp='$CXXCPP $CPPFLAGS'
73762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73767 /* end confdefs.h. */
73768 #include <math.h>
73769 #ifdef HAVE_IEEEFP_H
73770 #include <ieeefp.h>
73771 #endif
73774 main ()
73776 _log10f(0);
73778 return 0;
73780 _ACEOF
73781 if ac_fn_cxx_try_compile "$LINENO"; then :
73782 glibcxx_cv_func__log10f_use=yes
73783 else
73784 glibcxx_cv_func__log10f_use=no
73786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73787 ac_ext=c
73788 ac_cpp='$CPP $CPPFLAGS'
73789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
73798 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
73800 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
73801 for ac_func in _log10f
73802 do :
73803 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
73804 if test "x$ac_cv_func__log10f" = x""yes; then :
73805 cat >>confdefs.h <<_ACEOF
73806 #define HAVE__LOG10F 1
73807 _ACEOF
73810 done
73819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73820 $as_echo_n "checking for modff declaration... " >&6; }
73821 if test x${glibcxx_cv_func_modff_use+set} != xset; then
73822 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
73823 $as_echo_n "(cached) " >&6
73824 else
73827 ac_ext=cpp
73828 ac_cpp='$CXXCPP $CPPFLAGS'
73829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73834 /* end confdefs.h. */
73835 #include <math.h>
73837 main ()
73839 modff(0, 0);
73841 return 0;
73843 _ACEOF
73844 if ac_fn_cxx_try_compile "$LINENO"; then :
73845 glibcxx_cv_func_modff_use=yes
73846 else
73847 glibcxx_cv_func_modff_use=no
73849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73850 ac_ext=c
73851 ac_cpp='$CPP $CPPFLAGS'
73852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73861 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73863 if test x$glibcxx_cv_func_modff_use = x"yes"; then
73864 for ac_func in modff
73865 do :
73866 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
73867 if test "x$ac_cv_func_modff" = x""yes; then :
73868 cat >>confdefs.h <<_ACEOF
73869 #define HAVE_MODFF 1
73870 _ACEOF
73873 done
73875 else
73877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
73878 $as_echo_n "checking for _modff declaration... " >&6; }
73879 if test x${glibcxx_cv_func__modff_use+set} != xset; then
73880 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
73881 $as_echo_n "(cached) " >&6
73882 else
73885 ac_ext=cpp
73886 ac_cpp='$CXXCPP $CPPFLAGS'
73887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73892 /* end confdefs.h. */
73893 #include <math.h>
73895 main ()
73897 _modff(0, 0);
73899 return 0;
73901 _ACEOF
73902 if ac_fn_cxx_try_compile "$LINENO"; then :
73903 glibcxx_cv_func__modff_use=yes
73904 else
73905 glibcxx_cv_func__modff_use=no
73907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73908 ac_ext=c
73909 ac_cpp='$CPP $CPPFLAGS'
73910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
73919 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
73921 if test x$glibcxx_cv_func__modff_use = x"yes"; then
73922 for ac_func in _modff
73923 do :
73924 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
73925 if test "x$ac_cv_func__modff" = x""yes; then :
73926 cat >>confdefs.h <<_ACEOF
73927 #define HAVE__MODFF 1
73928 _ACEOF
73931 done
73940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
73941 $as_echo_n "checking for modf declaration... " >&6; }
73942 if test x${glibcxx_cv_func_modf_use+set} != xset; then
73943 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
73944 $as_echo_n "(cached) " >&6
73945 else
73948 ac_ext=cpp
73949 ac_cpp='$CXXCPP $CPPFLAGS'
73950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73955 /* end confdefs.h. */
73956 #include <math.h>
73958 main ()
73960 modf(0, 0);
73962 return 0;
73964 _ACEOF
73965 if ac_fn_cxx_try_compile "$LINENO"; then :
73966 glibcxx_cv_func_modf_use=yes
73967 else
73968 glibcxx_cv_func_modf_use=no
73970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73971 ac_ext=c
73972 ac_cpp='$CPP $CPPFLAGS'
73973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
73982 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
73984 if test x$glibcxx_cv_func_modf_use = x"yes"; then
73985 for ac_func in modf
73986 do :
73987 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
73988 if test "x$ac_cv_func_modf" = x""yes; then :
73989 cat >>confdefs.h <<_ACEOF
73990 #define HAVE_MODF 1
73991 _ACEOF
73994 done
73996 else
73998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
73999 $as_echo_n "checking for _modf declaration... " >&6; }
74000 if test x${glibcxx_cv_func__modf_use+set} != xset; then
74001 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
74002 $as_echo_n "(cached) " >&6
74003 else
74006 ac_ext=cpp
74007 ac_cpp='$CXXCPP $CPPFLAGS'
74008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74013 /* end confdefs.h. */
74014 #include <math.h>
74016 main ()
74018 _modf(0, 0);
74020 return 0;
74022 _ACEOF
74023 if ac_fn_cxx_try_compile "$LINENO"; then :
74024 glibcxx_cv_func__modf_use=yes
74025 else
74026 glibcxx_cv_func__modf_use=no
74028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74029 ac_ext=c
74030 ac_cpp='$CPP $CPPFLAGS'
74031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
74040 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
74042 if test x$glibcxx_cv_func__modf_use = x"yes"; then
74043 for ac_func in _modf
74044 do :
74045 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
74046 if test "x$ac_cv_func__modf" = x""yes; then :
74047 cat >>confdefs.h <<_ACEOF
74048 #define HAVE__MODF 1
74049 _ACEOF
74052 done
74061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
74062 $as_echo_n "checking for powf declaration... " >&6; }
74063 if test x${glibcxx_cv_func_powf_use+set} != xset; then
74064 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
74065 $as_echo_n "(cached) " >&6
74066 else
74069 ac_ext=cpp
74070 ac_cpp='$CXXCPP $CPPFLAGS'
74071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74076 /* end confdefs.h. */
74077 #include <math.h>
74079 main ()
74081 powf(0, 0);
74083 return 0;
74085 _ACEOF
74086 if ac_fn_cxx_try_compile "$LINENO"; then :
74087 glibcxx_cv_func_powf_use=yes
74088 else
74089 glibcxx_cv_func_powf_use=no
74091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74092 ac_ext=c
74093 ac_cpp='$CPP $CPPFLAGS'
74094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
74103 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
74105 if test x$glibcxx_cv_func_powf_use = x"yes"; then
74106 for ac_func in powf
74107 do :
74108 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
74109 if test "x$ac_cv_func_powf" = x""yes; then :
74110 cat >>confdefs.h <<_ACEOF
74111 #define HAVE_POWF 1
74112 _ACEOF
74115 done
74117 else
74119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
74120 $as_echo_n "checking for _powf declaration... " >&6; }
74121 if test x${glibcxx_cv_func__powf_use+set} != xset; then
74122 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
74123 $as_echo_n "(cached) " >&6
74124 else
74127 ac_ext=cpp
74128 ac_cpp='$CXXCPP $CPPFLAGS'
74129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74134 /* end confdefs.h. */
74135 #include <math.h>
74137 main ()
74139 _powf(0, 0);
74141 return 0;
74143 _ACEOF
74144 if ac_fn_cxx_try_compile "$LINENO"; then :
74145 glibcxx_cv_func__powf_use=yes
74146 else
74147 glibcxx_cv_func__powf_use=no
74149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74150 ac_ext=c
74151 ac_cpp='$CPP $CPPFLAGS'
74152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
74161 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
74163 if test x$glibcxx_cv_func__powf_use = x"yes"; then
74164 for ac_func in _powf
74165 do :
74166 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
74167 if test "x$ac_cv_func__powf" = x""yes; then :
74168 cat >>confdefs.h <<_ACEOF
74169 #define HAVE__POWF 1
74170 _ACEOF
74173 done
74182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
74183 $as_echo_n "checking for sqrtf declaration... " >&6; }
74184 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
74185 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
74186 $as_echo_n "(cached) " >&6
74187 else
74190 ac_ext=cpp
74191 ac_cpp='$CXXCPP $CPPFLAGS'
74192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74197 /* end confdefs.h. */
74198 #include <math.h>
74199 #ifdef HAVE_IEEEFP_H
74200 #include <ieeefp.h>
74201 #endif
74204 main ()
74206 sqrtf(0);
74208 return 0;
74210 _ACEOF
74211 if ac_fn_cxx_try_compile "$LINENO"; then :
74212 glibcxx_cv_func_sqrtf_use=yes
74213 else
74214 glibcxx_cv_func_sqrtf_use=no
74216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74217 ac_ext=c
74218 ac_cpp='$CPP $CPPFLAGS'
74219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
74228 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
74230 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
74231 for ac_func in sqrtf
74232 do :
74233 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
74234 if test "x$ac_cv_func_sqrtf" = x""yes; then :
74235 cat >>confdefs.h <<_ACEOF
74236 #define HAVE_SQRTF 1
74237 _ACEOF
74240 done
74242 else
74244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
74245 $as_echo_n "checking for _sqrtf declaration... " >&6; }
74246 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
74247 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
74248 $as_echo_n "(cached) " >&6
74249 else
74252 ac_ext=cpp
74253 ac_cpp='$CXXCPP $CPPFLAGS'
74254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74259 /* end confdefs.h. */
74260 #include <math.h>
74261 #ifdef HAVE_IEEEFP_H
74262 #include <ieeefp.h>
74263 #endif
74266 main ()
74268 _sqrtf(0);
74270 return 0;
74272 _ACEOF
74273 if ac_fn_cxx_try_compile "$LINENO"; then :
74274 glibcxx_cv_func__sqrtf_use=yes
74275 else
74276 glibcxx_cv_func__sqrtf_use=no
74278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74279 ac_ext=c
74280 ac_cpp='$CPP $CPPFLAGS'
74281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
74290 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
74292 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
74293 for ac_func in _sqrtf
74294 do :
74295 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
74296 if test "x$ac_cv_func__sqrtf" = x""yes; then :
74297 cat >>confdefs.h <<_ACEOF
74298 #define HAVE__SQRTF 1
74299 _ACEOF
74302 done
74311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
74312 $as_echo_n "checking for sincosf declaration... " >&6; }
74313 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
74314 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
74315 $as_echo_n "(cached) " >&6
74316 else
74319 ac_ext=cpp
74320 ac_cpp='$CXXCPP $CPPFLAGS'
74321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74326 /* end confdefs.h. */
74327 #include <math.h>
74329 main ()
74331 sincosf(0, 0, 0);
74333 return 0;
74335 _ACEOF
74336 if ac_fn_cxx_try_compile "$LINENO"; then :
74337 glibcxx_cv_func_sincosf_use=yes
74338 else
74339 glibcxx_cv_func_sincosf_use=no
74341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74342 ac_ext=c
74343 ac_cpp='$CPP $CPPFLAGS'
74344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
74353 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
74355 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
74356 for ac_func in sincosf
74357 do :
74358 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
74359 if test "x$ac_cv_func_sincosf" = x""yes; then :
74360 cat >>confdefs.h <<_ACEOF
74361 #define HAVE_SINCOSF 1
74362 _ACEOF
74365 done
74367 else
74369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
74370 $as_echo_n "checking for _sincosf declaration... " >&6; }
74371 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
74372 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
74373 $as_echo_n "(cached) " >&6
74374 else
74377 ac_ext=cpp
74378 ac_cpp='$CXXCPP $CPPFLAGS'
74379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74384 /* end confdefs.h. */
74385 #include <math.h>
74387 main ()
74389 _sincosf(0, 0, 0);
74391 return 0;
74393 _ACEOF
74394 if ac_fn_cxx_try_compile "$LINENO"; then :
74395 glibcxx_cv_func__sincosf_use=yes
74396 else
74397 glibcxx_cv_func__sincosf_use=no
74399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74400 ac_ext=c
74401 ac_cpp='$CPP $CPPFLAGS'
74402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
74411 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
74413 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
74414 for ac_func in _sincosf
74415 do :
74416 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
74417 if test "x$ac_cv_func__sincosf" = x""yes; then :
74418 cat >>confdefs.h <<_ACEOF
74419 #define HAVE__SINCOSF 1
74420 _ACEOF
74423 done
74432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
74433 $as_echo_n "checking for finitef declaration... " >&6; }
74434 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
74435 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
74436 $as_echo_n "(cached) " >&6
74437 else
74440 ac_ext=cpp
74441 ac_cpp='$CXXCPP $CPPFLAGS'
74442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74447 /* end confdefs.h. */
74448 #include <math.h>
74449 #ifdef HAVE_IEEEFP_H
74450 #include <ieeefp.h>
74451 #endif
74454 main ()
74456 finitef(0);
74458 return 0;
74460 _ACEOF
74461 if ac_fn_cxx_try_compile "$LINENO"; then :
74462 glibcxx_cv_func_finitef_use=yes
74463 else
74464 glibcxx_cv_func_finitef_use=no
74466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74467 ac_ext=c
74468 ac_cpp='$CPP $CPPFLAGS'
74469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
74478 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
74480 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
74481 for ac_func in finitef
74482 do :
74483 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
74484 if test "x$ac_cv_func_finitef" = x""yes; then :
74485 cat >>confdefs.h <<_ACEOF
74486 #define HAVE_FINITEF 1
74487 _ACEOF
74490 done
74492 else
74494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
74495 $as_echo_n "checking for _finitef declaration... " >&6; }
74496 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
74497 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
74498 $as_echo_n "(cached) " >&6
74499 else
74502 ac_ext=cpp
74503 ac_cpp='$CXXCPP $CPPFLAGS'
74504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74509 /* end confdefs.h. */
74510 #include <math.h>
74511 #ifdef HAVE_IEEEFP_H
74512 #include <ieeefp.h>
74513 #endif
74516 main ()
74518 _finitef(0);
74520 return 0;
74522 _ACEOF
74523 if ac_fn_cxx_try_compile "$LINENO"; then :
74524 glibcxx_cv_func__finitef_use=yes
74525 else
74526 glibcxx_cv_func__finitef_use=no
74528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74529 ac_ext=c
74530 ac_cpp='$CPP $CPPFLAGS'
74531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
74540 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
74542 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
74543 for ac_func in _finitef
74544 do :
74545 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
74546 if test "x$ac_cv_func__finitef" = x""yes; then :
74547 cat >>confdefs.h <<_ACEOF
74548 #define HAVE__FINITEF 1
74549 _ACEOF
74552 done
74561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
74562 $as_echo_n "checking for long double trig functions... " >&6; }
74563 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
74564 $as_echo_n "(cached) " >&6
74565 else
74568 ac_ext=cpp
74569 ac_cpp='$CXXCPP $CPPFLAGS'
74570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74575 /* end confdefs.h. */
74576 #include <math.h>
74578 main ()
74580 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
74582 return 0;
74584 _ACEOF
74585 if ac_fn_cxx_try_compile "$LINENO"; then :
74586 glibcxx_cv_func_long_double_trig_use=yes
74587 else
74588 glibcxx_cv_func_long_double_trig_use=no
74590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74591 ac_ext=c
74592 ac_cpp='$CPP $CPPFLAGS'
74593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
74600 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
74601 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
74602 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
74603 do :
74604 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74605 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74606 eval as_val=\$$as_ac_var
74607 if test "x$as_val" = x""yes; then :
74608 cat >>confdefs.h <<_ACEOF
74609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74610 _ACEOF
74613 done
74615 else
74616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
74617 $as_echo_n "checking for _long double trig functions... " >&6; }
74618 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
74619 $as_echo_n "(cached) " >&6
74620 else
74623 ac_ext=cpp
74624 ac_cpp='$CXXCPP $CPPFLAGS'
74625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74630 /* end confdefs.h. */
74631 #include <math.h>
74633 main ()
74635 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
74637 return 0;
74639 _ACEOF
74640 if ac_fn_cxx_try_compile "$LINENO"; then :
74641 glibcxx_cv_func__long_double_trig_use=yes
74642 else
74643 glibcxx_cv_func__long_double_trig_use=no
74645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74646 ac_ext=c
74647 ac_cpp='$CPP $CPPFLAGS'
74648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
74655 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
74656 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
74657 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
74658 do :
74659 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74660 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74661 eval as_val=\$$as_ac_var
74662 if test "x$as_val" = x""yes; then :
74663 cat >>confdefs.h <<_ACEOF
74664 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74665 _ACEOF
74668 done
74677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
74678 $as_echo_n "checking for long double round functions... " >&6; }
74679 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
74680 $as_echo_n "(cached) " >&6
74681 else
74684 ac_ext=cpp
74685 ac_cpp='$CXXCPP $CPPFLAGS'
74686 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74687 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74688 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74691 /* end confdefs.h. */
74692 #include <math.h>
74694 main ()
74696 ceill (0); floorl (0);
74698 return 0;
74700 _ACEOF
74701 if ac_fn_cxx_try_compile "$LINENO"; then :
74702 glibcxx_cv_func_long_double_round_use=yes
74703 else
74704 glibcxx_cv_func_long_double_round_use=no
74706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74707 ac_ext=c
74708 ac_cpp='$CPP $CPPFLAGS'
74709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
74716 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
74717 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
74718 for ac_func in ceill floorl
74719 do :
74720 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74721 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74722 eval as_val=\$$as_ac_var
74723 if test "x$as_val" = x""yes; then :
74724 cat >>confdefs.h <<_ACEOF
74725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74726 _ACEOF
74729 done
74731 else
74732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
74733 $as_echo_n "checking for _long double round functions... " >&6; }
74734 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
74735 $as_echo_n "(cached) " >&6
74736 else
74739 ac_ext=cpp
74740 ac_cpp='$CXXCPP $CPPFLAGS'
74741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74746 /* end confdefs.h. */
74747 #include <math.h>
74749 main ()
74751 _ceill (0); _floorl (0);
74753 return 0;
74755 _ACEOF
74756 if ac_fn_cxx_try_compile "$LINENO"; then :
74757 glibcxx_cv_func__long_double_round_use=yes
74758 else
74759 glibcxx_cv_func__long_double_round_use=no
74761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74762 ac_ext=c
74763 ac_cpp='$CPP $CPPFLAGS'
74764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
74771 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
74772 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
74773 for ac_func in _ceill _floorl
74774 do :
74775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
74776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
74777 eval as_val=\$$as_ac_var
74778 if test "x$as_val" = x""yes; then :
74779 cat >>confdefs.h <<_ACEOF
74780 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
74781 _ACEOF
74784 done
74794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
74795 $as_echo_n "checking for isnanl declaration... " >&6; }
74796 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
74797 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
74798 $as_echo_n "(cached) " >&6
74799 else
74802 ac_ext=cpp
74803 ac_cpp='$CXXCPP $CPPFLAGS'
74804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74809 /* end confdefs.h. */
74810 #include <math.h>
74811 #ifdef HAVE_IEEEFP_H
74812 #include <ieeefp.h>
74813 #endif
74816 main ()
74818 isnanl(0);
74820 return 0;
74822 _ACEOF
74823 if ac_fn_cxx_try_compile "$LINENO"; then :
74824 glibcxx_cv_func_isnanl_use=yes
74825 else
74826 glibcxx_cv_func_isnanl_use=no
74828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74829 ac_ext=c
74830 ac_cpp='$CPP $CPPFLAGS'
74831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
74840 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
74842 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
74843 for ac_func in isnanl
74844 do :
74845 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
74846 if test "x$ac_cv_func_isnanl" = x""yes; then :
74847 cat >>confdefs.h <<_ACEOF
74848 #define HAVE_ISNANL 1
74849 _ACEOF
74852 done
74854 else
74856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
74857 $as_echo_n "checking for _isnanl declaration... " >&6; }
74858 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
74859 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
74860 $as_echo_n "(cached) " >&6
74861 else
74864 ac_ext=cpp
74865 ac_cpp='$CXXCPP $CPPFLAGS'
74866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74871 /* end confdefs.h. */
74872 #include <math.h>
74873 #ifdef HAVE_IEEEFP_H
74874 #include <ieeefp.h>
74875 #endif
74878 main ()
74880 _isnanl(0);
74882 return 0;
74884 _ACEOF
74885 if ac_fn_cxx_try_compile "$LINENO"; then :
74886 glibcxx_cv_func__isnanl_use=yes
74887 else
74888 glibcxx_cv_func__isnanl_use=no
74890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74891 ac_ext=c
74892 ac_cpp='$CPP $CPPFLAGS'
74893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
74902 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
74904 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
74905 for ac_func in _isnanl
74906 do :
74907 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
74908 if test "x$ac_cv_func__isnanl" = x""yes; then :
74909 cat >>confdefs.h <<_ACEOF
74910 #define HAVE__ISNANL 1
74911 _ACEOF
74914 done
74923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
74924 $as_echo_n "checking for isinfl declaration... " >&6; }
74925 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
74926 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
74927 $as_echo_n "(cached) " >&6
74928 else
74931 ac_ext=cpp
74932 ac_cpp='$CXXCPP $CPPFLAGS'
74933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74938 /* end confdefs.h. */
74939 #include <math.h>
74940 #ifdef HAVE_IEEEFP_H
74941 #include <ieeefp.h>
74942 #endif
74945 main ()
74947 isinfl(0);
74949 return 0;
74951 _ACEOF
74952 if ac_fn_cxx_try_compile "$LINENO"; then :
74953 glibcxx_cv_func_isinfl_use=yes
74954 else
74955 glibcxx_cv_func_isinfl_use=no
74957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74958 ac_ext=c
74959 ac_cpp='$CPP $CPPFLAGS'
74960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
74969 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
74971 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
74972 for ac_func in isinfl
74973 do :
74974 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
74975 if test "x$ac_cv_func_isinfl" = x""yes; then :
74976 cat >>confdefs.h <<_ACEOF
74977 #define HAVE_ISINFL 1
74978 _ACEOF
74981 done
74983 else
74985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
74986 $as_echo_n "checking for _isinfl declaration... " >&6; }
74987 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
74988 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
74989 $as_echo_n "(cached) " >&6
74990 else
74993 ac_ext=cpp
74994 ac_cpp='$CXXCPP $CPPFLAGS'
74995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75000 /* end confdefs.h. */
75001 #include <math.h>
75002 #ifdef HAVE_IEEEFP_H
75003 #include <ieeefp.h>
75004 #endif
75007 main ()
75009 _isinfl(0);
75011 return 0;
75013 _ACEOF
75014 if ac_fn_cxx_try_compile "$LINENO"; then :
75015 glibcxx_cv_func__isinfl_use=yes
75016 else
75017 glibcxx_cv_func__isinfl_use=no
75019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75020 ac_ext=c
75021 ac_cpp='$CPP $CPPFLAGS'
75022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
75031 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
75033 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
75034 for ac_func in _isinfl
75035 do :
75036 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
75037 if test "x$ac_cv_func__isinfl" = x""yes; then :
75038 cat >>confdefs.h <<_ACEOF
75039 #define HAVE__ISINFL 1
75040 _ACEOF
75043 done
75052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
75053 $as_echo_n "checking for atan2l declaration... " >&6; }
75054 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
75055 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
75056 $as_echo_n "(cached) " >&6
75057 else
75060 ac_ext=cpp
75061 ac_cpp='$CXXCPP $CPPFLAGS'
75062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75067 /* end confdefs.h. */
75068 #include <math.h>
75070 main ()
75072 atan2l(0, 0);
75074 return 0;
75076 _ACEOF
75077 if ac_fn_cxx_try_compile "$LINENO"; then :
75078 glibcxx_cv_func_atan2l_use=yes
75079 else
75080 glibcxx_cv_func_atan2l_use=no
75082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75083 ac_ext=c
75084 ac_cpp='$CPP $CPPFLAGS'
75085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
75094 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
75096 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
75097 for ac_func in atan2l
75098 do :
75099 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
75100 if test "x$ac_cv_func_atan2l" = x""yes; then :
75101 cat >>confdefs.h <<_ACEOF
75102 #define HAVE_ATAN2L 1
75103 _ACEOF
75106 done
75108 else
75110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
75111 $as_echo_n "checking for _atan2l declaration... " >&6; }
75112 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
75113 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
75114 $as_echo_n "(cached) " >&6
75115 else
75118 ac_ext=cpp
75119 ac_cpp='$CXXCPP $CPPFLAGS'
75120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75125 /* end confdefs.h. */
75126 #include <math.h>
75128 main ()
75130 _atan2l(0, 0);
75132 return 0;
75134 _ACEOF
75135 if ac_fn_cxx_try_compile "$LINENO"; then :
75136 glibcxx_cv_func__atan2l_use=yes
75137 else
75138 glibcxx_cv_func__atan2l_use=no
75140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75141 ac_ext=c
75142 ac_cpp='$CPP $CPPFLAGS'
75143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
75152 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
75154 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
75155 for ac_func in _atan2l
75156 do :
75157 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
75158 if test "x$ac_cv_func__atan2l" = x""yes; then :
75159 cat >>confdefs.h <<_ACEOF
75160 #define HAVE__ATAN2L 1
75161 _ACEOF
75164 done
75173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
75174 $as_echo_n "checking for expl declaration... " >&6; }
75175 if test x${glibcxx_cv_func_expl_use+set} != xset; then
75176 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
75177 $as_echo_n "(cached) " >&6
75178 else
75181 ac_ext=cpp
75182 ac_cpp='$CXXCPP $CPPFLAGS'
75183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75188 /* end confdefs.h. */
75189 #include <math.h>
75190 #ifdef HAVE_IEEEFP_H
75191 #include <ieeefp.h>
75192 #endif
75195 main ()
75197 expl(0);
75199 return 0;
75201 _ACEOF
75202 if ac_fn_cxx_try_compile "$LINENO"; then :
75203 glibcxx_cv_func_expl_use=yes
75204 else
75205 glibcxx_cv_func_expl_use=no
75207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75208 ac_ext=c
75209 ac_cpp='$CPP $CPPFLAGS'
75210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
75219 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
75221 if test x$glibcxx_cv_func_expl_use = x"yes"; then
75222 for ac_func in expl
75223 do :
75224 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
75225 if test "x$ac_cv_func_expl" = x""yes; then :
75226 cat >>confdefs.h <<_ACEOF
75227 #define HAVE_EXPL 1
75228 _ACEOF
75231 done
75233 else
75235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
75236 $as_echo_n "checking for _expl declaration... " >&6; }
75237 if test x${glibcxx_cv_func__expl_use+set} != xset; then
75238 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
75239 $as_echo_n "(cached) " >&6
75240 else
75243 ac_ext=cpp
75244 ac_cpp='$CXXCPP $CPPFLAGS'
75245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75250 /* end confdefs.h. */
75251 #include <math.h>
75252 #ifdef HAVE_IEEEFP_H
75253 #include <ieeefp.h>
75254 #endif
75257 main ()
75259 _expl(0);
75261 return 0;
75263 _ACEOF
75264 if ac_fn_cxx_try_compile "$LINENO"; then :
75265 glibcxx_cv_func__expl_use=yes
75266 else
75267 glibcxx_cv_func__expl_use=no
75269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75270 ac_ext=c
75271 ac_cpp='$CPP $CPPFLAGS'
75272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
75281 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
75283 if test x$glibcxx_cv_func__expl_use = x"yes"; then
75284 for ac_func in _expl
75285 do :
75286 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
75287 if test "x$ac_cv_func__expl" = x""yes; then :
75288 cat >>confdefs.h <<_ACEOF
75289 #define HAVE__EXPL 1
75290 _ACEOF
75293 done
75302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
75303 $as_echo_n "checking for fabsl declaration... " >&6; }
75304 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
75305 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
75306 $as_echo_n "(cached) " >&6
75307 else
75310 ac_ext=cpp
75311 ac_cpp='$CXXCPP $CPPFLAGS'
75312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75317 /* end confdefs.h. */
75318 #include <math.h>
75319 #ifdef HAVE_IEEEFP_H
75320 #include <ieeefp.h>
75321 #endif
75324 main ()
75326 fabsl(0);
75328 return 0;
75330 _ACEOF
75331 if ac_fn_cxx_try_compile "$LINENO"; then :
75332 glibcxx_cv_func_fabsl_use=yes
75333 else
75334 glibcxx_cv_func_fabsl_use=no
75336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75337 ac_ext=c
75338 ac_cpp='$CPP $CPPFLAGS'
75339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
75348 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
75350 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
75351 for ac_func in fabsl
75352 do :
75353 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
75354 if test "x$ac_cv_func_fabsl" = x""yes; then :
75355 cat >>confdefs.h <<_ACEOF
75356 #define HAVE_FABSL 1
75357 _ACEOF
75360 done
75362 else
75364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
75365 $as_echo_n "checking for _fabsl declaration... " >&6; }
75366 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
75367 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
75368 $as_echo_n "(cached) " >&6
75369 else
75372 ac_ext=cpp
75373 ac_cpp='$CXXCPP $CPPFLAGS'
75374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75379 /* end confdefs.h. */
75380 #include <math.h>
75381 #ifdef HAVE_IEEEFP_H
75382 #include <ieeefp.h>
75383 #endif
75386 main ()
75388 _fabsl(0);
75390 return 0;
75392 _ACEOF
75393 if ac_fn_cxx_try_compile "$LINENO"; then :
75394 glibcxx_cv_func__fabsl_use=yes
75395 else
75396 glibcxx_cv_func__fabsl_use=no
75398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75399 ac_ext=c
75400 ac_cpp='$CPP $CPPFLAGS'
75401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
75410 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
75412 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
75413 for ac_func in _fabsl
75414 do :
75415 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
75416 if test "x$ac_cv_func__fabsl" = x""yes; then :
75417 cat >>confdefs.h <<_ACEOF
75418 #define HAVE__FABSL 1
75419 _ACEOF
75422 done
75431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
75432 $as_echo_n "checking for fmodl declaration... " >&6; }
75433 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
75434 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
75435 $as_echo_n "(cached) " >&6
75436 else
75439 ac_ext=cpp
75440 ac_cpp='$CXXCPP $CPPFLAGS'
75441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75446 /* end confdefs.h. */
75447 #include <math.h>
75449 main ()
75451 fmodl(0, 0);
75453 return 0;
75455 _ACEOF
75456 if ac_fn_cxx_try_compile "$LINENO"; then :
75457 glibcxx_cv_func_fmodl_use=yes
75458 else
75459 glibcxx_cv_func_fmodl_use=no
75461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75462 ac_ext=c
75463 ac_cpp='$CPP $CPPFLAGS'
75464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
75473 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
75475 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
75476 for ac_func in fmodl
75477 do :
75478 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
75479 if test "x$ac_cv_func_fmodl" = x""yes; then :
75480 cat >>confdefs.h <<_ACEOF
75481 #define HAVE_FMODL 1
75482 _ACEOF
75485 done
75487 else
75489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
75490 $as_echo_n "checking for _fmodl declaration... " >&6; }
75491 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
75492 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
75493 $as_echo_n "(cached) " >&6
75494 else
75497 ac_ext=cpp
75498 ac_cpp='$CXXCPP $CPPFLAGS'
75499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75504 /* end confdefs.h. */
75505 #include <math.h>
75507 main ()
75509 _fmodl(0, 0);
75511 return 0;
75513 _ACEOF
75514 if ac_fn_cxx_try_compile "$LINENO"; then :
75515 glibcxx_cv_func__fmodl_use=yes
75516 else
75517 glibcxx_cv_func__fmodl_use=no
75519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75520 ac_ext=c
75521 ac_cpp='$CPP $CPPFLAGS'
75522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
75531 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
75533 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
75534 for ac_func in _fmodl
75535 do :
75536 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
75537 if test "x$ac_cv_func__fmodl" = x""yes; then :
75538 cat >>confdefs.h <<_ACEOF
75539 #define HAVE__FMODL 1
75540 _ACEOF
75543 done
75552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
75553 $as_echo_n "checking for frexpl declaration... " >&6; }
75554 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
75555 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
75556 $as_echo_n "(cached) " >&6
75557 else
75560 ac_ext=cpp
75561 ac_cpp='$CXXCPP $CPPFLAGS'
75562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75567 /* end confdefs.h. */
75568 #include <math.h>
75570 main ()
75572 frexpl(0, 0);
75574 return 0;
75576 _ACEOF
75577 if ac_fn_cxx_try_compile "$LINENO"; then :
75578 glibcxx_cv_func_frexpl_use=yes
75579 else
75580 glibcxx_cv_func_frexpl_use=no
75582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75583 ac_ext=c
75584 ac_cpp='$CPP $CPPFLAGS'
75585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
75594 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
75596 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
75597 for ac_func in frexpl
75598 do :
75599 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
75600 if test "x$ac_cv_func_frexpl" = x""yes; then :
75601 cat >>confdefs.h <<_ACEOF
75602 #define HAVE_FREXPL 1
75603 _ACEOF
75606 done
75608 else
75610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
75611 $as_echo_n "checking for _frexpl declaration... " >&6; }
75612 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
75613 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
75614 $as_echo_n "(cached) " >&6
75615 else
75618 ac_ext=cpp
75619 ac_cpp='$CXXCPP $CPPFLAGS'
75620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75625 /* end confdefs.h. */
75626 #include <math.h>
75628 main ()
75630 _frexpl(0, 0);
75632 return 0;
75634 _ACEOF
75635 if ac_fn_cxx_try_compile "$LINENO"; then :
75636 glibcxx_cv_func__frexpl_use=yes
75637 else
75638 glibcxx_cv_func__frexpl_use=no
75640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75641 ac_ext=c
75642 ac_cpp='$CPP $CPPFLAGS'
75643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
75652 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
75654 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
75655 for ac_func in _frexpl
75656 do :
75657 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
75658 if test "x$ac_cv_func__frexpl" = x""yes; then :
75659 cat >>confdefs.h <<_ACEOF
75660 #define HAVE__FREXPL 1
75661 _ACEOF
75664 done
75673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
75674 $as_echo_n "checking for hypotl declaration... " >&6; }
75675 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
75676 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
75677 $as_echo_n "(cached) " >&6
75678 else
75681 ac_ext=cpp
75682 ac_cpp='$CXXCPP $CPPFLAGS'
75683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75688 /* end confdefs.h. */
75689 #include <math.h>
75691 main ()
75693 hypotl(0, 0);
75695 return 0;
75697 _ACEOF
75698 if ac_fn_cxx_try_compile "$LINENO"; then :
75699 glibcxx_cv_func_hypotl_use=yes
75700 else
75701 glibcxx_cv_func_hypotl_use=no
75703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75704 ac_ext=c
75705 ac_cpp='$CPP $CPPFLAGS'
75706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
75715 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
75717 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
75718 for ac_func in hypotl
75719 do :
75720 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
75721 if test "x$ac_cv_func_hypotl" = x""yes; then :
75722 cat >>confdefs.h <<_ACEOF
75723 #define HAVE_HYPOTL 1
75724 _ACEOF
75727 done
75729 else
75731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
75732 $as_echo_n "checking for _hypotl declaration... " >&6; }
75733 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
75734 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
75735 $as_echo_n "(cached) " >&6
75736 else
75739 ac_ext=cpp
75740 ac_cpp='$CXXCPP $CPPFLAGS'
75741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75746 /* end confdefs.h. */
75747 #include <math.h>
75749 main ()
75751 _hypotl(0, 0);
75753 return 0;
75755 _ACEOF
75756 if ac_fn_cxx_try_compile "$LINENO"; then :
75757 glibcxx_cv_func__hypotl_use=yes
75758 else
75759 glibcxx_cv_func__hypotl_use=no
75761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75762 ac_ext=c
75763 ac_cpp='$CPP $CPPFLAGS'
75764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
75773 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
75775 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
75776 for ac_func in _hypotl
75777 do :
75778 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
75779 if test "x$ac_cv_func__hypotl" = x""yes; then :
75780 cat >>confdefs.h <<_ACEOF
75781 #define HAVE__HYPOTL 1
75782 _ACEOF
75785 done
75794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
75795 $as_echo_n "checking for ldexpl declaration... " >&6; }
75796 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
75797 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
75798 $as_echo_n "(cached) " >&6
75799 else
75802 ac_ext=cpp
75803 ac_cpp='$CXXCPP $CPPFLAGS'
75804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75809 /* end confdefs.h. */
75810 #include <math.h>
75812 main ()
75814 ldexpl(0, 0);
75816 return 0;
75818 _ACEOF
75819 if ac_fn_cxx_try_compile "$LINENO"; then :
75820 glibcxx_cv_func_ldexpl_use=yes
75821 else
75822 glibcxx_cv_func_ldexpl_use=no
75824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75825 ac_ext=c
75826 ac_cpp='$CPP $CPPFLAGS'
75827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
75836 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
75838 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
75839 for ac_func in ldexpl
75840 do :
75841 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
75842 if test "x$ac_cv_func_ldexpl" = x""yes; then :
75843 cat >>confdefs.h <<_ACEOF
75844 #define HAVE_LDEXPL 1
75845 _ACEOF
75848 done
75850 else
75852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
75853 $as_echo_n "checking for _ldexpl declaration... " >&6; }
75854 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
75855 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
75856 $as_echo_n "(cached) " >&6
75857 else
75860 ac_ext=cpp
75861 ac_cpp='$CXXCPP $CPPFLAGS'
75862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75867 /* end confdefs.h. */
75868 #include <math.h>
75870 main ()
75872 _ldexpl(0, 0);
75874 return 0;
75876 _ACEOF
75877 if ac_fn_cxx_try_compile "$LINENO"; then :
75878 glibcxx_cv_func__ldexpl_use=yes
75879 else
75880 glibcxx_cv_func__ldexpl_use=no
75882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75883 ac_ext=c
75884 ac_cpp='$CPP $CPPFLAGS'
75885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
75894 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
75896 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
75897 for ac_func in _ldexpl
75898 do :
75899 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
75900 if test "x$ac_cv_func__ldexpl" = x""yes; then :
75901 cat >>confdefs.h <<_ACEOF
75902 #define HAVE__LDEXPL 1
75903 _ACEOF
75906 done
75915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
75916 $as_echo_n "checking for logl declaration... " >&6; }
75917 if test x${glibcxx_cv_func_logl_use+set} != xset; then
75918 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
75919 $as_echo_n "(cached) " >&6
75920 else
75923 ac_ext=cpp
75924 ac_cpp='$CXXCPP $CPPFLAGS'
75925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75930 /* end confdefs.h. */
75931 #include <math.h>
75932 #ifdef HAVE_IEEEFP_H
75933 #include <ieeefp.h>
75934 #endif
75937 main ()
75939 logl(0);
75941 return 0;
75943 _ACEOF
75944 if ac_fn_cxx_try_compile "$LINENO"; then :
75945 glibcxx_cv_func_logl_use=yes
75946 else
75947 glibcxx_cv_func_logl_use=no
75949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75950 ac_ext=c
75951 ac_cpp='$CPP $CPPFLAGS'
75952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
75961 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
75963 if test x$glibcxx_cv_func_logl_use = x"yes"; then
75964 for ac_func in logl
75965 do :
75966 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
75967 if test "x$ac_cv_func_logl" = x""yes; then :
75968 cat >>confdefs.h <<_ACEOF
75969 #define HAVE_LOGL 1
75970 _ACEOF
75973 done
75975 else
75977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
75978 $as_echo_n "checking for _logl declaration... " >&6; }
75979 if test x${glibcxx_cv_func__logl_use+set} != xset; then
75980 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
75981 $as_echo_n "(cached) " >&6
75982 else
75985 ac_ext=cpp
75986 ac_cpp='$CXXCPP $CPPFLAGS'
75987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75992 /* end confdefs.h. */
75993 #include <math.h>
75994 #ifdef HAVE_IEEEFP_H
75995 #include <ieeefp.h>
75996 #endif
75999 main ()
76001 _logl(0);
76003 return 0;
76005 _ACEOF
76006 if ac_fn_cxx_try_compile "$LINENO"; then :
76007 glibcxx_cv_func__logl_use=yes
76008 else
76009 glibcxx_cv_func__logl_use=no
76011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76012 ac_ext=c
76013 ac_cpp='$CPP $CPPFLAGS'
76014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
76023 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
76025 if test x$glibcxx_cv_func__logl_use = x"yes"; then
76026 for ac_func in _logl
76027 do :
76028 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
76029 if test "x$ac_cv_func__logl" = x""yes; then :
76030 cat >>confdefs.h <<_ACEOF
76031 #define HAVE__LOGL 1
76032 _ACEOF
76035 done
76044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
76045 $as_echo_n "checking for log10l declaration... " >&6; }
76046 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
76047 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
76048 $as_echo_n "(cached) " >&6
76049 else
76052 ac_ext=cpp
76053 ac_cpp='$CXXCPP $CPPFLAGS'
76054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76059 /* end confdefs.h. */
76060 #include <math.h>
76061 #ifdef HAVE_IEEEFP_H
76062 #include <ieeefp.h>
76063 #endif
76066 main ()
76068 log10l(0);
76070 return 0;
76072 _ACEOF
76073 if ac_fn_cxx_try_compile "$LINENO"; then :
76074 glibcxx_cv_func_log10l_use=yes
76075 else
76076 glibcxx_cv_func_log10l_use=no
76078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76079 ac_ext=c
76080 ac_cpp='$CPP $CPPFLAGS'
76081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
76090 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
76092 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
76093 for ac_func in log10l
76094 do :
76095 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
76096 if test "x$ac_cv_func_log10l" = x""yes; then :
76097 cat >>confdefs.h <<_ACEOF
76098 #define HAVE_LOG10L 1
76099 _ACEOF
76102 done
76104 else
76106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
76107 $as_echo_n "checking for _log10l declaration... " >&6; }
76108 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
76109 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
76110 $as_echo_n "(cached) " >&6
76111 else
76114 ac_ext=cpp
76115 ac_cpp='$CXXCPP $CPPFLAGS'
76116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76121 /* end confdefs.h. */
76122 #include <math.h>
76123 #ifdef HAVE_IEEEFP_H
76124 #include <ieeefp.h>
76125 #endif
76128 main ()
76130 _log10l(0);
76132 return 0;
76134 _ACEOF
76135 if ac_fn_cxx_try_compile "$LINENO"; then :
76136 glibcxx_cv_func__log10l_use=yes
76137 else
76138 glibcxx_cv_func__log10l_use=no
76140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76141 ac_ext=c
76142 ac_cpp='$CPP $CPPFLAGS'
76143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
76152 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
76154 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
76155 for ac_func in _log10l
76156 do :
76157 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
76158 if test "x$ac_cv_func__log10l" = x""yes; then :
76159 cat >>confdefs.h <<_ACEOF
76160 #define HAVE__LOG10L 1
76161 _ACEOF
76164 done
76173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
76174 $as_echo_n "checking for modfl declaration... " >&6; }
76175 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
76176 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
76177 $as_echo_n "(cached) " >&6
76178 else
76181 ac_ext=cpp
76182 ac_cpp='$CXXCPP $CPPFLAGS'
76183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76188 /* end confdefs.h. */
76189 #include <math.h>
76191 main ()
76193 modfl(0, 0);
76195 return 0;
76197 _ACEOF
76198 if ac_fn_cxx_try_compile "$LINENO"; then :
76199 glibcxx_cv_func_modfl_use=yes
76200 else
76201 glibcxx_cv_func_modfl_use=no
76203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76204 ac_ext=c
76205 ac_cpp='$CPP $CPPFLAGS'
76206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
76215 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
76217 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
76218 for ac_func in modfl
76219 do :
76220 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
76221 if test "x$ac_cv_func_modfl" = x""yes; then :
76222 cat >>confdefs.h <<_ACEOF
76223 #define HAVE_MODFL 1
76224 _ACEOF
76227 done
76229 else
76231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
76232 $as_echo_n "checking for _modfl declaration... " >&6; }
76233 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
76234 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
76235 $as_echo_n "(cached) " >&6
76236 else
76239 ac_ext=cpp
76240 ac_cpp='$CXXCPP $CPPFLAGS'
76241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76246 /* end confdefs.h. */
76247 #include <math.h>
76249 main ()
76251 _modfl(0, 0);
76253 return 0;
76255 _ACEOF
76256 if ac_fn_cxx_try_compile "$LINENO"; then :
76257 glibcxx_cv_func__modfl_use=yes
76258 else
76259 glibcxx_cv_func__modfl_use=no
76261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76262 ac_ext=c
76263 ac_cpp='$CPP $CPPFLAGS'
76264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
76273 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
76275 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
76276 for ac_func in _modfl
76277 do :
76278 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
76279 if test "x$ac_cv_func__modfl" = x""yes; then :
76280 cat >>confdefs.h <<_ACEOF
76281 #define HAVE__MODFL 1
76282 _ACEOF
76285 done
76294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
76295 $as_echo_n "checking for powl declaration... " >&6; }
76296 if test x${glibcxx_cv_func_powl_use+set} != xset; then
76297 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
76298 $as_echo_n "(cached) " >&6
76299 else
76302 ac_ext=cpp
76303 ac_cpp='$CXXCPP $CPPFLAGS'
76304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76309 /* end confdefs.h. */
76310 #include <math.h>
76312 main ()
76314 powl(0, 0);
76316 return 0;
76318 _ACEOF
76319 if ac_fn_cxx_try_compile "$LINENO"; then :
76320 glibcxx_cv_func_powl_use=yes
76321 else
76322 glibcxx_cv_func_powl_use=no
76324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76325 ac_ext=c
76326 ac_cpp='$CPP $CPPFLAGS'
76327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
76336 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
76338 if test x$glibcxx_cv_func_powl_use = x"yes"; then
76339 for ac_func in powl
76340 do :
76341 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
76342 if test "x$ac_cv_func_powl" = x""yes; then :
76343 cat >>confdefs.h <<_ACEOF
76344 #define HAVE_POWL 1
76345 _ACEOF
76348 done
76350 else
76352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
76353 $as_echo_n "checking for _powl declaration... " >&6; }
76354 if test x${glibcxx_cv_func__powl_use+set} != xset; then
76355 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
76356 $as_echo_n "(cached) " >&6
76357 else
76360 ac_ext=cpp
76361 ac_cpp='$CXXCPP $CPPFLAGS'
76362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76367 /* end confdefs.h. */
76368 #include <math.h>
76370 main ()
76372 _powl(0, 0);
76374 return 0;
76376 _ACEOF
76377 if ac_fn_cxx_try_compile "$LINENO"; then :
76378 glibcxx_cv_func__powl_use=yes
76379 else
76380 glibcxx_cv_func__powl_use=no
76382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76383 ac_ext=c
76384 ac_cpp='$CPP $CPPFLAGS'
76385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
76394 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
76396 if test x$glibcxx_cv_func__powl_use = x"yes"; then
76397 for ac_func in _powl
76398 do :
76399 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
76400 if test "x$ac_cv_func__powl" = x""yes; then :
76401 cat >>confdefs.h <<_ACEOF
76402 #define HAVE__POWL 1
76403 _ACEOF
76406 done
76415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
76416 $as_echo_n "checking for sqrtl declaration... " >&6; }
76417 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
76418 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
76419 $as_echo_n "(cached) " >&6
76420 else
76423 ac_ext=cpp
76424 ac_cpp='$CXXCPP $CPPFLAGS'
76425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76430 /* end confdefs.h. */
76431 #include <math.h>
76432 #ifdef HAVE_IEEEFP_H
76433 #include <ieeefp.h>
76434 #endif
76437 main ()
76439 sqrtl(0);
76441 return 0;
76443 _ACEOF
76444 if ac_fn_cxx_try_compile "$LINENO"; then :
76445 glibcxx_cv_func_sqrtl_use=yes
76446 else
76447 glibcxx_cv_func_sqrtl_use=no
76449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76450 ac_ext=c
76451 ac_cpp='$CPP $CPPFLAGS'
76452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
76461 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
76463 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
76464 for ac_func in sqrtl
76465 do :
76466 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
76467 if test "x$ac_cv_func_sqrtl" = x""yes; then :
76468 cat >>confdefs.h <<_ACEOF
76469 #define HAVE_SQRTL 1
76470 _ACEOF
76473 done
76475 else
76477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
76478 $as_echo_n "checking for _sqrtl declaration... " >&6; }
76479 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
76480 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
76481 $as_echo_n "(cached) " >&6
76482 else
76485 ac_ext=cpp
76486 ac_cpp='$CXXCPP $CPPFLAGS'
76487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76492 /* end confdefs.h. */
76493 #include <math.h>
76494 #ifdef HAVE_IEEEFP_H
76495 #include <ieeefp.h>
76496 #endif
76499 main ()
76501 _sqrtl(0);
76503 return 0;
76505 _ACEOF
76506 if ac_fn_cxx_try_compile "$LINENO"; then :
76507 glibcxx_cv_func__sqrtl_use=yes
76508 else
76509 glibcxx_cv_func__sqrtl_use=no
76511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76512 ac_ext=c
76513 ac_cpp='$CPP $CPPFLAGS'
76514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
76523 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
76525 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
76526 for ac_func in _sqrtl
76527 do :
76528 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
76529 if test "x$ac_cv_func__sqrtl" = x""yes; then :
76530 cat >>confdefs.h <<_ACEOF
76531 #define HAVE__SQRTL 1
76532 _ACEOF
76535 done
76544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
76545 $as_echo_n "checking for sincosl declaration... " >&6; }
76546 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
76547 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
76548 $as_echo_n "(cached) " >&6
76549 else
76552 ac_ext=cpp
76553 ac_cpp='$CXXCPP $CPPFLAGS'
76554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76559 /* end confdefs.h. */
76560 #include <math.h>
76562 main ()
76564 sincosl(0, 0, 0);
76566 return 0;
76568 _ACEOF
76569 if ac_fn_cxx_try_compile "$LINENO"; then :
76570 glibcxx_cv_func_sincosl_use=yes
76571 else
76572 glibcxx_cv_func_sincosl_use=no
76574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76575 ac_ext=c
76576 ac_cpp='$CPP $CPPFLAGS'
76577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
76586 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
76588 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
76589 for ac_func in sincosl
76590 do :
76591 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
76592 if test "x$ac_cv_func_sincosl" = x""yes; then :
76593 cat >>confdefs.h <<_ACEOF
76594 #define HAVE_SINCOSL 1
76595 _ACEOF
76598 done
76600 else
76602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
76603 $as_echo_n "checking for _sincosl declaration... " >&6; }
76604 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
76605 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
76606 $as_echo_n "(cached) " >&6
76607 else
76610 ac_ext=cpp
76611 ac_cpp='$CXXCPP $CPPFLAGS'
76612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76617 /* end confdefs.h. */
76618 #include <math.h>
76620 main ()
76622 _sincosl(0, 0, 0);
76624 return 0;
76626 _ACEOF
76627 if ac_fn_cxx_try_compile "$LINENO"; then :
76628 glibcxx_cv_func__sincosl_use=yes
76629 else
76630 glibcxx_cv_func__sincosl_use=no
76632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76633 ac_ext=c
76634 ac_cpp='$CPP $CPPFLAGS'
76635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
76644 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
76646 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
76647 for ac_func in _sincosl
76648 do :
76649 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
76650 if test "x$ac_cv_func__sincosl" = x""yes; then :
76651 cat >>confdefs.h <<_ACEOF
76652 #define HAVE__SINCOSL 1
76653 _ACEOF
76656 done
76665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
76666 $as_echo_n "checking for finitel declaration... " >&6; }
76667 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
76668 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
76669 $as_echo_n "(cached) " >&6
76670 else
76673 ac_ext=cpp
76674 ac_cpp='$CXXCPP $CPPFLAGS'
76675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76680 /* end confdefs.h. */
76681 #include <math.h>
76682 #ifdef HAVE_IEEEFP_H
76683 #include <ieeefp.h>
76684 #endif
76687 main ()
76689 finitel(0);
76691 return 0;
76693 _ACEOF
76694 if ac_fn_cxx_try_compile "$LINENO"; then :
76695 glibcxx_cv_func_finitel_use=yes
76696 else
76697 glibcxx_cv_func_finitel_use=no
76699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76700 ac_ext=c
76701 ac_cpp='$CPP $CPPFLAGS'
76702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
76711 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
76713 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
76714 for ac_func in finitel
76715 do :
76716 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
76717 if test "x$ac_cv_func_finitel" = x""yes; then :
76718 cat >>confdefs.h <<_ACEOF
76719 #define HAVE_FINITEL 1
76720 _ACEOF
76723 done
76725 else
76727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
76728 $as_echo_n "checking for _finitel declaration... " >&6; }
76729 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
76730 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
76731 $as_echo_n "(cached) " >&6
76732 else
76735 ac_ext=cpp
76736 ac_cpp='$CXXCPP $CPPFLAGS'
76737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76742 /* end confdefs.h. */
76743 #include <math.h>
76744 #ifdef HAVE_IEEEFP_H
76745 #include <ieeefp.h>
76746 #endif
76749 main ()
76751 _finitel(0);
76753 return 0;
76755 _ACEOF
76756 if ac_fn_cxx_try_compile "$LINENO"; then :
76757 glibcxx_cv_func__finitel_use=yes
76758 else
76759 glibcxx_cv_func__finitel_use=no
76761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76762 ac_ext=c
76763 ac_cpp='$CPP $CPPFLAGS'
76764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
76773 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
76775 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
76776 for ac_func in _finitel
76777 do :
76778 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
76779 if test "x$ac_cv_func__finitel" = x""yes; then :
76780 cat >>confdefs.h <<_ACEOF
76781 #define HAVE__FINITEL 1
76782 _ACEOF
76785 done
76793 LIBS="$ac_save_LIBS"
76794 CXXFLAGS="$ac_save_CXXFLAGS"
76797 ac_test_CXXFLAGS="${CXXFLAGS+set}"
76798 ac_save_CXXFLAGS="$CXXFLAGS"
76799 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
76802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
76803 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
76804 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
76805 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
76806 $as_echo_n "(cached) " >&6
76807 else
76810 ac_ext=cpp
76811 ac_cpp='$CXXCPP $CPPFLAGS'
76812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76817 /* end confdefs.h. */
76818 #include <stdlib.h>
76820 main ()
76822 at_quick_exit(0);
76824 return 0;
76826 _ACEOF
76827 if ac_fn_cxx_try_compile "$LINENO"; then :
76828 glibcxx_cv_func_at_quick_exit_use=yes
76829 else
76830 glibcxx_cv_func_at_quick_exit_use=no
76832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76833 ac_ext=c
76834 ac_cpp='$CPP $CPPFLAGS'
76835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
76844 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
76845 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
76846 for ac_func in at_quick_exit
76847 do :
76848 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
76849 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
76850 cat >>confdefs.h <<_ACEOF
76851 #define HAVE_AT_QUICK_EXIT 1
76852 _ACEOF
76855 done
76860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
76861 $as_echo_n "checking for quick_exit declaration... " >&6; }
76862 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
76863 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
76864 $as_echo_n "(cached) " >&6
76865 else
76868 ac_ext=cpp
76869 ac_cpp='$CXXCPP $CPPFLAGS'
76870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76875 /* end confdefs.h. */
76876 #include <stdlib.h>
76878 main ()
76880 quick_exit(0);
76882 return 0;
76884 _ACEOF
76885 if ac_fn_cxx_try_compile "$LINENO"; then :
76886 glibcxx_cv_func_quick_exit_use=yes
76887 else
76888 glibcxx_cv_func_quick_exit_use=no
76890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76891 ac_ext=c
76892 ac_cpp='$CPP $CPPFLAGS'
76893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
76902 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
76903 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
76904 for ac_func in quick_exit
76905 do :
76906 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
76907 if test "x$ac_cv_func_quick_exit" = x""yes; then :
76908 cat >>confdefs.h <<_ACEOF
76909 #define HAVE_QUICK_EXIT 1
76910 _ACEOF
76913 done
76918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
76919 $as_echo_n "checking for strtold declaration... " >&6; }
76920 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
76921 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
76922 $as_echo_n "(cached) " >&6
76923 else
76926 ac_ext=cpp
76927 ac_cpp='$CXXCPP $CPPFLAGS'
76928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76933 /* end confdefs.h. */
76934 #include <stdlib.h>
76936 main ()
76938 strtold(0, 0);
76940 return 0;
76942 _ACEOF
76943 if ac_fn_cxx_try_compile "$LINENO"; then :
76944 glibcxx_cv_func_strtold_use=yes
76945 else
76946 glibcxx_cv_func_strtold_use=no
76948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76949 ac_ext=c
76950 ac_cpp='$CPP $CPPFLAGS'
76951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
76960 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
76961 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
76962 for ac_func in strtold
76963 do :
76964 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
76965 if test "x$ac_cv_func_strtold" = x""yes; then :
76966 cat >>confdefs.h <<_ACEOF
76967 #define HAVE_STRTOLD 1
76968 _ACEOF
76971 done
76978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
76979 $as_echo_n "checking for strtof declaration... " >&6; }
76980 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
76981 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
76982 $as_echo_n "(cached) " >&6
76983 else
76986 ac_ext=cpp
76987 ac_cpp='$CXXCPP $CPPFLAGS'
76988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76993 /* end confdefs.h. */
76994 #include <stdlib.h>
76996 main ()
76998 strtof(0, 0);
77000 return 0;
77002 _ACEOF
77003 if ac_fn_cxx_try_compile "$LINENO"; then :
77004 glibcxx_cv_func_strtof_use=yes
77005 else
77006 glibcxx_cv_func_strtof_use=no
77008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77009 ac_ext=c
77010 ac_cpp='$CPP $CPPFLAGS'
77011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
77020 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
77021 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
77022 for ac_func in strtof
77023 do :
77024 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
77025 if test "x$ac_cv_func_strtof" = x""yes; then :
77026 cat >>confdefs.h <<_ACEOF
77027 #define HAVE_STRTOF 1
77028 _ACEOF
77031 done
77038 CXXFLAGS="$ac_save_CXXFLAGS"
77041 *-vxworks)
77042 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
77044 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
77046 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
77048 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
77050 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
77052 $as_echo "#define HAVE_COSF 1" >>confdefs.h
77054 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
77056 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
77058 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
77060 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
77062 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
77064 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
77066 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
77068 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
77070 $as_echo "#define HAVE_POWF 1" >>confdefs.h
77072 $as_echo "#define HAVE_SINF 1" >>confdefs.h
77074 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
77076 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
77078 $as_echo "#define HAVE_TANF 1" >>confdefs.h
77080 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
77084 as_fn_error "No support for this host/target combination." "$LINENO" 5
77086 esac
77090 # At some point, we should differentiate between architectures
77091 # like x86, which have long double versions, and alpha/powerpc/etc.,
77092 # which don't. For the time being, punt.
77093 if test x"long_double_math_on_this_cpu" = x"yes"; then
77094 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
77096 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
77098 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
77100 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
77102 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
77104 $as_echo "#define HAVE_COSL 1" >>confdefs.h
77106 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
77108 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
77110 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
77112 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
77114 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
77116 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
77118 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
77120 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
77122 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
77124 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
77126 $as_echo "#define HAVE_POWL 1" >>confdefs.h
77128 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
77130 $as_echo "#define HAVE_SINL 1" >>confdefs.h
77132 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
77134 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
77136 $as_echo "#define HAVE_TANL 1" >>confdefs.h
77138 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
77143 # Check for _Unwind_GetIPInfo.
77146 # Check whether --with-system-libunwind was given.
77147 if test "${with_system_libunwind+set}" = set; then :
77148 withval=$with_system_libunwind;
77151 # If system-libunwind was not specifically set, pick a default setting.
77152 if test x$with_system_libunwind = x; then
77153 case ${target} in
77154 ia64-*-hpux*) with_system_libunwind=yes ;;
77155 *) with_system_libunwind=no ;;
77156 esac
77158 # Based on system-libunwind and target, do we have ipinfo?
77159 if test x$with_system_libunwind = xyes; then
77160 case ${target} in
77161 ia64-*-*) have_unwind_getipinfo=no ;;
77162 *) have_unwind_getipinfo=yes ;;
77163 esac
77164 else
77165 # Darwin before version 9 does not have _Unwind_GetIPInfo.
77167 case ${target} in
77168 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
77169 *) have_unwind_getipinfo=yes ;;
77170 esac
77174 if test x$have_unwind_getipinfo = xyes; then
77176 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
77181 # Check whether --enable-linux-futex was given.
77182 if test "${enable_linux_futex+set}" = set; then :
77183 enableval=$enable_linux_futex;
77184 case "$enableval" in
77185 yes|no|default) ;;
77186 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
77187 esac
77189 else
77190 enable_linux_futex=default
77194 case "$target" in
77195 *-linux*)
77196 case "$enable_linux_futex" in
77197 default)
77198 # If headers don't have gettid/futex syscalls definition, then
77199 # default to no, otherwise there will be compile time failures.
77200 # Otherwise, default to yes. If we don't detect we are
77201 # compiled/linked against NPTL and not cross-compiling, check
77202 # if programs are run by default against NPTL and if not, issue
77203 # a warning.
77204 enable_linux_futex=no
77205 if test x$gcc_no_link = xyes; then
77206 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77209 /* end confdefs.h. */
77210 #include <sys/syscall.h>
77211 int lk;
77213 main ()
77215 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77217 return 0;
77219 _ACEOF
77220 if ac_fn_c_try_link "$LINENO"; then :
77221 save_LIBS="$LIBS"
77222 LIBS="-lpthread $LIBS"
77223 if test x$gcc_no_link = xyes; then
77224 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77227 /* end confdefs.h. */
77228 #ifndef _GNU_SOURCE
77229 #define _GNU_SOURCE 1
77230 #endif
77231 #include <pthread.h>
77232 pthread_t th; void *status;
77234 main ()
77236 pthread_tryjoin_np (th, &status);
77238 return 0;
77240 _ACEOF
77241 if ac_fn_c_try_link "$LINENO"; then :
77242 enable_linux_futex=yes
77243 else
77244 if test x$cross_compiling = xno; then
77245 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
77246 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
77247 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
77248 If so, please configure with --disable-linux-futex" >&5
77249 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
77250 If so, please configure with --disable-linux-futex" >&2;}
77253 enable_linux_futex=yes
77255 rm -f core conftest.err conftest.$ac_objext \
77256 conftest$ac_exeext conftest.$ac_ext
77257 LIBS="$save_LIBS"
77259 rm -f core conftest.err conftest.$ac_objext \
77260 conftest$ac_exeext conftest.$ac_ext
77262 yes)
77263 if test x$gcc_no_link = xyes; then
77264 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77267 /* end confdefs.h. */
77268 #include <sys/syscall.h>
77269 int lk;
77271 main ()
77273 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
77275 return 0;
77277 _ACEOF
77278 if ac_fn_c_try_link "$LINENO"; then :
77280 else
77281 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
77283 rm -f core conftest.err conftest.$ac_objext \
77284 conftest$ac_exeext conftest.$ac_ext
77286 esac
77289 enable_linux_futex=no
77291 esac
77292 if test x$enable_linux_futex = xyes; then
77294 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
77301 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
77303 acx_cv_header_stdint=stddef.h
77304 acx_cv_header_stdint_kind="(already complete)"
77305 for i in stdint.h $inttype_headers; do
77306 unset ac_cv_type_uintptr_t
77307 unset ac_cv_type_uintmax_t
77308 unset ac_cv_type_int_least32_t
77309 unset ac_cv_type_int_fast32_t
77310 unset ac_cv_type_uint64_t
77311 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
77312 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
77313 #include <$i>
77315 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
77316 acx_cv_header_stdint=$i
77317 else
77318 continue
77321 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77322 #include <$i>
77324 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77326 else
77327 acx_cv_header_stdint_kind="(mostly complete)"
77330 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
77331 #include <$i>
77333 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
77335 else
77336 acx_cv_header_stdint_kind="(mostly complete)"
77339 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
77340 #include <$i>
77342 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
77344 else
77345 acx_cv_header_stdint_kind="(mostly complete)"
77348 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77349 #include <$i>
77351 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77353 else
77354 acx_cv_header_stdint_kind="(lacks uint64_t)"
77357 break
77358 done
77359 if test "$acx_cv_header_stdint" = stddef.h; then
77360 acx_cv_header_stdint_kind="(lacks uintmax_t)"
77361 for i in stdint.h $inttype_headers; do
77362 unset ac_cv_type_uintptr_t
77363 unset ac_cv_type_uint32_t
77364 unset ac_cv_type_uint64_t
77365 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
77366 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
77367 #include <$i>
77369 if test "x$ac_cv_type_uint32_t" = x""yes; then :
77370 acx_cv_header_stdint=$i
77371 else
77372 continue
77375 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
77376 #include <$i>
77378 if test "x$ac_cv_type_uint64_t" = x""yes; then :
77382 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
77383 #include <$i>
77385 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
77389 break
77390 done
77392 if test "$acx_cv_header_stdint" = stddef.h; then
77393 acx_cv_header_stdint_kind="(u_intXX_t style)"
77394 for i in sys/types.h $inttype_headers; do
77395 unset ac_cv_type_u_int32_t
77396 unset ac_cv_type_u_int64_t
77397 $as_echo_n "looking for u_intXX_t types in $i, " >&6
77398 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
77399 #include <$i>
77401 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
77402 acx_cv_header_stdint=$i
77403 else
77404 continue
77407 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
77408 #include <$i>
77410 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
77414 break
77415 done
77417 if test "$acx_cv_header_stdint" = stddef.h; then
77418 acx_cv_header_stdint_kind="(using manual detection)"
77421 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
77422 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
77423 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
77424 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
77425 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
77427 # ----------------- Summarize what we found so far
77429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
77430 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
77432 case `$as_basename -- include/gstdint.h ||
77433 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
77434 Xinclude/gstdint.h : 'X\(//\)$' \| \
77435 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
77436 $as_echo X/include/gstdint.h |
77437 sed '/^.*\/\([^/][^/]*\)\/*$/{
77438 s//\1/
77441 /^X\/\(\/\/\)$/{
77442 s//\1/
77445 /^X\/\(\/\).*/{
77446 s//\1/
77449 s/.*/./; q'` in
77450 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77451 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77452 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
77453 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
77454 *) ;;
77455 esac
77457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
77458 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
77460 # ----------------- done included file, check C basic types --------
77462 # Lacking an uintptr_t? Test size of void *
77463 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
77464 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
77465 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77466 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77467 # This bug is HP SR number 8606223364.
77468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
77469 $as_echo_n "checking size of void *... " >&6; }
77470 if test "${ac_cv_sizeof_void_p+set}" = set; then :
77471 $as_echo_n "(cached) " >&6
77472 else
77473 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
77475 else
77476 if test "$ac_cv_type_void_p" = yes; then
77477 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77478 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77479 { as_fn_set_status 77
77480 as_fn_error "cannot compute sizeof (void *)
77481 See \`config.log' for more details." "$LINENO" 5; }; }
77482 else
77483 ac_cv_sizeof_void_p=0
77488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
77489 $as_echo "$ac_cv_sizeof_void_p" >&6; }
77493 cat >>confdefs.h <<_ACEOF
77494 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
77495 _ACEOF
77498 esac
77500 # Lacking an uint64_t? Test size of long
77501 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
77502 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
77503 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77504 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77505 # This bug is HP SR number 8606223364.
77506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
77507 $as_echo_n "checking size of long... " >&6; }
77508 if test "${ac_cv_sizeof_long+set}" = set; then :
77509 $as_echo_n "(cached) " >&6
77510 else
77511 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
77513 else
77514 if test "$ac_cv_type_long" = yes; then
77515 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77516 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77517 { as_fn_set_status 77
77518 as_fn_error "cannot compute sizeof (long)
77519 See \`config.log' for more details." "$LINENO" 5; }; }
77520 else
77521 ac_cv_sizeof_long=0
77526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
77527 $as_echo "$ac_cv_sizeof_long" >&6; }
77531 cat >>confdefs.h <<_ACEOF
77532 #define SIZEOF_LONG $ac_cv_sizeof_long
77533 _ACEOF
77536 esac
77538 if test $acx_cv_header_stdint = stddef.h; then
77539 # Lacking a good header? Test size of everything and deduce all types.
77540 # The cast to long int works around a bug in the HP C Compiler
77541 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77542 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77543 # This bug is HP SR number 8606223364.
77544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
77545 $as_echo_n "checking size of int... " >&6; }
77546 if test "${ac_cv_sizeof_int+set}" = set; then :
77547 $as_echo_n "(cached) " >&6
77548 else
77549 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
77551 else
77552 if test "$ac_cv_type_int" = yes; then
77553 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77554 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77555 { as_fn_set_status 77
77556 as_fn_error "cannot compute sizeof (int)
77557 See \`config.log' for more details." "$LINENO" 5; }; }
77558 else
77559 ac_cv_sizeof_int=0
77564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
77565 $as_echo "$ac_cv_sizeof_int" >&6; }
77569 cat >>confdefs.h <<_ACEOF
77570 #define SIZEOF_INT $ac_cv_sizeof_int
77571 _ACEOF
77574 # The cast to long int works around a bug in the HP C Compiler
77575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77577 # This bug is HP SR number 8606223364.
77578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
77579 $as_echo_n "checking size of short... " >&6; }
77580 if test "${ac_cv_sizeof_short+set}" = set; then :
77581 $as_echo_n "(cached) " >&6
77582 else
77583 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
77585 else
77586 if test "$ac_cv_type_short" = yes; then
77587 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77588 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77589 { as_fn_set_status 77
77590 as_fn_error "cannot compute sizeof (short)
77591 See \`config.log' for more details." "$LINENO" 5; }; }
77592 else
77593 ac_cv_sizeof_short=0
77598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
77599 $as_echo "$ac_cv_sizeof_short" >&6; }
77603 cat >>confdefs.h <<_ACEOF
77604 #define SIZEOF_SHORT $ac_cv_sizeof_short
77605 _ACEOF
77608 # The cast to long int works around a bug in the HP C Compiler
77609 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
77610 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
77611 # This bug is HP SR number 8606223364.
77612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
77613 $as_echo_n "checking size of char... " >&6; }
77614 if test "${ac_cv_sizeof_char+set}" = set; then :
77615 $as_echo_n "(cached) " >&6
77616 else
77617 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
77619 else
77620 if test "$ac_cv_type_char" = yes; then
77621 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
77622 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
77623 { as_fn_set_status 77
77624 as_fn_error "cannot compute sizeof (char)
77625 See \`config.log' for more details." "$LINENO" 5; }; }
77626 else
77627 ac_cv_sizeof_char=0
77632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
77633 $as_echo "$ac_cv_sizeof_char" >&6; }
77637 cat >>confdefs.h <<_ACEOF
77638 #define SIZEOF_CHAR $ac_cv_sizeof_char
77639 _ACEOF
77643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
77644 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
77645 case "$ac_cv_sizeof_char" in
77646 1) acx_cv_type_int8_t=char ;;
77647 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
77648 esac
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
77650 $as_echo "$acx_cv_type_int8_t" >&6; }
77652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
77653 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
77654 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
77655 2:*) acx_cv_type_int16_t=int ;;
77656 *:2) acx_cv_type_int16_t=short ;;
77657 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
77658 esac
77659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
77660 $as_echo "$acx_cv_type_int16_t" >&6; }
77662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
77663 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
77664 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
77665 4:*) acx_cv_type_int32_t=int ;;
77666 *:4) acx_cv_type_int32_t=long ;;
77667 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
77668 esac
77669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
77670 $as_echo "$acx_cv_type_int32_t" >&6; }
77673 # These tests are here to make the output prettier
77675 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
77676 case "$ac_cv_sizeof_long" in
77677 8) acx_cv_type_int64_t=long ;;
77678 esac
77679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
77680 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
77681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
77682 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
77685 # Now we can use the above types
77687 if test "$ac_cv_type_uintptr_t" != yes; then
77688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
77689 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
77690 case $ac_cv_sizeof_void_p in
77691 2) acx_cv_type_intptr_t=int16_t ;;
77692 4) acx_cv_type_intptr_t=int32_t ;;
77693 8) acx_cv_type_intptr_t=int64_t ;;
77694 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
77695 esac
77696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
77697 $as_echo "$acx_cv_type_intptr_t" >&6; }
77700 # ----------------- done all checks, emit header -------------
77701 ac_config_commands="$ac_config_commands include/gstdint.h"
77707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
77708 $as_echo_n "checking for GNU c++filt... " >&6; }
77709 if test "${ac_cv_path_CXXFILT+set}" = set; then :
77710 $as_echo_n "(cached) " >&6
77711 else
77712 if test -z "$CXXFILT"; then
77713 ac_path_CXXFILT_found=false
77714 # Loop through the user's path and test for each of PROGNAME-LIST
77715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77716 for as_dir in $PATH
77718 IFS=$as_save_IFS
77719 test -z "$as_dir" && as_dir=.
77720 for ac_prog in c++filt gc++filt; do
77721 for ac_exec_ext in '' $ac_executable_extensions; do
77722 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
77723 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
77724 # Check for GNU $ac_path_CXXFILT
77725 case `"$ac_path_CXXFILT" --version 2>&1` in
77726 *GNU*)
77727 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
77728 esac
77730 $ac_path_CXXFILT_found && break 3
77731 done
77732 done
77733 done
77734 IFS=$as_save_IFS
77735 if test -z "$ac_cv_path_CXXFILT"; then
77738 else
77739 ac_cv_path_CXXFILT=$CXXFILT
77743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
77744 $as_echo "$ac_cv_path_CXXFILT" >&6; }
77745 CXXFILT=$ac_cv_path_CXXFILT
77749 # Check whether --enable-symvers was given.
77750 if test "${enable_symvers+set}" = set; then :
77751 enableval=$enable_symvers;
77752 case "$enableval" in
77753 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
77754 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
77755 esac
77757 else
77758 enable_symvers=yes
77763 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
77764 # don't know enough about $LD to do tricks...
77766 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
77767 # with extern "C++" in version scripts.
77770 # Turn a 'yes' into a suitable default.
77771 if test x$enable_symvers = xyes ; then
77772 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
77773 enable_symvers=no
77774 else
77775 if test $with_gnu_ld = yes ; then
77776 case ${target_os} in
77777 hpux*)
77778 enable_symvers=no ;;
77780 enable_symvers=gnu ;;
77781 esac
77782 else
77783 case ${target_os} in
77784 darwin*)
77785 enable_symvers=darwin ;;
77786 # Sun symbol versioning exists since Solaris 2.5.
77787 solaris2.[5-9]* | solaris2.1[0-9]*)
77788 # make_sunver.pl needs GNU c++filt to support extern "C++" in
77789 # version scripts, so disable symbol versioning if none can be
77790 # found.
77791 if test -z "$ac_cv_path_CXXFILT"; then
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77793 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
77795 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
77796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77797 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77798 enable_symvers=no
77799 else
77800 enable_symvers=sun
77804 enable_symvers=no ;;
77805 esac
77810 # Check to see if 'darwin' or 'darwin-export' can win.
77811 if test x$enable_symvers = xdarwin-export ; then
77812 enable_symvers=darwin
77815 # Check if 'sun' was requested on non-Solaris 2 platforms.
77816 if test x$enable_symvers = xsun ; then
77817 case ${target_os} in
77818 solaris2*)
77819 # All fine.
77822 # Unlikely to work.
77823 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
77824 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
77825 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
77826 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
77827 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77828 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77829 enable_symvers=no
77831 esac
77834 # Check to see if 'gnu' can win.
77835 if test $enable_symvers = gnu ||
77836 test $enable_symvers = gnu-versioned-namespace ||
77837 test $enable_symvers = sun; then
77838 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
77839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
77840 $as_echo_n "checking for shared libgcc... " >&6; }
77841 ac_save_CFLAGS="$CFLAGS"
77842 CFLAGS=' -lgcc_s'
77843 if test x$gcc_no_link = xyes; then
77844 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77847 /* end confdefs.h. */
77850 main ()
77852 return 0;
77854 return 0;
77856 _ACEOF
77857 if ac_fn_c_try_link "$LINENO"; then :
77858 glibcxx_shared_libgcc=yes
77859 else
77860 glibcxx_shared_libgcc=no
77862 rm -f core conftest.err conftest.$ac_objext \
77863 conftest$ac_exeext conftest.$ac_ext
77864 CFLAGS="$ac_save_CFLAGS"
77865 if test $glibcxx_shared_libgcc = no; then
77866 cat > conftest.c <<EOF
77867 int main (void) { return 0; }
77869 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
77870 -shared -shared-libgcc -o conftest.so \
77871 conftest.c -v 2>&1 >/dev/null \
77872 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
77873 rm -f conftest.c conftest.so
77874 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
77875 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
77876 if test x$gcc_no_link = xyes; then
77877 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
77879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77880 /* end confdefs.h. */
77883 main ()
77885 return 0;
77887 return 0;
77889 _ACEOF
77890 if ac_fn_c_try_link "$LINENO"; then :
77891 glibcxx_shared_libgcc=yes
77893 rm -f core conftest.err conftest.$ac_objext \
77894 conftest$ac_exeext conftest.$ac_ext
77895 CFLAGS="$ac_save_CFLAGS"
77898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
77899 $as_echo "$glibcxx_shared_libgcc" >&6; }
77901 # For GNU ld, we need at least this version. The format is described in
77902 # GLIBCXX_CHECK_LINKER_FEATURES above.
77903 glibcxx_min_gnu_ld_version=21400
77905 # If no shared libgcc, can't win.
77906 if test $glibcxx_shared_libgcc != yes; then
77907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77908 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77909 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
77910 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
77911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77912 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77913 enable_symvers=no
77914 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
77915 : All interesting versions of Sun ld support sun style symbol versioning.
77916 elif test $with_gnu_ld != yes ; then
77917 # just fail for now
77918 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
77919 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
77920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
77921 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
77922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77923 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77924 enable_symvers=no
77925 elif test $glibcxx_ld_is_gold = yes ; then
77926 : All versions of gold support symbol versioning.
77927 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
77928 # The right tools, the right setup, but too old. Fallbacks?
77929 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
77930 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
77931 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
77932 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
77933 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
77934 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
77935 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
77936 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
77937 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
77938 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
77939 enable_symvers=no
77943 # For libtool versioning info, format is CURRENT:REVISION:AGE
77944 libtool_VERSION=6:22:0
77946 # Everything parsed; figure out what files and settings to use.
77947 case $enable_symvers in
77949 SYMVER_FILE=config/abi/pre/none.ver
77951 gnu)
77952 SYMVER_FILE=config/abi/pre/gnu.ver
77954 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
77957 gnu-versioned-namespace)
77958 libtool_VERSION=7:0:0
77959 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
77961 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
77964 darwin)
77965 SYMVER_FILE=config/abi/pre/gnu.ver
77967 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
77970 sun)
77971 SYMVER_FILE=config/abi/pre/gnu.ver
77973 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
77976 esac
77978 if test x$enable_symvers != xno ; then
77980 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
77984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
77985 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
77986 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
77987 $as_echo_n "(cached) " >&6
77988 else
77990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77991 /* end confdefs.h. */
77992 void foo (void); __asm (".symver foo, bar@SYMVER");
77994 main ()
77998 return 0;
78000 _ACEOF
78001 if ac_fn_c_try_compile "$LINENO"; then :
78002 glibcxx_cv_have_as_symver_directive=yes
78003 else
78004 glibcxx_cv_have_as_symver_directive=no
78006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
78009 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
78010 if test $glibcxx_cv_have_as_symver_directive = yes; then
78012 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
78023 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
78024 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
78026 if test $enable_symvers != no ; then
78027 case ${target_os} in
78028 # The Solaris 2 runtime linker doesn't support the GNU extension of
78029 # binding the same symbol to different versions
78030 solaris2*)
78032 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
78035 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
78038 esac
78041 # Now, set up compatibility support, if any.
78042 # In addition, need this to deal with std::size_t mangling in
78043 # src/compatibility.cc. In a perfect world, could use
78044 # typeid(std::size_t).name()[0] to do direct substitution.
78045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
78046 $as_echo_n "checking for size_t as unsigned int... " >&6; }
78047 ac_save_CFLAGS="$CFLAGS"
78048 CFLAGS="-Werror"
78049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78050 /* end confdefs.h. */
78053 main ()
78055 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
78057 return 0;
78059 _ACEOF
78060 if ac_fn_c_try_compile "$LINENO"; then :
78061 glibcxx_size_t_is_i=yes
78062 else
78063 glibcxx_size_t_is_i=no
78065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78066 CFLAGS=$ac_save_CFLAGS
78067 if test "$glibcxx_size_t_is_i" = yes; then
78069 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
78072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
78073 $as_echo "$glibcxx_size_t_is_i" >&6; }
78075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
78076 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
78077 ac_save_CFLAGS="$CFLAGS"
78078 CFLAGS="-Werror"
78079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78080 /* end confdefs.h. */
78083 main ()
78085 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
78087 return 0;
78089 _ACEOF
78090 if ac_fn_c_try_compile "$LINENO"; then :
78091 glibcxx_ptrdiff_t_is_i=yes
78092 else
78093 glibcxx_ptrdiff_t_is_i=no
78095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78096 CFLAGS=$ac_save_CFLAGS
78097 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
78099 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
78102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
78103 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
78108 # Check whether --enable-libstdcxx-visibility was given.
78109 if test "${enable_libstdcxx_visibility+set}" = set; then :
78110 enableval=$enable_libstdcxx_visibility;
78111 case "$enableval" in
78112 yes|no) ;;
78113 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
78114 esac
78116 else
78117 enable_libstdcxx_visibility=yes
78122 if test x$enable_libstdcxx_visibility = xyes ; then
78123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
78124 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
78125 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
78126 $as_echo_n "(cached) " >&6
78127 else
78129 save_CFLAGS="$CFLAGS"
78130 CFLAGS="$CFLAGS -Werror"
78131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78132 /* end confdefs.h. */
78133 void __attribute__((visibility("hidden"))) foo(void) { }
78135 main ()
78139 return 0;
78141 _ACEOF
78142 if ac_fn_c_try_compile "$LINENO"; then :
78143 glibcxx_cv_have_attribute_visibility=yes
78144 else
78145 glibcxx_cv_have_attribute_visibility=no
78147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78148 CFLAGS="$save_CFLAGS"
78150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
78151 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
78152 if test $glibcxx_cv_have_attribute_visibility = no; then
78153 enable_libstdcxx_visibility=no
78158 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
78159 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
78163 # Check whether --enable-libstdcxx-dual-abi was given.
78164 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
78165 enableval=$enable_libstdcxx_dual_abi;
78166 case "$enableval" in
78167 yes|no) ;;
78168 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
78169 esac
78171 else
78172 enable_libstdcxx_dual_abi=yes
78176 if test x$enable_symvers = xgnu-versioned-namespace; then
78177 # gnu-versioned-namespace is incompatible with the dual ABI.
78178 enable_libstdcxx_dual_abi="no"
78180 if test x"$enable_libstdcxx_dual_abi" != xyes; then
78181 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
78182 $as_echo "$as_me: dual ABI is disabled" >&6;}
78183 default_libstdcxx_abi="c++98"
78188 if test x$enable_libstdcxx_dual_abi = xyes; then
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
78190 $as_echo_n "checking for default std::string ABI to use... " >&6; }
78192 # Check whether --with-default-libstdcxx-abi was given.
78193 if test "${with_default_libstdcxx_abi+set}" = set; then :
78194 withval=$with_default_libstdcxx_abi; case "$withval" in
78195 c++98|gnu++98|c++03|gnu++03) default_libstdcxx_abi="c++98" ;;
78196 c++1?|gnu++1?) default_libstdcxx_abi="c++11" ;;
78197 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
78198 esac
78199 else
78200 default_libstdcxx_abi="c++11"
78203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
78204 $as_echo "${default_libstdcxx_abi}" >&6; }
78206 if test $default_libstdcxx_abi = "c++11"; then
78207 glibcxx_cxx11_abi=1
78208 glibcxx_cxx98_abi=0
78209 else
78210 glibcxx_cxx11_abi=0
78211 glibcxx_cxx98_abi=1
78217 ac_ldbl_compat=no
78218 case "$target" in
78219 powerpc*-*-linux* | \
78220 sparc*-*-linux* | \
78221 s390*-*-linux* | \
78222 alpha*-*-linux*)
78223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78224 /* end confdefs.h. */
78227 main ()
78230 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
78231 #error no need for long double compatibility
78232 #endif
78235 return 0;
78237 _ACEOF
78238 if ac_fn_c_try_compile "$LINENO"; then :
78239 ac_ldbl_compat=yes
78240 else
78241 ac_ldbl_compat=no
78243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78244 if test "$ac_ldbl_compat" = yes; then
78246 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
78248 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
78250 esac
78253 # Check if assembler supports disabling hardware capability support.
78255 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
78257 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
78258 # with a different meaning.
78259 case ${target_os} in
78260 solaris2*)
78261 ac_save_CFLAGS="$CFLAGS"
78262 CFLAGS="$CFLAGS -Wa,-nH"
78264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
78265 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
78266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78267 /* end confdefs.h. */
78270 main ()
78272 return 0;
78274 return 0;
78276 _ACEOF
78277 if ac_fn_c_try_compile "$LINENO"; then :
78278 ac_hwcap_flags=yes
78279 else
78280 ac_hwcap_flags=no
78282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78283 if test "$ac_hwcap_flags" = "yes"; then
78284 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
78286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
78287 $as_echo "$ac_hwcap_flags" >&6; }
78289 CFLAGS="$ac_save_CFLAGS"
78291 esac
78296 # Check if assembler supports rdrand opcode.
78298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
78299 $as_echo_n "checking for rdrand support in assembler... " >&6; }
78300 if test "${ac_cv_x86_rdrand+set}" = set; then :
78301 $as_echo_n "(cached) " >&6
78302 else
78304 ac_cv_x86_rdrand=no
78305 case "$target" in
78306 i?86-*-* | \
78307 x86_64-*-*)
78308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78309 /* end confdefs.h. */
78312 main ()
78314 asm("rdrand %eax");
78316 return 0;
78318 _ACEOF
78319 if ac_fn_c_try_compile "$LINENO"; then :
78320 ac_cv_x86_rdrand=yes
78321 else
78322 ac_cv_x86_rdrand=no
78324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78325 esac
78329 if test $ac_cv_x86_rdrand = yes; then
78331 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
78334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
78335 $as_echo "$ac_cv_x86_rdrand" >&6; }
78338 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
78340 if $GLIBCXX_IS_NATIVE ; then
78341 # Do checks for resource limit functions.
78343 setrlimit_have_headers=yes
78344 for ac_header in unistd.h sys/time.h sys/resource.h
78345 do :
78346 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78347 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78348 eval as_val=\$$as_ac_Header
78349 if test "x$as_val" = x""yes; then :
78350 cat >>confdefs.h <<_ACEOF
78351 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78352 _ACEOF
78354 else
78355 setrlimit_have_headers=no
78358 done
78360 # If don't have the headers, then we can't run the tests now, and we
78361 # won't be seeing any of these during testsuite compilation.
78362 if test $setrlimit_have_headers = yes; then
78363 # Can't do these in a loop, else the resulting syntax is wrong.
78365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
78366 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
78367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78368 /* end confdefs.h. */
78369 #include <unistd.h>
78370 #include <sys/time.h>
78371 #include <sys/resource.h>
78374 main ()
78376 int f = RLIMIT_DATA ;
78378 return 0;
78380 _ACEOF
78381 if ac_fn_c_try_compile "$LINENO"; then :
78382 glibcxx_mresult=1
78383 else
78384 glibcxx_mresult=0
78386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78388 cat >>confdefs.h <<_ACEOF
78389 #define HAVE_LIMIT_DATA $glibcxx_mresult
78390 _ACEOF
78392 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78394 $as_echo "$res" >&6; }
78397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
78398 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
78399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78400 /* end confdefs.h. */
78401 #include <unistd.h>
78402 #include <sys/time.h>
78403 #include <sys/resource.h>
78406 main ()
78408 int f = RLIMIT_RSS ;
78410 return 0;
78412 _ACEOF
78413 if ac_fn_c_try_compile "$LINENO"; then :
78414 glibcxx_mresult=1
78415 else
78416 glibcxx_mresult=0
78418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78420 cat >>confdefs.h <<_ACEOF
78421 #define HAVE_LIMIT_RSS $glibcxx_mresult
78422 _ACEOF
78424 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78426 $as_echo "$res" >&6; }
78429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
78430 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
78431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78432 /* end confdefs.h. */
78433 #include <unistd.h>
78434 #include <sys/time.h>
78435 #include <sys/resource.h>
78438 main ()
78440 int f = RLIMIT_VMEM ;
78442 return 0;
78444 _ACEOF
78445 if ac_fn_c_try_compile "$LINENO"; then :
78446 glibcxx_mresult=1
78447 else
78448 glibcxx_mresult=0
78450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78452 cat >>confdefs.h <<_ACEOF
78453 #define HAVE_LIMIT_VMEM $glibcxx_mresult
78454 _ACEOF
78456 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78458 $as_echo "$res" >&6; }
78461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
78462 $as_echo_n "checking for RLIMIT_AS... " >&6; }
78463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78464 /* end confdefs.h. */
78465 #include <unistd.h>
78466 #include <sys/time.h>
78467 #include <sys/resource.h>
78470 main ()
78472 int f = RLIMIT_AS ;
78474 return 0;
78476 _ACEOF
78477 if ac_fn_c_try_compile "$LINENO"; then :
78478 glibcxx_mresult=1
78479 else
78480 glibcxx_mresult=0
78482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78484 cat >>confdefs.h <<_ACEOF
78485 #define HAVE_LIMIT_AS $glibcxx_mresult
78486 _ACEOF
78488 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78490 $as_echo "$res" >&6; }
78493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
78494 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
78495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78496 /* end confdefs.h. */
78497 #include <unistd.h>
78498 #include <sys/time.h>
78499 #include <sys/resource.h>
78502 main ()
78504 int f = RLIMIT_FSIZE ;
78506 return 0;
78508 _ACEOF
78509 if ac_fn_c_try_compile "$LINENO"; then :
78510 glibcxx_mresult=1
78511 else
78512 glibcxx_mresult=0
78514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78516 cat >>confdefs.h <<_ACEOF
78517 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
78518 _ACEOF
78520 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
78521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
78522 $as_echo "$res" >&6; }
78525 # Check for rlimit, setrlimit.
78526 if test "${glibcxx_cv_setrlimit+set}" = set; then :
78527 $as_echo_n "(cached) " >&6
78528 else
78530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78531 /* end confdefs.h. */
78532 #include <unistd.h>
78533 #include <sys/time.h>
78534 #include <sys/resource.h>
78537 main ()
78539 struct rlimit r;
78540 setrlimit(0, &r);
78542 return 0;
78544 _ACEOF
78545 if ac_fn_c_try_compile "$LINENO"; then :
78546 glibcxx_cv_setrlimit=yes
78547 else
78548 glibcxx_cv_setrlimit=no
78550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
78557 $as_echo_n "checking for testsuite resource limits support... " >&6; }
78558 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
78559 ac_res_limits=yes
78561 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
78563 else
78564 ac_res_limits=no
78566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
78567 $as_echo "$ac_res_limits" >&6; }
78570 # Look for setenv, so that extended locale tests can be performed.
78572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
78573 $as_echo_n "checking for setenv declaration... " >&6; }
78574 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
78575 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
78576 $as_echo_n "(cached) " >&6
78577 else
78580 ac_ext=cpp
78581 ac_cpp='$CXXCPP $CPPFLAGS'
78582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78587 /* end confdefs.h. */
78588 #include <stdlib.h>
78590 main ()
78592 setenv(0, 0, 0);
78594 return 0;
78596 _ACEOF
78597 if ac_fn_cxx_try_compile "$LINENO"; then :
78598 glibcxx_cv_func_setenv_use=yes
78599 else
78600 glibcxx_cv_func_setenv_use=no
78602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78603 ac_ext=c
78604 ac_cpp='$CPP $CPPFLAGS'
78605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
78614 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
78615 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
78616 for ac_func in setenv
78617 do :
78618 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
78619 if test "x$ac_cv_func_setenv" = x""yes; then :
78620 cat >>confdefs.h <<_ACEOF
78621 #define HAVE_SETENV 1
78622 _ACEOF
78625 done
78631 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
78632 test $enable_symvers != no; then
78633 case "$host" in
78634 *-*-cygwin*)
78635 enable_abi_check=no ;;
78637 enable_abi_check=yes ;;
78638 esac
78639 else
78640 # Only build this as native, since automake does not understand
78641 # CXX_FOR_BUILD.
78642 enable_abi_check=no
78645 # Export file names for ABI checking.
78646 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
78648 baseline_subdir_switch="$abi_baseline_subdir_switch"
78652 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
78654 # Check whether --enable-libstdcxx-threads was given.
78655 if test "${enable_libstdcxx_threads+set}" = set; then :
78656 enableval=$enable_libstdcxx_threads;
78657 case "$enableval" in
78658 yes|no) ;;
78659 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
78660 esac
78662 else
78663 enable_libstdcxx_threads=auto
78668 if test x$enable_libstdcxx_threads = xauto ||
78669 test x$enable_libstdcxx_threads = xyes; then
78672 ac_ext=cpp
78673 ac_cpp='$CXXCPP $CPPFLAGS'
78674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78679 ac_save_CXXFLAGS="$CXXFLAGS"
78680 CXXFLAGS="$CXXFLAGS -fno-exceptions \
78681 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
78683 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
78684 case $target_thread_file in
78685 posix)
78686 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
78687 esac
78689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
78690 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
78692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78693 /* end confdefs.h. */
78694 #include <unistd.h>
78696 main ()
78699 // In case of POSIX threads check _POSIX_TIMEOUTS.
78700 #if (defined(_PTHREADS) \
78701 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
78702 #error
78703 #endif
78706 return 0;
78708 _ACEOF
78709 if ac_fn_cxx_try_compile "$LINENO"; then :
78710 ac_gthread_use_mutex_timedlock=1
78711 else
78712 ac_gthread_use_mutex_timedlock=0
78714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78717 cat >>confdefs.h <<_ACEOF
78718 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
78719 _ACEOF
78722 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
78723 else res_mutex_timedlock=no ; fi
78724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
78725 $as_echo "$res_mutex_timedlock" >&6; }
78727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
78728 $as_echo_n "checking for gthreads library... " >&6; }
78730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78731 /* end confdefs.h. */
78732 #include "gthr.h"
78734 main ()
78737 #ifndef __GTHREADS_CXX0X
78738 #error
78739 #endif
78742 return 0;
78744 _ACEOF
78745 if ac_fn_cxx_try_compile "$LINENO"; then :
78746 ac_has_gthreads=yes
78747 else
78748 ac_has_gthreads=no
78750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78751 else
78752 ac_has_gthreads=no
78755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
78756 $as_echo "$ac_has_gthreads" >&6; }
78758 if test x"$ac_has_gthreads" = x"yes"; then
78760 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
78763 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
78764 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
78766 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
78768 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
78774 CXXFLAGS="$ac_save_CXXFLAGS"
78775 ac_ext=c
78776 ac_cpp='$CPP $CPPFLAGS'
78777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78783 # For Filesystem TS.
78784 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
78785 do :
78786 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
78787 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
78788 eval as_val=\$$as_ac_Header
78789 if test "x$as_val" = x""yes; then :
78790 cat >>confdefs.h <<_ACEOF
78791 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
78792 _ACEOF
78796 done
78799 # Check whether --enable-libstdcxx-filesystem-ts was given.
78800 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
78801 enableval=$enable_libstdcxx_filesystem_ts;
78802 case "$enableval" in
78803 yes|no|auto) ;;
78804 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
78805 esac
78807 else
78808 enable_libstdcxx_filesystem_ts=auto
78813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
78814 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
78815 if test x"$ac_cv_header_dirent_h" != x"yes"; then
78816 enable_libstdcxx_filesystem_ts=no
78818 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
78819 case "${target_os}" in
78820 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
78821 enable_libstdcxx_filesystem_ts=yes
78823 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
78824 enable_libstdcxx_filesystem_ts=yes
78826 solaris*)
78827 enable_libstdcxx_filesystem_ts=yes
78830 enable_libstdcxx_filesystem_ts=no
78832 esac
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
78835 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
78839 ac_ext=cpp
78840 ac_cpp='$CXXCPP $CPPFLAGS'
78841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78845 ac_save_CXXFLAGS="$CXXFLAGS"
78846 CXXFLAGS="$CXXFLAGS -fno-exceptions"
78847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
78848 $as_echo_n "checking for struct dirent.d_type... " >&6; }
78849 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
78850 $as_echo_n "(cached) " >&6
78851 else
78852 if test x$gcc_no_link = xyes; then
78853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78854 /* end confdefs.h. */
78855 #include <dirent.h>
78857 main ()
78860 struct dirent d;
78861 if (sizeof d.d_type) return 0;
78864 return 0;
78866 _ACEOF
78867 if ac_fn_cxx_try_compile "$LINENO"; then :
78868 glibcxx_cv_dirent_d_type=yes
78869 else
78870 glibcxx_cv_dirent_d_type=no
78872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78873 else
78874 if test x$gcc_no_link = xyes; then
78875 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78878 /* end confdefs.h. */
78879 #include <dirent.h>
78881 main ()
78884 struct dirent d;
78885 if (sizeof d.d_type) return 0;
78888 return 0;
78890 _ACEOF
78891 if ac_fn_cxx_try_link "$LINENO"; then :
78892 glibcxx_cv_dirent_d_type=yes
78893 else
78894 glibcxx_cv_dirent_d_type=no
78896 rm -f core conftest.err conftest.$ac_objext \
78897 conftest$ac_exeext conftest.$ac_ext
78902 if test $glibcxx_cv_dirent_d_type = yes; then
78904 $as_echo "#define _GLIBCXX_HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
78907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
78908 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
78909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
78910 $as_echo_n "checking for realpath... " >&6; }
78911 if test "${glibcxx_cv_realpath+set}" = set; then :
78912 $as_echo_n "(cached) " >&6
78913 else
78914 if test x$gcc_no_link = xyes; then
78915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78916 /* end confdefs.h. */
78917 #include <stdlib.h>
78919 main ()
78921 char *tmp = realpath((const char*)NULL, (char*)NULL);
78923 return 0;
78925 _ACEOF
78926 if ac_fn_cxx_try_compile "$LINENO"; then :
78927 glibcxx_cv_realpath=yes
78928 else
78929 glibcxx_cv_realpath=no
78931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78932 else
78933 if test x$gcc_no_link = xyes; then
78934 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78937 /* end confdefs.h. */
78938 #include <stdlib.h>
78940 main ()
78942 char *tmp = realpath((const char*)NULL, (char*)NULL);
78944 return 0;
78946 _ACEOF
78947 if ac_fn_cxx_try_link "$LINENO"; then :
78948 glibcxx_cv_realpath=yes
78949 else
78950 glibcxx_cv_realpath=no
78952 rm -f core conftest.err conftest.$ac_objext \
78953 conftest$ac_exeext conftest.$ac_ext
78958 if test $glibcxx_cv_realpath = yes; then
78960 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
78963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
78964 $as_echo "$glibcxx_cv_realpath" >&6; }
78965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
78966 $as_echo_n "checking for utimensat... " >&6; }
78967 if test "${glibcxx_cv_utimensat+set}" = set; then :
78968 $as_echo_n "(cached) " >&6
78969 else
78970 if test x$gcc_no_link = xyes; then
78971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78972 /* end confdefs.h. */
78974 #include <fcntl.h>
78975 #include <sys/stat.h>
78978 main ()
78981 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
78982 int i = utimensat(AT_FDCWD, "path", ts, 0);
78985 return 0;
78987 _ACEOF
78988 if ac_fn_cxx_try_compile "$LINENO"; then :
78989 glibcxx_cv_utimensat=yes
78990 else
78991 glibcxx_cv_utimensat=no
78993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78994 else
78995 if test x$gcc_no_link = xyes; then
78996 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78999 /* end confdefs.h. */
79001 #include <fcntl.h>
79002 #include <sys/stat.h>
79005 main ()
79008 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
79009 int i = utimensat(AT_FDCWD, "path", ts, 0);
79012 return 0;
79014 _ACEOF
79015 if ac_fn_cxx_try_link "$LINENO"; then :
79016 glibcxx_cv_utimensat=yes
79017 else
79018 glibcxx_cv_utimensat=no
79020 rm -f core conftest.err conftest.$ac_objext \
79021 conftest$ac_exeext conftest.$ac_ext
79026 if test $glibcxx_cv_utimensat = yes; then
79028 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
79031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
79032 $as_echo "$glibcxx_cv_utimensat" >&6; }
79033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
79034 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
79035 if test "${glibcxx_cv_st_mtim+set}" = set; then :
79036 $as_echo_n "(cached) " >&6
79037 else
79038 if test x$gcc_no_link = xyes; then
79039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79040 /* end confdefs.h. */
79041 #include <sys/stat.h>
79043 main ()
79046 struct stat st;
79047 return st.st_mtim.tv_nsec;
79050 return 0;
79052 _ACEOF
79053 if ac_fn_cxx_try_compile "$LINENO"; then :
79054 glibcxx_cv_st_mtim=yes
79055 else
79056 glibcxx_cv_st_mtim=no
79058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79059 else
79060 if test x$gcc_no_link = xyes; then
79061 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79064 /* end confdefs.h. */
79065 #include <sys/stat.h>
79067 main ()
79070 struct stat st;
79071 return st.st_mtim.tv_nsec;
79074 return 0;
79076 _ACEOF
79077 if ac_fn_cxx_try_link "$LINENO"; then :
79078 glibcxx_cv_st_mtim=yes
79079 else
79080 glibcxx_cv_st_mtim=no
79082 rm -f core conftest.err conftest.$ac_objext \
79083 conftest$ac_exeext conftest.$ac_ext
79088 if test $glibcxx_cv_st_mtim = yes; then
79090 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
79093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
79094 $as_echo "$glibcxx_cv_st_mtim" >&6; }
79095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
79096 $as_echo_n "checking for fchmod... " >&6; }
79097 if test "${glibcxx_cv_fchmod+set}" = set; then :
79098 $as_echo_n "(cached) " >&6
79099 else
79100 if test x$gcc_no_link = xyes; then
79101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79102 /* end confdefs.h. */
79103 #include <sys/stat.h>
79105 main ()
79107 fchmod(1, S_IWUSR);
79109 return 0;
79111 _ACEOF
79112 if ac_fn_cxx_try_compile "$LINENO"; then :
79113 glibcxx_cv_fchmod=yes
79114 else
79115 glibcxx_cv_fchmod=no
79117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79118 else
79119 if test x$gcc_no_link = xyes; then
79120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79123 /* end confdefs.h. */
79124 #include <sys/stat.h>
79126 main ()
79128 fchmod(1, S_IWUSR);
79130 return 0;
79132 _ACEOF
79133 if ac_fn_cxx_try_link "$LINENO"; then :
79134 glibcxx_cv_fchmod=yes
79135 else
79136 glibcxx_cv_fchmod=no
79138 rm -f core conftest.err conftest.$ac_objext \
79139 conftest$ac_exeext conftest.$ac_ext
79144 if test $glibcxx_cv_fchmod = yes; then
79146 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
79149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
79150 $as_echo "$glibcxx_cv_fchmod" >&6; }
79151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
79152 $as_echo_n "checking for fchmodat... " >&6; }
79153 if test "${glibcxx_cv_fchmodat+set}" = set; then :
79154 $as_echo_n "(cached) " >&6
79155 else
79156 if test x$gcc_no_link = xyes; then
79157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79158 /* end confdefs.h. */
79160 #include <fcntl.h>
79161 #include <sys/stat.h>
79164 main ()
79166 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79168 return 0;
79170 _ACEOF
79171 if ac_fn_cxx_try_compile "$LINENO"; then :
79172 glibcxx_cv_fchmodat=yes
79173 else
79174 glibcxx_cv_fchmodat=no
79176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79177 else
79178 if test x$gcc_no_link = xyes; then
79179 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79182 /* end confdefs.h. */
79184 #include <fcntl.h>
79185 #include <sys/stat.h>
79188 main ()
79190 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
79192 return 0;
79194 _ACEOF
79195 if ac_fn_cxx_try_link "$LINENO"; then :
79196 glibcxx_cv_fchmodat=yes
79197 else
79198 glibcxx_cv_fchmodat=no
79200 rm -f core conftest.err conftest.$ac_objext \
79201 conftest$ac_exeext conftest.$ac_ext
79206 if test $glibcxx_cv_fchmodat = yes; then
79208 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
79211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
79212 $as_echo "$glibcxx_cv_fchmodat" >&6; }
79213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
79214 $as_echo_n "checking for sendfile that can copy files... " >&6; }
79215 if test "${glibcxx_cv_sendfile+set}" = set; then :
79216 $as_echo_n "(cached) " >&6
79217 else
79218 case "${target_os}" in
79219 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | solaris*)
79220 if test x$gcc_no_link = xyes; then
79221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79222 /* end confdefs.h. */
79223 #include <sys/sendfile.h>
79225 main ()
79227 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79229 return 0;
79231 _ACEOF
79232 if ac_fn_cxx_try_compile "$LINENO"; then :
79233 glibcxx_cv_sendfile=yes
79234 else
79235 glibcxx_cv_sendfile=no
79237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79238 else
79239 if test x$gcc_no_link = xyes; then
79240 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79243 /* end confdefs.h. */
79244 #include <sys/sendfile.h>
79246 main ()
79248 sendfile(1, 2, (off_t*)NULL, sizeof 1);
79250 return 0;
79252 _ACEOF
79253 if ac_fn_cxx_try_link "$LINENO"; then :
79254 glibcxx_cv_sendfile=yes
79255 else
79256 glibcxx_cv_sendfile=no
79258 rm -f core conftest.err conftest.$ac_objext \
79259 conftest$ac_exeext conftest.$ac_ext
79263 glibcxx_cv_sendfile=no
79265 esac
79269 if test $glibcxx_cv_sendfile = yes; then
79271 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
79274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
79275 $as_echo "$glibcxx_cv_sendfile" >&6; }
79276 CXXFLAGS="$ac_save_CXXFLAGS"
79277 ac_ext=c
79278 ac_cpp='$CPP $CPPFLAGS'
79279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79285 # Define documentation rules conditionally.
79287 # See if makeinfo has been installed and is modern enough
79288 # that we can use it.
79290 # Extract the first word of "makeinfo", so it can be a program name with args.
79291 set dummy makeinfo; ac_word=$2
79292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79293 $as_echo_n "checking for $ac_word... " >&6; }
79294 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
79295 $as_echo_n "(cached) " >&6
79296 else
79297 if test -n "$MAKEINFO"; then
79298 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
79299 else
79300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79301 for as_dir in $PATH
79303 IFS=$as_save_IFS
79304 test -z "$as_dir" && as_dir=.
79305 for ac_exec_ext in '' $ac_executable_extensions; do
79306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79307 ac_cv_prog_MAKEINFO="makeinfo"
79308 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79309 break 2
79311 done
79312 done
79313 IFS=$as_save_IFS
79317 MAKEINFO=$ac_cv_prog_MAKEINFO
79318 if test -n "$MAKEINFO"; then
79319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
79320 $as_echo "$MAKEINFO" >&6; }
79321 else
79322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79323 $as_echo "no" >&6; }
79327 if test -n "$MAKEINFO"; then
79328 # Found it, now check the version.
79329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
79330 $as_echo_n "checking for modern makeinfo... " >&6; }
79331 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
79332 $as_echo_n "(cached) " >&6
79333 else
79334 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
79335 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
79337 case $ac_prog_version in
79338 '') gcc_cv_prog_makeinfo_modern=no;;
79339 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
79340 *) gcc_cv_prog_makeinfo_modern=no;;
79341 esac
79344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
79345 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
79346 else
79347 gcc_cv_prog_makeinfo_modern=no
79349 if test $gcc_cv_prog_makeinfo_modern = no; then
79350 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
79353 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
79354 BUILD_INFO_TRUE=
79355 BUILD_INFO_FALSE='#'
79356 else
79357 BUILD_INFO_TRUE='#'
79358 BUILD_INFO_FALSE=
79362 # Check for doxygen
79363 # Extract the first word of "doxygen", so it can be a program name with args.
79364 set dummy doxygen; ac_word=$2
79365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79366 $as_echo_n "checking for $ac_word... " >&6; }
79367 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
79368 $as_echo_n "(cached) " >&6
79369 else
79370 if test -n "$DOXYGEN"; then
79371 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
79372 else
79373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79374 for as_dir in $PATH
79376 IFS=$as_save_IFS
79377 test -z "$as_dir" && as_dir=.
79378 for ac_exec_ext in '' $ac_executable_extensions; do
79379 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79380 ac_cv_prog_DOXYGEN="yes"
79381 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79382 break 2
79384 done
79385 done
79386 IFS=$as_save_IFS
79388 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
79391 DOXYGEN=$ac_cv_prog_DOXYGEN
79392 if test -n "$DOXYGEN"; then
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
79394 $as_echo "$DOXYGEN" >&6; }
79395 else
79396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79397 $as_echo "no" >&6; }
79401 # Extract the first word of "dot", so it can be a program name with args.
79402 set dummy dot; ac_word=$2
79403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79404 $as_echo_n "checking for $ac_word... " >&6; }
79405 if test "${ac_cv_prog_DOT+set}" = set; then :
79406 $as_echo_n "(cached) " >&6
79407 else
79408 if test -n "$DOT"; then
79409 ac_cv_prog_DOT="$DOT" # Let the user override the test.
79410 else
79411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79412 for as_dir in $PATH
79414 IFS=$as_save_IFS
79415 test -z "$as_dir" && as_dir=.
79416 for ac_exec_ext in '' $ac_executable_extensions; do
79417 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79418 ac_cv_prog_DOT="yes"
79419 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79420 break 2
79422 done
79423 done
79424 IFS=$as_save_IFS
79426 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
79429 DOT=$ac_cv_prog_DOT
79430 if test -n "$DOT"; then
79431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
79432 $as_echo "$DOT" >&6; }
79433 else
79434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79435 $as_echo "no" >&6; }
79440 # Check for docbook
79441 # Extract the first word of "xsltproc", so it can be a program name with args.
79442 set dummy xsltproc; ac_word=$2
79443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79444 $as_echo_n "checking for $ac_word... " >&6; }
79445 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
79446 $as_echo_n "(cached) " >&6
79447 else
79448 if test -n "$XSLTPROC"; then
79449 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
79450 else
79451 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79452 for as_dir in $PATH
79454 IFS=$as_save_IFS
79455 test -z "$as_dir" && as_dir=.
79456 for ac_exec_ext in '' $ac_executable_extensions; do
79457 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79458 ac_cv_prog_XSLTPROC="yes"
79459 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79460 break 2
79462 done
79463 done
79464 IFS=$as_save_IFS
79466 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
79469 XSLTPROC=$ac_cv_prog_XSLTPROC
79470 if test -n "$XSLTPROC"; then
79471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
79472 $as_echo "$XSLTPROC" >&6; }
79473 else
79474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79475 $as_echo "no" >&6; }
79479 # Extract the first word of "xmllint", so it can be a program name with args.
79480 set dummy xmllint; ac_word=$2
79481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79482 $as_echo_n "checking for $ac_word... " >&6; }
79483 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
79484 $as_echo_n "(cached) " >&6
79485 else
79486 if test -n "$XMLLINT"; then
79487 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
79488 else
79489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79490 for as_dir in $PATH
79492 IFS=$as_save_IFS
79493 test -z "$as_dir" && as_dir=.
79494 for ac_exec_ext in '' $ac_executable_extensions; do
79495 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79496 ac_cv_prog_XMLLINT="yes"
79497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79498 break 2
79500 done
79501 done
79502 IFS=$as_save_IFS
79504 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
79507 XMLLINT=$ac_cv_prog_XMLLINT
79508 if test -n "$XMLLINT"; then
79509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
79510 $as_echo "$XMLLINT" >&6; }
79511 else
79512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79513 $as_echo "no" >&6; }
79519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
79520 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
79521 glibcxx_stylesheets=no
79522 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
79523 glibcxx_stylesheets=yes
79525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
79526 $as_echo "$glibcxx_stylesheets" >&6; }
79528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
79529 $as_echo_n "checking for local stylesheet directory... " >&6; }
79530 glibcxx_local_stylesheets=no
79531 if test x"$glibcxx_stylesheets" = x"yes"; then
79532 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
79533 glibcxx_local_stylesheets=yes
79534 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
79536 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
79537 glibcxx_local_stylesheets=yes
79538 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
79540 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
79541 glibcxx_local_stylesheets=yes
79542 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
79545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
79546 $as_echo "$glibcxx_local_stylesheets" >&6; }
79548 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79550 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
79551 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
79552 else
79553 glibcxx_stylesheets=no
79556 # Check for epub3 dependencies.
79557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
79558 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
79559 glibcxx_epub_stylesheets=no
79560 if test x"$glibcxx_local_stylesheets" = x"yes"; then
79561 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
79562 glibcxx_epub_stylesheets=yes
79565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
79566 $as_echo "$glibcxx_epub_stylesheets" >&6; }
79567 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
79568 BUILD_EPUB_TRUE=
79569 BUILD_EPUB_FALSE='#'
79570 else
79571 BUILD_EPUB_TRUE='#'
79572 BUILD_EPUB_FALSE=
79578 # Check for xml/html dependencies.
79579 if test $ac_cv_prog_DOXYGEN = "yes" &&
79580 test $ac_cv_prog_DOT = "yes" &&
79581 test $ac_cv_prog_XSLTPROC = "yes" &&
79582 test $ac_cv_prog_XMLLINT = "yes" &&
79583 test $glibcxx_stylesheets = "yes"; then
79584 BUILD_XML_TRUE=
79585 BUILD_XML_FALSE='#'
79586 else
79587 BUILD_XML_TRUE='#'
79588 BUILD_XML_FALSE=
79592 if test $ac_cv_prog_DOXYGEN = "yes" &&
79593 test $ac_cv_prog_DOT = "yes" &&
79594 test $ac_cv_prog_XSLTPROC = "yes" &&
79595 test $ac_cv_prog_XMLLINT = "yes" &&
79596 test $glibcxx_stylesheets = "yes"; then
79597 BUILD_HTML_TRUE=
79598 BUILD_HTML_FALSE='#'
79599 else
79600 BUILD_HTML_TRUE='#'
79601 BUILD_HTML_FALSE=
79605 # Check for man dependencies.
79606 if test $ac_cv_prog_DOXYGEN = "yes" &&
79607 test $ac_cv_prog_DOT = "yes"; then
79608 BUILD_MAN_TRUE=
79609 BUILD_MAN_FALSE='#'
79610 else
79611 BUILD_MAN_TRUE='#'
79612 BUILD_MAN_FALSE=
79616 # Check for pdf dependencies.
79617 # Extract the first word of "dblatex", so it can be a program name with args.
79618 set dummy dblatex; ac_word=$2
79619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79620 $as_echo_n "checking for $ac_word... " >&6; }
79621 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
79622 $as_echo_n "(cached) " >&6
79623 else
79624 if test -n "$DBLATEX"; then
79625 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
79626 else
79627 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79628 for as_dir in $PATH
79630 IFS=$as_save_IFS
79631 test -z "$as_dir" && as_dir=.
79632 for ac_exec_ext in '' $ac_executable_extensions; do
79633 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79634 ac_cv_prog_DBLATEX="yes"
79635 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79636 break 2
79638 done
79639 done
79640 IFS=$as_save_IFS
79642 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
79645 DBLATEX=$ac_cv_prog_DBLATEX
79646 if test -n "$DBLATEX"; then
79647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
79648 $as_echo "$DBLATEX" >&6; }
79649 else
79650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79651 $as_echo "no" >&6; }
79655 # Extract the first word of "pdflatex", so it can be a program name with args.
79656 set dummy pdflatex; ac_word=$2
79657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
79658 $as_echo_n "checking for $ac_word... " >&6; }
79659 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
79660 $as_echo_n "(cached) " >&6
79661 else
79662 if test -n "$PDFLATEX"; then
79663 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
79664 else
79665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79666 for as_dir in $PATH
79668 IFS=$as_save_IFS
79669 test -z "$as_dir" && as_dir=.
79670 for ac_exec_ext in '' $ac_executable_extensions; do
79671 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
79672 ac_cv_prog_PDFLATEX="yes"
79673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
79674 break 2
79676 done
79677 done
79678 IFS=$as_save_IFS
79680 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
79683 PDFLATEX=$ac_cv_prog_PDFLATEX
79684 if test -n "$PDFLATEX"; then
79685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
79686 $as_echo "$PDFLATEX" >&6; }
79687 else
79688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
79689 $as_echo "no" >&6; }
79693 if test $ac_cv_prog_DBLATEX = "yes" &&
79694 test $ac_cv_prog_PDFLATEX = "yes"; then
79695 BUILD_PDF_TRUE=
79696 BUILD_PDF_FALSE='#'
79697 else
79698 BUILD_PDF_TRUE='#'
79699 BUILD_PDF_FALSE=
79704 # Propagate the target-specific source directories through the build chain.
79705 ATOMICITY_SRCDIR=config/${atomicity_dir}
79706 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
79707 ATOMIC_FLAGS=${atomic_flags}
79708 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
79709 OS_INC_SRCDIR=config/${os_include_dir}
79710 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
79711 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
79712 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
79713 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
79725 # Determine cross-compile flags and AM_CONDITIONALs.
79726 #AC_SUBST(GLIBCXX_IS_NATIVE)
79727 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
79728 if test $is_hosted = yes; then
79729 GLIBCXX_HOSTED_TRUE=
79730 GLIBCXX_HOSTED_FALSE='#'
79731 else
79732 GLIBCXX_HOSTED_TRUE='#'
79733 GLIBCXX_HOSTED_FALSE=
79737 if test $enable_libstdcxx_pch = yes; then
79738 GLIBCXX_BUILD_PCH_TRUE=
79739 GLIBCXX_BUILD_PCH_FALSE='#'
79740 else
79741 GLIBCXX_BUILD_PCH_TRUE='#'
79742 GLIBCXX_BUILD_PCH_FALSE=
79746 if test $enable_cheaders = c; then
79747 GLIBCXX_C_HEADERS_C_TRUE=
79748 GLIBCXX_C_HEADERS_C_FALSE='#'
79749 else
79750 GLIBCXX_C_HEADERS_C_TRUE='#'
79751 GLIBCXX_C_HEADERS_C_FALSE=
79755 if test $enable_cheaders = c_std; then
79756 GLIBCXX_C_HEADERS_C_STD_TRUE=
79757 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
79758 else
79759 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
79760 GLIBCXX_C_HEADERS_C_STD_FALSE=
79764 if test $enable_cheaders = c_global; then
79765 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
79766 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
79767 else
79768 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
79769 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
79773 if test $c_compatibility = yes; then
79774 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
79775 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
79776 else
79777 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
79778 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
79782 if test $enable_libstdcxx_debug = yes; then
79783 GLIBCXX_BUILD_DEBUG_TRUE=
79784 GLIBCXX_BUILD_DEBUG_FALSE='#'
79785 else
79786 GLIBCXX_BUILD_DEBUG_TRUE='#'
79787 GLIBCXX_BUILD_DEBUG_FALSE=
79791 if test $enable_extern_template = yes; then
79792 ENABLE_EXTERN_TEMPLATE_TRUE=
79793 ENABLE_EXTERN_TEMPLATE_FALSE='#'
79794 else
79795 ENABLE_EXTERN_TEMPLATE_TRUE='#'
79796 ENABLE_EXTERN_TEMPLATE_FALSE=
79800 if test $python_mod_dir != no; then
79801 ENABLE_PYTHONDIR_TRUE=
79802 ENABLE_PYTHONDIR_FALSE='#'
79803 else
79804 ENABLE_PYTHONDIR_TRUE='#'
79805 ENABLE_PYTHONDIR_FALSE=
79809 if test $enable_werror = yes; then
79810 ENABLE_WERROR_TRUE=
79811 ENABLE_WERROR_FALSE='#'
79812 else
79813 ENABLE_WERROR_TRUE='#'
79814 ENABLE_WERROR_FALSE=
79818 if test $enable_vtable_verify = yes; then
79819 ENABLE_VTABLE_VERIFY_TRUE=
79820 ENABLE_VTABLE_VERIFY_FALSE='#'
79821 else
79822 ENABLE_VTABLE_VERIFY_TRUE='#'
79823 ENABLE_VTABLE_VERIFY_FALSE=
79827 if test $enable_symvers != no; then
79828 ENABLE_SYMVERS_TRUE=
79829 ENABLE_SYMVERS_FALSE='#'
79830 else
79831 ENABLE_SYMVERS_TRUE='#'
79832 ENABLE_SYMVERS_FALSE=
79836 if test $enable_symvers = gnu; then
79837 ENABLE_SYMVERS_GNU_TRUE=
79838 ENABLE_SYMVERS_GNU_FALSE='#'
79839 else
79840 ENABLE_SYMVERS_GNU_TRUE='#'
79841 ENABLE_SYMVERS_GNU_FALSE=
79845 if test $enable_symvers = gnu-versioned-namespace; then
79846 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
79847 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
79848 else
79849 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
79850 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
79854 if test $enable_symvers = darwin; then
79855 ENABLE_SYMVERS_DARWIN_TRUE=
79856 ENABLE_SYMVERS_DARWIN_FALSE='#'
79857 else
79858 ENABLE_SYMVERS_DARWIN_TRUE='#'
79859 ENABLE_SYMVERS_DARWIN_FALSE=
79863 if test $enable_symvers = sun; then
79864 ENABLE_SYMVERS_SUN_TRUE=
79865 ENABLE_SYMVERS_SUN_FALSE='#'
79866 else
79867 ENABLE_SYMVERS_SUN_TRUE='#'
79868 ENABLE_SYMVERS_SUN_FALSE=
79872 if test $enable_libstdcxx_visibility = yes; then
79873 ENABLE_VISIBILITY_TRUE=
79874 ENABLE_VISIBILITY_FALSE='#'
79875 else
79876 ENABLE_VISIBILITY_TRUE='#'
79877 ENABLE_VISIBILITY_FALSE=
79881 if test $enable_libstdcxx_dual_abi = yes; then
79882 ENABLE_DUAL_ABI_TRUE=
79883 ENABLE_DUAL_ABI_FALSE='#'
79884 else
79885 ENABLE_DUAL_ABI_TRUE='#'
79886 ENABLE_DUAL_ABI_FALSE=
79890 if test $glibcxx_cxx11_abi = 1; then
79891 ENABLE_CXX11_ABI_TRUE=
79892 ENABLE_CXX11_ABI_FALSE='#'
79893 else
79894 ENABLE_CXX11_ABI_TRUE='#'
79895 ENABLE_CXX11_ABI_FALSE=
79899 if test $ac_ldbl_compat = yes; then
79900 GLIBCXX_LDBL_COMPAT_TRUE=
79901 GLIBCXX_LDBL_COMPAT_FALSE='#'
79902 else
79903 GLIBCXX_LDBL_COMPAT_TRUE='#'
79904 GLIBCXX_LDBL_COMPAT_FALSE=
79908 if test $enable_libstdcxx_filesystem_ts = yes; then
79909 ENABLE_FILESYSTEM_TS_TRUE=
79910 ENABLE_FILESYSTEM_TS_FALSE='#'
79911 else
79912 ENABLE_FILESYSTEM_TS_TRUE='#'
79913 ENABLE_FILESYSTEM_TS_FALSE=
79919 cat >confcache <<\_ACEOF
79920 # This file is a shell script that caches the results of configure
79921 # tests run on this system so they can be shared between configure
79922 # scripts and configure runs, see configure's option --config-cache.
79923 # It is not useful on other systems. If it contains results you don't
79924 # want to keep, you may remove or edit it.
79926 # config.status only pays attention to the cache file if you give it
79927 # the --recheck option to rerun configure.
79929 # `ac_cv_env_foo' variables (set or unset) will be overridden when
79930 # loading this file, other *unset* `ac_cv_foo' will be assigned the
79931 # following values.
79933 _ACEOF
79935 # The following way of writing the cache mishandles newlines in values,
79936 # but we know of no workaround that is simple, portable, and efficient.
79937 # So, we kill variables containing newlines.
79938 # Ultrix sh set writes to stderr and can't be redirected directly,
79939 # and sets the high bit in the cache file unless we assign to the vars.
79941 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
79942 eval ac_val=\$$ac_var
79943 case $ac_val in #(
79944 *${as_nl}*)
79945 case $ac_var in #(
79946 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
79947 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
79948 esac
79949 case $ac_var in #(
79950 _ | IFS | as_nl) ;; #(
79951 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
79952 *) { eval $ac_var=; unset $ac_var;} ;;
79953 esac ;;
79954 esac
79955 done
79957 (set) 2>&1 |
79958 case $as_nl`(ac_space=' '; set) 2>&1` in #(
79959 *${as_nl}ac_space=\ *)
79960 # `set' does not quote correctly, so add quotes: double-quote
79961 # substitution turns \\\\ into \\, and sed turns \\ into \.
79962 sed -n \
79963 "s/'/'\\\\''/g;
79964 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
79965 ;; #(
79967 # `set' quotes correctly as required by POSIX, so do not add quotes.
79968 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
79970 esac |
79971 sort
79973 sed '
79974 /^ac_cv_env_/b end
79975 t clear
79976 :clear
79977 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
79978 t end
79979 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
79980 :end' >>confcache
79981 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
79982 if test -w "$cache_file"; then
79983 test "x$cache_file" != "x/dev/null" &&
79984 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
79985 $as_echo "$as_me: updating cache $cache_file" >&6;}
79986 cat confcache >$cache_file
79987 else
79988 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
79989 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
79992 rm -f confcache
79994 if test ${multilib} = yes; then
79995 multilib_arg="--enable-multilib"
79996 else
79997 multilib_arg=
80000 # Export all the install information.
80002 glibcxx_toolexecdir=no
80003 glibcxx_toolexeclibdir=no
80004 glibcxx_prefixdir=$prefix
80006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
80007 $as_echo_n "checking for gxx-include-dir... " >&6; }
80009 # Check whether --with-gxx-include-dir was given.
80010 if test "${with_gxx_include_dir+set}" = set; then :
80011 withval=$with_gxx_include_dir; case "$withval" in
80012 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
80013 no) gxx_include_dir=no ;;
80014 *) gxx_include_dir=$withval ;;
80015 esac
80016 else
80017 gxx_include_dir=no
80020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80021 $as_echo "$gxx_include_dir" >&6; }
80023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
80024 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
80025 # Check whether --enable-version-specific-runtime-libs was given.
80026 if test "${enable_version_specific_runtime_libs+set}" = set; then :
80027 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
80028 yes) version_specific_libs=yes ;;
80029 no) version_specific_libs=no ;;
80030 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
80031 esac
80032 else
80033 version_specific_libs=no
80036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
80037 $as_echo "$version_specific_libs" >&6; }
80039 # Default case for install directory for include files.
80040 if test $version_specific_libs = no && test $gxx_include_dir = no; then
80041 gxx_include_dir='include/c++/${gcc_version}'
80042 if test -n "$with_cross_host" &&
80043 test x"$with_cross_host" != x"no"; then
80044 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
80045 else
80046 gxx_include_dir='${prefix}/'"$gxx_include_dir"
80050 # Version-specific runtime libs processing.
80051 if test $version_specific_libs = yes; then
80052 # Need the gcc compiler version to know where to install libraries
80053 # and header files if --enable-version-specific-runtime-libs option
80054 # is selected. FIXME: these variables are misnamed, there are
80055 # no executables installed in _toolexecdir or _toolexeclibdir.
80056 if test x"$gxx_include_dir" = x"no"; then
80057 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
80059 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80060 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
80063 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
80064 # Install a library built with a cross compiler in tooldir, not libdir.
80065 if test x"$glibcxx_toolexecdir" = x"no"; then
80066 if test -n "$with_cross_host" &&
80067 test x"$with_cross_host" != x"no"; then
80068 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
80069 glibcxx_toolexeclibdir='${toolexecdir}/lib'
80070 else
80071 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
80072 glibcxx_toolexeclibdir='${libdir}'
80074 multi_os_directory=`$CXX -print-multi-os-directory`
80075 case $multi_os_directory in
80076 .) ;; # Avoid trailing /.
80077 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
80078 esac
80081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
80082 $as_echo_n "checking for install location... " >&6; }
80083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
80084 $as_echo "$gxx_include_dir" >&6; }
80092 # Export all the include and flag information to Makefiles.
80094 # Used for every C++ compile we perform.
80095 GLIBCXX_INCLUDES="\
80096 -I$glibcxx_builddir/include/$host_alias \
80097 -I$glibcxx_builddir/include \
80098 -I$glibcxx_srcdir/libsupc++"
80100 # For Canadian crosses, pick this up too.
80101 if test $CANADIAN = yes; then
80102 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
80105 # Stuff in the actual top level. Currently only used by libsupc++ to
80106 # get unwind* headers from the libgcc dir.
80107 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
80108 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
80110 # Now, export this to all the little Makefiles....
80115 # Optimization flags that are probably a good idea for thrill-seekers. Just
80116 # uncomment the lines below and make, everything else is ready to go...
80117 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
80118 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
80121 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
80125 ac_config_files="$ac_config_files Makefile"
80127 ac_config_files="$ac_config_files scripts/testsuite_flags"
80129 ac_config_files="$ac_config_files scripts/extract_symvers"
80131 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
80134 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
80135 # that multilib installs will end up installed in the correct place.
80136 # The testsuite needs it for multilib-aware ABI baseline files.
80137 # To work around this not being passed down from config-ml.in ->
80138 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
80139 # append it here. Only modify Makefiles that have just been created.
80141 # Also, get rid of this simulated-VPATH thing that automake does.
80142 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
80145 ac_config_commands="$ac_config_commands generate-headers"
80148 cat >confcache <<\_ACEOF
80149 # This file is a shell script that caches the results of configure
80150 # tests run on this system so they can be shared between configure
80151 # scripts and configure runs, see configure's option --config-cache.
80152 # It is not useful on other systems. If it contains results you don't
80153 # want to keep, you may remove or edit it.
80155 # config.status only pays attention to the cache file if you give it
80156 # the --recheck option to rerun configure.
80158 # `ac_cv_env_foo' variables (set or unset) will be overridden when
80159 # loading this file, other *unset* `ac_cv_foo' will be assigned the
80160 # following values.
80162 _ACEOF
80164 # The following way of writing the cache mishandles newlines in values,
80165 # but we know of no workaround that is simple, portable, and efficient.
80166 # So, we kill variables containing newlines.
80167 # Ultrix sh set writes to stderr and can't be redirected directly,
80168 # and sets the high bit in the cache file unless we assign to the vars.
80170 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
80171 eval ac_val=\$$ac_var
80172 case $ac_val in #(
80173 *${as_nl}*)
80174 case $ac_var in #(
80175 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
80176 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
80177 esac
80178 case $ac_var in #(
80179 _ | IFS | as_nl) ;; #(
80180 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
80181 *) { eval $ac_var=; unset $ac_var;} ;;
80182 esac ;;
80183 esac
80184 done
80186 (set) 2>&1 |
80187 case $as_nl`(ac_space=' '; set) 2>&1` in #(
80188 *${as_nl}ac_space=\ *)
80189 # `set' does not quote correctly, so add quotes: double-quote
80190 # substitution turns \\\\ into \\, and sed turns \\ into \.
80191 sed -n \
80192 "s/'/'\\\\''/g;
80193 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
80194 ;; #(
80196 # `set' quotes correctly as required by POSIX, so do not add quotes.
80197 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
80199 esac |
80200 sort
80202 sed '
80203 /^ac_cv_env_/b end
80204 t clear
80205 :clear
80206 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
80207 t end
80208 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
80209 :end' >>confcache
80210 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
80211 if test -w "$cache_file"; then
80212 test "x$cache_file" != "x/dev/null" &&
80213 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
80214 $as_echo "$as_me: updating cache $cache_file" >&6;}
80215 cat confcache >$cache_file
80216 else
80217 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
80218 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
80221 rm -f confcache
80223 test "x$prefix" = xNONE && prefix=$ac_default_prefix
80224 # Let make expand exec_prefix.
80225 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
80227 DEFS=-DHAVE_CONFIG_H
80229 ac_libobjs=
80230 ac_ltlibobjs=
80231 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
80232 # 1. Remove the extension, and $U if already installed.
80233 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
80234 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
80235 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
80236 # will be set to the directory where LIBOBJS objects are built.
80237 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
80238 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
80239 done
80240 LIBOBJS=$ac_libobjs
80242 LTLIBOBJS=$ac_ltlibobjs
80245 if test -n "$EXEEXT"; then
80246 am__EXEEXT_TRUE=
80247 am__EXEEXT_FALSE='#'
80248 else
80249 am__EXEEXT_TRUE='#'
80250 am__EXEEXT_FALSE=
80253 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
80254 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
80255 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80257 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
80258 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
80259 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80261 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
80262 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
80263 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80265 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
80266 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
80267 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80269 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
80270 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
80271 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80273 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
80274 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
80275 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80277 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
80278 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
80279 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80281 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
80282 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
80283 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80285 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
80286 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
80287 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80289 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
80290 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
80291 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80293 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
80294 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
80295 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80297 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
80298 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
80299 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80301 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
80302 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
80303 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80305 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
80306 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
80307 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80309 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
80310 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
80311 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80313 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
80314 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
80315 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80317 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
80318 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
80319 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80321 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
80322 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
80323 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80325 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
80326 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
80327 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80329 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
80330 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
80331 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80333 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
80334 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
80335 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80337 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
80338 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
80339 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80341 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
80342 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
80343 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80345 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
80346 as_fn_error "conditional \"BUILD_INFO\" was never defined.
80347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80349 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
80350 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
80351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80353 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
80354 as_fn_error "conditional \"BUILD_XML\" was never defined.
80355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80357 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
80358 as_fn_error "conditional \"BUILD_HTML\" was never defined.
80359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80361 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
80362 as_fn_error "conditional \"BUILD_MAN\" was never defined.
80363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80365 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
80366 as_fn_error "conditional \"BUILD_PDF\" was never defined.
80367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
80370 : ${CONFIG_STATUS=./config.status}
80371 ac_write_fail=0
80372 ac_clean_files_save=$ac_clean_files
80373 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
80374 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
80375 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
80376 as_write_fail=0
80377 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
80378 #! $SHELL
80379 # Generated by $as_me.
80380 # Run this file to recreate the current configuration.
80381 # Compiler output produced by configure, useful for debugging
80382 # configure, is in config.log if it exists.
80384 debug=false
80385 ac_cs_recheck=false
80386 ac_cs_silent=false
80388 SHELL=\${CONFIG_SHELL-$SHELL}
80389 export SHELL
80390 _ASEOF
80391 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
80392 ## -------------------- ##
80393 ## M4sh Initialization. ##
80394 ## -------------------- ##
80396 # Be more Bourne compatible
80397 DUALCASE=1; export DUALCASE # for MKS sh
80398 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
80399 emulate sh
80400 NULLCMD=:
80401 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
80402 # is contrary to our usage. Disable this feature.
80403 alias -g '${1+"$@"}'='"$@"'
80404 setopt NO_GLOB_SUBST
80405 else
80406 case `(set -o) 2>/dev/null` in #(
80407 *posix*) :
80408 set -o posix ;; #(
80409 *) :
80411 esac
80415 as_nl='
80417 export as_nl
80418 # Printing a long string crashes Solaris 7 /usr/bin/printf.
80419 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
80420 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
80421 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
80422 # Prefer a ksh shell builtin over an external printf program on Solaris,
80423 # but without wasting forks for bash or zsh.
80424 if test -z "$BASH_VERSION$ZSH_VERSION" \
80425 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
80426 as_echo='print -r --'
80427 as_echo_n='print -rn --'
80428 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
80429 as_echo='printf %s\n'
80430 as_echo_n='printf %s'
80431 else
80432 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
80433 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
80434 as_echo_n='/usr/ucb/echo -n'
80435 else
80436 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
80437 as_echo_n_body='eval
80438 arg=$1;
80439 case $arg in #(
80440 *"$as_nl"*)
80441 expr "X$arg" : "X\\(.*\\)$as_nl";
80442 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
80443 esac;
80444 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
80446 export as_echo_n_body
80447 as_echo_n='sh -c $as_echo_n_body as_echo'
80449 export as_echo_body
80450 as_echo='sh -c $as_echo_body as_echo'
80453 # The user is always right.
80454 if test "${PATH_SEPARATOR+set}" != set; then
80455 PATH_SEPARATOR=:
80456 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80457 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80458 PATH_SEPARATOR=';'
80463 # IFS
80464 # We need space, tab and new line, in precisely that order. Quoting is
80465 # there to prevent editors from complaining about space-tab.
80466 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
80467 # splitting by setting IFS to empty value.)
80468 IFS=" "" $as_nl"
80470 # Find who we are. Look in the path if we contain no directory separator.
80471 case $0 in #((
80472 *[\\/]* ) as_myself=$0 ;;
80473 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80474 for as_dir in $PATH
80476 IFS=$as_save_IFS
80477 test -z "$as_dir" && as_dir=.
80478 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
80479 done
80480 IFS=$as_save_IFS
80483 esac
80484 # We did not find ourselves, most probably we were run as `sh COMMAND'
80485 # in which case we are not to be found in the path.
80486 if test "x$as_myself" = x; then
80487 as_myself=$0
80489 if test ! -f "$as_myself"; then
80490 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
80491 exit 1
80494 # Unset variables that we do not need and which cause bugs (e.g. in
80495 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
80496 # suppresses any "Segmentation fault" message there. '((' could
80497 # trigger a bug in pdksh 5.2.14.
80498 for as_var in BASH_ENV ENV MAIL MAILPATH
80499 do eval test x\${$as_var+set} = xset \
80500 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
80501 done
80502 PS1='$ '
80503 PS2='> '
80504 PS4='+ '
80506 # NLS nuisances.
80507 LC_ALL=C
80508 export LC_ALL
80509 LANGUAGE=C
80510 export LANGUAGE
80512 # CDPATH.
80513 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80516 # as_fn_error ERROR [LINENO LOG_FD]
80517 # ---------------------------------
80518 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
80519 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
80520 # script with status $?, using 1 if that was 0.
80521 as_fn_error ()
80523 as_status=$?; test $as_status -eq 0 && as_status=1
80524 if test "$3"; then
80525 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
80526 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
80528 $as_echo "$as_me: error: $1" >&2
80529 as_fn_exit $as_status
80530 } # as_fn_error
80533 # as_fn_set_status STATUS
80534 # -----------------------
80535 # Set $? to STATUS, without forking.
80536 as_fn_set_status ()
80538 return $1
80539 } # as_fn_set_status
80541 # as_fn_exit STATUS
80542 # -----------------
80543 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
80544 as_fn_exit ()
80546 set +e
80547 as_fn_set_status $1
80548 exit $1
80549 } # as_fn_exit
80551 # as_fn_unset VAR
80552 # ---------------
80553 # Portably unset VAR.
80554 as_fn_unset ()
80556 { eval $1=; unset $1;}
80558 as_unset=as_fn_unset
80559 # as_fn_append VAR VALUE
80560 # ----------------------
80561 # Append the text in VALUE to the end of the definition contained in VAR. Take
80562 # advantage of any shell optimizations that allow amortized linear growth over
80563 # repeated appends, instead of the typical quadratic growth present in naive
80564 # implementations.
80565 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
80566 eval 'as_fn_append ()
80568 eval $1+=\$2
80570 else
80571 as_fn_append ()
80573 eval $1=\$$1\$2
80575 fi # as_fn_append
80577 # as_fn_arith ARG...
80578 # ------------------
80579 # Perform arithmetic evaluation on the ARGs, and store the result in the
80580 # global $as_val. Take advantage of shells that can avoid forks. The arguments
80581 # must be portable across $(()) and expr.
80582 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
80583 eval 'as_fn_arith ()
80585 as_val=$(( $* ))
80587 else
80588 as_fn_arith ()
80590 as_val=`expr "$@" || test $? -eq 1`
80592 fi # as_fn_arith
80595 if expr a : '\(a\)' >/dev/null 2>&1 &&
80596 test "X`expr 00001 : '.*\(...\)'`" = X001; then
80597 as_expr=expr
80598 else
80599 as_expr=false
80602 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
80603 as_basename=basename
80604 else
80605 as_basename=false
80608 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
80609 as_dirname=dirname
80610 else
80611 as_dirname=false
80614 as_me=`$as_basename -- "$0" ||
80615 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
80616 X"$0" : 'X\(//\)$' \| \
80617 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
80618 $as_echo X/"$0" |
80619 sed '/^.*\/\([^/][^/]*\)\/*$/{
80620 s//\1/
80623 /^X\/\(\/\/\)$/{
80624 s//\1/
80627 /^X\/\(\/\).*/{
80628 s//\1/
80631 s/.*/./; q'`
80633 # Avoid depending upon Character Ranges.
80634 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
80635 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
80636 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
80637 as_cr_digits='0123456789'
80638 as_cr_alnum=$as_cr_Letters$as_cr_digits
80640 ECHO_C= ECHO_N= ECHO_T=
80641 case `echo -n x` in #(((((
80642 -n*)
80643 case `echo 'xy\c'` in
80644 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
80645 xy) ECHO_C='\c';;
80646 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
80647 ECHO_T=' ';;
80648 esac;;
80650 ECHO_N='-n';;
80651 esac
80653 rm -f conf$$ conf$$.exe conf$$.file
80654 if test -d conf$$.dir; then
80655 rm -f conf$$.dir/conf$$.file
80656 else
80657 rm -f conf$$.dir
80658 mkdir conf$$.dir 2>/dev/null
80660 if (echo >conf$$.file) 2>/dev/null; then
80661 if ln -s conf$$.file conf$$ 2>/dev/null; then
80662 as_ln_s='ln -s'
80663 # ... but there are two gotchas:
80664 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
80665 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
80666 # In both cases, we have to default to `cp -p'.
80667 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
80668 as_ln_s='cp -p'
80669 elif ln conf$$.file conf$$ 2>/dev/null; then
80670 as_ln_s=ln
80671 else
80672 as_ln_s='cp -p'
80674 else
80675 as_ln_s='cp -p'
80677 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
80678 rmdir conf$$.dir 2>/dev/null
80681 # as_fn_mkdir_p
80682 # -------------
80683 # Create "$as_dir" as a directory, including parents if necessary.
80684 as_fn_mkdir_p ()
80687 case $as_dir in #(
80688 -*) as_dir=./$as_dir;;
80689 esac
80690 test -d "$as_dir" || eval $as_mkdir_p || {
80691 as_dirs=
80692 while :; do
80693 case $as_dir in #(
80694 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
80695 *) as_qdir=$as_dir;;
80696 esac
80697 as_dirs="'$as_qdir' $as_dirs"
80698 as_dir=`$as_dirname -- "$as_dir" ||
80699 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
80700 X"$as_dir" : 'X\(//\)[^/]' \| \
80701 X"$as_dir" : 'X\(//\)$' \| \
80702 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
80703 $as_echo X"$as_dir" |
80704 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
80705 s//\1/
80708 /^X\(\/\/\)[^/].*/{
80709 s//\1/
80712 /^X\(\/\/\)$/{
80713 s//\1/
80716 /^X\(\/\).*/{
80717 s//\1/
80720 s/.*/./; q'`
80721 test -d "$as_dir" && break
80722 done
80723 test -z "$as_dirs" || eval "mkdir $as_dirs"
80724 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
80727 } # as_fn_mkdir_p
80728 if mkdir -p . 2>/dev/null; then
80729 as_mkdir_p='mkdir -p "$as_dir"'
80730 else
80731 test -d ./-p && rmdir ./-p
80732 as_mkdir_p=false
80735 if test -x / >/dev/null 2>&1; then
80736 as_test_x='test -x'
80737 else
80738 if ls -dL / >/dev/null 2>&1; then
80739 as_ls_L_option=L
80740 else
80741 as_ls_L_option=
80743 as_test_x='
80744 eval sh -c '\''
80745 if test -d "$1"; then
80746 test -d "$1/.";
80747 else
80748 case $1 in #(
80749 -*)set "./$1";;
80750 esac;
80751 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
80752 ???[sx]*):;;*)false;;esac;fi
80753 '\'' sh
80756 as_executable_p=$as_test_x
80758 # Sed expression to map a string onto a valid CPP name.
80759 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
80761 # Sed expression to map a string onto a valid variable name.
80762 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
80765 exec 6>&1
80766 ## ----------------------------------- ##
80767 ## Main body of $CONFIG_STATUS script. ##
80768 ## ----------------------------------- ##
80769 _ASEOF
80770 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
80772 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80773 # Save the log message, to keep $0 and so on meaningful, and to
80774 # report actual input values of CONFIG_FILES etc. instead of their
80775 # values after options handling.
80776 ac_log="
80777 This file was extended by package-unused $as_me version-unused, which was
80778 generated by GNU Autoconf 2.64. Invocation command line was
80780 CONFIG_FILES = $CONFIG_FILES
80781 CONFIG_HEADERS = $CONFIG_HEADERS
80782 CONFIG_LINKS = $CONFIG_LINKS
80783 CONFIG_COMMANDS = $CONFIG_COMMANDS
80784 $ $0 $@
80786 on `(hostname || uname -n) 2>/dev/null | sed 1q`
80789 _ACEOF
80791 case $ac_config_files in *"
80792 "*) set x $ac_config_files; shift; ac_config_files=$*;;
80793 esac
80795 case $ac_config_headers in *"
80796 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
80797 esac
80800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80801 # Files that config.status was made for.
80802 config_files="$ac_config_files"
80803 config_headers="$ac_config_headers"
80804 config_commands="$ac_config_commands"
80806 _ACEOF
80808 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80809 ac_cs_usage="\
80810 \`$as_me' instantiates files and other configuration actions
80811 from templates according to the current configuration. Unless the files
80812 and actions are specified as TAGs, all are instantiated by default.
80814 Usage: $0 [OPTION]... [TAG]...
80816 -h, --help print this help, then exit
80817 -V, --version print version number and configuration settings, then exit
80818 -q, --quiet, --silent
80819 do not print progress messages
80820 -d, --debug don't remove temporary files
80821 --recheck update $as_me by reconfiguring in the same conditions
80822 --file=FILE[:TEMPLATE]
80823 instantiate the configuration file FILE
80824 --header=FILE[:TEMPLATE]
80825 instantiate the configuration header FILE
80827 Configuration files:
80828 $config_files
80830 Configuration headers:
80831 $config_headers
80833 Configuration commands:
80834 $config_commands
80836 Report bugs to the package provider."
80838 _ACEOF
80839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80840 ac_cs_version="\\
80841 package-unused config.status version-unused
80842 configured by $0, generated by GNU Autoconf 2.64,
80843 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
80845 Copyright (C) 2009 Free Software Foundation, Inc.
80846 This config.status script is free software; the Free Software Foundation
80847 gives unlimited permission to copy, distribute and modify it."
80849 ac_pwd='$ac_pwd'
80850 srcdir='$srcdir'
80851 INSTALL='$INSTALL'
80852 MKDIR_P='$MKDIR_P'
80853 AWK='$AWK'
80854 test -n "\$AWK" || AWK=awk
80855 _ACEOF
80857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80858 # The default lists apply if the user does not specify any file.
80859 ac_need_defaults=:
80860 while test $# != 0
80862 case $1 in
80863 --*=*)
80864 ac_option=`expr "X$1" : 'X\([^=]*\)='`
80865 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
80866 ac_shift=:
80869 ac_option=$1
80870 ac_optarg=$2
80871 ac_shift=shift
80873 esac
80875 case $ac_option in
80876 # Handling of the options.
80877 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
80878 ac_cs_recheck=: ;;
80879 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
80880 $as_echo "$ac_cs_version"; exit ;;
80881 --debug | --debu | --deb | --de | --d | -d )
80882 debug=: ;;
80883 --file | --fil | --fi | --f )
80884 $ac_shift
80885 case $ac_optarg in
80886 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80887 esac
80888 as_fn_append CONFIG_FILES " '$ac_optarg'"
80889 ac_need_defaults=false;;
80890 --header | --heade | --head | --hea )
80891 $ac_shift
80892 case $ac_optarg in
80893 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
80894 esac
80895 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
80896 ac_need_defaults=false;;
80897 --he | --h)
80898 # Conflict between --help and --header
80899 as_fn_error "ambiguous option: \`$1'
80900 Try \`$0 --help' for more information.";;
80901 --help | --hel | -h )
80902 $as_echo "$ac_cs_usage"; exit ;;
80903 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
80904 | -silent | --silent | --silen | --sile | --sil | --si | --s)
80905 ac_cs_silent=: ;;
80907 # This is an error.
80908 -*) as_fn_error "unrecognized option: \`$1'
80909 Try \`$0 --help' for more information." ;;
80911 *) as_fn_append ac_config_targets " $1"
80912 ac_need_defaults=false ;;
80914 esac
80915 shift
80916 done
80918 ac_configure_extra_args=
80920 if $ac_cs_silent; then
80921 exec 6>/dev/null
80922 ac_configure_extra_args="$ac_configure_extra_args --silent"
80925 _ACEOF
80926 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80927 if \$ac_cs_recheck; then
80928 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
80929 shift
80930 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
80931 CONFIG_SHELL='$SHELL'
80932 export CONFIG_SHELL
80933 exec "\$@"
80936 _ACEOF
80937 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
80938 exec 5>>config.log
80940 echo
80941 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
80942 ## Running $as_me. ##
80943 _ASBOX
80944 $as_echo "$ac_log"
80945 } >&5
80947 _ACEOF
80948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
80950 # INIT-COMMANDS
80953 srcdir="$srcdir"
80954 host="$host"
80955 target="$target"
80956 with_multisubdir="$with_multisubdir"
80957 with_multisrctop="$with_multisrctop"
80958 with_target_subdir="$with_target_subdir"
80959 ac_configure_args="${multilib_arg} ${ac_configure_args}"
80960 multi_basedir="$multi_basedir"
80961 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
80962 CC="$CC"
80963 CXX="$CXX"
80964 GFORTRAN="$GFORTRAN"
80965 GCJ="$GCJ"
80968 # The HP-UX ksh and POSIX shell print the target directory to stdout
80969 # if CDPATH is set.
80970 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
80972 sed_quote_subst='$sed_quote_subst'
80973 double_quote_subst='$double_quote_subst'
80974 delay_variable_subst='$delay_variable_subst'
80975 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
80976 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
80977 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
80978 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
80979 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
80980 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
80981 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
80982 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
80983 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
80984 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
80985 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
80986 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
80987 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
80988 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
80989 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
80990 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
80991 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
80992 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
80993 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
80994 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
80995 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
80996 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
80997 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
80998 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
80999 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
81000 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
81001 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
81002 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
81003 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
81004 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
81005 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
81006 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
81007 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
81008 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
81009 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
81010 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
81011 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
81012 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81013 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81014 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
81015 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
81016 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
81017 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
81018 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
81019 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
81020 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
81021 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
81022 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
81023 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"`'
81024 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
81025 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
81026 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
81027 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
81028 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
81029 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
81030 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
81031 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
81032 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
81033 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
81034 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
81035 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
81036 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
81037 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
81038 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
81039 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81040 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
81041 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
81042 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
81043 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
81044 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
81045 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
81046 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
81047 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
81048 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81049 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
81050 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
81051 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
81052 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
81053 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
81054 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
81055 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
81056 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
81057 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
81058 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
81059 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
81060 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
81061 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
81062 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
81063 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
81064 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
81065 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
81066 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
81067 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
81068 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
81069 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
81070 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
81071 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
81072 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
81073 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
81074 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
81075 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
81076 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
81077 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
81078 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
81079 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
81080 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
81081 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
81082 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
81083 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
81084 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
81085 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
81086 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
81087 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
81088 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
81089 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
81090 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
81091 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
81092 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
81093 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
81094 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
81095 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
81096 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
81097 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
81098 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
81099 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
81100 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
81101 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
81102 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
81103 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81104 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81105 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
81106 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
81107 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
81108 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
81109 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
81110 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
81111 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
81112 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
81113 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
81114 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81115 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81116 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
81117 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81118 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81119 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81120 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81121 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81122 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81123 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
81124 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81125 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
81126 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
81127 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
81128 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
81129 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
81130 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
81131 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
81132 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
81133 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
81134 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
81135 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
81136 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
81137 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
81138 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81139 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81140 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
81141 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
81142 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
81143 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
81144 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
81145 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81146 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
81147 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
81148 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
81149 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
81151 LTCC='$LTCC'
81152 LTCFLAGS='$LTCFLAGS'
81153 compiler='$compiler_DEFAULT'
81155 # A function that is used when there is no print builtin or printf.
81156 func_fallback_echo ()
81158 eval 'cat <<_LTECHO_EOF
81160 _LTECHO_EOF'
81163 # Quote evaled strings.
81164 for var in SHELL \
81165 ECHO \
81166 SED \
81167 GREP \
81168 EGREP \
81169 FGREP \
81170 LD \
81171 NM \
81172 LN_S \
81173 lt_SP2NL \
81174 lt_NL2SP \
81175 reload_flag \
81176 OBJDUMP \
81177 deplibs_check_method \
81178 file_magic_cmd \
81179 AR \
81180 AR_FLAGS \
81181 STRIP \
81182 RANLIB \
81183 CC \
81184 CFLAGS \
81185 compiler \
81186 lt_cv_sys_global_symbol_pipe \
81187 lt_cv_sys_global_symbol_to_cdecl \
81188 lt_cv_sys_global_symbol_to_c_name_address \
81189 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
81190 lt_prog_compiler_no_builtin_flag \
81191 lt_prog_compiler_wl \
81192 lt_prog_compiler_pic \
81193 lt_prog_compiler_static \
81194 lt_cv_prog_compiler_c_o \
81195 need_locks \
81196 DSYMUTIL \
81197 NMEDIT \
81198 LIPO \
81199 OTOOL \
81200 OTOOL64 \
81201 shrext_cmds \
81202 export_dynamic_flag_spec \
81203 whole_archive_flag_spec \
81204 compiler_needs_object \
81205 with_gnu_ld \
81206 allow_undefined_flag \
81207 no_undefined_flag \
81208 hardcode_libdir_flag_spec \
81209 hardcode_libdir_flag_spec_ld \
81210 hardcode_libdir_separator \
81211 fix_srcfile_path \
81212 exclude_expsyms \
81213 include_expsyms \
81214 file_list_spec \
81215 variables_saved_for_relink \
81216 libname_spec \
81217 library_names_spec \
81218 soname_spec \
81219 install_override_mode \
81220 finish_eval \
81221 old_striplib \
81222 striplib \
81223 compiler_lib_search_dirs \
81224 predep_objects \
81225 postdep_objects \
81226 predeps \
81227 postdeps \
81228 compiler_lib_search_path \
81229 LD_CXX \
81230 reload_flag_CXX \
81231 compiler_CXX \
81232 lt_prog_compiler_no_builtin_flag_CXX \
81233 lt_prog_compiler_wl_CXX \
81234 lt_prog_compiler_pic_CXX \
81235 lt_prog_compiler_static_CXX \
81236 lt_cv_prog_compiler_c_o_CXX \
81237 export_dynamic_flag_spec_CXX \
81238 whole_archive_flag_spec_CXX \
81239 compiler_needs_object_CXX \
81240 with_gnu_ld_CXX \
81241 allow_undefined_flag_CXX \
81242 no_undefined_flag_CXX \
81243 hardcode_libdir_flag_spec_CXX \
81244 hardcode_libdir_flag_spec_ld_CXX \
81245 hardcode_libdir_separator_CXX \
81246 fix_srcfile_path_CXX \
81247 exclude_expsyms_CXX \
81248 include_expsyms_CXX \
81249 file_list_spec_CXX \
81250 compiler_lib_search_dirs_CXX \
81251 predep_objects_CXX \
81252 postdep_objects_CXX \
81253 predeps_CXX \
81254 postdeps_CXX \
81255 compiler_lib_search_path_CXX; do
81256 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81257 *[\\\\\\\`\\"\\\$]*)
81258 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
81261 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81263 esac
81264 done
81266 # Double-quote double-evaled strings.
81267 for var in reload_cmds \
81268 old_postinstall_cmds \
81269 old_postuninstall_cmds \
81270 old_archive_cmds \
81271 extract_expsyms_cmds \
81272 old_archive_from_new_cmds \
81273 old_archive_from_expsyms_cmds \
81274 archive_cmds \
81275 archive_expsym_cmds \
81276 module_cmds \
81277 module_expsym_cmds \
81278 export_symbols_cmds \
81279 prelink_cmds \
81280 postinstall_cmds \
81281 postuninstall_cmds \
81282 finish_cmds \
81283 sys_lib_search_path_spec \
81284 sys_lib_dlsearch_path_spec \
81285 reload_cmds_CXX \
81286 old_archive_cmds_CXX \
81287 old_archive_from_new_cmds_CXX \
81288 old_archive_from_expsyms_cmds_CXX \
81289 archive_cmds_CXX \
81290 archive_expsym_cmds_CXX \
81291 module_cmds_CXX \
81292 module_expsym_cmds_CXX \
81293 export_symbols_cmds_CXX \
81294 prelink_cmds_CXX; do
81295 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
81296 *[\\\\\\\`\\"\\\$]*)
81297 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
81300 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
81302 esac
81303 done
81305 ac_aux_dir='$ac_aux_dir'
81306 xsi_shell='$xsi_shell'
81307 lt_shell_append='$lt_shell_append'
81309 # See if we are running on zsh, and set the options which allow our
81310 # commands through without removal of \ escapes INIT.
81311 if test -n "\${ZSH_VERSION+set}" ; then
81312 setopt NO_GLOB_SUBST
81316 PACKAGE='$PACKAGE'
81317 VERSION='$VERSION'
81318 TIMESTAMP='$TIMESTAMP'
81319 RM='$RM'
81320 ofile='$ofile'
81327 GCC="$GCC"
81328 CC="$CC"
81329 acx_cv_header_stdint="$acx_cv_header_stdint"
81330 acx_cv_type_int8_t="$acx_cv_type_int8_t"
81331 acx_cv_type_int16_t="$acx_cv_type_int16_t"
81332 acx_cv_type_int32_t="$acx_cv_type_int32_t"
81333 acx_cv_type_int64_t="$acx_cv_type_int64_t"
81334 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
81335 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
81336 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
81337 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
81338 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
81339 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
81340 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
81341 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
81342 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
81345 _ACEOF
81347 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81349 # Handling of arguments.
81350 for ac_config_target in $ac_config_targets
81352 case $ac_config_target in
81353 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
81354 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
81355 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
81356 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
81357 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
81358 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
81359 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
81360 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
81361 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
81362 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
81363 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
81364 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
81365 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
81366 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
81367 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
81368 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
81369 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
81370 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
81371 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
81373 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
81374 esac
81375 done
81378 # If the user did not use the arguments to specify the items to instantiate,
81379 # then the envvar interface is used. Set only those that are not.
81380 # We use the long form for the default assignment because of an extremely
81381 # bizarre bug on SunOS 4.1.3.
81382 if $ac_need_defaults; then
81383 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
81384 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
81385 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
81388 # Have a temporary directory for convenience. Make it in the build tree
81389 # simply because there is no reason against having it here, and in addition,
81390 # creating and moving files from /tmp can sometimes cause problems.
81391 # Hook for its removal unless debugging.
81392 # Note that there is a small window in which the directory will not be cleaned:
81393 # after its creation but before its name has been assigned to `$tmp'.
81394 $debug ||
81396 tmp=
81397 trap 'exit_status=$?
81398 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
81400 trap 'as_fn_exit 1' 1 2 13 15
81402 # Create a (secure) tmp directory for tmp files.
81405 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
81406 test -n "$tmp" && test -d "$tmp"
81407 } ||
81409 tmp=./conf$$-$RANDOM
81410 (umask 077 && mkdir "$tmp")
81411 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
81413 # Set up the scripts for CONFIG_FILES section.
81414 # No need to generate them if there are no CONFIG_FILES.
81415 # This happens for instance with `./config.status config.h'.
81416 if test -n "$CONFIG_FILES"; then
81419 ac_cr=`echo X | tr X '\015'`
81420 # On cygwin, bash can eat \r inside `` if the user requested igncr.
81421 # But we know of no other shell where ac_cr would be empty at this
81422 # point, so we can use a bashism as a fallback.
81423 if test "x$ac_cr" = x; then
81424 eval ac_cr=\$\'\\r\'
81426 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
81427 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
81428 ac_cs_awk_cr='\r'
81429 else
81430 ac_cs_awk_cr=$ac_cr
81433 echo 'BEGIN {' >"$tmp/subs1.awk" &&
81434 _ACEOF
81438 echo "cat >conf$$subs.awk <<_ACEOF" &&
81439 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
81440 echo "_ACEOF"
81441 } >conf$$subs.sh ||
81442 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81443 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
81444 ac_delim='%!_!# '
81445 for ac_last_try in false false false false false :; do
81446 . ./conf$$subs.sh ||
81447 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81449 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
81450 if test $ac_delim_n = $ac_delim_num; then
81451 break
81452 elif $ac_last_try; then
81453 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
81454 else
81455 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81457 done
81458 rm -f conf$$subs.sh
81460 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81461 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
81462 _ACEOF
81463 sed -n '
81465 s/^/S["/; s/!.*/"]=/
81468 s/^[^!]*!//
81469 :repl
81470 t repl
81471 s/'"$ac_delim"'$//
81472 t delim
81475 s/\(.\{148\}\).*/\1/
81476 t more1
81477 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
81480 b repl
81481 :more1
81482 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81485 s/.\{148\}//
81486 t nl
81487 :delim
81489 s/\(.\{148\}\).*/\1/
81490 t more2
81491 s/["\\]/\\&/g; s/^/"/; s/$/"/
81494 :more2
81495 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
81498 s/.\{148\}//
81499 t delim
81500 ' <conf$$subs.awk | sed '
81501 /^[^""]/{
81503 s/\n//
81505 ' >>$CONFIG_STATUS || ac_write_fail=1
81506 rm -f conf$$subs.awk
81507 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81508 _ACAWK
81509 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
81510 for (key in S) S_is_set[key] = 1
81511 FS = "\a"
81515 line = $ 0
81516 nfields = split(line, field, "@")
81517 substed = 0
81518 len = length(field[1])
81519 for (i = 2; i < nfields; i++) {
81520 key = field[i]
81521 keylen = length(key)
81522 if (S_is_set[key]) {
81523 value = S[key]
81524 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
81525 len += length(value) + length(field[++i])
81526 substed = 1
81527 } else
81528 len += 1 + keylen
81531 print line
81534 _ACAWK
81535 _ACEOF
81536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81537 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
81538 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
81539 else
81541 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
81542 || as_fn_error "could not setup config files machinery" "$LINENO" 5
81543 _ACEOF
81545 # VPATH may cause trouble with some makes, so we remove $(srcdir),
81546 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
81547 # trailing colons and then remove the whole line if VPATH becomes empty
81548 # (actually we leave an empty line to preserve line numbers).
81549 if test "x$srcdir" = x.; then
81550 ac_vpsub='/^[ ]*VPATH[ ]*=/{
81551 s/:*\$(srcdir):*/:/
81552 s/:*\${srcdir}:*/:/
81553 s/:*@srcdir@:*/:/
81554 s/^\([^=]*=[ ]*\):*/\1/
81555 s/:*$//
81556 s/^[^=]*=[ ]*$//
81560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81561 fi # test -n "$CONFIG_FILES"
81563 # Set up the scripts for CONFIG_HEADERS section.
81564 # No need to generate them if there are no CONFIG_HEADERS.
81565 # This happens for instance with `./config.status Makefile'.
81566 if test -n "$CONFIG_HEADERS"; then
81567 cat >"$tmp/defines.awk" <<\_ACAWK ||
81568 BEGIN {
81569 _ACEOF
81571 # Transform confdefs.h into an awk script `defines.awk', embedded as
81572 # here-document in config.status, that substitutes the proper values into
81573 # config.h.in to produce config.h.
81575 # Create a delimiter string that does not exist in confdefs.h, to ease
81576 # handling of long lines.
81577 ac_delim='%!_!# '
81578 for ac_last_try in false false :; do
81579 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
81580 if test -z "$ac_t"; then
81581 break
81582 elif $ac_last_try; then
81583 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
81584 else
81585 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
81587 done
81589 # For the awk script, D is an array of macro values keyed by name,
81590 # likewise P contains macro parameters if any. Preserve backslash
81591 # newline sequences.
81593 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
81594 sed -n '
81595 s/.\{148\}/&'"$ac_delim"'/g
81596 t rset
81597 :rset
81598 s/^[ ]*#[ ]*define[ ][ ]*/ /
81599 t def
81601 :def
81602 s/\\$//
81603 t bsnl
81604 s/["\\]/\\&/g
81605 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81606 D["\1"]=" \3"/p
81607 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
81609 :bsnl
81610 s/["\\]/\\&/g
81611 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
81612 D["\1"]=" \3\\\\\\n"\\/p
81613 t cont
81614 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
81615 t cont
81617 :cont
81619 s/.\{148\}/&'"$ac_delim"'/g
81620 t clear
81621 :clear
81622 s/\\$//
81623 t bsnlc
81624 s/["\\]/\\&/g; s/^/"/; s/$/"/p
81626 :bsnlc
81627 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
81628 b cont
81629 ' <confdefs.h | sed '
81630 s/'"$ac_delim"'/"\\\
81631 "/g' >>$CONFIG_STATUS || ac_write_fail=1
81633 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81634 for (key in D) D_is_set[key] = 1
81635 FS = "\a"
81637 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
81638 line = \$ 0
81639 split(line, arg, " ")
81640 if (arg[1] == "#") {
81641 defundef = arg[2]
81642 mac1 = arg[3]
81643 } else {
81644 defundef = substr(arg[1], 2)
81645 mac1 = arg[2]
81647 split(mac1, mac2, "(") #)
81648 macro = mac2[1]
81649 prefix = substr(line, 1, index(line, defundef) - 1)
81650 if (D_is_set[macro]) {
81651 # Preserve the white space surrounding the "#".
81652 print prefix "define", macro P[macro] D[macro]
81653 next
81654 } else {
81655 # Replace #undef with comments. This is necessary, for example,
81656 # in the case of _POSIX_SOURCE, which is predefined and required
81657 # on some systems where configure will not decide to define it.
81658 if (defundef == "undef") {
81659 print "/*", prefix defundef, macro, "*/"
81660 next
81664 { print }
81665 _ACAWK
81666 _ACEOF
81667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81668 as_fn_error "could not setup config headers machinery" "$LINENO" 5
81669 fi # test -n "$CONFIG_HEADERS"
81672 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
81673 shift
81674 for ac_tag
81676 case $ac_tag in
81677 :[FHLC]) ac_mode=$ac_tag; continue;;
81678 esac
81679 case $ac_mode$ac_tag in
81680 :[FHL]*:*);;
81681 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
81682 :[FH]-) ac_tag=-:-;;
81683 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
81684 esac
81685 ac_save_IFS=$IFS
81686 IFS=:
81687 set x $ac_tag
81688 IFS=$ac_save_IFS
81689 shift
81690 ac_file=$1
81691 shift
81693 case $ac_mode in
81694 :L) ac_source=$1;;
81695 :[FH])
81696 ac_file_inputs=
81697 for ac_f
81699 case $ac_f in
81700 -) ac_f="$tmp/stdin";;
81701 *) # Look for the file first in the build tree, then in the source tree
81702 # (if the path is not absolute). The absolute path cannot be DOS-style,
81703 # because $ac_f cannot contain `:'.
81704 test -f "$ac_f" ||
81705 case $ac_f in
81706 [\\/$]*) false;;
81707 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
81708 esac ||
81709 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
81710 esac
81711 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
81712 as_fn_append ac_file_inputs " '$ac_f'"
81713 done
81715 # Let's still pretend it is `configure' which instantiates (i.e., don't
81716 # use $as_me), people would be surprised to read:
81717 # /* config.h. Generated by config.status. */
81718 configure_input='Generated from '`
81719 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
81720 `' by configure.'
81721 if test x"$ac_file" != x-; then
81722 configure_input="$ac_file. $configure_input"
81723 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
81724 $as_echo "$as_me: creating $ac_file" >&6;}
81726 # Neutralize special characters interpreted by sed in replacement strings.
81727 case $configure_input in #(
81728 *\&* | *\|* | *\\* )
81729 ac_sed_conf_input=`$as_echo "$configure_input" |
81730 sed 's/[\\\\&|]/\\\\&/g'`;; #(
81731 *) ac_sed_conf_input=$configure_input;;
81732 esac
81734 case $ac_tag in
81735 *:-:* | *:-) cat >"$tmp/stdin" \
81736 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
81737 esac
81739 esac
81741 ac_dir=`$as_dirname -- "$ac_file" ||
81742 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81743 X"$ac_file" : 'X\(//\)[^/]' \| \
81744 X"$ac_file" : 'X\(//\)$' \| \
81745 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
81746 $as_echo X"$ac_file" |
81747 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81748 s//\1/
81751 /^X\(\/\/\)[^/].*/{
81752 s//\1/
81755 /^X\(\/\/\)$/{
81756 s//\1/
81759 /^X\(\/\).*/{
81760 s//\1/
81763 s/.*/./; q'`
81764 as_dir="$ac_dir"; as_fn_mkdir_p
81765 ac_builddir=.
81767 case "$ac_dir" in
81768 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
81770 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
81771 # A ".." for each directory in $ac_dir_suffix.
81772 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
81773 case $ac_top_builddir_sub in
81774 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
81775 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
81776 esac ;;
81777 esac
81778 ac_abs_top_builddir=$ac_pwd
81779 ac_abs_builddir=$ac_pwd$ac_dir_suffix
81780 # for backward compatibility:
81781 ac_top_builddir=$ac_top_build_prefix
81783 case $srcdir in
81784 .) # We are building in place.
81785 ac_srcdir=.
81786 ac_top_srcdir=$ac_top_builddir_sub
81787 ac_abs_top_srcdir=$ac_pwd ;;
81788 [\\/]* | ?:[\\/]* ) # Absolute name.
81789 ac_srcdir=$srcdir$ac_dir_suffix;
81790 ac_top_srcdir=$srcdir
81791 ac_abs_top_srcdir=$srcdir ;;
81792 *) # Relative name.
81793 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
81794 ac_top_srcdir=$ac_top_build_prefix$srcdir
81795 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
81796 esac
81797 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
81800 case $ac_mode in
81803 # CONFIG_FILE
81806 case $INSTALL in
81807 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
81808 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
81809 esac
81810 ac_MKDIR_P=$MKDIR_P
81811 case $MKDIR_P in
81812 [\\/$]* | ?:[\\/]* ) ;;
81813 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
81814 esac
81815 _ACEOF
81817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81818 # If the template does not know about datarootdir, expand it.
81819 # FIXME: This hack should be removed a few years after 2.60.
81820 ac_datarootdir_hack=; ac_datarootdir_seen=
81821 ac_sed_dataroot='
81822 /datarootdir/ {
81826 /@datadir@/p
81827 /@docdir@/p
81828 /@infodir@/p
81829 /@localedir@/p
81830 /@mandir@/p'
81831 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
81832 *datarootdir*) ac_datarootdir_seen=yes;;
81833 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
81834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
81835 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
81836 _ACEOF
81837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81838 ac_datarootdir_hack='
81839 s&@datadir@&$datadir&g
81840 s&@docdir@&$docdir&g
81841 s&@infodir@&$infodir&g
81842 s&@localedir@&$localedir&g
81843 s&@mandir@&$mandir&g
81844 s&\\\${datarootdir}&$datarootdir&g' ;;
81845 esac
81846 _ACEOF
81848 # Neutralize VPATH when `$srcdir' = `.'.
81849 # Shell code in configure.ac might set extrasub.
81850 # FIXME: do we really want to maintain this feature?
81851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
81852 ac_sed_extra="$ac_vpsub
81853 $extrasub
81854 _ACEOF
81855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
81857 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
81858 s|@configure_input@|$ac_sed_conf_input|;t t
81859 s&@top_builddir@&$ac_top_builddir_sub&;t t
81860 s&@top_build_prefix@&$ac_top_build_prefix&;t t
81861 s&@srcdir@&$ac_srcdir&;t t
81862 s&@abs_srcdir@&$ac_abs_srcdir&;t t
81863 s&@top_srcdir@&$ac_top_srcdir&;t t
81864 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
81865 s&@builddir@&$ac_builddir&;t t
81866 s&@abs_builddir@&$ac_abs_builddir&;t t
81867 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
81868 s&@INSTALL@&$ac_INSTALL&;t t
81869 s&@MKDIR_P@&$ac_MKDIR_P&;t t
81870 $ac_datarootdir_hack
81872 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
81873 || as_fn_error "could not create $ac_file" "$LINENO" 5
81875 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
81876 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
81877 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
81878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81879 which seems to be undefined. Please make sure it is defined." >&5
81880 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
81881 which seems to be undefined. Please make sure it is defined." >&2;}
81883 rm -f "$tmp/stdin"
81884 case $ac_file in
81885 -) cat "$tmp/out" && rm -f "$tmp/out";;
81886 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
81887 esac \
81888 || as_fn_error "could not create $ac_file" "$LINENO" 5
81892 # CONFIG_HEADER
81894 if test x"$ac_file" != x-; then
81896 $as_echo "/* $configure_input */" \
81897 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
81898 } >"$tmp/config.h" \
81899 || as_fn_error "could not create $ac_file" "$LINENO" 5
81900 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
81901 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
81902 $as_echo "$as_me: $ac_file is unchanged" >&6;}
81903 else
81904 rm -f "$ac_file"
81905 mv "$tmp/config.h" "$ac_file" \
81906 || as_fn_error "could not create $ac_file" "$LINENO" 5
81908 else
81909 $as_echo "/* $configure_input */" \
81910 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
81911 || as_fn_error "could not create -" "$LINENO" 5
81913 # Compute "$ac_file"'s index in $config_headers.
81914 _am_arg="$ac_file"
81915 _am_stamp_count=1
81916 for _am_header in $config_headers :; do
81917 case $_am_header in
81918 $_am_arg | $_am_arg:* )
81919 break ;;
81921 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
81922 esac
81923 done
81924 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
81925 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81926 X"$_am_arg" : 'X\(//\)[^/]' \| \
81927 X"$_am_arg" : 'X\(//\)$' \| \
81928 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
81929 $as_echo X"$_am_arg" |
81930 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81931 s//\1/
81934 /^X\(\/\/\)[^/].*/{
81935 s//\1/
81938 /^X\(\/\/\)$/{
81939 s//\1/
81942 /^X\(\/\).*/{
81943 s//\1/
81946 s/.*/./; q'`/stamp-h$_am_stamp_count
81949 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
81950 $as_echo "$as_me: executing $ac_file commands" >&6;}
81952 esac
81955 case $ac_file$ac_mode in
81956 "default-1":C)
81957 # Only add multilib support code if we just rebuilt the top-level
81958 # Makefile.
81959 case " $CONFIG_FILES " in
81960 *" Makefile "*)
81961 ac_file=Makefile . ${multi_basedir}/config-ml.in
81963 esac ;;
81964 "libtool":C)
81966 # See if we are running on zsh, and set the options which allow our
81967 # commands through without removal of \ escapes.
81968 if test -n "${ZSH_VERSION+set}" ; then
81969 setopt NO_GLOB_SUBST
81972 cfgfile="${ofile}T"
81973 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
81974 $RM "$cfgfile"
81976 cat <<_LT_EOF >> "$cfgfile"
81977 #! $SHELL
81979 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
81980 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
81981 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
81982 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
81984 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
81985 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
81986 # Written by Gordon Matzigkeit, 1996
81988 # This file is part of GNU Libtool.
81990 # GNU Libtool is free software; you can redistribute it and/or
81991 # modify it under the terms of the GNU General Public License as
81992 # published by the Free Software Foundation; either version 2 of
81993 # the License, or (at your option) any later version.
81995 # As a special exception to the GNU General Public License,
81996 # if you distribute this file as part of a program or library that
81997 # is built using GNU Libtool, you may include this file under the
81998 # same distribution terms that you use for the rest of that program.
82000 # GNU Libtool is distributed in the hope that it will be useful,
82001 # but WITHOUT ANY WARRANTY; without even the implied warranty of
82002 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
82003 # GNU General Public License for more details.
82005 # You should have received a copy of the GNU General Public License
82006 # along with GNU Libtool; see the file COPYING. If not, a copy
82007 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
82008 # obtained by writing to the Free Software Foundation, Inc.,
82009 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
82012 # The names of the tagged configurations supported by this script.
82013 available_tags="CXX "
82015 # ### BEGIN LIBTOOL CONFIG
82017 # Which release of libtool.m4 was used?
82018 macro_version=$macro_version
82019 macro_revision=$macro_revision
82021 # Whether or not to build shared libraries.
82022 build_libtool_libs=$enable_shared
82024 # Whether or not to build static libraries.
82025 build_old_libs=$enable_static
82027 # What type of objects to build.
82028 pic_mode=$pic_mode
82030 # Whether or not to optimize for fast installation.
82031 fast_install=$enable_fast_install
82033 # Shell to use when invoking shell scripts.
82034 SHELL=$lt_SHELL
82036 # An echo program that protects backslashes.
82037 ECHO=$lt_ECHO
82039 # The host system.
82040 host_alias=$host_alias
82041 host=$host
82042 host_os=$host_os
82044 # The build system.
82045 build_alias=$build_alias
82046 build=$build
82047 build_os=$build_os
82049 # A sed program that does not truncate output.
82050 SED=$lt_SED
82052 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
82053 Xsed="\$SED -e 1s/^X//"
82055 # A grep program that handles long lines.
82056 GREP=$lt_GREP
82058 # An ERE matcher.
82059 EGREP=$lt_EGREP
82061 # A literal string matcher.
82062 FGREP=$lt_FGREP
82064 # A BSD- or MS-compatible name lister.
82065 NM=$lt_NM
82067 # Whether we need soft or hard links.
82068 LN_S=$lt_LN_S
82070 # What is the maximum length of a command?
82071 max_cmd_len=$max_cmd_len
82073 # Object file suffix (normally "o").
82074 objext=$ac_objext
82076 # Executable file suffix (normally "").
82077 exeext=$exeext
82079 # whether the shell understands "unset".
82080 lt_unset=$lt_unset
82082 # turn spaces into newlines.
82083 SP2NL=$lt_lt_SP2NL
82085 # turn newlines into spaces.
82086 NL2SP=$lt_lt_NL2SP
82088 # An object symbol dumper.
82089 OBJDUMP=$lt_OBJDUMP
82091 # Method to check whether dependent libraries are shared objects.
82092 deplibs_check_method=$lt_deplibs_check_method
82094 # Command to use when deplibs_check_method == "file_magic".
82095 file_magic_cmd=$lt_file_magic_cmd
82097 # The archiver.
82098 AR=$lt_AR
82099 AR_FLAGS=$lt_AR_FLAGS
82101 # A symbol stripping program.
82102 STRIP=$lt_STRIP
82104 # Commands used to install an old-style archive.
82105 RANLIB=$lt_RANLIB
82106 old_postinstall_cmds=$lt_old_postinstall_cmds
82107 old_postuninstall_cmds=$lt_old_postuninstall_cmds
82109 # Whether to use a lock for old archive extraction.
82110 lock_old_archive_extraction=$lock_old_archive_extraction
82112 # A C compiler.
82113 LTCC=$lt_CC
82115 # LTCC compiler flags.
82116 LTCFLAGS=$lt_CFLAGS
82118 # Take the output of nm and produce a listing of raw symbols and C names.
82119 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
82121 # Transform the output of nm in a proper C declaration.
82122 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
82124 # Transform the output of nm in a C name address pair.
82125 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
82127 # Transform the output of nm in a C name address pair when lib prefix is needed.
82128 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
82130 # The name of the directory that contains temporary libtool files.
82131 objdir=$objdir
82133 # Used to examine libraries when file_magic_cmd begins with "file".
82134 MAGIC_CMD=$MAGIC_CMD
82136 # Must we lock files when doing compilation?
82137 need_locks=$lt_need_locks
82139 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
82140 DSYMUTIL=$lt_DSYMUTIL
82142 # Tool to change global to local symbols on Mac OS X.
82143 NMEDIT=$lt_NMEDIT
82145 # Tool to manipulate fat objects and archives on Mac OS X.
82146 LIPO=$lt_LIPO
82148 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
82149 OTOOL=$lt_OTOOL
82151 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
82152 OTOOL64=$lt_OTOOL64
82154 # Old archive suffix (normally "a").
82155 libext=$libext
82157 # Shared library suffix (normally ".so").
82158 shrext_cmds=$lt_shrext_cmds
82160 # The commands to extract the exported symbol list from a shared archive.
82161 extract_expsyms_cmds=$lt_extract_expsyms_cmds
82163 # Variables whose values should be saved in libtool wrapper scripts and
82164 # restored at link time.
82165 variables_saved_for_relink=$lt_variables_saved_for_relink
82167 # Do we need the "lib" prefix for modules?
82168 need_lib_prefix=$need_lib_prefix
82170 # Do we need a version for libraries?
82171 need_version=$need_version
82173 # Library versioning type.
82174 version_type=$version_type
82176 # Shared library runtime path variable.
82177 runpath_var=$runpath_var
82179 # Shared library path variable.
82180 shlibpath_var=$shlibpath_var
82182 # Is shlibpath searched before the hard-coded library search path?
82183 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
82185 # Format of library name prefix.
82186 libname_spec=$lt_libname_spec
82188 # List of archive names. First name is the real one, the rest are links.
82189 # The last name is the one that the linker finds with -lNAME
82190 library_names_spec=$lt_library_names_spec
82192 # The coded name of the library, if different from the real name.
82193 soname_spec=$lt_soname_spec
82195 # Permission mode override for installation of shared libraries.
82196 install_override_mode=$lt_install_override_mode
82198 # Command to use after installation of a shared archive.
82199 postinstall_cmds=$lt_postinstall_cmds
82201 # Command to use after uninstallation of a shared archive.
82202 postuninstall_cmds=$lt_postuninstall_cmds
82204 # Commands used to finish a libtool library installation in a directory.
82205 finish_cmds=$lt_finish_cmds
82207 # As "finish_cmds", except a single script fragment to be evaled but
82208 # not shown.
82209 finish_eval=$lt_finish_eval
82211 # Whether we should hardcode library paths into libraries.
82212 hardcode_into_libs=$hardcode_into_libs
82214 # Compile-time system search path for libraries.
82215 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
82217 # Run-time system search path for libraries.
82218 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
82220 # Whether dlopen is supported.
82221 dlopen_support=$enable_dlopen
82223 # Whether dlopen of programs is supported.
82224 dlopen_self=$enable_dlopen_self
82226 # Whether dlopen of statically linked programs is supported.
82227 dlopen_self_static=$enable_dlopen_self_static
82229 # Commands to strip libraries.
82230 old_striplib=$lt_old_striplib
82231 striplib=$lt_striplib
82234 # The linker used to build libraries.
82235 LD=$lt_LD
82237 # How to create reloadable object files.
82238 reload_flag=$lt_reload_flag
82239 reload_cmds=$lt_reload_cmds
82241 # Commands used to build an old-style archive.
82242 old_archive_cmds=$lt_old_archive_cmds
82244 # A language specific compiler.
82245 CC=$lt_compiler
82247 # Is the compiler the GNU compiler?
82248 with_gcc=$GCC
82250 # Compiler flag to turn off builtin functions.
82251 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
82253 # How to pass a linker flag through the compiler.
82254 wl=$lt_lt_prog_compiler_wl
82256 # Additional compiler flags for building library objects.
82257 pic_flag=$lt_lt_prog_compiler_pic
82259 # Compiler flag to prevent dynamic linking.
82260 link_static_flag=$lt_lt_prog_compiler_static
82262 # Does compiler simultaneously support -c and -o options?
82263 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
82265 # Whether or not to add -lc for building shared libraries.
82266 build_libtool_need_lc=$archive_cmds_need_lc
82268 # Whether or not to disallow shared libs when runtime libs are static.
82269 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
82271 # Compiler flag to allow reflexive dlopens.
82272 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
82274 # Compiler flag to generate shared objects directly from archives.
82275 whole_archive_flag_spec=$lt_whole_archive_flag_spec
82277 # Whether the compiler copes with passing no objects directly.
82278 compiler_needs_object=$lt_compiler_needs_object
82280 # Create an old-style archive from a shared archive.
82281 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
82283 # Create a temporary old-style archive to link instead of a shared archive.
82284 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
82286 # Commands used to build a shared archive.
82287 archive_cmds=$lt_archive_cmds
82288 archive_expsym_cmds=$lt_archive_expsym_cmds
82290 # Commands used to build a loadable module if different from building
82291 # a shared archive.
82292 module_cmds=$lt_module_cmds
82293 module_expsym_cmds=$lt_module_expsym_cmds
82295 # Whether we are building with GNU ld or not.
82296 with_gnu_ld=$lt_with_gnu_ld
82298 # Flag that allows shared libraries with undefined symbols to be built.
82299 allow_undefined_flag=$lt_allow_undefined_flag
82301 # Flag that enforces no undefined symbols.
82302 no_undefined_flag=$lt_no_undefined_flag
82304 # Flag to hardcode \$libdir into a binary during linking.
82305 # This must work even if \$libdir does not exist
82306 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
82308 # If ld is used when linking, flag to hardcode \$libdir into a binary
82309 # during linking. This must work even if \$libdir does not exist.
82310 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
82312 # Whether we need a single "-rpath" flag with a separated argument.
82313 hardcode_libdir_separator=$lt_hardcode_libdir_separator
82315 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82316 # DIR into the resulting binary.
82317 hardcode_direct=$hardcode_direct
82319 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82320 # DIR into the resulting binary and the resulting library dependency is
82321 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82322 # library is relocated.
82323 hardcode_direct_absolute=$hardcode_direct_absolute
82325 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82326 # into the resulting binary.
82327 hardcode_minus_L=$hardcode_minus_L
82329 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82330 # into the resulting binary.
82331 hardcode_shlibpath_var=$hardcode_shlibpath_var
82333 # Set to "yes" if building a shared library automatically hardcodes DIR
82334 # into the library and all subsequent libraries and executables linked
82335 # against it.
82336 hardcode_automatic=$hardcode_automatic
82338 # Set to yes if linker adds runtime paths of dependent libraries
82339 # to runtime path list.
82340 inherit_rpath=$inherit_rpath
82342 # Whether libtool must link a program against all its dependency libraries.
82343 link_all_deplibs=$link_all_deplibs
82345 # Fix the shell variable \$srcfile for the compiler.
82346 fix_srcfile_path=$lt_fix_srcfile_path
82348 # Set to "yes" if exported symbols are required.
82349 always_export_symbols=$always_export_symbols
82351 # The commands to list exported symbols.
82352 export_symbols_cmds=$lt_export_symbols_cmds
82354 # Symbols that should not be listed in the preloaded symbols.
82355 exclude_expsyms=$lt_exclude_expsyms
82357 # Symbols that must always be exported.
82358 include_expsyms=$lt_include_expsyms
82360 # Commands necessary for linking programs (against libraries) with templates.
82361 prelink_cmds=$lt_prelink_cmds
82363 # Specify filename containing input files.
82364 file_list_spec=$lt_file_list_spec
82366 # How to hardcode a shared library path into an executable.
82367 hardcode_action=$hardcode_action
82369 # The directories searched by this compiler when creating a shared library.
82370 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
82372 # Dependencies to place before and after the objects being linked to
82373 # create a shared library.
82374 predep_objects=$lt_predep_objects
82375 postdep_objects=$lt_postdep_objects
82376 predeps=$lt_predeps
82377 postdeps=$lt_postdeps
82379 # The library search path used internally by the compiler when linking
82380 # a shared library.
82381 compiler_lib_search_path=$lt_compiler_lib_search_path
82383 # ### END LIBTOOL CONFIG
82385 _LT_EOF
82387 case $host_os in
82388 aix3*)
82389 cat <<\_LT_EOF >> "$cfgfile"
82390 # AIX sometimes has problems with the GCC collect2 program. For some
82391 # reason, if we set the COLLECT_NAMES environment variable, the problems
82392 # vanish in a puff of smoke.
82393 if test "X${COLLECT_NAMES+set}" != Xset; then
82394 COLLECT_NAMES=
82395 export COLLECT_NAMES
82397 _LT_EOF
82399 esac
82402 ltmain="$ac_aux_dir/ltmain.sh"
82405 # We use sed instead of cat because bash on DJGPP gets confused if
82406 # if finds mixed CR/LF and LF-only lines. Since sed operates in
82407 # text mode, it properly converts lines to CR/LF. This bash problem
82408 # is reportedly fixed, but why not run on old versions too?
82409 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
82410 || (rm -f "$cfgfile"; exit 1)
82412 case $xsi_shell in
82413 yes)
82414 cat << \_LT_EOF >> "$cfgfile"
82416 # func_dirname file append nondir_replacement
82417 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82418 # otherwise set result to NONDIR_REPLACEMENT.
82419 func_dirname ()
82421 case ${1} in
82422 */*) func_dirname_result="${1%/*}${2}" ;;
82423 * ) func_dirname_result="${3}" ;;
82424 esac
82427 # func_basename file
82428 func_basename ()
82430 func_basename_result="${1##*/}"
82433 # func_dirname_and_basename file append nondir_replacement
82434 # perform func_basename and func_dirname in a single function
82435 # call:
82436 # dirname: Compute the dirname of FILE. If nonempty,
82437 # add APPEND to the result, otherwise set result
82438 # to NONDIR_REPLACEMENT.
82439 # value returned in "$func_dirname_result"
82440 # basename: Compute filename of FILE.
82441 # value retuned in "$func_basename_result"
82442 # Implementation must be kept synchronized with func_dirname
82443 # and func_basename. For efficiency, we do not delegate to
82444 # those functions but instead duplicate the functionality here.
82445 func_dirname_and_basename ()
82447 case ${1} in
82448 */*) func_dirname_result="${1%/*}${2}" ;;
82449 * ) func_dirname_result="${3}" ;;
82450 esac
82451 func_basename_result="${1##*/}"
82454 # func_stripname prefix suffix name
82455 # strip PREFIX and SUFFIX off of NAME.
82456 # PREFIX and SUFFIX must not contain globbing or regex special
82457 # characters, hashes, percent signs, but SUFFIX may contain a leading
82458 # dot (in which case that matches only a dot).
82459 func_stripname ()
82461 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
82462 # positional parameters, so assign one to ordinary parameter first.
82463 func_stripname_result=${3}
82464 func_stripname_result=${func_stripname_result#"${1}"}
82465 func_stripname_result=${func_stripname_result%"${2}"}
82468 # func_opt_split
82469 func_opt_split ()
82471 func_opt_split_opt=${1%%=*}
82472 func_opt_split_arg=${1#*=}
82475 # func_lo2o object
82476 func_lo2o ()
82478 case ${1} in
82479 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
82480 *) func_lo2o_result=${1} ;;
82481 esac
82484 # func_xform libobj-or-source
82485 func_xform ()
82487 func_xform_result=${1%.*}.lo
82490 # func_arith arithmetic-term...
82491 func_arith ()
82493 func_arith_result=$(( $* ))
82496 # func_len string
82497 # STRING may not start with a hyphen.
82498 func_len ()
82500 func_len_result=${#1}
82503 _LT_EOF
82505 *) # Bourne compatible functions.
82506 cat << \_LT_EOF >> "$cfgfile"
82508 # func_dirname file append nondir_replacement
82509 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
82510 # otherwise set result to NONDIR_REPLACEMENT.
82511 func_dirname ()
82513 # Extract subdirectory from the argument.
82514 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
82515 if test "X$func_dirname_result" = "X${1}"; then
82516 func_dirname_result="${3}"
82517 else
82518 func_dirname_result="$func_dirname_result${2}"
82522 # func_basename file
82523 func_basename ()
82525 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
82529 # func_stripname prefix suffix name
82530 # strip PREFIX and SUFFIX off of NAME.
82531 # PREFIX and SUFFIX must not contain globbing or regex special
82532 # characters, hashes, percent signs, but SUFFIX may contain a leading
82533 # dot (in which case that matches only a dot).
82534 # func_strip_suffix prefix name
82535 func_stripname ()
82537 case ${2} in
82538 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
82539 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
82540 esac
82543 # sed scripts:
82544 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
82545 my_sed_long_arg='1s/^-[^=]*=//'
82547 # func_opt_split
82548 func_opt_split ()
82550 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
82551 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
82554 # func_lo2o object
82555 func_lo2o ()
82557 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
82560 # func_xform libobj-or-source
82561 func_xform ()
82563 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
82566 # func_arith arithmetic-term...
82567 func_arith ()
82569 func_arith_result=`expr "$@"`
82572 # func_len string
82573 # STRING may not start with a hyphen.
82574 func_len ()
82576 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
82579 _LT_EOF
82580 esac
82582 case $lt_shell_append in
82583 yes)
82584 cat << \_LT_EOF >> "$cfgfile"
82586 # func_append var value
82587 # Append VALUE to the end of shell variable VAR.
82588 func_append ()
82590 eval "$1+=\$2"
82592 _LT_EOF
82595 cat << \_LT_EOF >> "$cfgfile"
82597 # func_append var value
82598 # Append VALUE to the end of shell variable VAR.
82599 func_append ()
82601 eval "$1=\$$1\$2"
82604 _LT_EOF
82606 esac
82609 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
82610 || (rm -f "$cfgfile"; exit 1)
82612 mv -f "$cfgfile" "$ofile" ||
82613 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
82614 chmod +x "$ofile"
82617 cat <<_LT_EOF >> "$ofile"
82619 # ### BEGIN LIBTOOL TAG CONFIG: CXX
82621 # The linker used to build libraries.
82622 LD=$lt_LD_CXX
82624 # How to create reloadable object files.
82625 reload_flag=$lt_reload_flag_CXX
82626 reload_cmds=$lt_reload_cmds_CXX
82628 # Commands used to build an old-style archive.
82629 old_archive_cmds=$lt_old_archive_cmds_CXX
82631 # A language specific compiler.
82632 CC=$lt_compiler_CXX
82634 # Is the compiler the GNU compiler?
82635 with_gcc=$GCC_CXX
82637 # Compiler flag to turn off builtin functions.
82638 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
82640 # How to pass a linker flag through the compiler.
82641 wl=$lt_lt_prog_compiler_wl_CXX
82643 # Additional compiler flags for building library objects.
82644 pic_flag=$lt_lt_prog_compiler_pic_CXX
82646 # Compiler flag to prevent dynamic linking.
82647 link_static_flag=$lt_lt_prog_compiler_static_CXX
82649 # Does compiler simultaneously support -c and -o options?
82650 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
82652 # Whether or not to add -lc for building shared libraries.
82653 build_libtool_need_lc=$archive_cmds_need_lc_CXX
82655 # Whether or not to disallow shared libs when runtime libs are static.
82656 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
82658 # Compiler flag to allow reflexive dlopens.
82659 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
82661 # Compiler flag to generate shared objects directly from archives.
82662 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
82664 # Whether the compiler copes with passing no objects directly.
82665 compiler_needs_object=$lt_compiler_needs_object_CXX
82667 # Create an old-style archive from a shared archive.
82668 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
82670 # Create a temporary old-style archive to link instead of a shared archive.
82671 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
82673 # Commands used to build a shared archive.
82674 archive_cmds=$lt_archive_cmds_CXX
82675 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
82677 # Commands used to build a loadable module if different from building
82678 # a shared archive.
82679 module_cmds=$lt_module_cmds_CXX
82680 module_expsym_cmds=$lt_module_expsym_cmds_CXX
82682 # Whether we are building with GNU ld or not.
82683 with_gnu_ld=$lt_with_gnu_ld_CXX
82685 # Flag that allows shared libraries with undefined symbols to be built.
82686 allow_undefined_flag=$lt_allow_undefined_flag_CXX
82688 # Flag that enforces no undefined symbols.
82689 no_undefined_flag=$lt_no_undefined_flag_CXX
82691 # Flag to hardcode \$libdir into a binary during linking.
82692 # This must work even if \$libdir does not exist
82693 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
82695 # If ld is used when linking, flag to hardcode \$libdir into a binary
82696 # during linking. This must work even if \$libdir does not exist.
82697 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
82699 # Whether we need a single "-rpath" flag with a separated argument.
82700 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
82702 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82703 # DIR into the resulting binary.
82704 hardcode_direct=$hardcode_direct_CXX
82706 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
82707 # DIR into the resulting binary and the resulting library dependency is
82708 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
82709 # library is relocated.
82710 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
82712 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
82713 # into the resulting binary.
82714 hardcode_minus_L=$hardcode_minus_L_CXX
82716 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
82717 # into the resulting binary.
82718 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
82720 # Set to "yes" if building a shared library automatically hardcodes DIR
82721 # into the library and all subsequent libraries and executables linked
82722 # against it.
82723 hardcode_automatic=$hardcode_automatic_CXX
82725 # Set to yes if linker adds runtime paths of dependent libraries
82726 # to runtime path list.
82727 inherit_rpath=$inherit_rpath_CXX
82729 # Whether libtool must link a program against all its dependency libraries.
82730 link_all_deplibs=$link_all_deplibs_CXX
82732 # Fix the shell variable \$srcfile for the compiler.
82733 fix_srcfile_path=$lt_fix_srcfile_path_CXX
82735 # Set to "yes" if exported symbols are required.
82736 always_export_symbols=$always_export_symbols_CXX
82738 # The commands to list exported symbols.
82739 export_symbols_cmds=$lt_export_symbols_cmds_CXX
82741 # Symbols that should not be listed in the preloaded symbols.
82742 exclude_expsyms=$lt_exclude_expsyms_CXX
82744 # Symbols that must always be exported.
82745 include_expsyms=$lt_include_expsyms_CXX
82747 # Commands necessary for linking programs (against libraries) with templates.
82748 prelink_cmds=$lt_prelink_cmds_CXX
82750 # Specify filename containing input files.
82751 file_list_spec=$lt_file_list_spec_CXX
82753 # How to hardcode a shared library path into an executable.
82754 hardcode_action=$hardcode_action_CXX
82756 # The directories searched by this compiler when creating a shared library.
82757 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
82759 # Dependencies to place before and after the objects being linked to
82760 # create a shared library.
82761 predep_objects=$lt_predep_objects_CXX
82762 postdep_objects=$lt_postdep_objects_CXX
82763 predeps=$lt_predeps_CXX
82764 postdeps=$lt_postdeps_CXX
82766 # The library search path used internally by the compiler when linking
82767 # a shared library.
82768 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
82770 # ### END LIBTOOL TAG CONFIG: CXX
82771 _LT_EOF
82774 "include/gstdint.h":C)
82775 if test "$GCC" = yes; then
82776 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
82777 else
82778 echo "/* generated for $CC */" > tmp-stdint.h
82781 sed 's/^ *//' >> tmp-stdint.h <<EOF
82783 #ifndef GCC_GENERATED_STDINT_H
82784 #define GCC_GENERATED_STDINT_H 1
82786 #include <sys/types.h>
82789 if test "$acx_cv_header_stdint" != stdint.h; then
82790 echo "#include <stddef.h>" >> tmp-stdint.h
82792 if test "$acx_cv_header_stdint" != stddef.h; then
82793 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
82796 sed 's/^ *//' >> tmp-stdint.h <<EOF
82797 /* glibc uses these symbols as guards to prevent redefinitions. */
82798 #ifdef __int8_t_defined
82799 #define _INT8_T
82800 #define _INT16_T
82801 #define _INT32_T
82802 #endif
82803 #ifdef __uint32_t_defined
82804 #define _UINT32_T
82805 #endif
82809 # ----------------- done header, emit basic int types -------------
82810 if test "$acx_cv_header_stdint" = stddef.h; then
82811 sed 's/^ *//' >> tmp-stdint.h <<EOF
82813 #ifndef _UINT8_T
82814 #define _UINT8_T
82815 #ifndef __uint8_t_defined
82816 #define __uint8_t_defined
82817 #ifndef uint8_t
82818 typedef unsigned $acx_cv_type_int8_t uint8_t;
82819 #endif
82820 #endif
82821 #endif
82823 #ifndef _UINT16_T
82824 #define _UINT16_T
82825 #ifndef __uint16_t_defined
82826 #define __uint16_t_defined
82827 #ifndef uint16_t
82828 typedef unsigned $acx_cv_type_int16_t uint16_t;
82829 #endif
82830 #endif
82831 #endif
82833 #ifndef _UINT32_T
82834 #define _UINT32_T
82835 #ifndef __uint32_t_defined
82836 #define __uint32_t_defined
82837 #ifndef uint32_t
82838 typedef unsigned $acx_cv_type_int32_t uint32_t;
82839 #endif
82840 #endif
82841 #endif
82843 #ifndef _INT8_T
82844 #define _INT8_T
82845 #ifndef __int8_t_defined
82846 #define __int8_t_defined
82847 #ifndef int8_t
82848 typedef $acx_cv_type_int8_t int8_t;
82849 #endif
82850 #endif
82851 #endif
82853 #ifndef _INT16_T
82854 #define _INT16_T
82855 #ifndef __int16_t_defined
82856 #define __int16_t_defined
82857 #ifndef int16_t
82858 typedef $acx_cv_type_int16_t int16_t;
82859 #endif
82860 #endif
82861 #endif
82863 #ifndef _INT32_T
82864 #define _INT32_T
82865 #ifndef __int32_t_defined
82866 #define __int32_t_defined
82867 #ifndef int32_t
82868 typedef $acx_cv_type_int32_t int32_t;
82869 #endif
82870 #endif
82871 #endif
82873 elif test "$ac_cv_type_u_int32_t" = yes; then
82874 sed 's/^ *//' >> tmp-stdint.h <<EOF
82876 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
82877 #ifndef _INT8_T
82878 #define _INT8_T
82879 #endif
82880 #ifndef _INT16_T
82881 #define _INT16_T
82882 #endif
82883 #ifndef _INT32_T
82884 #define _INT32_T
82885 #endif
82887 #ifndef _UINT8_T
82888 #define _UINT8_T
82889 #ifndef __uint8_t_defined
82890 #define __uint8_t_defined
82891 #ifndef uint8_t
82892 typedef u_int8_t uint8_t;
82893 #endif
82894 #endif
82895 #endif
82897 #ifndef _UINT16_T
82898 #define _UINT16_T
82899 #ifndef __uint16_t_defined
82900 #define __uint16_t_defined
82901 #ifndef uint16_t
82902 typedef u_int16_t uint16_t;
82903 #endif
82904 #endif
82905 #endif
82907 #ifndef _UINT32_T
82908 #define _UINT32_T
82909 #ifndef __uint32_t_defined
82910 #define __uint32_t_defined
82911 #ifndef uint32_t
82912 typedef u_int32_t uint32_t;
82913 #endif
82914 #endif
82915 #endif
82917 else
82918 sed 's/^ *//' >> tmp-stdint.h <<EOF
82920 /* Some systems have guard macros to prevent redefinitions, define them. */
82921 #ifndef _INT8_T
82922 #define _INT8_T
82923 #endif
82924 #ifndef _INT16_T
82925 #define _INT16_T
82926 #endif
82927 #ifndef _INT32_T
82928 #define _INT32_T
82929 #endif
82930 #ifndef _UINT8_T
82931 #define _UINT8_T
82932 #endif
82933 #ifndef _UINT16_T
82934 #define _UINT16_T
82935 #endif
82936 #ifndef _UINT32_T
82937 #define _UINT32_T
82938 #endif
82942 # ------------- done basic int types, emit int64_t types ------------
82943 if test "$ac_cv_type_uint64_t" = yes; then
82944 sed 's/^ *//' >> tmp-stdint.h <<EOF
82946 /* system headers have good uint64_t and int64_t */
82947 #ifndef _INT64_T
82948 #define _INT64_T
82949 #endif
82950 #ifndef _UINT64_T
82951 #define _UINT64_T
82952 #endif
82954 elif test "$ac_cv_type_u_int64_t" = yes; then
82955 sed 's/^ *//' >> tmp-stdint.h <<EOF
82957 /* system headers have an u_int64_t (and int64_t) */
82958 #ifndef _INT64_T
82959 #define _INT64_T
82960 #endif
82961 #ifndef _UINT64_T
82962 #define _UINT64_T
82963 #ifndef __uint64_t_defined
82964 #define __uint64_t_defined
82965 #ifndef uint64_t
82966 typedef u_int64_t uint64_t;
82967 #endif
82968 #endif
82969 #endif
82971 elif test -n "$acx_cv_type_int64_t"; then
82972 sed 's/^ *//' >> tmp-stdint.h <<EOF
82974 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
82975 #ifndef _INT64_T
82976 #define _INT64_T
82977 #ifndef int64_t
82978 typedef $acx_cv_type_int64_t int64_t;
82979 #endif
82980 #endif
82981 #ifndef _UINT64_T
82982 #define _UINT64_T
82983 #ifndef __uint64_t_defined
82984 #define __uint64_t_defined
82985 #ifndef uint64_t
82986 typedef unsigned $acx_cv_type_int64_t uint64_t;
82987 #endif
82988 #endif
82989 #endif
82991 else
82992 sed 's/^ *//' >> tmp-stdint.h <<EOF
82994 /* some common heuristics for int64_t, using compiler-specific tests */
82995 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
82996 #ifndef _INT64_T
82997 #define _INT64_T
82998 #ifndef __int64_t_defined
82999 #ifndef int64_t
83000 typedef long long int64_t;
83001 #endif
83002 #endif
83003 #endif
83004 #ifndef _UINT64_T
83005 #define _UINT64_T
83006 #ifndef uint64_t
83007 typedef unsigned long long uint64_t;
83008 #endif
83009 #endif
83011 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
83012 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
83013 does not implement __extension__. But that compiler doesn't define
83014 __GNUC_MINOR__. */
83015 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
83016 # define __extension__
83017 # endif
83019 # ifndef _INT64_T
83020 # define _INT64_T
83021 # ifndef int64_t
83022 __extension__ typedef long long int64_t;
83023 # endif
83024 # endif
83025 # ifndef _UINT64_T
83026 # define _UINT64_T
83027 # ifndef uint64_t
83028 __extension__ typedef unsigned long long uint64_t;
83029 # endif
83030 # endif
83032 #elif !defined __STRICT_ANSI__
83033 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
83035 # ifndef _INT64_T
83036 # define _INT64_T
83037 # ifndef int64_t
83038 typedef __int64 int64_t;
83039 # endif
83040 # endif
83041 # ifndef _UINT64_T
83042 # define _UINT64_T
83043 # ifndef uint64_t
83044 typedef unsigned __int64 uint64_t;
83045 # endif
83046 # endif
83047 # endif /* compiler */
83049 #endif /* ANSI version */
83053 # ------------- done int64_t types, emit intptr types ------------
83054 if test "$ac_cv_type_uintptr_t" != yes; then
83055 sed 's/^ *//' >> tmp-stdint.h <<EOF
83057 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
83058 #ifndef __uintptr_t_defined
83059 #ifndef uintptr_t
83060 typedef u$acx_cv_type_intptr_t uintptr_t;
83061 #endif
83062 #endif
83063 #ifndef __intptr_t_defined
83064 #ifndef intptr_t
83065 typedef $acx_cv_type_intptr_t intptr_t;
83066 #endif
83067 #endif
83071 # ------------- done intptr types, emit int_least types ------------
83072 if test "$ac_cv_type_int_least32_t" != yes; then
83073 sed 's/^ *//' >> tmp-stdint.h <<EOF
83075 /* Define int_least types */
83076 typedef int8_t int_least8_t;
83077 typedef int16_t int_least16_t;
83078 typedef int32_t int_least32_t;
83079 #ifdef _INT64_T
83080 typedef int64_t int_least64_t;
83081 #endif
83083 typedef uint8_t uint_least8_t;
83084 typedef uint16_t uint_least16_t;
83085 typedef uint32_t uint_least32_t;
83086 #ifdef _UINT64_T
83087 typedef uint64_t uint_least64_t;
83088 #endif
83092 # ------------- done intptr types, emit int_fast types ------------
83093 if test "$ac_cv_type_int_fast32_t" != yes; then
83094 sed 's/^ *//' >> tmp-stdint.h <<EOF
83096 /* Define int_fast types. short is often slow */
83097 typedef int8_t int_fast8_t;
83098 typedef int int_fast16_t;
83099 typedef int32_t int_fast32_t;
83100 #ifdef _INT64_T
83101 typedef int64_t int_fast64_t;
83102 #endif
83104 typedef uint8_t uint_fast8_t;
83105 typedef unsigned int uint_fast16_t;
83106 typedef uint32_t uint_fast32_t;
83107 #ifdef _UINT64_T
83108 typedef uint64_t uint_fast64_t;
83109 #endif
83113 if test "$ac_cv_type_uintmax_t" != yes; then
83114 sed 's/^ *//' >> tmp-stdint.h <<EOF
83116 /* Define intmax based on what we found */
83117 #ifndef intmax_t
83118 #ifdef _INT64_T
83119 typedef int64_t intmax_t;
83120 #else
83121 typedef long intmax_t;
83122 #endif
83123 #endif
83124 #ifndef uintmax_t
83125 #ifdef _UINT64_T
83126 typedef uint64_t uintmax_t;
83127 #else
83128 typedef unsigned long uintmax_t;
83129 #endif
83130 #endif
83134 sed 's/^ *//' >> tmp-stdint.h <<EOF
83136 #endif /* GCC_GENERATED_STDINT_H */
83139 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
83140 rm -f tmp-stdint.h
83141 else
83142 mv -f tmp-stdint.h include/gstdint.h
83146 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
83147 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
83148 "include/Makefile":F) cat > vpsed$$ << \_EOF
83149 s!`test -f '$<' || echo '$(srcdir)/'`!!
83150 _EOF
83151 sed -f vpsed$$ $ac_file > tmp$$
83152 mv tmp$$ $ac_file
83153 rm vpsed$$
83154 echo 'MULTISUBDIR =' >> $ac_file
83155 ml_norecursion=yes
83156 . ${multi_basedir}/config-ml.in
83157 { ml_norecursion=; unset ml_norecursion;}
83159 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
83160 s!`test -f '$<' || echo '$(srcdir)/'`!!
83161 _EOF
83162 sed -f vpsed$$ $ac_file > tmp$$
83163 mv tmp$$ $ac_file
83164 rm vpsed$$
83165 echo 'MULTISUBDIR =' >> $ac_file
83166 ml_norecursion=yes
83167 . ${multi_basedir}/config-ml.in
83168 { ml_norecursion=; unset ml_norecursion;}
83170 "src/Makefile":F) cat > vpsed$$ << \_EOF
83171 s!`test -f '$<' || echo '$(srcdir)/'`!!
83172 _EOF
83173 sed -f vpsed$$ $ac_file > tmp$$
83174 mv tmp$$ $ac_file
83175 rm vpsed$$
83176 echo 'MULTISUBDIR =' >> $ac_file
83177 ml_norecursion=yes
83178 . ${multi_basedir}/config-ml.in
83179 { ml_norecursion=; unset ml_norecursion;}
83181 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
83182 s!`test -f '$<' || echo '$(srcdir)/'`!!
83183 _EOF
83184 sed -f vpsed$$ $ac_file > tmp$$
83185 mv tmp$$ $ac_file
83186 rm vpsed$$
83187 echo 'MULTISUBDIR =' >> $ac_file
83188 ml_norecursion=yes
83189 . ${multi_basedir}/config-ml.in
83190 { ml_norecursion=; unset ml_norecursion;}
83192 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
83193 s!`test -f '$<' || echo '$(srcdir)/'`!!
83194 _EOF
83195 sed -f vpsed$$ $ac_file > tmp$$
83196 mv tmp$$ $ac_file
83197 rm vpsed$$
83198 echo 'MULTISUBDIR =' >> $ac_file
83199 ml_norecursion=yes
83200 . ${multi_basedir}/config-ml.in
83201 { ml_norecursion=; unset ml_norecursion;}
83203 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
83204 s!`test -f '$<' || echo '$(srcdir)/'`!!
83205 _EOF
83206 sed -f vpsed$$ $ac_file > tmp$$
83207 mv tmp$$ $ac_file
83208 rm vpsed$$
83209 echo 'MULTISUBDIR =' >> $ac_file
83210 ml_norecursion=yes
83211 . ${multi_basedir}/config-ml.in
83212 { ml_norecursion=; unset ml_norecursion;}
83214 "doc/Makefile":F) cat > vpsed$$ << \_EOF
83215 s!`test -f '$<' || echo '$(srcdir)/'`!!
83216 _EOF
83217 sed -f vpsed$$ $ac_file > tmp$$
83218 mv tmp$$ $ac_file
83219 rm vpsed$$
83220 echo 'MULTISUBDIR =' >> $ac_file
83221 ml_norecursion=yes
83222 . ${multi_basedir}/config-ml.in
83223 { ml_norecursion=; unset ml_norecursion;}
83225 "po/Makefile":F) cat > vpsed$$ << \_EOF
83226 s!`test -f '$<' || echo '$(srcdir)/'`!!
83227 _EOF
83228 sed -f vpsed$$ $ac_file > tmp$$
83229 mv tmp$$ $ac_file
83230 rm vpsed$$
83231 echo 'MULTISUBDIR =' >> $ac_file
83232 ml_norecursion=yes
83233 . ${multi_basedir}/config-ml.in
83234 { ml_norecursion=; unset ml_norecursion;}
83236 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
83237 s!`test -f '$<' || echo '$(srcdir)/'`!!
83238 _EOF
83239 sed -f vpsed$$ $ac_file > tmp$$
83240 mv tmp$$ $ac_file
83241 rm vpsed$$
83242 echo 'MULTISUBDIR =' >> $ac_file
83243 ml_norecursion=yes
83244 . ${multi_basedir}/config-ml.in
83245 { ml_norecursion=; unset ml_norecursion;}
83247 "python/Makefile":F) cat > vpsed$$ << \_EOF
83248 s!`test -f '$<' || echo '$(srcdir)/'`!!
83249 _EOF
83250 sed -f vpsed$$ $ac_file > tmp$$
83251 mv tmp$$ $ac_file
83252 rm vpsed$$
83253 echo 'MULTISUBDIR =' >> $ac_file
83254 ml_norecursion=yes
83255 . ${multi_basedir}/config-ml.in
83256 { ml_norecursion=; unset ml_norecursion;}
83258 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
83260 esac
83261 done # for ac_tag
83264 as_fn_exit 0
83265 _ACEOF
83266 ac_clean_files=$ac_clean_files_save
83268 test $ac_write_fail = 0 ||
83269 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
83272 # configure is writing to config.log, and then calls config.status.
83273 # config.status does its own redirection, appending to config.log.
83274 # Unfortunately, on DOS this fails, as config.log is still kept open
83275 # by configure, so config.status won't be able to write to it; its
83276 # output is simply discarded. So we exec the FD to /dev/null,
83277 # effectively closing config.log, so it can be properly (re)opened and
83278 # appended to by config.status. When coming back to configure, we
83279 # need to make the FD available again.
83280 if test "$no_create" != yes; then
83281 ac_cs_success=:
83282 ac_config_status_args=
83283 test "$silent" = yes &&
83284 ac_config_status_args="$ac_config_status_args --quiet"
83285 exec 5>/dev/null
83286 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
83287 exec 5>>config.log
83288 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
83289 # would make configure fail if this is the last instruction.
83290 $ac_cs_success || as_fn_exit $?
83292 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
83293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
83294 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}