2016-09-25 François Dumont <fdumont@gcc.gnu.org>
[official-gcc.git] / libstdc++-v3 / configure
blob04612bde76eed141dbb13fa5b444fb7332682db5
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64 for package-unused version-unused.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7 # Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
18 emulate sh
19 NULLCMD=:
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
23 setopt NO_GLOB_SUBST
24 else
25 case `(set -o) 2>/dev/null` in #(
26 *posix*) :
27 set -o posix ;; #(
28 *) :
30 esac
34 as_nl='
36 export as_nl
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
45 as_echo='print -r --'
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='printf %s\n'
49 as_echo_n='printf %s'
50 else
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
54 else
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
56 as_echo_n_body='eval
57 arg=$1;
58 case $arg in #(
59 *"$as_nl"*)
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
62 esac;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
65 export as_echo_n_body
66 as_echo_n='sh -c $as_echo_n_body as_echo'
68 export as_echo_body
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
74 PATH_SEPARATOR=:
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
77 PATH_SEPARATOR=';'
82 # IFS
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
87 IFS=" "" $as_nl"
89 # Find who we are. Look in the path if we contain no directory separator.
90 case $0 in #((
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
93 for as_dir in $PATH
95 IFS=$as_save_IFS
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
98 done
99 IFS=$as_save_IFS
102 esac
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
106 as_myself=$0
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
110 exit 1
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
120 done
121 PS1='$ '
122 PS2='> '
123 PS4='+ '
125 # NLS nuisances.
126 LC_ALL=C
127 export LC_ALL
128 LANGUAGE=C
129 export LANGUAGE
131 # CDPATH.
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142 else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
148 esac
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
157 exitcode=0
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
164 else
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1
174 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
175 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
176 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
177 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
178 PATH=/empty FPATH=/empty; export PATH FPATH
179 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
180 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
181 if (eval "$as_required") 2>/dev/null; then :
182 as_have_required=yes
183 else
184 as_have_required=no
186 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
188 else
189 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
190 as_found=false
191 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
193 IFS=$as_save_IFS
194 test -z "$as_dir" && as_dir=.
195 as_found=:
196 case $as_dir in #(
198 for as_base in sh bash ksh sh5; do
199 # Try only shells that exist, to save several forks.
200 as_shell=$as_dir/$as_base
201 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
202 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 CONFIG_SHELL=$as_shell as_have_required=yes
204 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 break 2
208 done;;
209 esac
210 as_found=false
211 done
212 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
213 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
214 CONFIG_SHELL=$SHELL as_have_required=yes
215 fi; }
216 IFS=$as_save_IFS
219 if test "x$CONFIG_SHELL" != x; then :
220 # We cannot yet assume a decent shell, so we have to provide a
221 # neutralization value for shells without unset; and this also
222 # works around shells that cannot unset nonexistent variables.
223 BASH_ENV=/dev/null
224 ENV=/dev/null
225 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
226 export CONFIG_SHELL
227 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
230 if test x$as_have_required = xno; then :
231 $as_echo "$0: This script requires a shell more modern than all"
232 $as_echo "$0: the shells that I found on your system."
233 if test x${ZSH_VERSION+set} = xset ; then
234 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
235 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
236 else
237 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
238 $0: including any error possibly output before this
239 $0: message. Then install a modern shell, or manually run
240 $0: the script under such a shell if you do have one."
242 exit 1
246 SHELL=${CONFIG_SHELL-/bin/sh}
247 export SHELL
248 # Unset more variables known to interfere with behavior of common tools.
249 CLICOLOR_FORCE= GREP_OPTIONS=
250 unset CLICOLOR_FORCE GREP_OPTIONS
252 ## --------------------- ##
253 ## M4sh Shell Functions. ##
254 ## --------------------- ##
255 # as_fn_unset VAR
256 # ---------------
257 # Portably unset VAR.
258 as_fn_unset ()
260 { eval $1=; unset $1;}
262 as_unset=as_fn_unset
264 # as_fn_set_status STATUS
265 # -----------------------
266 # Set $? to STATUS, without forking.
267 as_fn_set_status ()
269 return $1
270 } # as_fn_set_status
272 # as_fn_exit STATUS
273 # -----------------
274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 as_fn_exit ()
277 set +e
278 as_fn_set_status $1
279 exit $1
280 } # as_fn_exit
282 # as_fn_mkdir_p
283 # -------------
284 # Create "$as_dir" as a directory, including parents if necessary.
285 as_fn_mkdir_p ()
288 case $as_dir in #(
289 -*) as_dir=./$as_dir;;
290 esac
291 test -d "$as_dir" || eval $as_mkdir_p || {
292 as_dirs=
293 while :; do
294 case $as_dir in #(
295 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 *) as_qdir=$as_dir;;
297 esac
298 as_dirs="'$as_qdir' $as_dirs"
299 as_dir=`$as_dirname -- "$as_dir" ||
300 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
301 X"$as_dir" : 'X\(//\)[^/]' \| \
302 X"$as_dir" : 'X\(//\)$' \| \
303 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
304 $as_echo X"$as_dir" |
305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
306 s//\1/
309 /^X\(\/\/\)[^/].*/{
310 s//\1/
313 /^X\(\/\/\)$/{
314 s//\1/
317 /^X\(\/\).*/{
318 s//\1/
321 s/.*/./; q'`
322 test -d "$as_dir" && break
323 done
324 test -z "$as_dirs" || eval "mkdir $as_dirs"
325 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
328 } # as_fn_mkdir_p
329 # as_fn_append VAR VALUE
330 # ----------------------
331 # Append the text in VALUE to the end of the definition contained in VAR. Take
332 # advantage of any shell optimizations that allow amortized linear growth over
333 # repeated appends, instead of the typical quadratic growth present in naive
334 # implementations.
335 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
336 eval 'as_fn_append ()
338 eval $1+=\$2
340 else
341 as_fn_append ()
343 eval $1=\$$1\$2
345 fi # as_fn_append
347 # as_fn_arith ARG...
348 # ------------------
349 # Perform arithmetic evaluation on the ARGs, and store the result in the
350 # global $as_val. Take advantage of shells that can avoid forks. The arguments
351 # must be portable across $(()) and expr.
352 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 eval 'as_fn_arith ()
355 as_val=$(( $* ))
357 else
358 as_fn_arith ()
360 as_val=`expr "$@" || test $? -eq 1`
362 fi # as_fn_arith
365 # as_fn_error ERROR [LINENO LOG_FD]
366 # ---------------------------------
367 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
368 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
369 # script with status $?, using 1 if that was 0.
370 as_fn_error ()
372 as_status=$?; test $as_status -eq 0 && as_status=1
373 if test "$3"; then
374 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
375 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
377 $as_echo "$as_me: error: $1" >&2
378 as_fn_exit $as_status
379 } # as_fn_error
381 if expr a : '\(a\)' >/dev/null 2>&1 &&
382 test "X`expr 00001 : '.*\(...\)'`" = X001; then
383 as_expr=expr
384 else
385 as_expr=false
388 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
389 as_basename=basename
390 else
391 as_basename=false
394 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
395 as_dirname=dirname
396 else
397 as_dirname=false
400 as_me=`$as_basename -- "$0" ||
401 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
402 X"$0" : 'X\(//\)$' \| \
403 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
404 $as_echo X/"$0" |
405 sed '/^.*\/\([^/][^/]*\)\/*$/{
406 s//\1/
409 /^X\/\(\/\/\)$/{
410 s//\1/
413 /^X\/\(\/\).*/{
414 s//\1/
417 s/.*/./; q'`
419 # Avoid depending upon Character Ranges.
420 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
421 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
422 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
423 as_cr_digits='0123456789'
424 as_cr_alnum=$as_cr_Letters$as_cr_digits
427 as_lineno_1=$LINENO as_lineno_1a=$LINENO
428 as_lineno_2=$LINENO as_lineno_2a=$LINENO
429 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
430 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
431 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
432 sed -n '
434 /[$]LINENO/=
435 ' <$as_myself |
436 sed '
437 s/[$]LINENO.*/&-/
438 t lineno
440 :lineno
442 :loop
443 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 t loop
445 s/-\n.*//
446 ' >$as_me.lineno &&
447 chmod +x "$as_me.lineno" ||
448 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
450 # Don't try to exec as it changes $[0], causing all sort of problems
451 # (the dirname of $[0] is not the place where we might find the
452 # original and so on. Autoconf is especially sensitive to this).
453 . "./$as_me.lineno"
454 # Exit status is that of the last command.
455 exit
458 ECHO_C= ECHO_N= ECHO_T=
459 case `echo -n x` in #(((((
460 -n*)
461 case `echo 'xy\c'` in
462 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
463 xy) ECHO_C='\c';;
464 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
465 ECHO_T=' ';;
466 esac;;
468 ECHO_N='-n';;
469 esac
471 rm -f conf$$ conf$$.exe conf$$.file
472 if test -d conf$$.dir; then
473 rm -f conf$$.dir/conf$$.file
474 else
475 rm -f conf$$.dir
476 mkdir conf$$.dir 2>/dev/null
478 if (echo >conf$$.file) 2>/dev/null; then
479 if ln -s conf$$.file conf$$ 2>/dev/null; then
480 as_ln_s='ln -s'
481 # ... but there are two gotchas:
482 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
483 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
484 # In both cases, we have to default to `cp -p'.
485 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
486 as_ln_s='cp -p'
487 elif ln conf$$.file conf$$ 2>/dev/null; then
488 as_ln_s=ln
489 else
490 as_ln_s='cp -p'
492 else
493 as_ln_s='cp -p'
495 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
496 rmdir conf$$.dir 2>/dev/null
498 if mkdir -p . 2>/dev/null; then
499 as_mkdir_p='mkdir -p "$as_dir"'
500 else
501 test -d ./-p && rmdir ./-p
502 as_mkdir_p=false
505 if test -x / >/dev/null 2>&1; then
506 as_test_x='test -x'
507 else
508 if ls -dL / >/dev/null 2>&1; then
509 as_ls_L_option=L
510 else
511 as_ls_L_option=
513 as_test_x='
514 eval sh -c '\''
515 if test -d "$1"; then
516 test -d "$1/.";
517 else
518 case $1 in #(
519 -*)set "./$1";;
520 esac;
521 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
522 ???[sx]*):;;*)false;;esac;fi
523 '\'' sh
526 as_executable_p=$as_test_x
528 # Sed expression to map a string onto a valid CPP name.
529 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
531 # Sed expression to map a string onto a valid variable name.
532 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
534 SHELL=${CONFIG_SHELL-/bin/sh}
537 exec 7<&0 </dev/null 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME='package-unused'
558 PACKAGE_TARNAME='libstdc++'
559 PACKAGE_VERSION='version-unused'
560 PACKAGE_STRING='package-unused version-unused'
561 PACKAGE_BUGREPORT=''
562 PACKAGE_URL=''
564 ac_unique_file="src/shared/hashtable-aux.cc"
565 # Factoring default headers for most tests.
566 ac_includes_default="\
567 #include <stdio.h>
568 #ifdef HAVE_SYS_TYPES_H
569 # include <sys/types.h>
570 #endif
571 #ifdef HAVE_SYS_STAT_H
572 # include <sys/stat.h>
573 #endif
574 #ifdef STDC_HEADERS
575 # include <stdlib.h>
576 # include <stddef.h>
577 #else
578 # ifdef HAVE_STDLIB_H
579 # include <stdlib.h>
580 # endif
581 #endif
582 #ifdef HAVE_STRING_H
583 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
584 # include <memory.h>
585 # endif
586 # include <string.h>
587 #endif
588 #ifdef HAVE_STRINGS_H
589 # include <strings.h>
590 #endif
591 #ifdef HAVE_INTTYPES_H
592 # include <inttypes.h>
593 #endif
594 #ifdef HAVE_STDINT_H
595 # include <stdint.h>
596 #endif
597 #ifdef HAVE_UNISTD_H
598 # include <unistd.h>
599 #endif"
601 ac_subst_vars='am__EXEEXT_FALSE
602 am__EXEEXT_TRUE
603 LTLIBOBJS
604 LIBOBJS
605 WARN_FLAGS
606 OPTIMIZE_CXXFLAGS
607 TOPLEVEL_INCLUDES
608 GLIBCXX_INCLUDES
609 glibcxx_toolexeclibdir
610 glibcxx_toolexecdir
611 gxx_include_dir
612 glibcxx_prefixdir
613 CPU_OPT_BITS_RANDOM
614 CPU_OPT_EXT_RANDOM
615 ERROR_CONSTANTS_SRCDIR
616 OS_INC_SRCDIR
617 ABI_TWEAKS_SRCDIR
618 CPU_DEFINES_SRCDIR
619 ATOMIC_FLAGS
620 ATOMIC_WORD_SRCDIR
621 ATOMICITY_SRCDIR
622 BUILD_PDF_FALSE
623 BUILD_PDF_TRUE
624 PDFLATEX
625 DBLATEX
626 BUILD_MAN_FALSE
627 BUILD_MAN_TRUE
628 BUILD_HTML_FALSE
629 BUILD_HTML_TRUE
630 BUILD_XML_FALSE
631 BUILD_XML_TRUE
632 BUILD_EPUB_FALSE
633 BUILD_EPUB_TRUE
634 XSL_STYLE_DIR
635 XMLLINT
636 XSLTPROC
638 DOXYGEN
639 BUILD_INFO_FALSE
640 BUILD_INFO_TRUE
641 ENABLE_FILESYSTEM_TS_FALSE
642 ENABLE_FILESYSTEM_TS_TRUE
643 baseline_subdir_switch
644 baseline_dir
645 HWCAP_FLAGS
646 GLIBCXX_LDBL_COMPAT_FALSE
647 GLIBCXX_LDBL_COMPAT_TRUE
648 ENABLE_CXX11_ABI_FALSE
649 ENABLE_CXX11_ABI_TRUE
650 glibcxx_cxx98_abi
651 ENABLE_DUAL_ABI_FALSE
652 ENABLE_DUAL_ABI_TRUE
653 ENABLE_VISIBILITY_FALSE
654 ENABLE_VISIBILITY_TRUE
655 libtool_VERSION
656 ENABLE_SYMVERS_SUN_FALSE
657 ENABLE_SYMVERS_SUN_TRUE
658 ENABLE_SYMVERS_DARWIN_FALSE
659 ENABLE_SYMVERS_DARWIN_TRUE
660 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
661 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
662 ENABLE_SYMVERS_GNU_FALSE
663 ENABLE_SYMVERS_GNU_TRUE
664 ENABLE_SYMVERS_FALSE
665 ENABLE_SYMVERS_TRUE
666 port_specific_symbol_files
667 SYMVER_FILE
668 CXXFILT
669 LTLIBICONV
670 LIBICONV
671 OPT_LDFLAGS
672 SECTION_LDFLAGS
673 GLIBCXX_LIBS
674 ENABLE_VTABLE_VERIFY_FALSE
675 ENABLE_VTABLE_VERIFY_TRUE
676 VTV_CYGMIN_FALSE
677 VTV_CYGMIN_TRUE
678 VTV_CXXLINKFLAGS
679 VTV_PCH_CXXFLAGS
680 VTV_CXXFLAGS
681 ENABLE_WERROR_FALSE
682 ENABLE_WERROR_TRUE
683 ENABLE_PYTHONDIR_FALSE
684 ENABLE_PYTHONDIR_TRUE
685 python_mod_dir
686 ENABLE_EXTERN_TEMPLATE_FALSE
687 ENABLE_EXTERN_TEMPLATE_TRUE
688 EXTRA_CXX_FLAGS
689 GLIBCXX_BUILD_DEBUG_FALSE
690 GLIBCXX_BUILD_DEBUG_TRUE
691 DEBUG_FLAGS
692 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
693 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
694 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
695 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
696 GLIBCXX_C_HEADERS_C_STD_FALSE
697 GLIBCXX_C_HEADERS_C_STD_TRUE
698 GLIBCXX_C_HEADERS_C_FALSE
699 GLIBCXX_C_HEADERS_C_TRUE
700 C_INCLUDE_DIR
701 ALLOCATOR_NAME
702 ALLOCATOR_H
703 ENABLE_ALLOCATOR_NEW_FALSE
704 ENABLE_ALLOCATOR_NEW_TRUE
705 CLOCALE_INTERNAL_H
706 CLOCALE_CC
707 CTIME_CC
708 CTIME_H
709 CNUMERIC_CC
710 CMONEY_CC
711 CMESSAGES_CC
712 CCTYPE_CC
713 CCOLLATE_CC
714 CCODECVT_CC
715 CMESSAGES_H
716 CLOCALE_H
717 USE_NLS
718 glibcxx_localedir
719 glibcxx_POFILES
720 glibcxx_MOFILES
721 check_msgfmt
722 BASIC_FILE_CC
723 BASIC_FILE_H
724 CSTDIO_H
725 SECTION_FLAGS
726 WERROR
727 thread_header
728 glibcxx_PCHFLAGS
729 GLIBCXX_BUILD_PCH_FALSE
730 GLIBCXX_BUILD_PCH_TRUE
731 GLIBCXX_HOSTED_FALSE
732 GLIBCXX_HOSTED_TRUE
733 glibcxx_compiler_shared_flag
734 glibcxx_compiler_pic_flag
735 glibcxx_lt_pic_flag
736 enable_static
737 enable_shared
738 lt_host_flags
739 CXXCPP
740 OTOOL64
741 OTOOL
742 LIPO
743 NMEDIT
744 DSYMUTIL
745 OBJDUMP
747 ac_ct_DUMPBIN
748 DUMPBIN
750 FGREP
752 LIBTOOL
753 EGREP
754 GREP
756 MAINT
757 MAINTAINER_MODE_FALSE
758 MAINTAINER_MODE_TRUE
759 RANLIB
762 LN_S
763 toplevel_srcdir
764 toplevel_builddir
765 glibcxx_srcdir
766 glibcxx_builddir
767 ac_ct_CXX
768 CXXFLAGS
770 OBJEXT
771 EXEEXT
772 ac_ct_CC
773 CPPFLAGS
774 LDFLAGS
775 CFLAGS
777 am__untar
778 am__tar
779 AMTAR
780 am__leading_dot
781 SET_MAKE
783 mkdir_p
784 MKDIR_P
785 INSTALL_STRIP_PROGRAM
786 STRIP
787 install_sh
788 MAKEINFO
789 AUTOHEADER
790 AUTOMAKE
791 AUTOCONF
792 ACLOCAL
793 VERSION
794 PACKAGE
795 CYGPATH_W
796 am__isrc
797 INSTALL_DATA
798 INSTALL_SCRIPT
799 INSTALL_PROGRAM
800 target_os
801 target_vendor
802 target_cpu
803 target
804 host_os
805 host_vendor
806 host_cpu
807 host
808 build_os
809 build_vendor
810 build_cpu
811 build
812 multi_basedir
813 target_alias
814 host_alias
815 build_alias
816 LIBS
817 ECHO_T
818 ECHO_N
819 ECHO_C
820 DEFS
821 mandir
822 localedir
823 libdir
824 psdir
825 pdfdir
826 dvidir
827 htmldir
828 infodir
829 docdir
830 oldincludedir
831 includedir
832 localstatedir
833 sharedstatedir
834 sysconfdir
835 datadir
836 datarootdir
837 libexecdir
838 sbindir
839 bindir
840 program_transform_name
841 prefix
842 exec_prefix
843 PACKAGE_URL
844 PACKAGE_BUGREPORT
845 PACKAGE_STRING
846 PACKAGE_VERSION
847 PACKAGE_TARNAME
848 PACKAGE_NAME
849 PATH_SEPARATOR
850 SHELL'
851 ac_subst_files=''
852 ac_user_opts='
853 enable_option_checking
854 enable_multilib
855 with_target_subdir
856 with_cross_host
857 with_newlib
858 enable_maintainer_mode
859 enable_shared
860 enable_static
861 with_pic
862 enable_fast_install
863 with_gnu_ld
864 enable_libtool_lock
865 enable_hosted_libstdcxx
866 enable_libstdcxx_verbose
867 enable_libstdcxx_pch
868 enable_cstdio
869 enable_clocale
870 enable_nls
871 enable_libstdcxx_allocator
872 enable_cheaders
873 enable_long_long
874 enable_wchar_t
875 enable_c99
876 enable_concept_checks
877 enable_libstdcxx_debug_flags
878 enable_libstdcxx_debug
879 enable_cxx_flags
880 enable_fully_dynamic_string
881 enable_extern_template
882 with_python_dir
883 enable_werror
884 enable_vtable_verify
885 enable_libstdcxx_time
886 enable_tls
887 enable_rpath
888 with_libiconv_prefix
889 with_system_libunwind
890 enable_linux_futex
891 enable_symvers
892 enable_libstdcxx_visibility
893 enable_libstdcxx_dual_abi
894 with_default_libstdcxx_abi
895 enable_libstdcxx_threads
896 enable_libstdcxx_filesystem_ts
897 with_gxx_include_dir
898 enable_version_specific_runtime_libs
900 ac_precious_vars='build_alias
901 host_alias
902 target_alias
904 CFLAGS
905 LDFLAGS
906 LIBS
907 CPPFLAGS
909 CXXFLAGS
912 CXXCPP
913 CXXFILT'
916 # Initialize some variables set by options.
917 ac_init_help=
918 ac_init_version=false
919 ac_unrecognized_opts=
920 ac_unrecognized_sep=
921 # The variables have the same names as the options, with
922 # dashes changed to underlines.
923 cache_file=/dev/null
924 exec_prefix=NONE
925 no_create=
926 no_recursion=
927 prefix=NONE
928 program_prefix=NONE
929 program_suffix=NONE
930 program_transform_name=s,x,x,
931 silent=
932 site=
933 srcdir=
934 verbose=
935 x_includes=NONE
936 x_libraries=NONE
938 # Installation directory options.
939 # These are left unexpanded so users can "make install exec_prefix=/foo"
940 # and all the variables that are supposed to be based on exec_prefix
941 # by default will actually change.
942 # Use braces instead of parens because sh, perl, etc. also accept them.
943 # (The list follows the same order as the GNU Coding Standards.)
944 bindir='${exec_prefix}/bin'
945 sbindir='${exec_prefix}/sbin'
946 libexecdir='${exec_prefix}/libexec'
947 datarootdir='${prefix}/share'
948 datadir='${datarootdir}'
949 sysconfdir='${prefix}/etc'
950 sharedstatedir='${prefix}/com'
951 localstatedir='${prefix}/var'
952 includedir='${prefix}/include'
953 oldincludedir='/usr/include'
954 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
955 infodir='${datarootdir}/info'
956 htmldir='${docdir}'
957 dvidir='${docdir}'
958 pdfdir='${docdir}'
959 psdir='${docdir}'
960 libdir='${exec_prefix}/lib'
961 localedir='${datarootdir}/locale'
962 mandir='${datarootdir}/man'
964 ac_prev=
965 ac_dashdash=
966 for ac_option
968 # If the previous option needs an argument, assign it.
969 if test -n "$ac_prev"; then
970 eval $ac_prev=\$ac_option
971 ac_prev=
972 continue
975 case $ac_option in
976 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
977 *) ac_optarg=yes ;;
978 esac
980 # Accept the important Cygnus configure options, so we can diagnose typos.
982 case $ac_dashdash$ac_option in
984 ac_dashdash=yes ;;
986 -bindir | --bindir | --bindi | --bind | --bin | --bi)
987 ac_prev=bindir ;;
988 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
989 bindir=$ac_optarg ;;
991 -build | --build | --buil | --bui | --bu)
992 ac_prev=build_alias ;;
993 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
994 build_alias=$ac_optarg ;;
996 -cache-file | --cache-file | --cache-fil | --cache-fi \
997 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
998 ac_prev=cache_file ;;
999 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1000 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1001 cache_file=$ac_optarg ;;
1003 --config-cache | -C)
1004 cache_file=config.cache ;;
1006 -datadir | --datadir | --datadi | --datad)
1007 ac_prev=datadir ;;
1008 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1009 datadir=$ac_optarg ;;
1011 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1012 | --dataroo | --dataro | --datar)
1013 ac_prev=datarootdir ;;
1014 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1015 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1016 datarootdir=$ac_optarg ;;
1018 -disable-* | --disable-*)
1019 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1020 # Reject names that are not valid shell variable names.
1021 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1022 as_fn_error "invalid feature name: $ac_useropt"
1023 ac_useropt_orig=$ac_useropt
1024 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1025 case $ac_user_opts in
1027 "enable_$ac_useropt"
1028 "*) ;;
1029 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1030 ac_unrecognized_sep=', ';;
1031 esac
1032 eval enable_$ac_useropt=no ;;
1034 -docdir | --docdir | --docdi | --doc | --do)
1035 ac_prev=docdir ;;
1036 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1037 docdir=$ac_optarg ;;
1039 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1040 ac_prev=dvidir ;;
1041 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1042 dvidir=$ac_optarg ;;
1044 -enable-* | --enable-*)
1045 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046 # Reject names that are not valid shell variable names.
1047 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1048 as_fn_error "invalid feature name: $ac_useropt"
1049 ac_useropt_orig=$ac_useropt
1050 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1051 case $ac_user_opts in
1053 "enable_$ac_useropt"
1054 "*) ;;
1055 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1056 ac_unrecognized_sep=', ';;
1057 esac
1058 eval enable_$ac_useropt=\$ac_optarg ;;
1060 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1061 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1062 | --exec | --exe | --ex)
1063 ac_prev=exec_prefix ;;
1064 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1065 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1066 | --exec=* | --exe=* | --ex=*)
1067 exec_prefix=$ac_optarg ;;
1069 -gas | --gas | --ga | --g)
1070 # Obsolete; use --with-gas.
1071 with_gas=yes ;;
1073 -help | --help | --hel | --he | -h)
1074 ac_init_help=long ;;
1075 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1076 ac_init_help=recursive ;;
1077 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1078 ac_init_help=short ;;
1080 -host | --host | --hos | --ho)
1081 ac_prev=host_alias ;;
1082 -host=* | --host=* | --hos=* | --ho=*)
1083 host_alias=$ac_optarg ;;
1085 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1086 ac_prev=htmldir ;;
1087 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1088 | --ht=*)
1089 htmldir=$ac_optarg ;;
1091 -includedir | --includedir | --includedi | --included | --include \
1092 | --includ | --inclu | --incl | --inc)
1093 ac_prev=includedir ;;
1094 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1095 | --includ=* | --inclu=* | --incl=* | --inc=*)
1096 includedir=$ac_optarg ;;
1098 -infodir | --infodir | --infodi | --infod | --info | --inf)
1099 ac_prev=infodir ;;
1100 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1101 infodir=$ac_optarg ;;
1103 -libdir | --libdir | --libdi | --libd)
1104 ac_prev=libdir ;;
1105 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1106 libdir=$ac_optarg ;;
1108 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1109 | --libexe | --libex | --libe)
1110 ac_prev=libexecdir ;;
1111 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1112 | --libexe=* | --libex=* | --libe=*)
1113 libexecdir=$ac_optarg ;;
1115 -localedir | --localedir | --localedi | --localed | --locale)
1116 ac_prev=localedir ;;
1117 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1118 localedir=$ac_optarg ;;
1120 -localstatedir | --localstatedir | --localstatedi | --localstated \
1121 | --localstate | --localstat | --localsta | --localst | --locals)
1122 ac_prev=localstatedir ;;
1123 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1124 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1125 localstatedir=$ac_optarg ;;
1127 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1128 ac_prev=mandir ;;
1129 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1130 mandir=$ac_optarg ;;
1132 -nfp | --nfp | --nf)
1133 # Obsolete; use --without-fp.
1134 with_fp=no ;;
1136 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1137 | --no-cr | --no-c | -n)
1138 no_create=yes ;;
1140 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1141 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1142 no_recursion=yes ;;
1144 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1145 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1146 | --oldin | --oldi | --old | --ol | --o)
1147 ac_prev=oldincludedir ;;
1148 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1149 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1150 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1151 oldincludedir=$ac_optarg ;;
1153 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1154 ac_prev=prefix ;;
1155 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1156 prefix=$ac_optarg ;;
1158 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1159 | --program-pre | --program-pr | --program-p)
1160 ac_prev=program_prefix ;;
1161 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1162 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1163 program_prefix=$ac_optarg ;;
1165 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1166 | --program-suf | --program-su | --program-s)
1167 ac_prev=program_suffix ;;
1168 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1169 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1170 program_suffix=$ac_optarg ;;
1172 -program-transform-name | --program-transform-name \
1173 | --program-transform-nam | --program-transform-na \
1174 | --program-transform-n | --program-transform- \
1175 | --program-transform | --program-transfor \
1176 | --program-transfo | --program-transf \
1177 | --program-trans | --program-tran \
1178 | --progr-tra | --program-tr | --program-t)
1179 ac_prev=program_transform_name ;;
1180 -program-transform-name=* | --program-transform-name=* \
1181 | --program-transform-nam=* | --program-transform-na=* \
1182 | --program-transform-n=* | --program-transform-=* \
1183 | --program-transform=* | --program-transfor=* \
1184 | --program-transfo=* | --program-transf=* \
1185 | --program-trans=* | --program-tran=* \
1186 | --progr-tra=* | --program-tr=* | --program-t=*)
1187 program_transform_name=$ac_optarg ;;
1189 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1190 ac_prev=pdfdir ;;
1191 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1192 pdfdir=$ac_optarg ;;
1194 -psdir | --psdir | --psdi | --psd | --ps)
1195 ac_prev=psdir ;;
1196 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1197 psdir=$ac_optarg ;;
1199 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1200 | -silent | --silent | --silen | --sile | --sil)
1201 silent=yes ;;
1203 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1204 ac_prev=sbindir ;;
1205 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1206 | --sbi=* | --sb=*)
1207 sbindir=$ac_optarg ;;
1209 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1210 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1211 | --sharedst | --shareds | --shared | --share | --shar \
1212 | --sha | --sh)
1213 ac_prev=sharedstatedir ;;
1214 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1215 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1216 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1217 | --sha=* | --sh=*)
1218 sharedstatedir=$ac_optarg ;;
1220 -site | --site | --sit)
1221 ac_prev=site ;;
1222 -site=* | --site=* | --sit=*)
1223 site=$ac_optarg ;;
1225 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1226 ac_prev=srcdir ;;
1227 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1228 srcdir=$ac_optarg ;;
1230 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1231 | --syscon | --sysco | --sysc | --sys | --sy)
1232 ac_prev=sysconfdir ;;
1233 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1234 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1235 sysconfdir=$ac_optarg ;;
1237 -target | --target | --targe | --targ | --tar | --ta | --t)
1238 ac_prev=target_alias ;;
1239 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1240 target_alias=$ac_optarg ;;
1242 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1243 verbose=yes ;;
1245 -version | --version | --versio | --versi | --vers | -V)
1246 ac_init_version=: ;;
1248 -with-* | --with-*)
1249 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1250 # Reject names that are not valid shell variable names.
1251 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1252 as_fn_error "invalid package name: $ac_useropt"
1253 ac_useropt_orig=$ac_useropt
1254 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1255 case $ac_user_opts in
1257 "with_$ac_useropt"
1258 "*) ;;
1259 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1260 ac_unrecognized_sep=', ';;
1261 esac
1262 eval with_$ac_useropt=\$ac_optarg ;;
1264 -without-* | --without-*)
1265 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1266 # Reject names that are not valid shell variable names.
1267 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1268 as_fn_error "invalid package name: $ac_useropt"
1269 ac_useropt_orig=$ac_useropt
1270 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1271 case $ac_user_opts in
1273 "with_$ac_useropt"
1274 "*) ;;
1275 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1276 ac_unrecognized_sep=', ';;
1277 esac
1278 eval with_$ac_useropt=no ;;
1280 --x)
1281 # Obsolete; use --with-x.
1282 with_x=yes ;;
1284 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1285 | --x-incl | --x-inc | --x-in | --x-i)
1286 ac_prev=x_includes ;;
1287 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1288 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1289 x_includes=$ac_optarg ;;
1291 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1292 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1293 ac_prev=x_libraries ;;
1294 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1295 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1296 x_libraries=$ac_optarg ;;
1298 -*) as_fn_error "unrecognized option: \`$ac_option'
1299 Try \`$0 --help' for more information."
1302 *=*)
1303 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1304 # Reject names that are not valid shell variable names.
1305 case $ac_envvar in #(
1306 '' | [0-9]* | *[!_$as_cr_alnum]* )
1307 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1308 esac
1309 eval $ac_envvar=\$ac_optarg
1310 export $ac_envvar ;;
1313 # FIXME: should be removed in autoconf 3.0.
1314 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1315 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1316 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1317 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1320 esac
1321 done
1323 if test -n "$ac_prev"; then
1324 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1325 as_fn_error "missing argument to $ac_option"
1328 if test -n "$ac_unrecognized_opts"; then
1329 case $enable_option_checking in
1330 no) ;;
1331 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1332 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1333 esac
1336 # Check all directory arguments for consistency.
1337 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1338 datadir sysconfdir sharedstatedir localstatedir includedir \
1339 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1340 libdir localedir mandir
1342 eval ac_val=\$$ac_var
1343 # Remove trailing slashes.
1344 case $ac_val in
1345 */ )
1346 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1347 eval $ac_var=\$ac_val;;
1348 esac
1349 # Be sure to have absolute directory names.
1350 case $ac_val in
1351 [\\/$]* | ?:[\\/]* ) continue;;
1352 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1353 esac
1354 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1355 done
1357 # There might be people who depend on the old broken behavior: `$host'
1358 # used to hold the argument of --host etc.
1359 # FIXME: To remove some day.
1360 build=$build_alias
1361 host=$host_alias
1362 target=$target_alias
1364 # FIXME: To remove some day.
1365 if test "x$host_alias" != x; then
1366 if test "x$build_alias" = x; then
1367 cross_compiling=maybe
1368 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1369 If a cross compiler is detected then cross compile mode will be used." >&2
1370 elif test "x$build_alias" != "x$host_alias"; then
1371 cross_compiling=yes
1375 ac_tool_prefix=
1376 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1378 test "$silent" = yes && exec 6>/dev/null
1381 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1382 ac_ls_di=`ls -di .` &&
1383 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1384 as_fn_error "working directory cannot be determined"
1385 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1386 as_fn_error "pwd does not report name of working directory"
1389 # Find the source files, if location was not specified.
1390 if test -z "$srcdir"; then
1391 ac_srcdir_defaulted=yes
1392 # Try the directory containing this script, then the parent directory.
1393 ac_confdir=`$as_dirname -- "$as_myself" ||
1394 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1395 X"$as_myself" : 'X\(//\)[^/]' \| \
1396 X"$as_myself" : 'X\(//\)$' \| \
1397 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1398 $as_echo X"$as_myself" |
1399 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1400 s//\1/
1403 /^X\(\/\/\)[^/].*/{
1404 s//\1/
1407 /^X\(\/\/\)$/{
1408 s//\1/
1411 /^X\(\/\).*/{
1412 s//\1/
1415 s/.*/./; q'`
1416 srcdir=$ac_confdir
1417 if test ! -r "$srcdir/$ac_unique_file"; then
1418 srcdir=..
1420 else
1421 ac_srcdir_defaulted=no
1423 if test ! -r "$srcdir/$ac_unique_file"; then
1424 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1425 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1427 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1428 ac_abs_confdir=`(
1429 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1430 pwd)`
1431 # When building in place, set srcdir=.
1432 if test "$ac_abs_confdir" = "$ac_pwd"; then
1433 srcdir=.
1435 # Remove unnecessary trailing slashes from srcdir.
1436 # Double slashes in file names in object file debugging info
1437 # mess up M-x gdb in Emacs.
1438 case $srcdir in
1439 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1440 esac
1441 for ac_var in $ac_precious_vars; do
1442 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1443 eval ac_env_${ac_var}_value=\$${ac_var}
1444 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1445 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1446 done
1449 # Report the --help message.
1451 if test "$ac_init_help" = "long"; then
1452 # Omit some internal or obsolete options to make the list less imposing.
1453 # This message is too long to be a string in the A/UX 3.1 sh.
1454 cat <<_ACEOF
1455 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1457 Usage: $0 [OPTION]... [VAR=VALUE]...
1459 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1460 VAR=VALUE. See below for descriptions of some of the useful variables.
1462 Defaults for the options are specified in brackets.
1464 Configuration:
1465 -h, --help display this help and exit
1466 --help=short display options specific to this package
1467 --help=recursive display the short help of all the included packages
1468 -V, --version display version information and exit
1469 -q, --quiet, --silent do not print \`checking...' messages
1470 --cache-file=FILE cache test results in FILE [disabled]
1471 -C, --config-cache alias for \`--cache-file=config.cache'
1472 -n, --no-create do not create output files
1473 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1475 Installation directories:
1476 --prefix=PREFIX install architecture-independent files in PREFIX
1477 [$ac_default_prefix]
1478 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1479 [PREFIX]
1481 By default, \`make install' will install all the files in
1482 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1483 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1484 for instance \`--prefix=\$HOME'.
1486 For better control, use the options below.
1488 Fine tuning of the installation directories:
1489 --bindir=DIR user executables [EPREFIX/bin]
1490 --sbindir=DIR system admin executables [EPREFIX/sbin]
1491 --libexecdir=DIR program executables [EPREFIX/libexec]
1492 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1493 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1494 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1495 --libdir=DIR object code libraries [EPREFIX/lib]
1496 --includedir=DIR C header files [PREFIX/include]
1497 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1498 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1499 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1500 --infodir=DIR info documentation [DATAROOTDIR/info]
1501 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1502 --mandir=DIR man documentation [DATAROOTDIR/man]
1503 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1504 --htmldir=DIR html documentation [DOCDIR]
1505 --dvidir=DIR dvi documentation [DOCDIR]
1506 --pdfdir=DIR pdf documentation [DOCDIR]
1507 --psdir=DIR ps documentation [DOCDIR]
1508 _ACEOF
1510 cat <<\_ACEOF
1512 Program names:
1513 --program-prefix=PREFIX prepend PREFIX to installed program names
1514 --program-suffix=SUFFIX append SUFFIX to installed program names
1515 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1517 System types:
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 --target=TARGET configure for building compilers for TARGET [HOST]
1521 _ACEOF
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive ) echo "Configuration of package-unused version-unused:";;
1527 esac
1528 cat <<\_ACEOF
1530 Optional Features:
1531 --disable-option-checking ignore unrecognized --enable/--with options
1532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1534 --enable-multilib build many library versions (default)
1535 --enable-maintainer-mode enable make rules and dependencies not useful
1536 (and sometimes confusing) to the casual installer
1537 --enable-shared[=PKGS] build shared libraries [default=yes]
1538 --enable-static[=PKGS] build static libraries [default=yes]
1539 --enable-fast-install[=PKGS]
1540 optimize for fast installation [default=yes]
1541 --disable-libtool-lock avoid locking (might break parallel builds)
1542 --disable-hosted-libstdcxx
1543 only build freestanding C++ runtime support
1544 --disable-libstdcxx-verbose
1545 disable termination messages to standard error
1546 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1547 [default=$is_hosted]
1548 --enable-cstdio[=PACKAGE]
1549 use target-specific I/O package [default=stdio]
1550 --enable-clocale[=MODEL]
1551 use MODEL for target locale package [default=auto]
1552 --enable-nls use Native Language Support (default)
1553 --enable-libstdcxx-allocator[=KIND]
1554 use KIND for target std::allocator base
1555 [default=auto]
1556 --enable-cheaders[=KIND]
1557 construct "C" headers for g++ [default=$c_model]
1558 --enable-long-long enable template specializations for 'long long'
1559 [default=yes]
1560 --enable-wchar_t enable template specializations for 'wchar_t'
1561 [default=yes]
1562 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1563 --enable-concept-checks use Boost-derived template checks [default=no]
1564 --enable-libstdcxx-debug-flags=FLAGS
1565 pass compiler FLAGS when building debug library
1566 [default="-gdwarf-4 -g3 -O0"]
1567 --enable-libstdcxx-debug
1568 build extra debug library [default=no]
1569 --enable-cxx-flags=FLAGS
1570 pass compiler FLAGS when building library [default=]
1571 --enable-fully-dynamic-string
1572 do not put empty strings in per-process static
1573 memory [default=no]
1574 --enable-extern-template
1575 enable extern template [default=yes]
1576 --enable-werror turns on -Werror [default=yes]
1577 --enable-vtable-verify enable vtable verify [default=no]
1578 --enable-libstdcxx-time[=KIND]
1579 use KIND for check type [default=auto]
1580 --enable-tls Use thread-local storage [default=yes]
1581 --disable-rpath do not hardcode runtime library paths
1582 --enable-linux-futex use the Linux futex system call [default=default]
1583 --enable-symvers[=STYLE]
1584 enables symbol versioning of the shared library
1585 [default=yes]
1586 --enable-libstdcxx-visibility
1587 enables visibility safe usage [default=yes]
1588 --enable-libstdcxx-dual-abi
1589 support two versions of std::string [default=yes]
1590 --enable-libstdcxx-threads
1591 enable C++11 threads support [default=auto]
1592 --enable-libstdcxx-filesystem-ts
1593 turns on ISO/IEC TS 18822 support [default=auto]
1594 --enable-version-specific-runtime-libs
1595 Specify that runtime libraries should be installed
1596 in a compiler-specific directory
1598 Optional Packages:
1599 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1600 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1601 --with-target-subdir=SUBDIR
1602 configuring in a subdirectory
1603 --with-cross-host=HOST configuring with a cross compiler
1604 --with-newlib assume newlib as a system C library
1605 --with-pic try to use only PIC/non-PIC objects [default=use
1606 both]
1607 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1608 --with-python-dir the location to install Python modules. This path is
1609 relative starting from the prefix.
1610 --with-gnu-ld assume the C compiler uses GNU ld default=no
1611 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1612 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1613 --with-system-libunwind use installed libunwind
1614 --with-default-libstdcxx-abi
1615 set the std::string ABI to use by default
1616 --with-gxx-include-dir=DIR
1617 installation directory for include files
1619 Some influential environment variables:
1620 CC C compiler command
1621 CFLAGS C compiler flags
1622 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1623 nonstandard directory <lib dir>
1624 LIBS libraries to pass to the linker, e.g. -l<library>
1625 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1626 you have headers in a nonstandard directory <include dir>
1627 CXX C++ compiler command
1628 CXXFLAGS C++ compiler flags
1629 CPP C preprocessor
1630 CXXCPP C++ preprocessor
1631 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1632 `c++filt', `gc++filt' on PATH.
1634 Use these variables to override the choices made by `configure' or to help
1635 it to find libraries and programs with nonstandard names/locations.
1637 Report bugs to the package provider.
1638 _ACEOF
1639 ac_status=$?
1642 if test "$ac_init_help" = "recursive"; then
1643 # If there are subdirs, report their specific --help.
1644 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1645 test -d "$ac_dir" ||
1646 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1647 continue
1648 ac_builddir=.
1650 case "$ac_dir" in
1651 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1653 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1654 # A ".." for each directory in $ac_dir_suffix.
1655 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1656 case $ac_top_builddir_sub in
1657 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1658 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1659 esac ;;
1660 esac
1661 ac_abs_top_builddir=$ac_pwd
1662 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1663 # for backward compatibility:
1664 ac_top_builddir=$ac_top_build_prefix
1666 case $srcdir in
1667 .) # We are building in place.
1668 ac_srcdir=.
1669 ac_top_srcdir=$ac_top_builddir_sub
1670 ac_abs_top_srcdir=$ac_pwd ;;
1671 [\\/]* | ?:[\\/]* ) # Absolute name.
1672 ac_srcdir=$srcdir$ac_dir_suffix;
1673 ac_top_srcdir=$srcdir
1674 ac_abs_top_srcdir=$srcdir ;;
1675 *) # Relative name.
1676 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1677 ac_top_srcdir=$ac_top_build_prefix$srcdir
1678 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1679 esac
1680 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1682 cd "$ac_dir" || { ac_status=$?; continue; }
1683 # Check for guested configure.
1684 if test -f "$ac_srcdir/configure.gnu"; then
1685 echo &&
1686 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1687 elif test -f "$ac_srcdir/configure"; then
1688 echo &&
1689 $SHELL "$ac_srcdir/configure" --help=recursive
1690 else
1691 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1692 fi || ac_status=$?
1693 cd "$ac_pwd" || { ac_status=$?; break; }
1694 done
1697 test -n "$ac_init_help" && exit $ac_status
1698 if $ac_init_version; then
1699 cat <<\_ACEOF
1700 package-unused configure version-unused
1701 generated by GNU Autoconf 2.64
1703 Copyright (C) 2009 Free Software Foundation, Inc.
1704 This configure script is free software; the Free Software Foundation
1705 gives unlimited permission to copy, distribute and modify it.
1706 _ACEOF
1707 exit
1710 ## ------------------------ ##
1711 ## Autoconf initialization. ##
1712 ## ------------------------ ##
1714 # ac_fn_c_try_compile LINENO
1715 # --------------------------
1716 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1717 ac_fn_c_try_compile ()
1719 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1720 rm -f conftest.$ac_objext
1721 if { { ac_try="$ac_compile"
1722 case "(($ac_try" in
1723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1724 *) ac_try_echo=$ac_try;;
1725 esac
1726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1727 $as_echo "$ac_try_echo"; } >&5
1728 (eval "$ac_compile") 2>conftest.err
1729 ac_status=$?
1730 if test -s conftest.err; then
1731 grep -v '^ *+' conftest.err >conftest.er1
1732 cat conftest.er1 >&5
1733 mv -f conftest.er1 conftest.err
1735 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1736 test $ac_status = 0; } && {
1737 test -z "$ac_c_werror_flag" ||
1738 test ! -s conftest.err
1739 } && test -s conftest.$ac_objext; then :
1740 ac_retval=0
1741 else
1742 $as_echo "$as_me: failed program was:" >&5
1743 sed 's/^/| /' conftest.$ac_ext >&5
1745 ac_retval=1
1747 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1748 return $ac_retval
1750 } # ac_fn_c_try_compile
1752 # ac_fn_cxx_try_compile LINENO
1753 # ----------------------------
1754 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1755 ac_fn_cxx_try_compile ()
1757 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1758 rm -f conftest.$ac_objext
1759 if { { ac_try="$ac_compile"
1760 case "(($ac_try" in
1761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1762 *) ac_try_echo=$ac_try;;
1763 esac
1764 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1765 $as_echo "$ac_try_echo"; } >&5
1766 (eval "$ac_compile") 2>conftest.err
1767 ac_status=$?
1768 if test -s conftest.err; then
1769 grep -v '^ *+' conftest.err >conftest.er1
1770 cat conftest.er1 >&5
1771 mv -f conftest.er1 conftest.err
1773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1774 test $ac_status = 0; } && {
1775 test -z "$ac_cxx_werror_flag" ||
1776 test ! -s conftest.err
1777 } && test -s conftest.$ac_objext; then :
1778 ac_retval=0
1779 else
1780 $as_echo "$as_me: failed program was:" >&5
1781 sed 's/^/| /' conftest.$ac_ext >&5
1783 ac_retval=1
1785 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1786 return $ac_retval
1788 } # ac_fn_cxx_try_compile
1790 # ac_fn_c_try_cpp LINENO
1791 # ----------------------
1792 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1793 ac_fn_c_try_cpp ()
1795 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1796 if { { ac_try="$ac_cpp conftest.$ac_ext"
1797 case "(($ac_try" in
1798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1799 *) ac_try_echo=$ac_try;;
1800 esac
1801 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1802 $as_echo "$ac_try_echo"; } >&5
1803 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1804 ac_status=$?
1805 if test -s conftest.err; then
1806 grep -v '^ *+' conftest.err >conftest.er1
1807 cat conftest.er1 >&5
1808 mv -f conftest.er1 conftest.err
1810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1811 test $ac_status = 0; } >/dev/null && {
1812 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1813 test ! -s conftest.err
1814 }; then :
1815 ac_retval=0
1816 else
1817 $as_echo "$as_me: failed program was:" >&5
1818 sed 's/^/| /' conftest.$ac_ext >&5
1820 ac_retval=1
1822 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1823 return $ac_retval
1825 } # ac_fn_c_try_cpp
1827 # ac_fn_c_try_link LINENO
1828 # -----------------------
1829 # Try to link conftest.$ac_ext, and return whether this succeeded.
1830 ac_fn_c_try_link ()
1832 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1833 rm -f conftest.$ac_objext conftest$ac_exeext
1834 if { { ac_try="$ac_link"
1835 case "(($ac_try" in
1836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1837 *) ac_try_echo=$ac_try;;
1838 esac
1839 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1840 $as_echo "$ac_try_echo"; } >&5
1841 (eval "$ac_link") 2>conftest.err
1842 ac_status=$?
1843 if test -s conftest.err; then
1844 grep -v '^ *+' conftest.err >conftest.er1
1845 cat conftest.er1 >&5
1846 mv -f conftest.er1 conftest.err
1848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1849 test $ac_status = 0; } && {
1850 test -z "$ac_c_werror_flag" ||
1851 test ! -s conftest.err
1852 } && test -s conftest$ac_exeext && {
1853 test "$cross_compiling" = yes ||
1854 $as_test_x conftest$ac_exeext
1855 }; then :
1856 ac_retval=0
1857 else
1858 $as_echo "$as_me: failed program was:" >&5
1859 sed 's/^/| /' conftest.$ac_ext >&5
1861 ac_retval=1
1863 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1864 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1865 # interfere with the next link command; also delete a directory that is
1866 # left behind by Apple's compiler. We do this before executing the actions.
1867 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869 return $ac_retval
1871 } # ac_fn_c_try_link
1873 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1874 # -------------------------------------------------------
1875 # Tests whether HEADER exists and can be compiled using the include files in
1876 # INCLUDES, setting the cache variable VAR accordingly.
1877 ac_fn_c_check_header_compile ()
1879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1881 $as_echo_n "checking for $2... " >&6; }
1882 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1883 $as_echo_n "(cached) " >&6
1884 else
1885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1886 /* end confdefs.h. */
1888 #include <$2>
1889 _ACEOF
1890 if ac_fn_c_try_compile "$LINENO"; then :
1891 eval "$3=yes"
1892 else
1893 eval "$3=no"
1895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1897 eval ac_res=\$$3
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1902 } # ac_fn_c_check_header_compile
1904 # ac_fn_c_try_run LINENO
1905 # ----------------------
1906 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1907 # that executables *can* be run.
1908 ac_fn_c_try_run ()
1910 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1911 if { { ac_try="$ac_link"
1912 case "(($ac_try" in
1913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1914 *) ac_try_echo=$ac_try;;
1915 esac
1916 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1917 $as_echo "$ac_try_echo"; } >&5
1918 (eval "$ac_link") 2>&5
1919 ac_status=$?
1920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1921 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1922 { { case "(($ac_try" in
1923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1924 *) ac_try_echo=$ac_try;;
1925 esac
1926 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1927 $as_echo "$ac_try_echo"; } >&5
1928 (eval "$ac_try") 2>&5
1929 ac_status=$?
1930 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1931 test $ac_status = 0; }; }; then :
1932 ac_retval=0
1933 else
1934 $as_echo "$as_me: program exited with status $ac_status" >&5
1935 $as_echo "$as_me: failed program was:" >&5
1936 sed 's/^/| /' conftest.$ac_ext >&5
1938 ac_retval=$ac_status
1940 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1941 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1942 return $ac_retval
1944 } # ac_fn_c_try_run
1946 # ac_fn_c_check_func LINENO FUNC VAR
1947 # ----------------------------------
1948 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1949 ac_fn_c_check_func ()
1951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1953 $as_echo_n "checking for $2... " >&6; }
1954 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1955 $as_echo_n "(cached) " >&6
1956 else
1957 if test x$gcc_no_link = xyes; then
1958 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
1960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1961 /* end confdefs.h. */
1962 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1963 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1964 #define $2 innocuous_$2
1966 /* System header to define __stub macros and hopefully few prototypes,
1967 which can conflict with char $2 (); below.
1968 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1969 <limits.h> exists even on freestanding compilers. */
1971 #ifdef __STDC__
1972 # include <limits.h>
1973 #else
1974 # include <assert.h>
1975 #endif
1977 #undef $2
1979 /* Override any GCC internal prototype to avoid an error.
1980 Use char because int might match the return type of a GCC
1981 builtin and then its argument prototype would still apply. */
1982 #ifdef __cplusplus
1983 extern "C"
1984 #endif
1985 char $2 ();
1986 /* The GNU C library defines this for functions which it implements
1987 to always fail with ENOSYS. Some functions are actually named
1988 something starting with __ and the normal name is an alias. */
1989 #if defined __stub_$2 || defined __stub___$2
1990 choke me
1991 #endif
1994 main ()
1996 return $2 ();
1998 return 0;
2000 _ACEOF
2001 if ac_fn_c_try_link "$LINENO"; then :
2002 eval "$3=yes"
2003 else
2004 eval "$3=no"
2006 rm -f core conftest.err conftest.$ac_objext \
2007 conftest$ac_exeext conftest.$ac_ext
2009 eval ac_res=\$$3
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2011 $as_echo "$ac_res" >&6; }
2012 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2014 } # ac_fn_c_check_func
2016 # ac_fn_cxx_try_cpp LINENO
2017 # ------------------------
2018 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2019 ac_fn_cxx_try_cpp ()
2021 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2022 if { { ac_try="$ac_cpp conftest.$ac_ext"
2023 case "(($ac_try" in
2024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2025 *) ac_try_echo=$ac_try;;
2026 esac
2027 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2028 $as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2030 ac_status=$?
2031 if test -s conftest.err; then
2032 grep -v '^ *+' conftest.err >conftest.er1
2033 cat conftest.er1 >&5
2034 mv -f conftest.er1 conftest.err
2036 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2037 test $ac_status = 0; } >/dev/null && {
2038 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2039 test ! -s conftest.err
2040 }; then :
2041 ac_retval=0
2042 else
2043 $as_echo "$as_me: failed program was:" >&5
2044 sed 's/^/| /' conftest.$ac_ext >&5
2046 ac_retval=1
2048 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2049 return $ac_retval
2051 } # ac_fn_cxx_try_cpp
2053 # ac_fn_cxx_try_link LINENO
2054 # -------------------------
2055 # Try to link conftest.$ac_ext, and return whether this succeeded.
2056 ac_fn_cxx_try_link ()
2058 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2059 rm -f conftest.$ac_objext conftest$ac_exeext
2060 if { { ac_try="$ac_link"
2061 case "(($ac_try" in
2062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2063 *) ac_try_echo=$ac_try;;
2064 esac
2065 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2066 $as_echo "$ac_try_echo"; } >&5
2067 (eval "$ac_link") 2>conftest.err
2068 ac_status=$?
2069 if test -s conftest.err; then
2070 grep -v '^ *+' conftest.err >conftest.er1
2071 cat conftest.er1 >&5
2072 mv -f conftest.er1 conftest.err
2074 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2075 test $ac_status = 0; } && {
2076 test -z "$ac_cxx_werror_flag" ||
2077 test ! -s conftest.err
2078 } && test -s conftest$ac_exeext && {
2079 test "$cross_compiling" = yes ||
2080 $as_test_x conftest$ac_exeext
2081 }; then :
2082 ac_retval=0
2083 else
2084 $as_echo "$as_me: failed program was:" >&5
2085 sed 's/^/| /' conftest.$ac_ext >&5
2087 ac_retval=1
2089 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2090 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2091 # interfere with the next link command; also delete a directory that is
2092 # left behind by Apple's compiler. We do this before executing the actions.
2093 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2094 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2095 return $ac_retval
2097 } # ac_fn_cxx_try_link
2099 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2100 # -------------------------------------------------------
2101 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2102 # the include files in INCLUDES and setting the cache variable VAR
2103 # accordingly.
2104 ac_fn_c_check_header_mongrel ()
2106 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2107 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2109 $as_echo_n "checking for $2... " >&6; }
2110 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2111 $as_echo_n "(cached) " >&6
2113 eval ac_res=\$$3
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2115 $as_echo "$ac_res" >&6; }
2116 else
2117 # Is the header compilable?
2118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2119 $as_echo_n "checking $2 usability... " >&6; }
2120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2121 /* end confdefs.h. */
2123 #include <$2>
2124 _ACEOF
2125 if ac_fn_c_try_compile "$LINENO"; then :
2126 ac_header_compiler=yes
2127 else
2128 ac_header_compiler=no
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2132 $as_echo "$ac_header_compiler" >&6; }
2134 # Is the header present?
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2136 $as_echo_n "checking $2 presence... " >&6; }
2137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2138 /* end confdefs.h. */
2139 #include <$2>
2140 _ACEOF
2141 if ac_fn_c_try_cpp "$LINENO"; then :
2142 ac_header_preproc=yes
2143 else
2144 ac_header_preproc=no
2146 rm -f conftest.err conftest.$ac_ext
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2148 $as_echo "$ac_header_preproc" >&6; }
2150 # So? What about this header?
2151 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2152 yes:no: )
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2154 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2156 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2158 no:yes:* )
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2160 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2162 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2164 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2165 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2166 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2168 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2170 esac
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2172 $as_echo_n "checking for $2... " >&6; }
2173 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2174 $as_echo_n "(cached) " >&6
2175 else
2176 eval "$3=\$ac_header_compiler"
2178 eval ac_res=\$$3
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2180 $as_echo "$ac_res" >&6; }
2182 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2184 } # ac_fn_c_check_header_mongrel
2186 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2187 # ---------------------------------------------------------
2188 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2189 # the include files in INCLUDES and setting the cache variable VAR
2190 # accordingly.
2191 ac_fn_cxx_check_header_mongrel ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2196 $as_echo_n "checking for $2... " >&6; }
2197 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2198 $as_echo_n "(cached) " >&6
2200 eval ac_res=\$$3
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2202 $as_echo "$ac_res" >&6; }
2203 else
2204 # Is the header compilable?
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2206 $as_echo_n "checking $2 usability... " >&6; }
2207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2208 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_cxx_try_compile "$LINENO"; then :
2213 ac_header_compiler=yes
2214 else
2215 ac_header_compiler=no
2217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2219 $as_echo "$ac_header_compiler" >&6; }
2221 # Is the header present?
2222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2223 $as_echo_n "checking $2 presence... " >&6; }
2224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2225 /* end confdefs.h. */
2226 #include <$2>
2227 _ACEOF
2228 if ac_fn_cxx_try_cpp "$LINENO"; then :
2229 ac_header_preproc=yes
2230 else
2231 ac_header_preproc=no
2233 rm -f conftest.err conftest.$ac_ext
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2235 $as_echo "$ac_header_preproc" >&6; }
2237 # So? What about this header?
2238 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2239 yes:no: )
2240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2241 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2245 no:yes:* )
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2247 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2249 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2251 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2253 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2255 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2257 esac
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2259 $as_echo_n "checking for $2... " >&6; }
2260 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2261 $as_echo_n "(cached) " >&6
2262 else
2263 eval "$3=\$ac_header_compiler"
2265 eval ac_res=\$$3
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2267 $as_echo "$ac_res" >&6; }
2269 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2271 } # ac_fn_cxx_check_header_mongrel
2273 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2274 # --------------------------------------------
2275 # Tries to find the compile-time value of EXPR in a program that includes
2276 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2277 # computed
2278 ac_fn_c_compute_int ()
2280 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2281 if test "$cross_compiling" = yes; then
2282 # Depending upon the size, compute the lo and hi bounds.
2283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2284 /* end confdefs.h. */
2287 main ()
2289 static int test_array [1 - 2 * !(($2) >= 0)];
2290 test_array [0] = 0
2293 return 0;
2295 _ACEOF
2296 if ac_fn_c_try_compile "$LINENO"; then :
2297 ac_lo=0 ac_mid=0
2298 while :; do
2299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2300 /* end confdefs.h. */
2303 main ()
2305 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2306 test_array [0] = 0
2309 return 0;
2311 _ACEOF
2312 if ac_fn_c_try_compile "$LINENO"; then :
2313 ac_hi=$ac_mid; break
2314 else
2315 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2316 if test $ac_lo -le $ac_mid; then
2317 ac_lo= ac_hi=
2318 break
2320 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2323 done
2324 else
2325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2326 /* end confdefs.h. */
2329 main ()
2331 static int test_array [1 - 2 * !(($2) < 0)];
2332 test_array [0] = 0
2335 return 0;
2337 _ACEOF
2338 if ac_fn_c_try_compile "$LINENO"; then :
2339 ac_hi=-1 ac_mid=-1
2340 while :; do
2341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2342 /* end confdefs.h. */
2345 main ()
2347 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2348 test_array [0] = 0
2351 return 0;
2353 _ACEOF
2354 if ac_fn_c_try_compile "$LINENO"; then :
2355 ac_lo=$ac_mid; break
2356 else
2357 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2358 if test $ac_mid -le $ac_hi; then
2359 ac_lo= ac_hi=
2360 break
2362 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2365 done
2366 else
2367 ac_lo= ac_hi=
2369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2372 # Binary search between lo and hi bounds.
2373 while test "x$ac_lo" != "x$ac_hi"; do
2374 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2376 /* end confdefs.h. */
2379 main ()
2381 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2382 test_array [0] = 0
2385 return 0;
2387 _ACEOF
2388 if ac_fn_c_try_compile "$LINENO"; then :
2389 ac_hi=$ac_mid
2390 else
2391 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2394 done
2395 case $ac_lo in #((
2396 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2397 '') ac_retval=1 ;;
2398 esac
2399 else
2400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2401 /* end confdefs.h. */
2403 static long int longval () { return $2; }
2404 static unsigned long int ulongval () { return $2; }
2405 #include <stdio.h>
2406 #include <stdlib.h>
2408 main ()
2411 FILE *f = fopen ("conftest.val", "w");
2412 if (! f)
2413 return 1;
2414 if (($2) < 0)
2416 long int i = longval ();
2417 if (i != ($2))
2418 return 1;
2419 fprintf (f, "%ld", i);
2421 else
2423 unsigned long int i = ulongval ();
2424 if (i != ($2))
2425 return 1;
2426 fprintf (f, "%lu", i);
2428 /* Do not output a trailing newline, as this causes \r\n confusion
2429 on some platforms. */
2430 return ferror (f) || fclose (f) != 0;
2433 return 0;
2435 _ACEOF
2436 if ac_fn_c_try_run "$LINENO"; then :
2437 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2438 else
2439 ac_retval=1
2441 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2442 conftest.$ac_objext conftest.beam conftest.$ac_ext
2443 rm -f conftest.val
2446 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2447 return $ac_retval
2449 } # ac_fn_c_compute_int
2451 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2452 # -------------------------------------------
2453 # Tests whether TYPE exists after having included INCLUDES, setting cache
2454 # variable VAR accordingly.
2455 ac_fn_c_check_type ()
2457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2459 $as_echo_n "checking for $2... " >&6; }
2460 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2461 $as_echo_n "(cached) " >&6
2462 else
2463 eval "$3=no"
2464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2465 /* end confdefs.h. */
2468 main ()
2470 if (sizeof ($2))
2471 return 0;
2473 return 0;
2475 _ACEOF
2476 if ac_fn_c_try_compile "$LINENO"; then :
2477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2478 /* end confdefs.h. */
2481 main ()
2483 if (sizeof (($2)))
2484 return 0;
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2491 else
2492 eval "$3=yes"
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2498 eval ac_res=\$$3
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2500 $as_echo "$ac_res" >&6; }
2501 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2503 } # ac_fn_c_check_type
2505 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2506 # ---------------------------------------------
2507 # Tests whether TYPE exists after having included INCLUDES, setting cache
2508 # variable VAR accordingly.
2509 ac_fn_cxx_check_type ()
2511 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2513 $as_echo_n "checking for $2... " >&6; }
2514 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2515 $as_echo_n "(cached) " >&6
2516 else
2517 eval "$3=no"
2518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2519 /* end confdefs.h. */
2522 main ()
2524 if (sizeof ($2))
2525 return 0;
2527 return 0;
2529 _ACEOF
2530 if ac_fn_cxx_try_compile "$LINENO"; then :
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2535 main ()
2537 if (sizeof (($2)))
2538 return 0;
2540 return 0;
2542 _ACEOF
2543 if ac_fn_cxx_try_compile "$LINENO"; then :
2545 else
2546 eval "$3=yes"
2548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2552 eval ac_res=\$$3
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2554 $as_echo "$ac_res" >&6; }
2555 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2557 } # ac_fn_cxx_check_type
2558 cat >config.log <<_ACEOF
2559 This file contains any messages produced by compilers while
2560 running configure, to aid debugging if configure makes a mistake.
2562 It was created by package-unused $as_me version-unused, which was
2563 generated by GNU Autoconf 2.64. Invocation command line was
2565 $ $0 $@
2567 _ACEOF
2568 exec 5>>config.log
2570 cat <<_ASUNAME
2571 ## --------- ##
2572 ## Platform. ##
2573 ## --------- ##
2575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2592 _ASUNAME
2594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2595 for as_dir in $PATH
2597 IFS=$as_save_IFS
2598 test -z "$as_dir" && as_dir=.
2599 $as_echo "PATH: $as_dir"
2600 done
2601 IFS=$as_save_IFS
2603 } >&5
2605 cat >&5 <<_ACEOF
2608 ## ----------- ##
2609 ## Core tests. ##
2610 ## ----------- ##
2612 _ACEOF
2615 # Keep a trace of the command line.
2616 # Strip out --no-create and --no-recursion so they do not pile up.
2617 # Strip out --silent because we don't want to record it for future runs.
2618 # Also quote any args containing shell meta-characters.
2619 # Make two passes to allow for proper duplicate-argument suppression.
2620 ac_configure_args=
2621 ac_configure_args0=
2622 ac_configure_args1=
2623 ac_must_keep_next=false
2624 for ac_pass in 1 2
2626 for ac_arg
2628 case $ac_arg in
2629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2631 | -silent | --silent | --silen | --sile | --sil)
2632 continue ;;
2633 *\'*)
2634 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2635 esac
2636 case $ac_pass in
2637 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2639 as_fn_append ac_configure_args1 " '$ac_arg'"
2640 if test $ac_must_keep_next = true; then
2641 ac_must_keep_next=false # Got value, back to normal.
2642 else
2643 case $ac_arg in
2644 *=* | --config-cache | -C | -disable-* | --disable-* \
2645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2647 | -with-* | --with-* | -without-* | --without-* | --x)
2648 case "$ac_configure_args0 " in
2649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2650 esac
2652 -* ) ac_must_keep_next=true ;;
2653 esac
2655 as_fn_append ac_configure_args " '$ac_arg'"
2657 esac
2658 done
2659 done
2660 { ac_configure_args0=; unset ac_configure_args0;}
2661 { ac_configure_args1=; unset ac_configure_args1;}
2663 # When interrupted or exit'd, cleanup temporary files, and complete
2664 # config.log. We remove comments because anyway the quotes in there
2665 # would cause problems or look ugly.
2666 # WARNING: Use '\'' to represent an apostrophe within the trap.
2667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2668 trap 'exit_status=$?
2669 # Save into config.log some information that might help in debugging.
2671 echo
2673 cat <<\_ASBOX
2674 ## ---------------- ##
2675 ## Cache variables. ##
2676 ## ---------------- ##
2677 _ASBOX
2678 echo
2679 # The following way of writing the cache mishandles newlines in values,
2681 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2682 eval ac_val=\$$ac_var
2683 case $ac_val in #(
2684 *${as_nl}*)
2685 case $ac_var in #(
2686 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2687 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2688 esac
2689 case $ac_var in #(
2690 _ | IFS | as_nl) ;; #(
2691 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2692 *) { eval $ac_var=; unset $ac_var;} ;;
2693 esac ;;
2694 esac
2695 done
2696 (set) 2>&1 |
2697 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2698 *${as_nl}ac_space=\ *)
2699 sed -n \
2700 "s/'\''/'\''\\\\'\'''\''/g;
2701 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2702 ;; #(
2704 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2706 esac |
2707 sort
2709 echo
2711 cat <<\_ASBOX
2712 ## ----------------- ##
2713 ## Output variables. ##
2714 ## ----------------- ##
2715 _ASBOX
2716 echo
2717 for ac_var in $ac_subst_vars
2719 eval ac_val=\$$ac_var
2720 case $ac_val in
2721 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2722 esac
2723 $as_echo "$ac_var='\''$ac_val'\''"
2724 done | sort
2725 echo
2727 if test -n "$ac_subst_files"; then
2728 cat <<\_ASBOX
2729 ## ------------------- ##
2730 ## File substitutions. ##
2731 ## ------------------- ##
2732 _ASBOX
2733 echo
2734 for ac_var in $ac_subst_files
2736 eval ac_val=\$$ac_var
2737 case $ac_val in
2738 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2739 esac
2740 $as_echo "$ac_var='\''$ac_val'\''"
2741 done | sort
2742 echo
2745 if test -s confdefs.h; then
2746 cat <<\_ASBOX
2747 ## ----------- ##
2748 ## confdefs.h. ##
2749 ## ----------- ##
2750 _ASBOX
2751 echo
2752 cat confdefs.h
2753 echo
2755 test "$ac_signal" != 0 &&
2756 $as_echo "$as_me: caught signal $ac_signal"
2757 $as_echo "$as_me: exit $exit_status"
2758 } >&5
2759 rm -f core *.core core.conftest.* &&
2760 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2761 exit $exit_status
2763 for ac_signal in 1 2 13 15; do
2764 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2765 done
2766 ac_signal=0
2768 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2769 rm -f -r conftest* confdefs.h
2771 $as_echo "/* confdefs.h */" > confdefs.h
2773 # Predefined preprocessor variables.
2775 cat >>confdefs.h <<_ACEOF
2776 #define PACKAGE_NAME "$PACKAGE_NAME"
2777 _ACEOF
2779 cat >>confdefs.h <<_ACEOF
2780 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2781 _ACEOF
2783 cat >>confdefs.h <<_ACEOF
2784 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2785 _ACEOF
2787 cat >>confdefs.h <<_ACEOF
2788 #define PACKAGE_STRING "$PACKAGE_STRING"
2789 _ACEOF
2791 cat >>confdefs.h <<_ACEOF
2792 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2793 _ACEOF
2795 cat >>confdefs.h <<_ACEOF
2796 #define PACKAGE_URL "$PACKAGE_URL"
2797 _ACEOF
2800 # Let the site file select an alternate cache file if it wants to.
2801 # Prefer an explicitly selected file to automatically selected ones.
2802 ac_site_file1=NONE
2803 ac_site_file2=NONE
2804 if test -n "$CONFIG_SITE"; then
2805 ac_site_file1=$CONFIG_SITE
2806 elif test "x$prefix" != xNONE; then
2807 ac_site_file1=$prefix/share/config.site
2808 ac_site_file2=$prefix/etc/config.site
2809 else
2810 ac_site_file1=$ac_default_prefix/share/config.site
2811 ac_site_file2=$ac_default_prefix/etc/config.site
2813 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2815 test "x$ac_site_file" = xNONE && continue
2816 if test -r "$ac_site_file"; then
2817 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2818 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2819 sed 's/^/| /' "$ac_site_file" >&5
2820 . "$ac_site_file"
2822 done
2824 if test -r "$cache_file"; then
2825 # Some versions of bash will fail to source /dev/null (special
2826 # files actually), so we avoid doing that.
2827 if test -f "$cache_file"; then
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2829 $as_echo "$as_me: loading cache $cache_file" >&6;}
2830 case $cache_file in
2831 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2832 *) . "./$cache_file";;
2833 esac
2835 else
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2837 $as_echo "$as_me: creating cache $cache_file" >&6;}
2838 >$cache_file
2841 # Check that the precious variables saved in the cache have kept the same
2842 # value.
2843 ac_cache_corrupted=false
2844 for ac_var in $ac_precious_vars; do
2845 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2846 eval ac_new_set=\$ac_env_${ac_var}_set
2847 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2848 eval ac_new_val=\$ac_env_${ac_var}_value
2849 case $ac_old_set,$ac_new_set in
2850 set,)
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2852 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2853 ac_cache_corrupted=: ;;
2854 ,set)
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2856 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2857 ac_cache_corrupted=: ;;
2858 ,);;
2860 if test "x$ac_old_val" != "x$ac_new_val"; then
2861 # differences in whitespace do not lead to failure.
2862 ac_old_val_w=`echo x $ac_old_val`
2863 ac_new_val_w=`echo x $ac_new_val`
2864 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2866 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2867 ac_cache_corrupted=:
2868 else
2869 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2870 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2871 eval $ac_var=\$ac_old_val
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2874 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2876 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2877 fi;;
2878 esac
2879 # Pass precious variables to config.status.
2880 if test "$ac_new_set" = set; then
2881 case $ac_new_val in
2882 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2883 *) ac_arg=$ac_var=$ac_new_val ;;
2884 esac
2885 case " $ac_configure_args " in
2886 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2887 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2888 esac
2890 done
2891 if $ac_cache_corrupted; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2893 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2895 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2896 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2898 ## -------------------- ##
2899 ## Main body of script. ##
2900 ## -------------------- ##
2902 ac_ext=c
2903 ac_cpp='$CPP $CPPFLAGS'
2904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2913 ac_config_headers="$ac_config_headers config.h"
2916 # This works around the fact that libtool configuration may change LD
2917 # for this particular configuration, but some shells, instead of
2918 # keeping the changes in LD private, export them just because LD is
2919 # exported. Only used at the end of this file.
2920 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2922 # Find the rest of the source tree framework.
2923 # Default to --enable-multilib
2924 # Check whether --enable-multilib was given.
2925 if test "${enable_multilib+set}" = set; then :
2926 enableval=$enable_multilib; case "$enableval" in
2927 yes) multilib=yes ;;
2928 no) multilib=no ;;
2929 *) as_fn_error "bad value $enableval for multilib option" "$LINENO" 5 ;;
2930 esac
2931 else
2932 multilib=yes
2936 # We may get other options which we leave undocumented:
2937 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2938 # See config-ml.in if you want the gory details.
2940 if test "$srcdir" = "."; then
2941 if test "$with_target_subdir" != "."; then
2942 multi_basedir="$srcdir/$with_multisrctop../.."
2943 else
2944 multi_basedir="$srcdir/$with_multisrctop.."
2946 else
2947 multi_basedir="$srcdir/.."
2951 # Even if the default multilib is not a cross compilation,
2952 # it may be that some of the other multilibs are.
2953 if test $cross_compiling = no && test $multilib = yes \
2954 && test "x${with_multisubdir}" != x ; then
2955 cross_compiling=maybe
2958 ac_config_commands="$ac_config_commands default-1"
2961 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
2963 # You will slowly go insane if you do not grok the following fact: when
2964 # building v3 as part of the compiler, the top-level /target/ becomes the
2965 # library's /host/. configure then causes --target to default to --host,
2966 # exactly like any other package using autoconf. Therefore, 'target' and
2967 # 'host' will always be the same. This makes sense both for native and
2968 # cross compilers, just think about it for a little while. :-)
2970 # Also, if v3 is being configured as part of a cross compiler, the top-level
2971 # configure script will pass the "real" host as $with_cross_host.
2973 # Do not delete or change the following two lines. For why, see
2974 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
2975 ac_aux_dir=
2976 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2977 for ac_t in install-sh install.sh shtool; do
2978 if test -f "$ac_dir/$ac_t"; then
2979 ac_aux_dir=$ac_dir
2980 ac_install_sh="$ac_aux_dir/$ac_t -c"
2981 break 2
2983 done
2984 done
2985 if test -z "$ac_aux_dir"; then
2986 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2989 # These three variables are undocumented and unsupported,
2990 # and are intended to be withdrawn in a future Autoconf release.
2991 # They can cause serious problems if a builder's source tree is in a directory
2992 # whose full name contains unusual characters.
2993 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2994 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2995 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2998 # Make sure we can run config.sub.
2999 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3000 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3003 $as_echo_n "checking build system type... " >&6; }
3004 if test "${ac_cv_build+set}" = set; then :
3005 $as_echo_n "(cached) " >&6
3006 else
3007 ac_build_alias=$build_alias
3008 test "x$ac_build_alias" = x &&
3009 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3010 test "x$ac_build_alias" = x &&
3011 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
3012 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3013 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3017 $as_echo "$ac_cv_build" >&6; }
3018 case $ac_cv_build in
3019 *-*-*) ;;
3020 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3021 esac
3022 build=$ac_cv_build
3023 ac_save_IFS=$IFS; IFS='-'
3024 set x $ac_cv_build
3025 shift
3026 build_cpu=$1
3027 build_vendor=$2
3028 shift; shift
3029 # Remember, the first character of IFS is used to create $*,
3030 # except with old shells:
3031 build_os=$*
3032 IFS=$ac_save_IFS
3033 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3037 $as_echo_n "checking host system type... " >&6; }
3038 if test "${ac_cv_host+set}" = set; then :
3039 $as_echo_n "(cached) " >&6
3040 else
3041 if test "x$host_alias" = x; then
3042 ac_cv_host=$ac_cv_build
3043 else
3044 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3045 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3050 $as_echo "$ac_cv_host" >&6; }
3051 case $ac_cv_host in
3052 *-*-*) ;;
3053 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3054 esac
3055 host=$ac_cv_host
3056 ac_save_IFS=$IFS; IFS='-'
3057 set x $ac_cv_host
3058 shift
3059 host_cpu=$1
3060 host_vendor=$2
3061 shift; shift
3062 # Remember, the first character of IFS is used to create $*,
3063 # except with old shells:
3064 host_os=$*
3065 IFS=$ac_save_IFS
3066 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3070 $as_echo_n "checking target system type... " >&6; }
3071 if test "${ac_cv_target+set}" = set; then :
3072 $as_echo_n "(cached) " >&6
3073 else
3074 if test "x$target_alias" = x; then
3075 ac_cv_target=$ac_cv_host
3076 else
3077 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3078 as_fn_error "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3083 $as_echo "$ac_cv_target" >&6; }
3084 case $ac_cv_target in
3085 *-*-*) ;;
3086 *) as_fn_error "invalid value of canonical target" "$LINENO" 5;;
3087 esac
3088 target=$ac_cv_target
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_target
3091 shift
3092 target_cpu=$1
3093 target_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 target_os=$*
3098 IFS=$ac_save_IFS
3099 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3102 # The aliases save the names the user supplied, while $host etc.
3103 # will get canonicalized.
3104 test -n "$target_alias" &&
3105 test "$program_prefix$program_suffix$program_transform_name" = \
3106 NONENONEs,x,x, &&
3107 program_prefix=${target_alias}-
3109 target_alias=${target_alias-$host_alias}
3111 # Handy for debugging:
3112 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3114 if test "$build" != "$host"; then
3115 # We are being configured with some form of cross compiler.
3116 GLIBCXX_IS_NATIVE=false
3117 case "$host","$target" in
3118 # Darwin crosses can use the host system's libraries and headers,
3119 # because of the fat library support. Of course, it must be the
3120 # same version of Darwin on both sides. Allow the user to
3121 # just say --target=foo-darwin without a version number to mean
3122 # "the version on this system".
3123 *-*-darwin*,*-*-darwin*)
3124 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3125 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3126 if test $hostos = $targetos -o $targetos = darwin ; then
3127 GLIBCXX_IS_NATIVE=true
3134 esac
3135 else
3136 GLIBCXX_IS_NATIVE=true
3139 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3140 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3141 # 1.x: minimum required version
3142 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3143 # of other PACKAGE_* variables will, however, and there's nothing
3144 # we can do about that; they come from AC_INIT).
3145 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3146 # file in the top srcdir, etc, etc), so stop complaining.
3147 # no-dependencies: turns off auto dependency generation (just for now)
3148 # no-dist: we don't want 'dist' and related rules.
3149 # -Wall: turns on all automake warnings...
3150 # -Wno-portability: ...except this one, since GNU make is now required.
3151 am__api_version='1.11'
3153 # Find a good install program. We prefer a C program (faster),
3154 # so one script is as good as another. But avoid the broken or
3155 # incompatible versions:
3156 # SysV /etc/install, /usr/sbin/install
3157 # SunOS /usr/etc/install
3158 # IRIX /sbin/install
3159 # AIX /bin/install
3160 # AmigaOS /C/install, which installs bootblocks on floppy discs
3161 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3162 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3163 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3164 # OS/2's system install, which has a completely different semantic
3165 # ./install, which can be erroneously created by make from ./install.sh.
3166 # Reject install programs that cannot install multiple files.
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3168 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3169 if test -z "$INSTALL"; then
3170 if test "${ac_cv_path_install+set}" = set; then :
3171 $as_echo_n "(cached) " >&6
3172 else
3173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3174 for as_dir in $PATH
3176 IFS=$as_save_IFS
3177 test -z "$as_dir" && as_dir=.
3178 # Account for people who put trailing slashes in PATH elements.
3179 case $as_dir/ in #((
3180 ./ | .// | /[cC]/* | \
3181 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3182 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3183 /usr/ucb/* ) ;;
3185 # OSF1 and SCO ODT 3.0 have their own names for install.
3186 # Don't use installbsd from OSF since it installs stuff as root
3187 # by default.
3188 for ac_prog in ginstall scoinst install; do
3189 for ac_exec_ext in '' $ac_executable_extensions; do
3190 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3191 if test $ac_prog = install &&
3192 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3193 # AIX install. It has an incompatible calling convention.
3195 elif test $ac_prog = install &&
3196 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3197 # program-specific install script used by HP pwplus--don't use.
3199 else
3200 rm -rf conftest.one conftest.two conftest.dir
3201 echo one > conftest.one
3202 echo two > conftest.two
3203 mkdir conftest.dir
3204 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3205 test -s conftest.one && test -s conftest.two &&
3206 test -s conftest.dir/conftest.one &&
3207 test -s conftest.dir/conftest.two
3208 then
3209 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3210 break 3
3214 done
3215 done
3217 esac
3219 done
3220 IFS=$as_save_IFS
3222 rm -rf conftest.one conftest.two conftest.dir
3225 if test "${ac_cv_path_install+set}" = set; then
3226 INSTALL=$ac_cv_path_install
3227 else
3228 # As a last resort, use the slow shell script. Don't cache a
3229 # value for INSTALL within a source directory, because that will
3230 # break other packages using the cache if that directory is
3231 # removed, or if the value is a relative name.
3232 INSTALL=$ac_install_sh
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3236 $as_echo "$INSTALL" >&6; }
3238 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3239 # It thinks the first close brace ends the variable substitution.
3240 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3242 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3244 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3247 $as_echo_n "checking whether build environment is sane... " >&6; }
3248 # Just in case
3249 sleep 1
3250 echo timestamp > conftest.file
3251 # Reject unsafe characters in $srcdir or the absolute working directory
3252 # name. Accept space and tab only in the latter.
3253 am_lf='
3255 case `pwd` in
3256 *[\\\"\#\$\&\'\`$am_lf]*)
3257 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
3258 esac
3259 case $srcdir in
3260 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3261 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3262 esac
3264 # Do `set' in a subshell so we don't clobber the current shell's
3265 # arguments. Must try -L first in case configure is actually a
3266 # symlink; some systems play weird games with the mod time of symlinks
3267 # (eg FreeBSD returns the mod time of the symlink's containing
3268 # directory).
3269 if (
3270 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3271 if test "$*" = "X"; then
3272 # -L didn't work.
3273 set X `ls -t "$srcdir/configure" conftest.file`
3275 rm -f conftest.file
3276 if test "$*" != "X $srcdir/configure conftest.file" \
3277 && test "$*" != "X conftest.file $srcdir/configure"; then
3279 # If neither matched, then we have a broken ls. This can happen
3280 # if, for instance, CONFIG_SHELL is bash and it inherits a
3281 # broken ls alias from the environment. This has actually
3282 # happened. Such a system could not be considered "sane".
3283 as_fn_error "ls -t appears to fail. Make sure there is not a broken
3284 alias in your environment" "$LINENO" 5
3287 test "$2" = conftest.file
3289 then
3290 # Ok.
3292 else
3293 as_fn_error "newly created file is older than distributed files!
3294 Check your system clock" "$LINENO" 5
3296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3297 $as_echo "yes" >&6; }
3298 test "$program_prefix" != NONE &&
3299 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3300 # Use a double $ so make ignores it.
3301 test "$program_suffix" != NONE &&
3302 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3303 # Double any \ or $.
3304 # By default was `s,x,x', remove it if useless.
3305 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3306 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3308 # expand $ac_aux_dir to an absolute path
3309 am_aux_dir=`cd $ac_aux_dir && pwd`
3311 if test x"${MISSING+set}" != xset; then
3312 case $am_aux_dir in
3313 *\ * | *\ *)
3314 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3316 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3317 esac
3319 # Use eval to expand $SHELL
3320 if eval "$MISSING --run true"; then
3321 am_missing_run="$MISSING --run "
3322 else
3323 am_missing_run=
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
3325 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
3328 if test x"${install_sh}" != xset; then
3329 case $am_aux_dir in
3330 *\ * | *\ *)
3331 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3333 install_sh="\${SHELL} $am_aux_dir/install-sh"
3334 esac
3337 # Installed binaries are usually stripped using `strip' when the user
3338 # run `make install-strip'. However `strip' might not be the right
3339 # tool to use in cross-compilation environments, therefore Automake
3340 # will honor the `STRIP' environment variable to overrule this program.
3341 if test "$cross_compiling" != no; then
3342 if test -n "$ac_tool_prefix"; then
3343 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3344 set dummy ${ac_tool_prefix}strip; ac_word=$2
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3346 $as_echo_n "checking for $ac_word... " >&6; }
3347 if test "${ac_cv_prog_STRIP+set}" = set; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 if test -n "$STRIP"; then
3351 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3352 else
3353 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3354 for as_dir in $PATH
3356 IFS=$as_save_IFS
3357 test -z "$as_dir" && as_dir=.
3358 for ac_exec_ext in '' $ac_executable_extensions; do
3359 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3360 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3361 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3362 break 2
3364 done
3365 done
3366 IFS=$as_save_IFS
3370 STRIP=$ac_cv_prog_STRIP
3371 if test -n "$STRIP"; then
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3373 $as_echo "$STRIP" >&6; }
3374 else
3375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3376 $as_echo "no" >&6; }
3381 if test -z "$ac_cv_prog_STRIP"; then
3382 ac_ct_STRIP=$STRIP
3383 # Extract the first word of "strip", so it can be a program name with args.
3384 set dummy strip; ac_word=$2
3385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3386 $as_echo_n "checking for $ac_word... " >&6; }
3387 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
3388 $as_echo_n "(cached) " >&6
3389 else
3390 if test -n "$ac_ct_STRIP"; then
3391 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3392 else
3393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3394 for as_dir in $PATH
3396 IFS=$as_save_IFS
3397 test -z "$as_dir" && as_dir=.
3398 for ac_exec_ext in '' $ac_executable_extensions; do
3399 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3400 ac_cv_prog_ac_ct_STRIP="strip"
3401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3402 break 2
3404 done
3405 done
3406 IFS=$as_save_IFS
3410 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3411 if test -n "$ac_ct_STRIP"; then
3412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3413 $as_echo "$ac_ct_STRIP" >&6; }
3414 else
3415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3416 $as_echo "no" >&6; }
3419 if test "x$ac_ct_STRIP" = x; then
3420 STRIP=":"
3421 else
3422 case $cross_compiling:$ac_tool_warned in
3423 yes:)
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3425 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3426 ac_tool_warned=yes ;;
3427 esac
3428 STRIP=$ac_ct_STRIP
3430 else
3431 STRIP="$ac_cv_prog_STRIP"
3435 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3438 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3439 if test -z "$MKDIR_P"; then
3440 if test "${ac_cv_path_mkdir+set}" = set; then :
3441 $as_echo_n "(cached) " >&6
3442 else
3443 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3444 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3446 IFS=$as_save_IFS
3447 test -z "$as_dir" && as_dir=.
3448 for ac_prog in mkdir gmkdir; do
3449 for ac_exec_ext in '' $ac_executable_extensions; do
3450 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
3451 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3452 'mkdir (GNU coreutils) '* | \
3453 'mkdir (coreutils) '* | \
3454 'mkdir (fileutils) '4.1*)
3455 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3456 break 3;;
3457 esac
3458 done
3459 done
3460 done
3461 IFS=$as_save_IFS
3465 if test "${ac_cv_path_mkdir+set}" = set; then
3466 MKDIR_P="$ac_cv_path_mkdir -p"
3467 else
3468 # As a last resort, use the slow shell script. Don't cache a
3469 # value for MKDIR_P within a source directory, because that will
3470 # break other packages using the cache if that directory is
3471 # removed, or if the value is a relative name.
3472 test -d ./--version && rmdir ./--version
3473 MKDIR_P="$ac_install_sh -d"
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3477 $as_echo "$MKDIR_P" >&6; }
3479 mkdir_p="$MKDIR_P"
3480 case $mkdir_p in
3481 [\\/$]* | ?:[\\/]*) ;;
3482 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
3483 esac
3485 for ac_prog in gawk mawk nawk awk
3487 # Extract the first word of "$ac_prog", so it can be a program name with args.
3488 set dummy $ac_prog; ac_word=$2
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3490 $as_echo_n "checking for $ac_word... " >&6; }
3491 if test "${ac_cv_prog_AWK+set}" = set; then :
3492 $as_echo_n "(cached) " >&6
3493 else
3494 if test -n "$AWK"; then
3495 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3496 else
3497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3498 for as_dir in $PATH
3500 IFS=$as_save_IFS
3501 test -z "$as_dir" && as_dir=.
3502 for ac_exec_ext in '' $ac_executable_extensions; do
3503 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3504 ac_cv_prog_AWK="$ac_prog"
3505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3506 break 2
3508 done
3509 done
3510 IFS=$as_save_IFS
3514 AWK=$ac_cv_prog_AWK
3515 if test -n "$AWK"; then
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3517 $as_echo "$AWK" >&6; }
3518 else
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3520 $as_echo "no" >&6; }
3524 test -n "$AWK" && break
3525 done
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3528 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3529 set x ${MAKE-make}
3530 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3531 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
3532 $as_echo_n "(cached) " >&6
3533 else
3534 cat >conftest.make <<\_ACEOF
3535 SHELL = /bin/sh
3536 all:
3537 @echo '@@@%%%=$(MAKE)=@@@%%%'
3538 _ACEOF
3539 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3540 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3541 *@@@%%%=?*=@@@%%%*)
3542 eval ac_cv_prog_make_${ac_make}_set=yes;;
3544 eval ac_cv_prog_make_${ac_make}_set=no;;
3545 esac
3546 rm -f conftest.make
3548 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3550 $as_echo "yes" >&6; }
3551 SET_MAKE=
3552 else
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3555 SET_MAKE="MAKE=${MAKE-make}"
3558 rm -rf .tst 2>/dev/null
3559 mkdir .tst 2>/dev/null
3560 if test -d .tst; then
3561 am__leading_dot=.
3562 else
3563 am__leading_dot=_
3565 rmdir .tst 2>/dev/null
3567 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3568 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3569 # is not polluted with repeated "-I."
3570 am__isrc=' -I$(srcdir)'
3571 # test to see if srcdir already configured
3572 if test -f $srcdir/config.status; then
3573 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3577 # test whether we have cygpath
3578 if test -z "$CYGPATH_W"; then
3579 if (cygpath --version) >/dev/null 2>/dev/null; then
3580 CYGPATH_W='cygpath -w'
3581 else
3582 CYGPATH_W=echo
3587 # Define the identity of the package.
3588 PACKAGE='libstdc++'
3589 VERSION='version-unused'
3592 # Some tools Automake needs.
3594 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3597 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3600 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3603 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3606 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3608 # We need awk for the "check" target. The system "awk" is bad on
3609 # some platforms.
3610 # Always define AMTAR for backward compatibility. Yes, it's still used
3611 # in the wild :-( We should find a proper way to deprecate it ...
3612 AMTAR='$${TAR-tar}'
3614 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3623 # -fno-builtin must be present here so that a non-conflicting form of
3624 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3626 save_CXXFLAGS="$CXXFLAGS"
3627 CXXFLAGS="$CXXFLAGS -fno-builtin"
3628 ac_ext=c
3629 ac_cpp='$CPP $CPPFLAGS'
3630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 if test -n "$ac_tool_prefix"; then
3634 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3635 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3637 $as_echo_n "checking for $ac_word... " >&6; }
3638 if test "${ac_cv_prog_CC+set}" = set; then :
3639 $as_echo_n "(cached) " >&6
3640 else
3641 if test -n "$CC"; then
3642 ac_cv_prog_CC="$CC" # Let the user override the test.
3643 else
3644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3645 for as_dir in $PATH
3647 IFS=$as_save_IFS
3648 test -z "$as_dir" && as_dir=.
3649 for ac_exec_ext in '' $ac_executable_extensions; do
3650 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3653 break 2
3655 done
3656 done
3657 IFS=$as_save_IFS
3661 CC=$ac_cv_prog_CC
3662 if test -n "$CC"; then
3663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3664 $as_echo "$CC" >&6; }
3665 else
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3672 if test -z "$ac_cv_prog_CC"; then
3673 ac_ct_CC=$CC
3674 # Extract the first word of "gcc", so it can be a program name with args.
3675 set dummy gcc; ac_word=$2
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3677 $as_echo_n "checking for $ac_word... " >&6; }
3678 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3679 $as_echo_n "(cached) " >&6
3680 else
3681 if test -n "$ac_ct_CC"; then
3682 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3683 else
3684 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3685 for as_dir in $PATH
3687 IFS=$as_save_IFS
3688 test -z "$as_dir" && as_dir=.
3689 for ac_exec_ext in '' $ac_executable_extensions; do
3690 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3691 ac_cv_prog_ac_ct_CC="gcc"
3692 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3693 break 2
3695 done
3696 done
3697 IFS=$as_save_IFS
3701 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3702 if test -n "$ac_ct_CC"; then
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3704 $as_echo "$ac_ct_CC" >&6; }
3705 else
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3707 $as_echo "no" >&6; }
3710 if test "x$ac_ct_CC" = x; then
3711 CC=""
3712 else
3713 case $cross_compiling:$ac_tool_warned in
3714 yes:)
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3716 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3717 ac_tool_warned=yes ;;
3718 esac
3719 CC=$ac_ct_CC
3721 else
3722 CC="$ac_cv_prog_CC"
3725 if test -z "$CC"; then
3726 if test -n "$ac_tool_prefix"; then
3727 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3728 set dummy ${ac_tool_prefix}cc; ac_word=$2
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730 $as_echo_n "checking for $ac_word... " >&6; }
3731 if test "${ac_cv_prog_CC+set}" = set; then :
3732 $as_echo_n "(cached) " >&6
3733 else
3734 if test -n "$CC"; then
3735 ac_cv_prog_CC="$CC" # Let the user override the test.
3736 else
3737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3738 for as_dir in $PATH
3740 IFS=$as_save_IFS
3741 test -z "$as_dir" && as_dir=.
3742 for ac_exec_ext in '' $ac_executable_extensions; do
3743 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3744 ac_cv_prog_CC="${ac_tool_prefix}cc"
3745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3746 break 2
3748 done
3749 done
3750 IFS=$as_save_IFS
3754 CC=$ac_cv_prog_CC
3755 if test -n "$CC"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3757 $as_echo "$CC" >&6; }
3758 else
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3760 $as_echo "no" >&6; }
3766 if test -z "$CC"; then
3767 # Extract the first word of "cc", so it can be a program name with args.
3768 set dummy cc; ac_word=$2
3769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3770 $as_echo_n "checking for $ac_word... " >&6; }
3771 if test "${ac_cv_prog_CC+set}" = set; then :
3772 $as_echo_n "(cached) " >&6
3773 else
3774 if test -n "$CC"; then
3775 ac_cv_prog_CC="$CC" # Let the user override the test.
3776 else
3777 ac_prog_rejected=no
3778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3779 for as_dir in $PATH
3781 IFS=$as_save_IFS
3782 test -z "$as_dir" && as_dir=.
3783 for ac_exec_ext in '' $ac_executable_extensions; do
3784 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3785 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3786 ac_prog_rejected=yes
3787 continue
3789 ac_cv_prog_CC="cc"
3790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3791 break 2
3793 done
3794 done
3795 IFS=$as_save_IFS
3797 if test $ac_prog_rejected = yes; then
3798 # We found a bogon in the path, so make sure we never use it.
3799 set dummy $ac_cv_prog_CC
3800 shift
3801 if test $# != 0; then
3802 # We chose a different compiler from the bogus one.
3803 # However, it has the same basename, so the bogon will be chosen
3804 # first if we set CC to just the basename; use the full file name.
3805 shift
3806 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3811 CC=$ac_cv_prog_CC
3812 if test -n "$CC"; then
3813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3814 $as_echo "$CC" >&6; }
3815 else
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3817 $as_echo "no" >&6; }
3822 if test -z "$CC"; then
3823 if test -n "$ac_tool_prefix"; then
3824 for ac_prog in cl.exe
3826 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3827 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3829 $as_echo_n "checking for $ac_word... " >&6; }
3830 if test "${ac_cv_prog_CC+set}" = set; then :
3831 $as_echo_n "(cached) " >&6
3832 else
3833 if test -n "$CC"; then
3834 ac_cv_prog_CC="$CC" # Let the user override the test.
3835 else
3836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 for as_dir in $PATH
3839 IFS=$as_save_IFS
3840 test -z "$as_dir" && as_dir=.
3841 for ac_exec_ext in '' $ac_executable_extensions; do
3842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3843 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3845 break 2
3847 done
3848 done
3849 IFS=$as_save_IFS
3853 CC=$ac_cv_prog_CC
3854 if test -n "$CC"; then
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3856 $as_echo "$CC" >&6; }
3857 else
3858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3859 $as_echo "no" >&6; }
3863 test -n "$CC" && break
3864 done
3866 if test -z "$CC"; then
3867 ac_ct_CC=$CC
3868 for ac_prog in cl.exe
3870 # Extract the first word of "$ac_prog", so it can be a program name with args.
3871 set dummy $ac_prog; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
3875 $as_echo_n "(cached) " >&6
3876 else
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3879 else
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3881 for as_dir in $PATH
3883 IFS=$as_save_IFS
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3887 ac_cv_prog_ac_ct_CC="$ac_prog"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3889 break 2
3891 done
3892 done
3893 IFS=$as_save_IFS
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3901 else
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3907 test -n "$ac_ct_CC" && break
3908 done
3910 if test "x$ac_ct_CC" = x; then
3911 CC=""
3912 else
3913 case $cross_compiling:$ac_tool_warned in
3914 yes:)
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3916 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3917 ac_tool_warned=yes ;;
3918 esac
3919 CC=$ac_ct_CC
3926 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3927 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3928 as_fn_error "no acceptable C compiler found in \$PATH
3929 See \`config.log' for more details." "$LINENO" 5; }
3931 # Provide some information about the compiler.
3932 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3933 set X $ac_compile
3934 ac_compiler=$2
3935 for ac_option in --version -v -V -qversion; do
3936 { { ac_try="$ac_compiler $ac_option >&5"
3937 case "(($ac_try" in
3938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3939 *) ac_try_echo=$ac_try;;
3940 esac
3941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3942 $as_echo "$ac_try_echo"; } >&5
3943 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3944 ac_status=$?
3945 if test -s conftest.err; then
3946 sed '10a\
3947 ... rest of stderr output deleted ...
3948 10q' conftest.err >conftest.er1
3949 cat conftest.er1 >&5
3950 rm -f conftest.er1 conftest.err
3952 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3953 test $ac_status = 0; }
3954 done
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3960 main ()
3964 return 0;
3966 _ACEOF
3967 # FIXME: Cleanup?
3968 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
3969 (eval $ac_link) 2>&5
3970 ac_status=$?
3971 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3972 test $ac_status = 0; }; then :
3973 gcc_no_link=no
3974 else
3975 gcc_no_link=yes
3977 if test x$gcc_no_link = xyes; then
3978 # Setting cross_compile will disable run tests; it will
3979 # also disable AC_CHECK_FILE but that's generally
3980 # correct if we can't link.
3981 cross_compiling=yes
3982 EXEEXT=
3983 else
3984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3985 /* end confdefs.h. */
3988 main ()
3992 return 0;
3994 _ACEOF
3995 ac_clean_files_save=$ac_clean_files
3996 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
3997 # Try to create an executable without -o first, disregard a.out.
3998 # It will help us diagnose broken compilers, and finding out an intuition
3999 # of exeext.
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4001 $as_echo_n "checking for C compiler default output file name... " >&6; }
4002 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4004 # The possible output files:
4005 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4007 ac_rmfiles=
4008 for ac_file in $ac_files
4010 case $ac_file in
4011 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4012 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4013 esac
4014 done
4015 rm -f $ac_rmfiles
4017 if { { ac_try="$ac_link_default"
4018 case "(($ac_try" in
4019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4020 *) ac_try_echo=$ac_try;;
4021 esac
4022 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4023 $as_echo "$ac_try_echo"; } >&5
4024 (eval "$ac_link_default") 2>&5
4025 ac_status=$?
4026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4027 test $ac_status = 0; }; then :
4028 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4029 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4030 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4031 # so that the user can short-circuit this test for compilers unknown to
4032 # Autoconf.
4033 for ac_file in $ac_files ''
4035 test -f "$ac_file" || continue
4036 case $ac_file in
4037 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4039 [ab].out )
4040 # We found the default executable, but exeext='' is most
4041 # certainly right.
4042 break;;
4043 *.* )
4044 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4045 then :; else
4046 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4048 # We set ac_cv_exeext here because the later test for it is not
4049 # safe: cross compilers may not add the suffix if given an `-o'
4050 # argument, so we may need to know it at that point already.
4051 # Even if this section looks crufty: it has the advantage of
4052 # actually working.
4053 break;;
4055 break;;
4056 esac
4057 done
4058 test "$ac_cv_exeext" = no && ac_cv_exeext=
4060 else
4061 ac_file=''
4063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4064 $as_echo "$ac_file" >&6; }
4065 if test -z "$ac_file"; then :
4066 $as_echo "$as_me: failed program was:" >&5
4067 sed 's/^/| /' conftest.$ac_ext >&5
4069 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4070 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4071 { as_fn_set_status 77
4072 as_fn_error "C compiler cannot create executables
4073 See \`config.log' for more details." "$LINENO" 5; }; }
4075 ac_exeext=$ac_cv_exeext
4077 # Check that the compiler produces executables we can run. If not, either
4078 # the compiler is broken, or we cross compile.
4079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4080 $as_echo_n "checking whether the C compiler works... " >&6; }
4081 # If not cross compiling, check that we can run a simple program.
4082 if test "$cross_compiling" != yes; then
4083 if { ac_try='./$ac_file'
4084 { { case "(($ac_try" in
4085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4086 *) ac_try_echo=$ac_try;;
4087 esac
4088 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4089 $as_echo "$ac_try_echo"; } >&5
4090 (eval "$ac_try") 2>&5
4091 ac_status=$?
4092 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4093 test $ac_status = 0; }; }; then
4094 cross_compiling=no
4095 else
4096 if test "$cross_compiling" = maybe; then
4097 cross_compiling=yes
4098 else
4099 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4100 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4101 as_fn_error "cannot run C compiled programs.
4102 If you meant to cross compile, use \`--host'.
4103 See \`config.log' for more details." "$LINENO" 5; }
4107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4108 $as_echo "yes" >&6; }
4110 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
4111 ac_clean_files=$ac_clean_files_save
4112 # Check that the compiler produces executables we can run. If not, either
4113 # the compiler is broken, or we cross compile.
4114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4115 $as_echo_n "checking whether we are cross compiling... " >&6; }
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4117 $as_echo "$cross_compiling" >&6; }
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4120 $as_echo_n "checking for suffix of executables... " >&6; }
4121 if { { ac_try="$ac_link"
4122 case "(($ac_try" in
4123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4124 *) ac_try_echo=$ac_try;;
4125 esac
4126 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4127 $as_echo "$ac_try_echo"; } >&5
4128 (eval "$ac_link") 2>&5
4129 ac_status=$?
4130 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4131 test $ac_status = 0; }; then :
4132 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4133 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4134 # work properly (i.e., refer to `conftest.exe'), while it won't with
4135 # `rm'.
4136 for ac_file in conftest.exe conftest conftest.*; do
4137 test -f "$ac_file" || continue
4138 case $ac_file in
4139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4140 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4141 break;;
4142 * ) break;;
4143 esac
4144 done
4145 else
4146 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4147 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4148 as_fn_error "cannot compute suffix of executables: cannot compile and link
4149 See \`config.log' for more details." "$LINENO" 5; }
4151 rm -f conftest$ac_cv_exeext
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4153 $as_echo "$ac_cv_exeext" >&6; }
4155 rm -f conftest.$ac_ext
4156 EXEEXT=$ac_cv_exeext
4157 ac_exeext=$EXEEXT
4159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4160 $as_echo_n "checking for suffix of object files... " >&6; }
4161 if test "${ac_cv_objext+set}" = set; then :
4162 $as_echo_n "(cached) " >&6
4163 else
4164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4165 /* end confdefs.h. */
4168 main ()
4172 return 0;
4174 _ACEOF
4175 rm -f conftest.o conftest.obj
4176 if { { ac_try="$ac_compile"
4177 case "(($ac_try" in
4178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4179 *) ac_try_echo=$ac_try;;
4180 esac
4181 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4182 $as_echo "$ac_try_echo"; } >&5
4183 (eval "$ac_compile") 2>&5
4184 ac_status=$?
4185 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4186 test $ac_status = 0; }; then :
4187 for ac_file in conftest.o conftest.obj conftest.*; do
4188 test -f "$ac_file" || continue;
4189 case $ac_file in
4190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4191 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4192 break;;
4193 esac
4194 done
4195 else
4196 $as_echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4201 as_fn_error "cannot compute suffix of object files: cannot compile
4202 See \`config.log' for more details." "$LINENO" 5; }
4204 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4207 $as_echo "$ac_cv_objext" >&6; }
4208 OBJEXT=$ac_cv_objext
4209 ac_objext=$OBJEXT
4210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4211 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4212 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
4213 $as_echo_n "(cached) " >&6
4214 else
4215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4216 /* end confdefs.h. */
4219 main ()
4221 #ifndef __GNUC__
4222 choke me
4223 #endif
4226 return 0;
4228 _ACEOF
4229 if ac_fn_c_try_compile "$LINENO"; then :
4230 ac_compiler_gnu=yes
4231 else
4232 ac_compiler_gnu=no
4234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4235 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4239 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4240 if test $ac_compiler_gnu = yes; then
4241 GCC=yes
4242 else
4243 GCC=
4245 ac_test_CFLAGS=${CFLAGS+set}
4246 ac_save_CFLAGS=$CFLAGS
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4248 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4249 if test "${ac_cv_prog_cc_g+set}" = set; then :
4250 $as_echo_n "(cached) " >&6
4251 else
4252 ac_save_c_werror_flag=$ac_c_werror_flag
4253 ac_c_werror_flag=yes
4254 ac_cv_prog_cc_g=no
4255 CFLAGS="-g"
4256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4257 /* end confdefs.h. */
4260 main ()
4264 return 0;
4266 _ACEOF
4267 if ac_fn_c_try_compile "$LINENO"; then :
4268 ac_cv_prog_cc_g=yes
4269 else
4270 CFLAGS=""
4271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4272 /* end confdefs.h. */
4275 main ()
4279 return 0;
4281 _ACEOF
4282 if ac_fn_c_try_compile "$LINENO"; then :
4284 else
4285 ac_c_werror_flag=$ac_save_c_werror_flag
4286 CFLAGS="-g"
4287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4288 /* end confdefs.h. */
4291 main ()
4295 return 0;
4297 _ACEOF
4298 if ac_fn_c_try_compile "$LINENO"; then :
4299 ac_cv_prog_cc_g=yes
4301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4306 ac_c_werror_flag=$ac_save_c_werror_flag
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4309 $as_echo "$ac_cv_prog_cc_g" >&6; }
4310 if test "$ac_test_CFLAGS" = set; then
4311 CFLAGS=$ac_save_CFLAGS
4312 elif test $ac_cv_prog_cc_g = yes; then
4313 if test "$GCC" = yes; then
4314 CFLAGS="-g -O2"
4315 else
4316 CFLAGS="-g"
4318 else
4319 if test "$GCC" = yes; then
4320 CFLAGS="-O2"
4321 else
4322 CFLAGS=
4325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4326 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4327 if test "${ac_cv_prog_cc_c89+set}" = set; then :
4328 $as_echo_n "(cached) " >&6
4329 else
4330 ac_cv_prog_cc_c89=no
4331 ac_save_CC=$CC
4332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4333 /* end confdefs.h. */
4334 #include <stdarg.h>
4335 #include <stdio.h>
4336 #include <sys/types.h>
4337 #include <sys/stat.h>
4338 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4339 struct buf { int x; };
4340 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4341 static char *e (p, i)
4342 char **p;
4343 int i;
4345 return p[i];
4347 static char *f (char * (*g) (char **, int), char **p, ...)
4349 char *s;
4350 va_list v;
4351 va_start (v,p);
4352 s = g (p, va_arg (v,int));
4353 va_end (v);
4354 return s;
4357 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4358 function prototypes and stuff, but not '\xHH' hex character constants.
4359 These don't provoke an error unfortunately, instead are silently treated
4360 as 'x'. The following induces an error, until -std is added to get
4361 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4362 array size at least. It's necessary to write '\x00'==0 to get something
4363 that's true only with -std. */
4364 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4366 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4367 inside strings and character constants. */
4368 #define FOO(x) 'x'
4369 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4371 int test (int i, double x);
4372 struct s1 {int (*f) (int a);};
4373 struct s2 {int (*f) (double a);};
4374 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4375 int argc;
4376 char **argv;
4378 main ()
4380 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4382 return 0;
4384 _ACEOF
4385 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4386 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4388 CC="$ac_save_CC $ac_arg"
4389 if ac_fn_c_try_compile "$LINENO"; then :
4390 ac_cv_prog_cc_c89=$ac_arg
4392 rm -f core conftest.err conftest.$ac_objext
4393 test "x$ac_cv_prog_cc_c89" != "xno" && break
4394 done
4395 rm -f conftest.$ac_ext
4396 CC=$ac_save_CC
4399 # AC_CACHE_VAL
4400 case "x$ac_cv_prog_cc_c89" in
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4403 $as_echo "none needed" >&6; } ;;
4404 xno)
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4406 $as_echo "unsupported" >&6; } ;;
4408 CC="$CC $ac_cv_prog_cc_c89"
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4410 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4411 esac
4412 if test "x$ac_cv_prog_cc_c89" != xno; then :
4416 ac_ext=c
4417 ac_cpp='$CPP $CPPFLAGS'
4418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4422 ac_ext=cpp
4423 ac_cpp='$CXXCPP $CPPFLAGS'
4424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4427 if test -z "$CXX"; then
4428 if test -n "$CCC"; then
4429 CXX=$CCC
4430 else
4431 if test -n "$ac_tool_prefix"; then
4432 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4434 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4435 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4437 $as_echo_n "checking for $ac_word... " >&6; }
4438 if test "${ac_cv_prog_CXX+set}" = set; then :
4439 $as_echo_n "(cached) " >&6
4440 else
4441 if test -n "$CXX"; then
4442 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4443 else
4444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4445 for as_dir in $PATH
4447 IFS=$as_save_IFS
4448 test -z "$as_dir" && as_dir=.
4449 for ac_exec_ext in '' $ac_executable_extensions; do
4450 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4451 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4453 break 2
4455 done
4456 done
4457 IFS=$as_save_IFS
4461 CXX=$ac_cv_prog_CXX
4462 if test -n "$CXX"; then
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4464 $as_echo "$CXX" >&6; }
4465 else
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4467 $as_echo "no" >&6; }
4471 test -n "$CXX" && break
4472 done
4474 if test -z "$CXX"; then
4475 ac_ct_CXX=$CXX
4476 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4478 # Extract the first word of "$ac_prog", so it can be a program name with args.
4479 set dummy $ac_prog; ac_word=$2
4480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4481 $as_echo_n "checking for $ac_word... " >&6; }
4482 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
4483 $as_echo_n "(cached) " >&6
4484 else
4485 if test -n "$ac_ct_CXX"; then
4486 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4487 else
4488 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4489 for as_dir in $PATH
4491 IFS=$as_save_IFS
4492 test -z "$as_dir" && as_dir=.
4493 for ac_exec_ext in '' $ac_executable_extensions; do
4494 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4495 ac_cv_prog_ac_ct_CXX="$ac_prog"
4496 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4497 break 2
4499 done
4500 done
4501 IFS=$as_save_IFS
4505 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4506 if test -n "$ac_ct_CXX"; then
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4508 $as_echo "$ac_ct_CXX" >&6; }
4509 else
4510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4511 $as_echo "no" >&6; }
4515 test -n "$ac_ct_CXX" && break
4516 done
4518 if test "x$ac_ct_CXX" = x; then
4519 CXX="g++"
4520 else
4521 case $cross_compiling:$ac_tool_warned in
4522 yes:)
4523 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4524 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4525 ac_tool_warned=yes ;;
4526 esac
4527 CXX=$ac_ct_CXX
4533 # Provide some information about the compiler.
4534 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4535 set X $ac_compile
4536 ac_compiler=$2
4537 for ac_option in --version -v -V -qversion; do
4538 { { ac_try="$ac_compiler $ac_option >&5"
4539 case "(($ac_try" in
4540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4541 *) ac_try_echo=$ac_try;;
4542 esac
4543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4544 $as_echo "$ac_try_echo"; } >&5
4545 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4546 ac_status=$?
4547 if test -s conftest.err; then
4548 sed '10a\
4549 ... rest of stderr output deleted ...
4550 10q' conftest.err >conftest.er1
4551 cat conftest.er1 >&5
4552 rm -f conftest.er1 conftest.err
4554 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4555 test $ac_status = 0; }
4556 done
4558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4559 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4560 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
4561 $as_echo_n "(cached) " >&6
4562 else
4563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4564 /* end confdefs.h. */
4567 main ()
4569 #ifndef __GNUC__
4570 choke me
4571 #endif
4574 return 0;
4576 _ACEOF
4577 if ac_fn_cxx_try_compile "$LINENO"; then :
4578 ac_compiler_gnu=yes
4579 else
4580 ac_compiler_gnu=no
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4587 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4588 if test $ac_compiler_gnu = yes; then
4589 GXX=yes
4590 else
4591 GXX=
4593 ac_test_CXXFLAGS=${CXXFLAGS+set}
4594 ac_save_CXXFLAGS=$CXXFLAGS
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4596 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4597 if test "${ac_cv_prog_cxx_g+set}" = set; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4601 ac_cxx_werror_flag=yes
4602 ac_cv_prog_cxx_g=no
4603 CXXFLAGS="-g"
4604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4605 /* end confdefs.h. */
4608 main ()
4612 return 0;
4614 _ACEOF
4615 if ac_fn_cxx_try_compile "$LINENO"; then :
4616 ac_cv_prog_cxx_g=yes
4617 else
4618 CXXFLAGS=""
4619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4620 /* end confdefs.h. */
4623 main ()
4627 return 0;
4629 _ACEOF
4630 if ac_fn_cxx_try_compile "$LINENO"; then :
4632 else
4633 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4634 CXXFLAGS="-g"
4635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4636 /* end confdefs.h. */
4639 main ()
4643 return 0;
4645 _ACEOF
4646 if ac_fn_cxx_try_compile "$LINENO"; then :
4647 ac_cv_prog_cxx_g=yes
4649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4654 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4657 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4658 if test "$ac_test_CXXFLAGS" = set; then
4659 CXXFLAGS=$ac_save_CXXFLAGS
4660 elif test $ac_cv_prog_cxx_g = yes; then
4661 if test "$GXX" = yes; then
4662 CXXFLAGS="-g -O2"
4663 else
4664 CXXFLAGS="-g"
4666 else
4667 if test "$GXX" = yes; then
4668 CXXFLAGS="-O2"
4669 else
4670 CXXFLAGS=
4673 ac_ext=c
4674 ac_cpp='$CPP $CPPFLAGS'
4675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4679 CXXFLAGS="$save_CXXFLAGS"
4681 # Runs configure.host, and assorted other critical bits. Sets
4682 # up critical shell variables.
4684 ac_ext=c
4685 ac_cpp='$CPP $CPPFLAGS'
4686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4690 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4691 # On Suns, sometimes $CPP names a directory.
4692 if test -n "$CPP" && test -d "$CPP"; then
4693 CPP=
4695 if test -z "$CPP"; then
4696 if test "${ac_cv_prog_CPP+set}" = set; then :
4697 $as_echo_n "(cached) " >&6
4698 else
4699 # Double quotes because CPP needs to be expanded
4700 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4702 ac_preproc_ok=false
4703 for ac_c_preproc_warn_flag in '' yes
4705 # Use a header file that comes with gcc, so configuring glibc
4706 # with a fresh cross-compiler works.
4707 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4708 # <limits.h> exists even on freestanding compilers.
4709 # On the NeXT, cc -E runs the code through the compiler's parser,
4710 # not just through cpp. "Syntax error" is here to catch this case.
4711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4712 /* end confdefs.h. */
4713 #ifdef __STDC__
4714 # include <limits.h>
4715 #else
4716 # include <assert.h>
4717 #endif
4718 Syntax error
4719 _ACEOF
4720 if ac_fn_c_try_cpp "$LINENO"; then :
4722 else
4723 # Broken: fails on valid input.
4724 continue
4726 rm -f conftest.err conftest.$ac_ext
4728 # OK, works on sane cases. Now check whether nonexistent headers
4729 # can be detected and how.
4730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4731 /* end confdefs.h. */
4732 #include <ac_nonexistent.h>
4733 _ACEOF
4734 if ac_fn_c_try_cpp "$LINENO"; then :
4735 # Broken: success on invalid input.
4736 continue
4737 else
4738 # Passes both tests.
4739 ac_preproc_ok=:
4740 break
4742 rm -f conftest.err conftest.$ac_ext
4744 done
4745 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4746 rm -f conftest.err conftest.$ac_ext
4747 if $ac_preproc_ok; then :
4748 break
4751 done
4752 ac_cv_prog_CPP=$CPP
4755 CPP=$ac_cv_prog_CPP
4756 else
4757 ac_cv_prog_CPP=$CPP
4759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4760 $as_echo "$CPP" >&6; }
4761 ac_preproc_ok=false
4762 for ac_c_preproc_warn_flag in '' yes
4764 # Use a header file that comes with gcc, so configuring glibc
4765 # with a fresh cross-compiler works.
4766 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4767 # <limits.h> exists even on freestanding compilers.
4768 # On the NeXT, cc -E runs the code through the compiler's parser,
4769 # not just through cpp. "Syntax error" is here to catch this case.
4770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4771 /* end confdefs.h. */
4772 #ifdef __STDC__
4773 # include <limits.h>
4774 #else
4775 # include <assert.h>
4776 #endif
4777 Syntax error
4778 _ACEOF
4779 if ac_fn_c_try_cpp "$LINENO"; then :
4781 else
4782 # Broken: fails on valid input.
4783 continue
4785 rm -f conftest.err conftest.$ac_ext
4787 # OK, works on sane cases. Now check whether nonexistent headers
4788 # can be detected and how.
4789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4790 /* end confdefs.h. */
4791 #include <ac_nonexistent.h>
4792 _ACEOF
4793 if ac_fn_c_try_cpp "$LINENO"; then :
4794 # Broken: success on invalid input.
4795 continue
4796 else
4797 # Passes both tests.
4798 ac_preproc_ok=:
4799 break
4801 rm -f conftest.err conftest.$ac_ext
4803 done
4804 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4805 rm -f conftest.err conftest.$ac_ext
4806 if $ac_preproc_ok; then :
4808 else
4809 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4810 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4811 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4812 See \`config.log' for more details." "$LINENO" 5; }
4815 ac_ext=c
4816 ac_cpp='$CPP $CPPFLAGS'
4817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4823 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4824 if test "${ac_cv_path_GREP+set}" = set; then :
4825 $as_echo_n "(cached) " >&6
4826 else
4827 if test -z "$GREP"; then
4828 ac_path_GREP_found=false
4829 # Loop through the user's path and test for each of PROGNAME-LIST
4830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4831 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4833 IFS=$as_save_IFS
4834 test -z "$as_dir" && as_dir=.
4835 for ac_prog in grep ggrep; do
4836 for ac_exec_ext in '' $ac_executable_extensions; do
4837 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4838 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4839 # Check for GNU ac_path_GREP and select it if it is found.
4840 # Check for GNU $ac_path_GREP
4841 case `"$ac_path_GREP" --version 2>&1` in
4842 *GNU*)
4843 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4845 ac_count=0
4846 $as_echo_n 0123456789 >"conftest.in"
4847 while :
4849 cat "conftest.in" "conftest.in" >"conftest.tmp"
4850 mv "conftest.tmp" "conftest.in"
4851 cp "conftest.in" "conftest.nl"
4852 $as_echo 'GREP' >> "conftest.nl"
4853 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4854 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4855 as_fn_arith $ac_count + 1 && ac_count=$as_val
4856 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4857 # Best one so far, save it but keep looking for a better one
4858 ac_cv_path_GREP="$ac_path_GREP"
4859 ac_path_GREP_max=$ac_count
4861 # 10*(2^10) chars as input seems more than enough
4862 test $ac_count -gt 10 && break
4863 done
4864 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4865 esac
4867 $ac_path_GREP_found && break 3
4868 done
4869 done
4870 done
4871 IFS=$as_save_IFS
4872 if test -z "$ac_cv_path_GREP"; then
4873 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4875 else
4876 ac_cv_path_GREP=$GREP
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4881 $as_echo "$ac_cv_path_GREP" >&6; }
4882 GREP="$ac_cv_path_GREP"
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4886 $as_echo_n "checking for egrep... " >&6; }
4887 if test "${ac_cv_path_EGREP+set}" = set; then :
4888 $as_echo_n "(cached) " >&6
4889 else
4890 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4891 then ac_cv_path_EGREP="$GREP -E"
4892 else
4893 if test -z "$EGREP"; then
4894 ac_path_EGREP_found=false
4895 # Loop through the user's path and test for each of PROGNAME-LIST
4896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4897 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4899 IFS=$as_save_IFS
4900 test -z "$as_dir" && as_dir=.
4901 for ac_prog in egrep; do
4902 for ac_exec_ext in '' $ac_executable_extensions; do
4903 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4904 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4905 # Check for GNU ac_path_EGREP and select it if it is found.
4906 # Check for GNU $ac_path_EGREP
4907 case `"$ac_path_EGREP" --version 2>&1` in
4908 *GNU*)
4909 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4911 ac_count=0
4912 $as_echo_n 0123456789 >"conftest.in"
4913 while :
4915 cat "conftest.in" "conftest.in" >"conftest.tmp"
4916 mv "conftest.tmp" "conftest.in"
4917 cp "conftest.in" "conftest.nl"
4918 $as_echo 'EGREP' >> "conftest.nl"
4919 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4920 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4921 as_fn_arith $ac_count + 1 && ac_count=$as_val
4922 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4923 # Best one so far, save it but keep looking for a better one
4924 ac_cv_path_EGREP="$ac_path_EGREP"
4925 ac_path_EGREP_max=$ac_count
4927 # 10*(2^10) chars as input seems more than enough
4928 test $ac_count -gt 10 && break
4929 done
4930 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4931 esac
4933 $ac_path_EGREP_found && break 3
4934 done
4935 done
4936 done
4937 IFS=$as_save_IFS
4938 if test -z "$ac_cv_path_EGREP"; then
4939 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4941 else
4942 ac_cv_path_EGREP=$EGREP
4947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4948 $as_echo "$ac_cv_path_EGREP" >&6; }
4949 EGREP="$ac_cv_path_EGREP"
4953 # Keep these sync'd with the list in Makefile.am. The first provides an
4954 # expandable list at autoconf time; the second provides an expandable list
4955 # (i.e., shell variable) at configure time.
4957 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/filesystem doc po testsuite python'
4959 # These need to be absolute paths, yet at the same time need to
4960 # canonicalize only relative paths, because then amd will not unmount
4961 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
4962 glibcxx_builddir=`${PWDCMD-pwd}`
4963 case $srcdir in
4964 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
4965 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
4966 esac
4967 toplevel_builddir=${glibcxx_builddir}/..
4968 toplevel_srcdir=${glibcxx_srcdir}/..
4974 # We use these options to decide which functions to include. They are
4975 # set from the top level.
4977 # Check whether --with-target-subdir was given.
4978 if test "${with_target_subdir+set}" = set; then :
4979 withval=$with_target_subdir;
4984 # Check whether --with-cross-host was given.
4985 if test "${with_cross_host+set}" = set; then :
4986 withval=$with_cross_host;
4991 # Check whether --with-newlib was given.
4992 if test "${with_newlib+set}" = set; then :
4993 withval=$with_newlib;
4997 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
4998 # available). Uncomment the next line to force a particular method.
4999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5000 $as_echo_n "checking whether ln -s works... " >&6; }
5001 LN_S=$as_ln_s
5002 if test "$LN_S" = "ln -s"; then
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5004 $as_echo "yes" >&6; }
5005 else
5006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5007 $as_echo "no, using $LN_S" >&6; }
5010 #LN_S='cp -p'
5012 if test -n "$ac_tool_prefix"; then
5013 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5014 set dummy ${ac_tool_prefix}as; ac_word=$2
5015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5016 $as_echo_n "checking for $ac_word... " >&6; }
5017 if test "${ac_cv_prog_AS+set}" = set; then :
5018 $as_echo_n "(cached) " >&6
5019 else
5020 if test -n "$AS"; then
5021 ac_cv_prog_AS="$AS" # Let the user override the test.
5022 else
5023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5024 for as_dir in $PATH
5026 IFS=$as_save_IFS
5027 test -z "$as_dir" && as_dir=.
5028 for ac_exec_ext in '' $ac_executable_extensions; do
5029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5030 ac_cv_prog_AS="${ac_tool_prefix}as"
5031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5032 break 2
5034 done
5035 done
5036 IFS=$as_save_IFS
5040 AS=$ac_cv_prog_AS
5041 if test -n "$AS"; then
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5043 $as_echo "$AS" >&6; }
5044 else
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5046 $as_echo "no" >&6; }
5051 if test -z "$ac_cv_prog_AS"; then
5052 ac_ct_AS=$AS
5053 # Extract the first word of "as", so it can be a program name with args.
5054 set dummy as; ac_word=$2
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5056 $as_echo_n "checking for $ac_word... " >&6; }
5057 if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
5058 $as_echo_n "(cached) " >&6
5059 else
5060 if test -n "$ac_ct_AS"; then
5061 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5062 else
5063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5064 for as_dir in $PATH
5066 IFS=$as_save_IFS
5067 test -z "$as_dir" && as_dir=.
5068 for ac_exec_ext in '' $ac_executable_extensions; do
5069 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5070 ac_cv_prog_ac_ct_AS="as"
5071 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5072 break 2
5074 done
5075 done
5076 IFS=$as_save_IFS
5080 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5081 if test -n "$ac_ct_AS"; then
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5083 $as_echo "$ac_ct_AS" >&6; }
5084 else
5085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5086 $as_echo "no" >&6; }
5089 if test "x$ac_ct_AS" = x; then
5090 AS=""
5091 else
5092 case $cross_compiling:$ac_tool_warned in
5093 yes:)
5094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5095 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5096 ac_tool_warned=yes ;;
5097 esac
5098 AS=$ac_ct_AS
5100 else
5101 AS="$ac_cv_prog_AS"
5104 if test -n "$ac_tool_prefix"; then
5105 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5106 set dummy ${ac_tool_prefix}ar; ac_word=$2
5107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5108 $as_echo_n "checking for $ac_word... " >&6; }
5109 if test "${ac_cv_prog_AR+set}" = set; then :
5110 $as_echo_n "(cached) " >&6
5111 else
5112 if test -n "$AR"; then
5113 ac_cv_prog_AR="$AR" # Let the user override the test.
5114 else
5115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5116 for as_dir in $PATH
5118 IFS=$as_save_IFS
5119 test -z "$as_dir" && as_dir=.
5120 for ac_exec_ext in '' $ac_executable_extensions; do
5121 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5122 ac_cv_prog_AR="${ac_tool_prefix}ar"
5123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5124 break 2
5126 done
5127 done
5128 IFS=$as_save_IFS
5132 AR=$ac_cv_prog_AR
5133 if test -n "$AR"; then
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5135 $as_echo "$AR" >&6; }
5136 else
5137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 $as_echo "no" >&6; }
5143 if test -z "$ac_cv_prog_AR"; then
5144 ac_ct_AR=$AR
5145 # Extract the first word of "ar", so it can be a program name with args.
5146 set dummy ar; ac_word=$2
5147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5148 $as_echo_n "checking for $ac_word... " >&6; }
5149 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
5150 $as_echo_n "(cached) " >&6
5151 else
5152 if test -n "$ac_ct_AR"; then
5153 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5154 else
5155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5156 for as_dir in $PATH
5158 IFS=$as_save_IFS
5159 test -z "$as_dir" && as_dir=.
5160 for ac_exec_ext in '' $ac_executable_extensions; do
5161 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5162 ac_cv_prog_ac_ct_AR="ar"
5163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5164 break 2
5166 done
5167 done
5168 IFS=$as_save_IFS
5172 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5173 if test -n "$ac_ct_AR"; then
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5175 $as_echo "$ac_ct_AR" >&6; }
5176 else
5177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5178 $as_echo "no" >&6; }
5181 if test "x$ac_ct_AR" = x; then
5182 AR=""
5183 else
5184 case $cross_compiling:$ac_tool_warned in
5185 yes:)
5186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5188 ac_tool_warned=yes ;;
5189 esac
5190 AR=$ac_ct_AR
5192 else
5193 AR="$ac_cv_prog_AR"
5196 if test -n "$ac_tool_prefix"; then
5197 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5198 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if test "${ac_cv_prog_RANLIB+set}" = set; then :
5202 $as_echo_n "(cached) " >&6
5203 else
5204 if test -n "$RANLIB"; then
5205 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5206 else
5207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5208 for as_dir in $PATH
5210 IFS=$as_save_IFS
5211 test -z "$as_dir" && as_dir=.
5212 for ac_exec_ext in '' $ac_executable_extensions; do
5213 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5214 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5215 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5216 break 2
5218 done
5219 done
5220 IFS=$as_save_IFS
5224 RANLIB=$ac_cv_prog_RANLIB
5225 if test -n "$RANLIB"; then
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5227 $as_echo "$RANLIB" >&6; }
5228 else
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5230 $as_echo "no" >&6; }
5235 if test -z "$ac_cv_prog_RANLIB"; then
5236 ac_ct_RANLIB=$RANLIB
5237 # Extract the first word of "ranlib", so it can be a program name with args.
5238 set dummy ranlib; ac_word=$2
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5240 $as_echo_n "checking for $ac_word... " >&6; }
5241 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
5242 $as_echo_n "(cached) " >&6
5243 else
5244 if test -n "$ac_ct_RANLIB"; then
5245 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5246 else
5247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5248 for as_dir in $PATH
5250 IFS=$as_save_IFS
5251 test -z "$as_dir" && as_dir=.
5252 for ac_exec_ext in '' $ac_executable_extensions; do
5253 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5254 ac_cv_prog_ac_ct_RANLIB="ranlib"
5255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5256 break 2
5258 done
5259 done
5260 IFS=$as_save_IFS
5264 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5265 if test -n "$ac_ct_RANLIB"; then
5266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5267 $as_echo "$ac_ct_RANLIB" >&6; }
5268 else
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5270 $as_echo "no" >&6; }
5273 if test "x$ac_ct_RANLIB" = x; then
5274 RANLIB="ranlib-not-found-in-path-error"
5275 else
5276 case $cross_compiling:$ac_tool_warned in
5277 yes:)
5278 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5279 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5280 ac_tool_warned=yes ;;
5281 esac
5282 RANLIB=$ac_ct_RANLIB
5284 else
5285 RANLIB="$ac_cv_prog_RANLIB"
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5291 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5292 # Check whether --enable-maintainer-mode was given.
5293 if test "${enable_maintainer_mode+set}" = set; then :
5294 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5295 else
5296 USE_MAINTAINER_MODE=no
5299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5300 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5301 if test $USE_MAINTAINER_MODE = yes; then
5302 MAINTAINER_MODE_TRUE=
5303 MAINTAINER_MODE_FALSE='#'
5304 else
5305 MAINTAINER_MODE_TRUE='#'
5306 MAINTAINER_MODE_FALSE=
5309 MAINT=$MAINTAINER_MODE_TRUE
5313 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5314 # which are themselves conditionally expanded.
5315 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5316 ## other macros from doing the same. This should be automated.) -pme
5318 # Check for C library flavor since GNU/Linux platforms use different
5319 # configuration directories depending on the C library in use.
5320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5321 /* end confdefs.h. */
5323 #include <stdio.h>
5324 #if __UCLIBC__
5325 _using_uclibc
5326 #endif
5328 _ACEOF
5329 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5330 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5331 uclibc=yes
5332 else
5333 uclibc=no
5335 rm -f conftest*
5338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5339 /* end confdefs.h. */
5341 #include <stdio.h>
5342 #if __BIONIC__
5343 _using_bionic
5344 #endif
5346 _ACEOF
5347 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5348 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5349 bionic=yes
5350 else
5351 bionic=no
5353 rm -f conftest*
5356 # Find platform-specific directories containing configuration info.
5357 # Also possibly modify flags used elsewhere, as needed by the platform.
5359 . $glibcxx_srcdir/configure.host
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5361 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5362 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5363 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5367 # Libtool setup.
5368 if test "x${with_newlib}" != "xyes"; then
5369 enable_dlopen=yes
5374 case `pwd` in
5375 *\ * | *\ *)
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5377 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5378 esac
5382 macro_version='2.2.7a'
5383 macro_revision='1.3134'
5397 ltmain="$ac_aux_dir/ltmain.sh"
5399 # Backslashify metacharacters that are still active within
5400 # double-quoted strings.
5401 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5403 # Same as above, but do not quote variable references.
5404 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5406 # Sed substitution to delay expansion of an escaped shell variable in a
5407 # double_quote_subst'ed string.
5408 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5410 # Sed substitution to delay expansion of an escaped single quote.
5411 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5413 # Sed substitution to avoid accidental globbing in evaled expressions
5414 no_glob_subst='s/\*/\\\*/g'
5416 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5417 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5418 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5421 $as_echo_n "checking how to print strings... " >&6; }
5422 # Test print first, because it will be a builtin if present.
5423 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5424 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5425 ECHO='print -r --'
5426 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5427 ECHO='printf %s\n'
5428 else
5429 # Use this function as a fallback that always works.
5430 func_fallback_echo ()
5432 eval 'cat <<_LTECHO_EOF
5434 _LTECHO_EOF'
5436 ECHO='func_fallback_echo'
5439 # func_echo_all arg...
5440 # Invoke $ECHO with all args, space-separated.
5441 func_echo_all ()
5443 $ECHO ""
5446 case "$ECHO" in
5447 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5448 $as_echo "printf" >&6; } ;;
5449 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5450 $as_echo "print -r" >&6; } ;;
5451 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5452 $as_echo "cat" >&6; } ;;
5453 esac
5468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5469 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5470 if test "${ac_cv_path_SED+set}" = set; then :
5471 $as_echo_n "(cached) " >&6
5472 else
5473 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5474 for ac_i in 1 2 3 4 5 6 7; do
5475 ac_script="$ac_script$as_nl$ac_script"
5476 done
5477 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5478 { ac_script=; unset ac_script;}
5479 if test -z "$SED"; then
5480 ac_path_SED_found=false
5481 # Loop through the user's path and test for each of PROGNAME-LIST
5482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5483 for as_dir in $PATH
5485 IFS=$as_save_IFS
5486 test -z "$as_dir" && as_dir=.
5487 for ac_prog in sed gsed; do
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5490 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
5491 # Check for GNU ac_path_SED and select it if it is found.
5492 # Check for GNU $ac_path_SED
5493 case `"$ac_path_SED" --version 2>&1` in
5494 *GNU*)
5495 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5497 ac_count=0
5498 $as_echo_n 0123456789 >"conftest.in"
5499 while :
5501 cat "conftest.in" "conftest.in" >"conftest.tmp"
5502 mv "conftest.tmp" "conftest.in"
5503 cp "conftest.in" "conftest.nl"
5504 $as_echo '' >> "conftest.nl"
5505 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5506 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5507 as_fn_arith $ac_count + 1 && ac_count=$as_val
5508 if test $ac_count -gt ${ac_path_SED_max-0}; then
5509 # Best one so far, save it but keep looking for a better one
5510 ac_cv_path_SED="$ac_path_SED"
5511 ac_path_SED_max=$ac_count
5513 # 10*(2^10) chars as input seems more than enough
5514 test $ac_count -gt 10 && break
5515 done
5516 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5517 esac
5519 $ac_path_SED_found && break 3
5520 done
5521 done
5522 done
5523 IFS=$as_save_IFS
5524 if test -z "$ac_cv_path_SED"; then
5525 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
5527 else
5528 ac_cv_path_SED=$SED
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5533 $as_echo "$ac_cv_path_SED" >&6; }
5534 SED="$ac_cv_path_SED"
5535 rm -f conftest.sed
5537 test -z "$SED" && SED=sed
5538 Xsed="$SED -e 1s/^X//"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5551 $as_echo_n "checking for fgrep... " >&6; }
5552 if test "${ac_cv_path_FGREP+set}" = set; then :
5553 $as_echo_n "(cached) " >&6
5554 else
5555 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5556 then ac_cv_path_FGREP="$GREP -F"
5557 else
5558 if test -z "$FGREP"; then
5559 ac_path_FGREP_found=false
5560 # Loop through the user's path and test for each of PROGNAME-LIST
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_prog in fgrep; do
5567 for ac_exec_ext in '' $ac_executable_extensions; do
5568 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5569 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
5570 # Check for GNU ac_path_FGREP and select it if it is found.
5571 # Check for GNU $ac_path_FGREP
5572 case `"$ac_path_FGREP" --version 2>&1` in
5573 *GNU*)
5574 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5576 ac_count=0
5577 $as_echo_n 0123456789 >"conftest.in"
5578 while :
5580 cat "conftest.in" "conftest.in" >"conftest.tmp"
5581 mv "conftest.tmp" "conftest.in"
5582 cp "conftest.in" "conftest.nl"
5583 $as_echo 'FGREP' >> "conftest.nl"
5584 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5585 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5586 as_fn_arith $ac_count + 1 && ac_count=$as_val
5587 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5588 # Best one so far, save it but keep looking for a better one
5589 ac_cv_path_FGREP="$ac_path_FGREP"
5590 ac_path_FGREP_max=$ac_count
5592 # 10*(2^10) chars as input seems more than enough
5593 test $ac_count -gt 10 && break
5594 done
5595 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5596 esac
5598 $ac_path_FGREP_found && break 3
5599 done
5600 done
5601 done
5602 IFS=$as_save_IFS
5603 if test -z "$ac_cv_path_FGREP"; then
5604 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5606 else
5607 ac_cv_path_FGREP=$FGREP
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5613 $as_echo "$ac_cv_path_FGREP" >&6; }
5614 FGREP="$ac_cv_path_FGREP"
5617 test -z "$GREP" && GREP=grep
5637 # Check whether --with-gnu-ld was given.
5638 if test "${with_gnu_ld+set}" = set; then :
5639 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5640 else
5641 with_gnu_ld=no
5644 ac_prog=ld
5645 if test "$GCC" = yes; then
5646 # Check if gcc -print-prog-name=ld gives a path.
5647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5648 $as_echo_n "checking for ld used by $CC... " >&6; }
5649 case $host in
5650 *-*-mingw*)
5651 # gcc leaves a trailing carriage return which upsets mingw
5652 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5654 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5655 esac
5656 case $ac_prog in
5657 # Accept absolute paths.
5658 [\\/]* | ?:[\\/]*)
5659 re_direlt='/[^/][^/]*/\.\./'
5660 # Canonicalize the pathname of ld
5661 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5662 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5663 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5664 done
5665 test -z "$LD" && LD="$ac_prog"
5668 # If it fails, then pretend we aren't using GCC.
5669 ac_prog=ld
5672 # If it is relative, then search for the first ld in PATH.
5673 with_gnu_ld=unknown
5675 esac
5676 elif test "$with_gnu_ld" = yes; then
5677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5678 $as_echo_n "checking for GNU ld... " >&6; }
5679 else
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5681 $as_echo_n "checking for non-GNU ld... " >&6; }
5683 if test "${lt_cv_path_LD+set}" = set; then :
5684 $as_echo_n "(cached) " >&6
5685 else
5686 if test -z "$LD"; then
5687 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5688 for ac_dir in $PATH; do
5689 IFS="$lt_save_ifs"
5690 test -z "$ac_dir" && ac_dir=.
5691 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5692 lt_cv_path_LD="$ac_dir/$ac_prog"
5693 # Check to see if the program is GNU ld. I'd rather use --version,
5694 # but apparently some variants of GNU ld only accept -v.
5695 # Break only if it was the GNU/non-GNU ld that we prefer.
5696 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5697 *GNU* | *'with BFD'*)
5698 test "$with_gnu_ld" != no && break
5701 test "$with_gnu_ld" != yes && break
5703 esac
5705 done
5706 IFS="$lt_save_ifs"
5707 else
5708 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5712 LD="$lt_cv_path_LD"
5713 if test -n "$LD"; then
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5715 $as_echo "$LD" >&6; }
5716 else
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5718 $as_echo "no" >&6; }
5720 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5722 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5723 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
5724 $as_echo_n "(cached) " >&6
5725 else
5726 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5727 case `$LD -v 2>&1 </dev/null` in
5728 *GNU* | *'with BFD'*)
5729 lt_cv_prog_gnu_ld=yes
5732 lt_cv_prog_gnu_ld=no
5734 esac
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5737 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5738 with_gnu_ld=$lt_cv_prog_gnu_ld
5748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5749 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5750 if test "${lt_cv_path_NM+set}" = set; then :
5751 $as_echo_n "(cached) " >&6
5752 else
5753 if test -n "$NM"; then
5754 # Let the user override the test.
5755 lt_cv_path_NM="$NM"
5756 else
5757 lt_nm_to_check="${ac_tool_prefix}nm"
5758 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5759 lt_nm_to_check="$lt_nm_to_check nm"
5761 for lt_tmp_nm in $lt_nm_to_check; do
5762 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5763 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5764 IFS="$lt_save_ifs"
5765 test -z "$ac_dir" && ac_dir=.
5766 tmp_nm="$ac_dir/$lt_tmp_nm"
5767 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5768 # Check to see if the nm accepts a BSD-compat flag.
5769 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5770 # nm: unknown option "B" ignored
5771 # Tru64's nm complains that /dev/null is an invalid object file
5772 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5773 */dev/null* | *'Invalid file or object type'*)
5774 lt_cv_path_NM="$tmp_nm -B"
5775 break
5778 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5779 */dev/null*)
5780 lt_cv_path_NM="$tmp_nm -p"
5781 break
5784 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5785 continue # so that we can try to find one that supports BSD flags
5787 esac
5789 esac
5791 done
5792 IFS="$lt_save_ifs"
5793 done
5794 : ${lt_cv_path_NM=no}
5797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5798 $as_echo "$lt_cv_path_NM" >&6; }
5799 if test "$lt_cv_path_NM" != "no"; then
5800 NM="$lt_cv_path_NM"
5801 else
5802 # Didn't find any BSD compatible name lister, look for dumpbin.
5803 if test -n "$DUMPBIN"; then :
5804 # Let the user override the test.
5805 else
5806 if test -n "$ac_tool_prefix"; then
5807 for ac_prog in dumpbin "link -dump"
5809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5812 $as_echo_n "checking for $ac_word... " >&6; }
5813 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
5814 $as_echo_n "(cached) " >&6
5815 else
5816 if test -n "$DUMPBIN"; then
5817 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5818 else
5819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5820 for as_dir in $PATH
5822 IFS=$as_save_IFS
5823 test -z "$as_dir" && as_dir=.
5824 for ac_exec_ext in '' $ac_executable_extensions; do
5825 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5826 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5828 break 2
5830 done
5831 done
5832 IFS=$as_save_IFS
5836 DUMPBIN=$ac_cv_prog_DUMPBIN
5837 if test -n "$DUMPBIN"; then
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5839 $as_echo "$DUMPBIN" >&6; }
5840 else
5841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5842 $as_echo "no" >&6; }
5846 test -n "$DUMPBIN" && break
5847 done
5849 if test -z "$DUMPBIN"; then
5850 ac_ct_DUMPBIN=$DUMPBIN
5851 for ac_prog in dumpbin "link -dump"
5853 # Extract the first word of "$ac_prog", so it can be a program name with args.
5854 set dummy $ac_prog; ac_word=$2
5855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5856 $as_echo_n "checking for $ac_word... " >&6; }
5857 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
5858 $as_echo_n "(cached) " >&6
5859 else
5860 if test -n "$ac_ct_DUMPBIN"; then
5861 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5862 else
5863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5864 for as_dir in $PATH
5866 IFS=$as_save_IFS
5867 test -z "$as_dir" && as_dir=.
5868 for ac_exec_ext in '' $ac_executable_extensions; do
5869 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
5870 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5872 break 2
5874 done
5875 done
5876 IFS=$as_save_IFS
5880 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5881 if test -n "$ac_ct_DUMPBIN"; then
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5883 $as_echo "$ac_ct_DUMPBIN" >&6; }
5884 else
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5886 $as_echo "no" >&6; }
5890 test -n "$ac_ct_DUMPBIN" && break
5891 done
5893 if test "x$ac_ct_DUMPBIN" = x; then
5894 DUMPBIN=":"
5895 else
5896 case $cross_compiling:$ac_tool_warned in
5897 yes:)
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5900 ac_tool_warned=yes ;;
5901 esac
5902 DUMPBIN=$ac_ct_DUMPBIN
5906 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5907 *COFF*)
5908 DUMPBIN="$DUMPBIN -symbols"
5911 DUMPBIN=:
5913 esac
5916 if test "$DUMPBIN" != ":"; then
5917 NM="$DUMPBIN"
5920 test -z "$NM" && NM=nm
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5928 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5929 if test "${lt_cv_nm_interface+set}" = set; then :
5930 $as_echo_n "(cached) " >&6
5931 else
5932 lt_cv_nm_interface="BSD nm"
5933 echo "int some_variable = 0;" > conftest.$ac_ext
5934 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5935 (eval "$ac_compile" 2>conftest.err)
5936 cat conftest.err >&5
5937 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5938 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5939 cat conftest.err >&5
5940 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5941 cat conftest.out >&5
5942 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5943 lt_cv_nm_interface="MS dumpbin"
5945 rm -f conftest*
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5948 $as_echo "$lt_cv_nm_interface" >&6; }
5950 # find the maximum length of command line arguments
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5952 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5953 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
5954 $as_echo_n "(cached) " >&6
5955 else
5957 teststring="ABCD"
5959 case $build_os in
5960 msdosdjgpp*)
5961 # On DJGPP, this test can blow up pretty badly due to problems in libc
5962 # (any single argument exceeding 2000 bytes causes a buffer overrun
5963 # during glob expansion). Even if it were fixed, the result of this
5964 # check would be larger than it should be.
5965 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5968 gnu*)
5969 # Under GNU Hurd, this test is not required because there is
5970 # no limit to the length of command line arguments.
5971 # Libtool will interpret -1 as no limit whatsoever
5972 lt_cv_sys_max_cmd_len=-1;
5975 cygwin* | mingw* | cegcc*)
5976 # On Win9x/ME, this test blows up -- it succeeds, but takes
5977 # about 5 minutes as the teststring grows exponentially.
5978 # Worse, since 9x/ME are not pre-emptively multitasking,
5979 # you end up with a "frozen" computer, even though with patience
5980 # the test eventually succeeds (with a max line length of 256k).
5981 # Instead, let's just punt: use the minimum linelength reported by
5982 # all of the supported platforms: 8192 (on NT/2K/XP).
5983 lt_cv_sys_max_cmd_len=8192;
5986 mint*)
5987 # On MiNT this can take a long time and run out of memory.
5988 lt_cv_sys_max_cmd_len=8192;
5991 amigaos*)
5992 # On AmigaOS with pdksh, this test takes hours, literally.
5993 # So we just punt and use a minimum line length of 8192.
5994 lt_cv_sys_max_cmd_len=8192;
5997 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5998 # This has been around since 386BSD, at least. Likely further.
5999 if test -x /sbin/sysctl; then
6000 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6001 elif test -x /usr/sbin/sysctl; then
6002 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6003 else
6004 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6006 # And add a safety zone
6007 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6008 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6011 interix*)
6012 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6013 lt_cv_sys_max_cmd_len=196608
6016 osf*)
6017 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6018 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6019 # nice to cause kernel panics so lets avoid the loop below.
6020 # First set a reasonable default.
6021 lt_cv_sys_max_cmd_len=16384
6023 if test -x /sbin/sysconfig; then
6024 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6025 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6026 esac
6029 sco3.2v5*)
6030 lt_cv_sys_max_cmd_len=102400
6032 sysv5* | sco5v6* | sysv4.2uw2*)
6033 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6034 if test -n "$kargmax"; then
6035 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6036 else
6037 lt_cv_sys_max_cmd_len=32768
6041 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6042 if test -n "$lt_cv_sys_max_cmd_len"; then
6043 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6044 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6045 else
6046 # Make teststring a little bigger before we do anything with it.
6047 # a 1K string should be a reasonable start.
6048 for i in 1 2 3 4 5 6 7 8 ; do
6049 teststring=$teststring$teststring
6050 done
6051 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6052 # If test is not a shell built-in, we'll probably end up computing a
6053 # maximum length that is only half of the actual maximum length, but
6054 # we can't tell.
6055 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6056 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6057 test $i != 17 # 1/2 MB should be enough
6059 i=`expr $i + 1`
6060 teststring=$teststring$teststring
6061 done
6062 # Only check the string length outside the loop.
6063 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6064 teststring=
6065 # Add a significant safety factor because C++ compilers can tack on
6066 # massive amounts of additional arguments before passing them to the
6067 # linker. It appears as though 1/2 is a usable value.
6068 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6071 esac
6075 if test -n $lt_cv_sys_max_cmd_len ; then
6076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6077 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6078 else
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6080 $as_echo "none" >&6; }
6082 max_cmd_len=$lt_cv_sys_max_cmd_len
6089 : ${CP="cp -f"}
6090 : ${MV="mv -f"}
6091 : ${RM="rm -f"}
6093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6094 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6095 # Try some XSI features
6096 xsi_shell=no
6097 ( _lt_dummy="a/b/c"
6098 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6099 = c,a/b,, \
6100 && eval 'test $(( 1 + 1 )) -eq 2 \
6101 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6102 && xsi_shell=yes
6103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6104 $as_echo "$xsi_shell" >&6; }
6107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6108 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6109 lt_shell_append=no
6110 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6111 >/dev/null 2>&1 \
6112 && lt_shell_append=yes
6113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6114 $as_echo "$lt_shell_append" >&6; }
6117 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6118 lt_unset=unset
6119 else
6120 lt_unset=false
6127 # test EBCDIC or ASCII
6128 case `echo X|tr X '\101'` in
6129 A) # ASCII based system
6130 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6131 lt_SP2NL='tr \040 \012'
6132 lt_NL2SP='tr \015\012 \040\040'
6134 *) # EBCDIC based system
6135 lt_SP2NL='tr \100 \n'
6136 lt_NL2SP='tr \r\n \100\100'
6138 esac
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6149 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6150 if test "${lt_cv_ld_reload_flag+set}" = set; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 lt_cv_ld_reload_flag='-r'
6155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6156 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6157 reload_flag=$lt_cv_ld_reload_flag
6158 case $reload_flag in
6159 "" | " "*) ;;
6160 *) reload_flag=" $reload_flag" ;;
6161 esac
6162 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6163 case $host_os in
6164 darwin*)
6165 if test "$GCC" = yes; then
6166 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6167 else
6168 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6171 esac
6181 if test -n "$ac_tool_prefix"; then
6182 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6183 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6185 $as_echo_n "checking for $ac_word... " >&6; }
6186 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
6187 $as_echo_n "(cached) " >&6
6188 else
6189 if test -n "$OBJDUMP"; then
6190 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6191 else
6192 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6193 for as_dir in $PATH
6195 IFS=$as_save_IFS
6196 test -z "$as_dir" && as_dir=.
6197 for ac_exec_ext in '' $ac_executable_extensions; do
6198 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6199 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6201 break 2
6203 done
6204 done
6205 IFS=$as_save_IFS
6209 OBJDUMP=$ac_cv_prog_OBJDUMP
6210 if test -n "$OBJDUMP"; then
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6212 $as_echo "$OBJDUMP" >&6; }
6213 else
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6215 $as_echo "no" >&6; }
6220 if test -z "$ac_cv_prog_OBJDUMP"; then
6221 ac_ct_OBJDUMP=$OBJDUMP
6222 # Extract the first word of "objdump", so it can be a program name with args.
6223 set dummy objdump; ac_word=$2
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6225 $as_echo_n "checking for $ac_word... " >&6; }
6226 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
6227 $as_echo_n "(cached) " >&6
6228 else
6229 if test -n "$ac_ct_OBJDUMP"; then
6230 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6231 else
6232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6233 for as_dir in $PATH
6235 IFS=$as_save_IFS
6236 test -z "$as_dir" && as_dir=.
6237 for ac_exec_ext in '' $ac_executable_extensions; do
6238 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6239 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6241 break 2
6243 done
6244 done
6245 IFS=$as_save_IFS
6249 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6250 if test -n "$ac_ct_OBJDUMP"; then
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6252 $as_echo "$ac_ct_OBJDUMP" >&6; }
6253 else
6254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6255 $as_echo "no" >&6; }
6258 if test "x$ac_ct_OBJDUMP" = x; then
6259 OBJDUMP="false"
6260 else
6261 case $cross_compiling:$ac_tool_warned in
6262 yes:)
6263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6264 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6265 ac_tool_warned=yes ;;
6266 esac
6267 OBJDUMP=$ac_ct_OBJDUMP
6269 else
6270 OBJDUMP="$ac_cv_prog_OBJDUMP"
6273 test -z "$OBJDUMP" && OBJDUMP=objdump
6283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6284 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6285 if test "${lt_cv_deplibs_check_method+set}" = set; then :
6286 $as_echo_n "(cached) " >&6
6287 else
6288 lt_cv_file_magic_cmd='$MAGIC_CMD'
6289 lt_cv_file_magic_test_file=
6290 lt_cv_deplibs_check_method='unknown'
6291 # Need to set the preceding variable on all platforms that support
6292 # interlibrary dependencies.
6293 # 'none' -- dependencies not supported.
6294 # `unknown' -- same as none, but documents that we really don't know.
6295 # 'pass_all' -- all dependencies passed with no checks.
6296 # 'test_compile' -- check by making test program.
6297 # 'file_magic [[regex]]' -- check by looking for files in library path
6298 # which responds to the $file_magic_cmd with a given extended regex.
6299 # If you have `file' or equivalent on your system and you're not sure
6300 # whether `pass_all' will *always* work, you probably want this one.
6302 case $host_os in
6303 aix[4-9]*)
6304 lt_cv_deplibs_check_method=pass_all
6307 beos*)
6308 lt_cv_deplibs_check_method=pass_all
6311 bsdi[45]*)
6312 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6313 lt_cv_file_magic_cmd='/usr/bin/file -L'
6314 lt_cv_file_magic_test_file=/shlib/libc.so
6317 cygwin*)
6318 # func_win32_libid is a shell function defined in ltmain.sh
6319 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6320 lt_cv_file_magic_cmd='func_win32_libid'
6323 mingw* | pw32*)
6324 # Base MSYS/MinGW do not provide the 'file' command needed by
6325 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6326 # unless we find 'file', for example because we are cross-compiling.
6327 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6328 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6329 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6330 lt_cv_file_magic_cmd='func_win32_libid'
6331 else
6332 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6333 lt_cv_file_magic_cmd='$OBJDUMP -f'
6337 cegcc*)
6338 # use the weaker test based on 'objdump'. See mingw*.
6339 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6340 lt_cv_file_magic_cmd='$OBJDUMP -f'
6343 darwin* | rhapsody*)
6344 lt_cv_deplibs_check_method=pass_all
6347 freebsd* | dragonfly*)
6348 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6349 case $host_cpu in
6350 i*86 )
6351 # Not sure whether the presence of OpenBSD here was a mistake.
6352 # Let's accept both of them until this is cleared up.
6353 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6354 lt_cv_file_magic_cmd=/usr/bin/file
6355 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6357 esac
6358 else
6359 lt_cv_deplibs_check_method=pass_all
6363 gnu*)
6364 lt_cv_deplibs_check_method=pass_all
6367 haiku*)
6368 lt_cv_deplibs_check_method=pass_all
6371 hpux10.20* | hpux11*)
6372 lt_cv_file_magic_cmd=/usr/bin/file
6373 case $host_cpu in
6374 ia64*)
6375 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6376 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6378 hppa*64*)
6379 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6380 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6383 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6384 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6386 esac
6389 interix[3-9]*)
6390 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6394 irix5* | irix6* | nonstopux*)
6395 case $LD in
6396 *-32|*"-32 ") libmagic=32-bit;;
6397 *-n32|*"-n32 ") libmagic=N32;;
6398 *-64|*"-64 ") libmagic=64-bit;;
6399 *) libmagic=never-match;;
6400 esac
6401 lt_cv_deplibs_check_method=pass_all
6404 # This must be Linux ELF.
6405 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6406 lt_cv_deplibs_check_method=pass_all
6409 netbsd*)
6410 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6411 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6412 else
6413 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6417 newos6*)
6418 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6419 lt_cv_file_magic_cmd=/usr/bin/file
6420 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6423 *nto* | *qnx*)
6424 lt_cv_deplibs_check_method=pass_all
6427 openbsd*)
6428 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6429 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6430 else
6431 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6435 osf3* | osf4* | osf5*)
6436 lt_cv_deplibs_check_method=pass_all
6439 rdos*)
6440 lt_cv_deplibs_check_method=pass_all
6443 solaris*)
6444 lt_cv_deplibs_check_method=pass_all
6447 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6448 lt_cv_deplibs_check_method=pass_all
6451 sysv4 | sysv4.3*)
6452 case $host_vendor in
6453 motorola)
6454 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6455 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6457 ncr)
6458 lt_cv_deplibs_check_method=pass_all
6460 sequent)
6461 lt_cv_file_magic_cmd='/bin/file'
6462 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6464 sni)
6465 lt_cv_file_magic_cmd='/bin/file'
6466 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6467 lt_cv_file_magic_test_file=/lib/libc.so
6469 siemens)
6470 lt_cv_deplibs_check_method=pass_all
6473 lt_cv_deplibs_check_method=pass_all
6475 esac
6478 tpf*)
6479 lt_cv_deplibs_check_method=pass_all
6481 esac
6484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6485 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6486 file_magic_cmd=$lt_cv_file_magic_cmd
6487 deplibs_check_method=$lt_cv_deplibs_check_method
6488 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6501 if test -n "$ac_tool_prefix"; then
6502 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6503 set dummy ${ac_tool_prefix}ar; ac_word=$2
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6505 $as_echo_n "checking for $ac_word... " >&6; }
6506 if test "${ac_cv_prog_AR+set}" = set; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 if test -n "$AR"; then
6510 ac_cv_prog_AR="$AR" # Let the user override the test.
6511 else
6512 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6513 for as_dir in $PATH
6515 IFS=$as_save_IFS
6516 test -z "$as_dir" && as_dir=.
6517 for ac_exec_ext in '' $ac_executable_extensions; do
6518 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6519 ac_cv_prog_AR="${ac_tool_prefix}ar"
6520 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6521 break 2
6523 done
6524 done
6525 IFS=$as_save_IFS
6529 AR=$ac_cv_prog_AR
6530 if test -n "$AR"; then
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6532 $as_echo "$AR" >&6; }
6533 else
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6535 $as_echo "no" >&6; }
6540 if test -z "$ac_cv_prog_AR"; then
6541 ac_ct_AR=$AR
6542 # Extract the first word of "ar", so it can be a program name with args.
6543 set dummy ar; ac_word=$2
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6545 $as_echo_n "checking for $ac_word... " >&6; }
6546 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
6547 $as_echo_n "(cached) " >&6
6548 else
6549 if test -n "$ac_ct_AR"; then
6550 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6551 else
6552 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6553 for as_dir in $PATH
6555 IFS=$as_save_IFS
6556 test -z "$as_dir" && as_dir=.
6557 for ac_exec_ext in '' $ac_executable_extensions; do
6558 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6559 ac_cv_prog_ac_ct_AR="ar"
6560 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6561 break 2
6563 done
6564 done
6565 IFS=$as_save_IFS
6569 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6570 if test -n "$ac_ct_AR"; then
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6572 $as_echo "$ac_ct_AR" >&6; }
6573 else
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6575 $as_echo "no" >&6; }
6578 if test "x$ac_ct_AR" = x; then
6579 AR="false"
6580 else
6581 case $cross_compiling:$ac_tool_warned in
6582 yes:)
6583 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6584 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6585 ac_tool_warned=yes ;;
6586 esac
6587 AR=$ac_ct_AR
6589 else
6590 AR="$ac_cv_prog_AR"
6593 test -z "$AR" && AR=ar
6594 test -z "$AR_FLAGS" && AR_FLAGS=cru
6606 if test -n "$ac_tool_prefix"; then
6607 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6608 set dummy ${ac_tool_prefix}strip; ac_word=$2
6609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6610 $as_echo_n "checking for $ac_word... " >&6; }
6611 if test "${ac_cv_prog_STRIP+set}" = set; then :
6612 $as_echo_n "(cached) " >&6
6613 else
6614 if test -n "$STRIP"; then
6615 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6616 else
6617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6618 for as_dir in $PATH
6620 IFS=$as_save_IFS
6621 test -z "$as_dir" && as_dir=.
6622 for ac_exec_ext in '' $ac_executable_extensions; do
6623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6624 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6626 break 2
6628 done
6629 done
6630 IFS=$as_save_IFS
6634 STRIP=$ac_cv_prog_STRIP
6635 if test -n "$STRIP"; then
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6637 $as_echo "$STRIP" >&6; }
6638 else
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6640 $as_echo "no" >&6; }
6645 if test -z "$ac_cv_prog_STRIP"; then
6646 ac_ct_STRIP=$STRIP
6647 # Extract the first word of "strip", so it can be a program name with args.
6648 set dummy strip; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$ac_ct_STRIP"; then
6655 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6664 ac_cv_prog_ac_ct_STRIP="strip"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6675 if test -n "$ac_ct_STRIP"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6677 $as_echo "$ac_ct_STRIP" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6683 if test "x$ac_ct_STRIP" = x; then
6684 STRIP=":"
6685 else
6686 case $cross_compiling:$ac_tool_warned in
6687 yes:)
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6689 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6690 ac_tool_warned=yes ;;
6691 esac
6692 STRIP=$ac_ct_STRIP
6694 else
6695 STRIP="$ac_cv_prog_STRIP"
6698 test -z "$STRIP" && STRIP=:
6705 if test -n "$ac_tool_prefix"; then
6706 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6707 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6709 $as_echo_n "checking for $ac_word... " >&6; }
6710 if test "${ac_cv_prog_RANLIB+set}" = set; then :
6711 $as_echo_n "(cached) " >&6
6712 else
6713 if test -n "$RANLIB"; then
6714 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6715 else
6716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6717 for as_dir in $PATH
6719 IFS=$as_save_IFS
6720 test -z "$as_dir" && as_dir=.
6721 for ac_exec_ext in '' $ac_executable_extensions; do
6722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6723 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6725 break 2
6727 done
6728 done
6729 IFS=$as_save_IFS
6733 RANLIB=$ac_cv_prog_RANLIB
6734 if test -n "$RANLIB"; then
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6736 $as_echo "$RANLIB" >&6; }
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6739 $as_echo "no" >&6; }
6744 if test -z "$ac_cv_prog_RANLIB"; then
6745 ac_ct_RANLIB=$RANLIB
6746 # Extract the first word of "ranlib", so it can be a program name with args.
6747 set dummy ranlib; ac_word=$2
6748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6749 $as_echo_n "checking for $ac_word... " >&6; }
6750 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
6751 $as_echo_n "(cached) " >&6
6752 else
6753 if test -n "$ac_ct_RANLIB"; then
6754 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6755 else
6756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6757 for as_dir in $PATH
6759 IFS=$as_save_IFS
6760 test -z "$as_dir" && as_dir=.
6761 for ac_exec_ext in '' $ac_executable_extensions; do
6762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6763 ac_cv_prog_ac_ct_RANLIB="ranlib"
6764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6765 break 2
6767 done
6768 done
6769 IFS=$as_save_IFS
6773 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6774 if test -n "$ac_ct_RANLIB"; then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6776 $as_echo "$ac_ct_RANLIB" >&6; }
6777 else
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6779 $as_echo "no" >&6; }
6782 if test "x$ac_ct_RANLIB" = x; then
6783 RANLIB=":"
6784 else
6785 case $cross_compiling:$ac_tool_warned in
6786 yes:)
6787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6789 ac_tool_warned=yes ;;
6790 esac
6791 RANLIB=$ac_ct_RANLIB
6793 else
6794 RANLIB="$ac_cv_prog_RANLIB"
6797 test -z "$RANLIB" && RANLIB=:
6804 # Determine commands to create old-style static archives.
6805 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6806 old_postinstall_cmds='chmod 644 $oldlib'
6807 old_postuninstall_cmds=
6809 if test -n "$RANLIB"; then
6810 case $host_os in
6811 openbsd*)
6812 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
6815 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
6817 esac
6818 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
6821 case $host_os in
6822 darwin*)
6823 lock_old_archive_extraction=yes ;;
6825 lock_old_archive_extraction=no ;;
6826 esac
6866 # If no C compiler was specified, use CC.
6867 LTCC=${LTCC-"$CC"}
6869 # If no C compiler flags were specified, use CFLAGS.
6870 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
6872 # Allow CC to be a program name with arguments.
6873 compiler=$CC
6876 # Check for command to grab the raw symbol name followed by C symbol from nm.
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6878 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6879 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6883 # These are sane defaults that work on at least a few old systems.
6884 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
6886 # Character class describing NM global symbol codes.
6887 symcode='[BCDEGRST]'
6889 # Regexp to match symbols that can be accessed directly from C.
6890 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
6892 # Define system-specific variables.
6893 case $host_os in
6894 aix*)
6895 symcode='[BCDT]'
6897 cygwin* | mingw* | pw32* | cegcc*)
6898 symcode='[ABCDGISTW]'
6900 hpux*)
6901 if test "$host_cpu" = ia64; then
6902 symcode='[ABCDEGRST]'
6905 irix* | nonstopux*)
6906 symcode='[BCDEGRST]'
6908 osf*)
6909 symcode='[BCDEGQRST]'
6911 solaris*)
6912 symcode='[BDRT]'
6914 sco3.2v5*)
6915 symcode='[DT]'
6917 sysv4.2uw2*)
6918 symcode='[DT]'
6920 sysv5* | sco5v6* | unixware* | OpenUNIX*)
6921 symcode='[ABDT]'
6923 sysv4)
6924 symcode='[DFNSTU]'
6926 esac
6928 # If we're using GNU nm, then use its standard symbol codes.
6929 case `$NM -V 2>&1` in
6930 *GNU* | *'with BFD'*)
6931 symcode='[ABCDGIRSTW]' ;;
6932 esac
6934 # Transform an extracted symbol line into a proper C declaration.
6935 # Some systems (esp. on ia64) link data and code symbols differently,
6936 # so use this general approach.
6937 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6939 # Transform an extracted symbol line into symbol name and symbol address
6940 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
6941 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
6943 # Handle CRLF in mingw tool chain
6944 opt_cr=
6945 case $build_os in
6946 mingw*)
6947 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
6949 esac
6951 # Try without a prefix underscore, then with it.
6952 for ac_symprfx in "" "_"; do
6954 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
6955 symxfrm="\\1 $ac_symprfx\\2 \\2"
6957 # Write the raw and C identifiers.
6958 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
6959 # Fake it for dumpbin and say T for any non-static function
6960 # and D for any global variable.
6961 # Also find C++ and __fastcall symbols from MSVC++,
6962 # which start with @ or ?.
6963 lt_cv_sys_global_symbol_pipe="$AWK '"\
6964 " {last_section=section; section=\$ 3};"\
6965 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
6966 " \$ 0!~/External *\|/{next};"\
6967 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
6968 " {if(hide[section]) next};"\
6969 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
6970 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
6971 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
6972 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
6973 " ' prfx=^$ac_symprfx"
6974 else
6975 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6978 # Check to see that the pipe works correctly.
6979 pipe_works=no
6981 rm -f conftest*
6982 cat > conftest.$ac_ext <<_LT_EOF
6983 #ifdef __cplusplus
6984 extern "C" {
6985 #endif
6986 char nm_test_var;
6987 void nm_test_func(void);
6988 void nm_test_func(void){}
6989 #ifdef __cplusplus
6991 #endif
6992 int main(){nm_test_var='a';nm_test_func();return(0);}
6993 _LT_EOF
6995 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
6996 (eval $ac_compile) 2>&5
6997 ac_status=$?
6998 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6999 test $ac_status = 0; }; then
7000 # Now try to grab the symbols.
7001 nlist=conftest.nm
7002 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7003 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7004 ac_status=$?
7005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7006 test $ac_status = 0; } && test -s "$nlist"; then
7007 # Try sorting and uniquifying the output.
7008 if sort "$nlist" | uniq > "$nlist"T; then
7009 mv -f "$nlist"T "$nlist"
7010 else
7011 rm -f "$nlist"T
7014 # Make sure that we snagged all the symbols we need.
7015 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7016 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7017 cat <<_LT_EOF > conftest.$ac_ext
7018 #ifdef __cplusplus
7019 extern "C" {
7020 #endif
7022 _LT_EOF
7023 # Now generate the symbol file.
7024 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7026 cat <<_LT_EOF >> conftest.$ac_ext
7028 /* The mapping between symbol names and symbols. */
7029 const struct {
7030 const char *name;
7031 void *address;
7033 lt__PROGRAM__LTX_preloaded_symbols[] =
7035 { "@PROGRAM@", (void *) 0 },
7036 _LT_EOF
7037 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7038 cat <<\_LT_EOF >> conftest.$ac_ext
7039 {0, (void *) 0}
7042 /* This works around a problem in FreeBSD linker */
7043 #ifdef FREEBSD_WORKAROUND
7044 static const void *lt_preloaded_setup() {
7045 return lt__PROGRAM__LTX_preloaded_symbols;
7047 #endif
7049 #ifdef __cplusplus
7051 #endif
7052 _LT_EOF
7053 # Now try linking the two files.
7054 mv conftest.$ac_objext conftstm.$ac_objext
7055 lt_save_LIBS="$LIBS"
7056 lt_save_CFLAGS="$CFLAGS"
7057 LIBS="conftstm.$ac_objext"
7058 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7059 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7060 (eval $ac_link) 2>&5
7061 ac_status=$?
7062 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7063 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7064 pipe_works=yes
7066 LIBS="$lt_save_LIBS"
7067 CFLAGS="$lt_save_CFLAGS"
7068 else
7069 echo "cannot find nm_test_func in $nlist" >&5
7071 else
7072 echo "cannot find nm_test_var in $nlist" >&5
7074 else
7075 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7077 else
7078 echo "$progname: failed program was:" >&5
7079 cat conftest.$ac_ext >&5
7081 rm -rf conftest* conftst*
7083 # Do not use the global_symbol_pipe unless it works.
7084 if test "$pipe_works" = yes; then
7085 break
7086 else
7087 lt_cv_sys_global_symbol_pipe=
7089 done
7093 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7094 lt_cv_sys_global_symbol_to_cdecl=
7096 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7098 $as_echo "failed" >&6; }
7099 else
7100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7101 $as_echo "ok" >&6; }
7125 # Check whether --enable-libtool-lock was given.
7126 if test "${enable_libtool_lock+set}" = set; then :
7127 enableval=$enable_libtool_lock;
7130 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7132 # Some flags need to be propagated to the compiler or linker for good
7133 # libtool support.
7134 case $host in
7135 ia64-*-hpux*)
7136 # Find out which ABI we are using.
7137 echo 'int i;' > conftest.$ac_ext
7138 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7139 (eval $ac_compile) 2>&5
7140 ac_status=$?
7141 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7142 test $ac_status = 0; }; then
7143 case `/usr/bin/file conftest.$ac_objext` in
7144 *ELF-32*)
7145 HPUX_IA64_MODE="32"
7147 *ELF-64*)
7148 HPUX_IA64_MODE="64"
7150 esac
7152 rm -rf conftest*
7154 *-*-irix6*)
7155 # Find out which ABI we are using.
7156 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7157 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7158 (eval $ac_compile) 2>&5
7159 ac_status=$?
7160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7161 test $ac_status = 0; }; then
7162 if test "$lt_cv_prog_gnu_ld" = yes; then
7163 case `/usr/bin/file conftest.$ac_objext` in
7164 *32-bit*)
7165 LD="${LD-ld} -melf32bsmip"
7167 *N32*)
7168 LD="${LD-ld} -melf32bmipn32"
7170 *64-bit*)
7171 LD="${LD-ld} -melf64bmip"
7173 esac
7174 else
7175 case `/usr/bin/file conftest.$ac_objext` in
7176 *32-bit*)
7177 LD="${LD-ld} -32"
7179 *N32*)
7180 LD="${LD-ld} -n32"
7182 *64-bit*)
7183 LD="${LD-ld} -64"
7185 esac
7188 rm -rf conftest*
7191 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7192 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7193 # Find out which ABI we are using.
7194 echo 'int i;' > conftest.$ac_ext
7195 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7196 (eval $ac_compile) 2>&5
7197 ac_status=$?
7198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7199 test $ac_status = 0; }; then
7200 case `/usr/bin/file conftest.o` in
7201 *32-bit*)
7202 case $host in
7203 x86_64-*kfreebsd*-gnu)
7204 LD="${LD-ld} -m elf_i386_fbsd"
7206 x86_64-*linux*)
7207 case `/usr/bin/file conftest.o` in
7208 *x86-64*)
7209 LD="${LD-ld} -m elf32_x86_64"
7212 LD="${LD-ld} -m elf_i386"
7214 esac
7216 powerpc64le-*linux*)
7217 LD="${LD-ld} -m elf32lppclinux"
7219 powerpc64-*linux*)
7220 LD="${LD-ld} -m elf32ppclinux"
7222 s390x-*linux*)
7223 LD="${LD-ld} -m elf_s390"
7225 sparc64-*linux*)
7226 LD="${LD-ld} -m elf32_sparc"
7228 esac
7230 *64-bit*)
7231 case $host in
7232 x86_64-*kfreebsd*-gnu)
7233 LD="${LD-ld} -m elf_x86_64_fbsd"
7235 x86_64-*linux*)
7236 LD="${LD-ld} -m elf_x86_64"
7238 powerpcle-*linux*)
7239 LD="${LD-ld} -m elf64lppc"
7241 powerpc-*linux*)
7242 LD="${LD-ld} -m elf64ppc"
7244 s390*-*linux*|s390*-*tpf*)
7245 LD="${LD-ld} -m elf64_s390"
7247 sparc*-*linux*)
7248 LD="${LD-ld} -m elf64_sparc"
7250 esac
7252 esac
7254 rm -rf conftest*
7257 *-*-sco3.2v5*)
7258 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7259 SAVE_CFLAGS="$CFLAGS"
7260 CFLAGS="$CFLAGS -belf"
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7262 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7263 if test "${lt_cv_cc_needs_belf+set}" = set; then :
7264 $as_echo_n "(cached) " >&6
7265 else
7266 ac_ext=c
7267 ac_cpp='$CPP $CPPFLAGS'
7268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7272 if test x$gcc_no_link = xyes; then
7273 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7279 main ()
7283 return 0;
7285 _ACEOF
7286 if ac_fn_c_try_link "$LINENO"; then :
7287 lt_cv_cc_needs_belf=yes
7288 else
7289 lt_cv_cc_needs_belf=no
7291 rm -f core conftest.err conftest.$ac_objext \
7292 conftest$ac_exeext conftest.$ac_ext
7293 ac_ext=c
7294 ac_cpp='$CPP $CPPFLAGS'
7295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7301 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7302 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7303 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7304 CFLAGS="$SAVE_CFLAGS"
7307 sparc*-*solaris*)
7308 # Find out which ABI we are using.
7309 echo 'int i;' > conftest.$ac_ext
7310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7311 (eval $ac_compile) 2>&5
7312 ac_status=$?
7313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7314 test $ac_status = 0; }; then
7315 case `/usr/bin/file conftest.o` in
7316 *64-bit*)
7317 case $lt_cv_prog_gnu_ld in
7318 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7320 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7321 LD="${LD-ld} -64"
7324 esac
7326 esac
7328 rm -rf conftest*
7330 esac
7332 need_locks="$enable_libtool_lock"
7335 case $host_os in
7336 rhapsody* | darwin*)
7337 if test -n "$ac_tool_prefix"; then
7338 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7339 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7341 $as_echo_n "checking for $ac_word... " >&6; }
7342 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
7343 $as_echo_n "(cached) " >&6
7344 else
7345 if test -n "$DSYMUTIL"; then
7346 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7347 else
7348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7349 for as_dir in $PATH
7351 IFS=$as_save_IFS
7352 test -z "$as_dir" && as_dir=.
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7355 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7356 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7366 if test -n "$DSYMUTIL"; then
7367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7368 $as_echo "$DSYMUTIL" >&6; }
7369 else
7370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 $as_echo "no" >&6; }
7376 if test -z "$ac_cv_prog_DSYMUTIL"; then
7377 ac_ct_DSYMUTIL=$DSYMUTIL
7378 # Extract the first word of "dsymutil", so it can be a program name with args.
7379 set dummy dsymutil; ac_word=$2
7380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7381 $as_echo_n "checking for $ac_word... " >&6; }
7382 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
7383 $as_echo_n "(cached) " >&6
7384 else
7385 if test -n "$ac_ct_DSYMUTIL"; then
7386 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7387 else
7388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7389 for as_dir in $PATH
7391 IFS=$as_save_IFS
7392 test -z "$as_dir" && as_dir=.
7393 for ac_exec_ext in '' $ac_executable_extensions; do
7394 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7395 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7397 break 2
7399 done
7400 done
7401 IFS=$as_save_IFS
7405 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7406 if test -n "$ac_ct_DSYMUTIL"; then
7407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7408 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7409 else
7410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7411 $as_echo "no" >&6; }
7414 if test "x$ac_ct_DSYMUTIL" = x; then
7415 DSYMUTIL=":"
7416 else
7417 case $cross_compiling:$ac_tool_warned in
7418 yes:)
7419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7420 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7421 ac_tool_warned=yes ;;
7422 esac
7423 DSYMUTIL=$ac_ct_DSYMUTIL
7425 else
7426 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7429 if test -n "$ac_tool_prefix"; then
7430 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7431 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7433 $as_echo_n "checking for $ac_word... " >&6; }
7434 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
7435 $as_echo_n "(cached) " >&6
7436 else
7437 if test -n "$NMEDIT"; then
7438 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7439 else
7440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7441 for as_dir in $PATH
7443 IFS=$as_save_IFS
7444 test -z "$as_dir" && as_dir=.
7445 for ac_exec_ext in '' $ac_executable_extensions; do
7446 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7447 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7449 break 2
7451 done
7452 done
7453 IFS=$as_save_IFS
7457 NMEDIT=$ac_cv_prog_NMEDIT
7458 if test -n "$NMEDIT"; then
7459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7460 $as_echo "$NMEDIT" >&6; }
7461 else
7462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7463 $as_echo "no" >&6; }
7468 if test -z "$ac_cv_prog_NMEDIT"; then
7469 ac_ct_NMEDIT=$NMEDIT
7470 # Extract the first word of "nmedit", so it can be a program name with args.
7471 set dummy nmedit; ac_word=$2
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7473 $as_echo_n "checking for $ac_word... " >&6; }
7474 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
7475 $as_echo_n "(cached) " >&6
7476 else
7477 if test -n "$ac_ct_NMEDIT"; then
7478 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7479 else
7480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7481 for as_dir in $PATH
7483 IFS=$as_save_IFS
7484 test -z "$as_dir" && as_dir=.
7485 for ac_exec_ext in '' $ac_executable_extensions; do
7486 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7487 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7489 break 2
7491 done
7492 done
7493 IFS=$as_save_IFS
7497 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7498 if test -n "$ac_ct_NMEDIT"; then
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7500 $as_echo "$ac_ct_NMEDIT" >&6; }
7501 else
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7503 $as_echo "no" >&6; }
7506 if test "x$ac_ct_NMEDIT" = x; then
7507 NMEDIT=":"
7508 else
7509 case $cross_compiling:$ac_tool_warned in
7510 yes:)
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7512 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7513 ac_tool_warned=yes ;;
7514 esac
7515 NMEDIT=$ac_ct_NMEDIT
7517 else
7518 NMEDIT="$ac_cv_prog_NMEDIT"
7521 if test -n "$ac_tool_prefix"; then
7522 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7523 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7525 $as_echo_n "checking for $ac_word... " >&6; }
7526 if test "${ac_cv_prog_LIPO+set}" = set; then :
7527 $as_echo_n "(cached) " >&6
7528 else
7529 if test -n "$LIPO"; then
7530 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7531 else
7532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7533 for as_dir in $PATH
7535 IFS=$as_save_IFS
7536 test -z "$as_dir" && as_dir=.
7537 for ac_exec_ext in '' $ac_executable_extensions; do
7538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7539 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7541 break 2
7543 done
7544 done
7545 IFS=$as_save_IFS
7549 LIPO=$ac_cv_prog_LIPO
7550 if test -n "$LIPO"; then
7551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7552 $as_echo "$LIPO" >&6; }
7553 else
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7555 $as_echo "no" >&6; }
7560 if test -z "$ac_cv_prog_LIPO"; then
7561 ac_ct_LIPO=$LIPO
7562 # Extract the first word of "lipo", so it can be a program name with args.
7563 set dummy lipo; ac_word=$2
7564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7565 $as_echo_n "checking for $ac_word... " >&6; }
7566 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
7567 $as_echo_n "(cached) " >&6
7568 else
7569 if test -n "$ac_ct_LIPO"; then
7570 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7571 else
7572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7573 for as_dir in $PATH
7575 IFS=$as_save_IFS
7576 test -z "$as_dir" && as_dir=.
7577 for ac_exec_ext in '' $ac_executable_extensions; do
7578 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7579 ac_cv_prog_ac_ct_LIPO="lipo"
7580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7581 break 2
7583 done
7584 done
7585 IFS=$as_save_IFS
7589 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7590 if test -n "$ac_ct_LIPO"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7592 $as_echo "$ac_ct_LIPO" >&6; }
7593 else
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7598 if test "x$ac_ct_LIPO" = x; then
7599 LIPO=":"
7600 else
7601 case $cross_compiling:$ac_tool_warned in
7602 yes:)
7603 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7604 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7605 ac_tool_warned=yes ;;
7606 esac
7607 LIPO=$ac_ct_LIPO
7609 else
7610 LIPO="$ac_cv_prog_LIPO"
7613 if test -n "$ac_tool_prefix"; then
7614 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7615 set dummy ${ac_tool_prefix}otool; ac_word=$2
7616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7617 $as_echo_n "checking for $ac_word... " >&6; }
7618 if test "${ac_cv_prog_OTOOL+set}" = set; then :
7619 $as_echo_n "(cached) " >&6
7620 else
7621 if test -n "$OTOOL"; then
7622 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7623 else
7624 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7625 for as_dir in $PATH
7627 IFS=$as_save_IFS
7628 test -z "$as_dir" && as_dir=.
7629 for ac_exec_ext in '' $ac_executable_extensions; do
7630 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7631 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7632 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7633 break 2
7635 done
7636 done
7637 IFS=$as_save_IFS
7641 OTOOL=$ac_cv_prog_OTOOL
7642 if test -n "$OTOOL"; then
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7644 $as_echo "$OTOOL" >&6; }
7645 else
7646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7647 $as_echo "no" >&6; }
7652 if test -z "$ac_cv_prog_OTOOL"; then
7653 ac_ct_OTOOL=$OTOOL
7654 # Extract the first word of "otool", so it can be a program name with args.
7655 set dummy otool; ac_word=$2
7656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7657 $as_echo_n "checking for $ac_word... " >&6; }
7658 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
7659 $as_echo_n "(cached) " >&6
7660 else
7661 if test -n "$ac_ct_OTOOL"; then
7662 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7663 else
7664 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7665 for as_dir in $PATH
7667 IFS=$as_save_IFS
7668 test -z "$as_dir" && as_dir=.
7669 for ac_exec_ext in '' $ac_executable_extensions; do
7670 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7671 ac_cv_prog_ac_ct_OTOOL="otool"
7672 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7673 break 2
7675 done
7676 done
7677 IFS=$as_save_IFS
7681 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7682 if test -n "$ac_ct_OTOOL"; then
7683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7684 $as_echo "$ac_ct_OTOOL" >&6; }
7685 else
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7687 $as_echo "no" >&6; }
7690 if test "x$ac_ct_OTOOL" = x; then
7691 OTOOL=":"
7692 else
7693 case $cross_compiling:$ac_tool_warned in
7694 yes:)
7695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7696 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7697 ac_tool_warned=yes ;;
7698 esac
7699 OTOOL=$ac_ct_OTOOL
7701 else
7702 OTOOL="$ac_cv_prog_OTOOL"
7705 if test -n "$ac_tool_prefix"; then
7706 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7707 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7709 $as_echo_n "checking for $ac_word... " >&6; }
7710 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
7711 $as_echo_n "(cached) " >&6
7712 else
7713 if test -n "$OTOOL64"; then
7714 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7715 else
7716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7717 for as_dir in $PATH
7719 IFS=$as_save_IFS
7720 test -z "$as_dir" && as_dir=.
7721 for ac_exec_ext in '' $ac_executable_extensions; do
7722 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7723 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7725 break 2
7727 done
7728 done
7729 IFS=$as_save_IFS
7733 OTOOL64=$ac_cv_prog_OTOOL64
7734 if test -n "$OTOOL64"; then
7735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7736 $as_echo "$OTOOL64" >&6; }
7737 else
7738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7739 $as_echo "no" >&6; }
7744 if test -z "$ac_cv_prog_OTOOL64"; then
7745 ac_ct_OTOOL64=$OTOOL64
7746 # Extract the first word of "otool64", so it can be a program name with args.
7747 set dummy otool64; ac_word=$2
7748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7749 $as_echo_n "checking for $ac_word... " >&6; }
7750 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
7751 $as_echo_n "(cached) " >&6
7752 else
7753 if test -n "$ac_ct_OTOOL64"; then
7754 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
7755 else
7756 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7757 for as_dir in $PATH
7759 IFS=$as_save_IFS
7760 test -z "$as_dir" && as_dir=.
7761 for ac_exec_ext in '' $ac_executable_extensions; do
7762 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7763 ac_cv_prog_ac_ct_OTOOL64="otool64"
7764 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7765 break 2
7767 done
7768 done
7769 IFS=$as_save_IFS
7773 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
7774 if test -n "$ac_ct_OTOOL64"; then
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
7776 $as_echo "$ac_ct_OTOOL64" >&6; }
7777 else
7778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7779 $as_echo "no" >&6; }
7782 if test "x$ac_ct_OTOOL64" = x; then
7783 OTOOL64=":"
7784 else
7785 case $cross_compiling:$ac_tool_warned in
7786 yes:)
7787 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7788 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7789 ac_tool_warned=yes ;;
7790 esac
7791 OTOOL64=$ac_ct_OTOOL64
7793 else
7794 OTOOL64="$ac_cv_prog_OTOOL64"
7823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7824 $as_echo_n "checking for -single_module linker flag... " >&6; }
7825 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
7826 $as_echo_n "(cached) " >&6
7827 else
7828 lt_cv_apple_cc_single_mod=no
7829 if test -z "${LT_MULTI_MODULE}"; then
7830 # By default we will add the -single_module flag. You can override
7831 # by either setting the environment variable LT_MULTI_MODULE
7832 # non-empty at configure time, or by adding -multi_module to the
7833 # link flags.
7834 rm -rf libconftest.dylib*
7835 echo "int foo(void){return 1;}" > conftest.c
7836 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7837 -dynamiclib -Wl,-single_module conftest.c" >&5
7838 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
7839 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
7840 _lt_result=$?
7841 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
7842 lt_cv_apple_cc_single_mod=yes
7843 else
7844 cat conftest.err >&5
7846 rm -rf libconftest.dylib*
7847 rm -f conftest.*
7850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
7851 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7853 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7854 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
7855 $as_echo_n "(cached) " >&6
7856 else
7857 lt_cv_ld_exported_symbols_list=no
7858 save_LDFLAGS=$LDFLAGS
7859 echo "_main" > conftest.sym
7860 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7861 if test x$gcc_no_link = xyes; then
7862 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7865 /* end confdefs.h. */
7868 main ()
7872 return 0;
7874 _ACEOF
7875 if ac_fn_c_try_link "$LINENO"; then :
7876 lt_cv_ld_exported_symbols_list=yes
7877 else
7878 lt_cv_ld_exported_symbols_list=no
7880 rm -f core conftest.err conftest.$ac_objext \
7881 conftest$ac_exeext conftest.$ac_ext
7882 LDFLAGS="$save_LDFLAGS"
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
7886 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7888 $as_echo_n "checking for -force_load linker flag... " >&6; }
7889 if test "${lt_cv_ld_force_load+set}" = set; then :
7890 $as_echo_n "(cached) " >&6
7891 else
7892 lt_cv_ld_force_load=no
7893 cat > conftest.c << _LT_EOF
7894 int forced_loaded() { return 2;}
7895 _LT_EOF
7896 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
7897 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
7898 echo "$AR cru libconftest.a conftest.o" >&5
7899 $AR cru libconftest.a conftest.o 2>&5
7900 cat > conftest.c << _LT_EOF
7901 int main() { return 0;}
7902 _LT_EOF
7903 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
7904 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
7905 _lt_result=$?
7906 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
7907 lt_cv_ld_force_load=yes
7908 else
7909 cat conftest.err >&5
7911 rm -f conftest.err libconftest.a conftest conftest.c
7912 rm -rf conftest.dSYM
7915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
7916 $as_echo "$lt_cv_ld_force_load" >&6; }
7917 case $host_os in
7918 rhapsody* | darwin1.[012])
7919 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
7920 darwin1.*)
7921 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7922 darwin*) # darwin 5.x on
7923 # if running on 10.5 or later, the deployment target defaults
7924 # to the OS version, if on x86, and 10.4, the deployment
7925 # target defaults to 10.4. Don't you love it?
7926 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
7927 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
7928 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7929 10.[012][,.]*)
7930 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
7931 10.*)
7932 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
7933 esac
7935 esac
7936 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
7937 _lt_dar_single_mod='$single_module'
7939 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
7940 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
7941 else
7942 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
7944 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
7945 _lt_dsymutil='~$DSYMUTIL $lib || :'
7946 else
7947 _lt_dsymutil=
7950 esac
7952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7953 $as_echo_n "checking for ANSI C header files... " >&6; }
7954 if test "${ac_cv_header_stdc+set}" = set; then :
7955 $as_echo_n "(cached) " >&6
7956 else
7957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7958 /* end confdefs.h. */
7959 #include <stdlib.h>
7960 #include <stdarg.h>
7961 #include <string.h>
7962 #include <float.h>
7965 main ()
7969 return 0;
7971 _ACEOF
7972 if ac_fn_c_try_compile "$LINENO"; then :
7973 ac_cv_header_stdc=yes
7974 else
7975 ac_cv_header_stdc=no
7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979 if test $ac_cv_header_stdc = yes; then
7980 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7982 /* end confdefs.h. */
7983 #include <string.h>
7985 _ACEOF
7986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7987 $EGREP "memchr" >/dev/null 2>&1; then :
7989 else
7990 ac_cv_header_stdc=no
7992 rm -f conftest*
7996 if test $ac_cv_header_stdc = yes; then
7997 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7999 /* end confdefs.h. */
8000 #include <stdlib.h>
8002 _ACEOF
8003 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8004 $EGREP "free" >/dev/null 2>&1; then :
8006 else
8007 ac_cv_header_stdc=no
8009 rm -f conftest*
8013 if test $ac_cv_header_stdc = yes; then
8014 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8015 if test "$cross_compiling" = yes; then :
8017 else
8018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8019 /* end confdefs.h. */
8020 #include <ctype.h>
8021 #include <stdlib.h>
8022 #if ((' ' & 0x0FF) == 0x020)
8023 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8024 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8025 #else
8026 # define ISLOWER(c) \
8027 (('a' <= (c) && (c) <= 'i') \
8028 || ('j' <= (c) && (c) <= 'r') \
8029 || ('s' <= (c) && (c) <= 'z'))
8030 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8031 #endif
8033 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8035 main ()
8037 int i;
8038 for (i = 0; i < 256; i++)
8039 if (XOR (islower (i), ISLOWER (i))
8040 || toupper (i) != TOUPPER (i))
8041 return 2;
8042 return 0;
8044 _ACEOF
8045 if ac_fn_c_try_run "$LINENO"; then :
8047 else
8048 ac_cv_header_stdc=no
8050 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8051 conftest.$ac_objext conftest.beam conftest.$ac_ext
8056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8057 $as_echo "$ac_cv_header_stdc" >&6; }
8058 if test $ac_cv_header_stdc = yes; then
8060 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8064 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8065 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8066 inttypes.h stdint.h unistd.h
8067 do :
8068 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8069 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8071 eval as_val=\$$as_ac_Header
8072 if test "x$as_val" = x""yes; then :
8073 cat >>confdefs.h <<_ACEOF
8074 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8075 _ACEOF
8079 done
8082 for ac_header in dlfcn.h
8083 do :
8084 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8086 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
8087 cat >>confdefs.h <<_ACEOF
8088 #define HAVE_DLFCN_H 1
8089 _ACEOF
8093 done
8100 # Set options
8105 enable_win32_dll=no
8108 # Check whether --enable-shared was given.
8109 if test "${enable_shared+set}" = set; then :
8110 enableval=$enable_shared; p=${PACKAGE-default}
8111 case $enableval in
8112 yes) enable_shared=yes ;;
8113 no) enable_shared=no ;;
8115 enable_shared=no
8116 # Look at the argument we got. We use all the common list separators.
8117 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8118 for pkg in $enableval; do
8119 IFS="$lt_save_ifs"
8120 if test "X$pkg" = "X$p"; then
8121 enable_shared=yes
8123 done
8124 IFS="$lt_save_ifs"
8126 esac
8127 else
8128 enable_shared=yes
8139 # Check whether --enable-static was given.
8140 if test "${enable_static+set}" = set; then :
8141 enableval=$enable_static; p=${PACKAGE-default}
8142 case $enableval in
8143 yes) enable_static=yes ;;
8144 no) enable_static=no ;;
8146 enable_static=no
8147 # Look at the argument we got. We use all the common list separators.
8148 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8149 for pkg in $enableval; do
8150 IFS="$lt_save_ifs"
8151 if test "X$pkg" = "X$p"; then
8152 enable_static=yes
8154 done
8155 IFS="$lt_save_ifs"
8157 esac
8158 else
8159 enable_static=yes
8171 # Check whether --with-pic was given.
8172 if test "${with_pic+set}" = set; then :
8173 withval=$with_pic; pic_mode="$withval"
8174 else
8175 pic_mode=default
8179 test -z "$pic_mode" && pic_mode=default
8187 # Check whether --enable-fast-install was given.
8188 if test "${enable_fast_install+set}" = set; then :
8189 enableval=$enable_fast_install; p=${PACKAGE-default}
8190 case $enableval in
8191 yes) enable_fast_install=yes ;;
8192 no) enable_fast_install=no ;;
8194 enable_fast_install=no
8195 # Look at the argument we got. We use all the common list separators.
8196 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8197 for pkg in $enableval; do
8198 IFS="$lt_save_ifs"
8199 if test "X$pkg" = "X$p"; then
8200 enable_fast_install=yes
8202 done
8203 IFS="$lt_save_ifs"
8205 esac
8206 else
8207 enable_fast_install=yes
8220 # This can be used to rebuild libtool when needed
8221 LIBTOOL_DEPS="$ltmain"
8223 # Always use our own libtool.
8224 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8251 test -z "$LN_S" && LN_S="ln -s"
8266 if test -n "${ZSH_VERSION+set}" ; then
8267 setopt NO_GLOB_SUBST
8270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8271 $as_echo_n "checking for objdir... " >&6; }
8272 if test "${lt_cv_objdir+set}" = set; then :
8273 $as_echo_n "(cached) " >&6
8274 else
8275 rm -f .libs 2>/dev/null
8276 mkdir .libs 2>/dev/null
8277 if test -d .libs; then
8278 lt_cv_objdir=.libs
8279 else
8280 # MS-DOS does not allow filenames that begin with a dot.
8281 lt_cv_objdir=_libs
8283 rmdir .libs 2>/dev/null
8285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8286 $as_echo "$lt_cv_objdir" >&6; }
8287 objdir=$lt_cv_objdir
8293 cat >>confdefs.h <<_ACEOF
8294 #define LT_OBJDIR "$lt_cv_objdir/"
8295 _ACEOF
8300 case $host_os in
8301 aix3*)
8302 # AIX sometimes has problems with the GCC collect2 program. For some
8303 # reason, if we set the COLLECT_NAMES environment variable, the problems
8304 # vanish in a puff of smoke.
8305 if test "X${COLLECT_NAMES+set}" != Xset; then
8306 COLLECT_NAMES=
8307 export COLLECT_NAMES
8310 esac
8312 # Global variables:
8313 ofile=libtool
8314 can_build_shared=yes
8316 # All known linkers require a `.a' archive for static linking (except MSVC,
8317 # which needs '.lib').
8318 libext=a
8320 with_gnu_ld="$lt_cv_prog_gnu_ld"
8322 old_CC="$CC"
8323 old_CFLAGS="$CFLAGS"
8325 # Set sane defaults for various variables
8326 test -z "$CC" && CC=cc
8327 test -z "$LTCC" && LTCC=$CC
8328 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8329 test -z "$LD" && LD=ld
8330 test -z "$ac_objext" && ac_objext=o
8332 for cc_temp in $compiler""; do
8333 case $cc_temp in
8334 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8335 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8336 \-*) ;;
8337 *) break;;
8338 esac
8339 done
8340 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8343 # Only perform the check for file, if the check method requires it
8344 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8345 case $deplibs_check_method in
8346 file_magic*)
8347 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8349 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8350 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 case $MAGIC_CMD in
8354 [\\/*] | ?:[\\/]*)
8355 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8358 lt_save_MAGIC_CMD="$MAGIC_CMD"
8359 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8360 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8361 for ac_dir in $ac_dummy; do
8362 IFS="$lt_save_ifs"
8363 test -z "$ac_dir" && ac_dir=.
8364 if test -f $ac_dir/${ac_tool_prefix}file; then
8365 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8366 if test -n "$file_magic_test_file"; then
8367 case $deplibs_check_method in
8368 "file_magic "*)
8369 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8370 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8371 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8372 $EGREP "$file_magic_regex" > /dev/null; then
8374 else
8375 cat <<_LT_EOF 1>&2
8377 *** Warning: the command libtool uses to detect shared libraries,
8378 *** $file_magic_cmd, produces output that libtool cannot recognize.
8379 *** The result is that libtool may fail to recognize shared libraries
8380 *** as such. This will affect the creation of libtool libraries that
8381 *** depend on shared libraries, but programs linked with such libtool
8382 *** libraries will work regardless of this problem. Nevertheless, you
8383 *** may want to report the problem to your system manager and/or to
8384 *** bug-libtool@gnu.org
8386 _LT_EOF
8387 fi ;;
8388 esac
8390 break
8392 done
8393 IFS="$lt_save_ifs"
8394 MAGIC_CMD="$lt_save_MAGIC_CMD"
8396 esac
8399 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8400 if test -n "$MAGIC_CMD"; then
8401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8402 $as_echo "$MAGIC_CMD" >&6; }
8403 else
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8405 $as_echo "no" >&6; }
8412 if test -z "$lt_cv_path_MAGIC_CMD"; then
8413 if test -n "$ac_tool_prefix"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8415 $as_echo_n "checking for file... " >&6; }
8416 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
8417 $as_echo_n "(cached) " >&6
8418 else
8419 case $MAGIC_CMD in
8420 [\\/*] | ?:[\\/]*)
8421 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8424 lt_save_MAGIC_CMD="$MAGIC_CMD"
8425 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8426 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8427 for ac_dir in $ac_dummy; do
8428 IFS="$lt_save_ifs"
8429 test -z "$ac_dir" && ac_dir=.
8430 if test -f $ac_dir/file; then
8431 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8432 if test -n "$file_magic_test_file"; then
8433 case $deplibs_check_method in
8434 "file_magic "*)
8435 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8436 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8437 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8438 $EGREP "$file_magic_regex" > /dev/null; then
8440 else
8441 cat <<_LT_EOF 1>&2
8443 *** Warning: the command libtool uses to detect shared libraries,
8444 *** $file_magic_cmd, produces output that libtool cannot recognize.
8445 *** The result is that libtool may fail to recognize shared libraries
8446 *** as such. This will affect the creation of libtool libraries that
8447 *** depend on shared libraries, but programs linked with such libtool
8448 *** libraries will work regardless of this problem. Nevertheless, you
8449 *** may want to report the problem to your system manager and/or to
8450 *** bug-libtool@gnu.org
8452 _LT_EOF
8453 fi ;;
8454 esac
8456 break
8458 done
8459 IFS="$lt_save_ifs"
8460 MAGIC_CMD="$lt_save_MAGIC_CMD"
8462 esac
8465 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8466 if test -n "$MAGIC_CMD"; then
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8468 $as_echo "$MAGIC_CMD" >&6; }
8469 else
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8471 $as_echo "no" >&6; }
8475 else
8476 MAGIC_CMD=:
8482 esac
8484 # Use C for the default configuration in the libtool script
8486 lt_save_CC="$CC"
8487 ac_ext=c
8488 ac_cpp='$CPP $CPPFLAGS'
8489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8494 # Source file extension for C test sources.
8495 ac_ext=c
8497 # Object file extension for compiled C test sources.
8498 objext=o
8499 objext=$objext
8501 # Code to be used in simple compile tests
8502 lt_simple_compile_test_code="int some_variable = 0;"
8504 # Code to be used in simple link tests
8505 lt_simple_link_test_code='int main(){return(0);}'
8513 # If no C compiler was specified, use CC.
8514 LTCC=${LTCC-"$CC"}
8516 # If no C compiler flags were specified, use CFLAGS.
8517 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8519 # Allow CC to be a program name with arguments.
8520 compiler=$CC
8522 # Save the default compiler, since it gets overwritten when the other
8523 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8524 compiler_DEFAULT=$CC
8526 # save warnings/boilerplate of simple test code
8527 ac_outfile=conftest.$ac_objext
8528 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8529 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8530 _lt_compiler_boilerplate=`cat conftest.err`
8531 $RM conftest*
8533 ac_outfile=conftest.$ac_objext
8534 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8535 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8536 _lt_linker_boilerplate=`cat conftest.err`
8537 $RM -r conftest*
8540 ## CAVEAT EMPTOR:
8541 ## There is no encapsulation within the following macros, do not change
8542 ## the running order or otherwise move them around unless you know exactly
8543 ## what you are doing...
8544 if test -n "$compiler"; then
8546 lt_prog_compiler_no_builtin_flag=
8548 if test "$GCC" = yes; then
8549 case $cc_basename in
8550 nvcc*)
8551 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8553 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8554 esac
8556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8557 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8558 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
8559 $as_echo_n "(cached) " >&6
8560 else
8561 lt_cv_prog_compiler_rtti_exceptions=no
8562 ac_outfile=conftest.$ac_objext
8563 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8564 lt_compiler_flag="-fno-rtti -fno-exceptions"
8565 # Insert the option either (1) after the last *FLAGS variable, or
8566 # (2) before a word containing "conftest.", or (3) at the end.
8567 # Note that $ac_compile itself does not contain backslashes and begins
8568 # with a dollar sign (not a hyphen), so the echo should work correctly.
8569 # The option is referenced via a variable to avoid confusing sed.
8570 lt_compile=`echo "$ac_compile" | $SED \
8571 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8572 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8573 -e 's:$: $lt_compiler_flag:'`
8574 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8575 (eval "$lt_compile" 2>conftest.err)
8576 ac_status=$?
8577 cat conftest.err >&5
8578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8579 if (exit $ac_status) && test -s "$ac_outfile"; then
8580 # The compiler can only warn and ignore the option if not recognized
8581 # So say no if there are warnings other than the usual output.
8582 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8583 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8584 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8585 lt_cv_prog_compiler_rtti_exceptions=yes
8588 $RM conftest*
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8592 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8594 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8595 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8596 else
8607 lt_prog_compiler_wl=
8608 lt_prog_compiler_pic=
8609 lt_prog_compiler_static=
8611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8612 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8614 if test "$GCC" = yes; then
8615 lt_prog_compiler_wl='-Wl,'
8616 lt_prog_compiler_static='-static'
8618 case $host_os in
8619 aix*)
8620 # All AIX code is PIC.
8621 if test "$host_cpu" = ia64; then
8622 # AIX 5 now supports IA64 processor
8623 lt_prog_compiler_static='-Bstatic'
8625 lt_prog_compiler_pic='-fPIC'
8628 amigaos*)
8629 case $host_cpu in
8630 powerpc)
8631 # see comment about AmigaOS4 .so support
8632 lt_prog_compiler_pic='-fPIC'
8634 m68k)
8635 # FIXME: we need at least 68020 code to build shared libraries, but
8636 # adding the `-m68020' flag to GCC prevents building anything better,
8637 # like `-m68040'.
8638 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8640 esac
8643 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8644 # PIC is the default for these OSes.
8647 mingw* | cygwin* | pw32* | os2* | cegcc*)
8648 # This hack is so that the source file can tell whether it is being
8649 # built for inclusion in a dll (and should export symbols for example).
8650 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8651 # (--disable-auto-import) libraries
8652 lt_prog_compiler_pic='-DDLL_EXPORT'
8655 darwin* | rhapsody*)
8656 # PIC is the default on this platform
8657 # Common symbols not allowed in MH_DYLIB files
8658 lt_prog_compiler_pic='-fno-common'
8661 haiku*)
8662 # PIC is the default for Haiku.
8663 # The "-static" flag exists, but is broken.
8664 lt_prog_compiler_static=
8667 hpux*)
8668 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8669 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8670 # sets the default TLS model and affects inlining.
8671 case $host_cpu in
8672 hppa*64*)
8673 # +Z the default
8676 lt_prog_compiler_pic='-fPIC'
8678 esac
8681 interix[3-9]*)
8682 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8683 # Instead, we relocate shared libraries at runtime.
8686 msdosdjgpp*)
8687 # Just because we use GCC doesn't mean we suddenly get shared libraries
8688 # on systems that don't support them.
8689 lt_prog_compiler_can_build_shared=no
8690 enable_shared=no
8693 *nto* | *qnx*)
8694 # QNX uses GNU C++, but need to define -shared option too, otherwise
8695 # it will coredump.
8696 lt_prog_compiler_pic='-fPIC -shared'
8699 sysv4*MP*)
8700 if test -d /usr/nec; then
8701 lt_prog_compiler_pic=-Kconform_pic
8706 lt_prog_compiler_pic='-fPIC'
8708 esac
8710 case $cc_basename in
8711 nvcc*) # Cuda Compiler Driver 2.2
8712 lt_prog_compiler_wl='-Xlinker '
8713 lt_prog_compiler_pic='-Xcompiler -fPIC'
8715 esac
8716 else
8717 # PORTME Check for flag to pass linker flags through the system compiler.
8718 case $host_os in
8719 aix*)
8720 lt_prog_compiler_wl='-Wl,'
8721 if test "$host_cpu" = ia64; then
8722 # AIX 5 now supports IA64 processor
8723 lt_prog_compiler_static='-Bstatic'
8724 else
8725 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8729 mingw* | cygwin* | pw32* | os2* | cegcc*)
8730 # This hack is so that the source file can tell whether it is being
8731 # built for inclusion in a dll (and should export symbols for example).
8732 lt_prog_compiler_pic='-DDLL_EXPORT'
8735 hpux9* | hpux10* | hpux11*)
8736 lt_prog_compiler_wl='-Wl,'
8737 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8738 # not for PA HP-UX.
8739 case $host_cpu in
8740 hppa*64*|ia64*)
8741 # +Z the default
8744 lt_prog_compiler_pic='+Z'
8746 esac
8747 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8748 lt_prog_compiler_static='${wl}-a ${wl}archive'
8751 irix5* | irix6* | nonstopux*)
8752 lt_prog_compiler_wl='-Wl,'
8753 # PIC (with -KPIC) is the default.
8754 lt_prog_compiler_static='-non_shared'
8757 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8758 case $cc_basename in
8759 # old Intel for x86_64 which still supported -KPIC.
8760 ecc*)
8761 lt_prog_compiler_wl='-Wl,'
8762 lt_prog_compiler_pic='-KPIC'
8763 lt_prog_compiler_static='-static'
8765 # icc used to be incompatible with GCC.
8766 # ICC 10 doesn't accept -KPIC any more.
8767 icc* | ifort*)
8768 lt_prog_compiler_wl='-Wl,'
8769 lt_prog_compiler_pic='-fPIC'
8770 lt_prog_compiler_static='-static'
8772 # Lahey Fortran 8.1.
8773 lf95*)
8774 lt_prog_compiler_wl='-Wl,'
8775 lt_prog_compiler_pic='--shared'
8776 lt_prog_compiler_static='--static'
8778 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8779 # Portland Group compilers (*not* the Pentium gcc compiler,
8780 # which looks to be a dead project)
8781 lt_prog_compiler_wl='-Wl,'
8782 lt_prog_compiler_pic='-fpic'
8783 lt_prog_compiler_static='-Bstatic'
8785 ccc*)
8786 lt_prog_compiler_wl='-Wl,'
8787 # All Alpha code is PIC.
8788 lt_prog_compiler_static='-non_shared'
8790 xl* | bgxl* | bgf* | mpixl*)
8791 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8792 lt_prog_compiler_wl='-Wl,'
8793 lt_prog_compiler_pic='-qpic'
8794 lt_prog_compiler_static='-qstaticlink'
8797 case `$CC -V 2>&1 | sed 5q` in
8798 *Sun\ F* | *Sun*Fortran*)
8799 # Sun Fortran 8.3 passes all unrecognized flags to the linker
8800 lt_prog_compiler_pic='-KPIC'
8801 lt_prog_compiler_static='-Bstatic'
8802 lt_prog_compiler_wl=''
8804 *Sun\ C*)
8805 # Sun C 5.9
8806 lt_prog_compiler_pic='-KPIC'
8807 lt_prog_compiler_static='-Bstatic'
8808 lt_prog_compiler_wl='-Wl,'
8810 esac
8812 esac
8815 newsos6)
8816 lt_prog_compiler_pic='-KPIC'
8817 lt_prog_compiler_static='-Bstatic'
8820 *nto* | *qnx*)
8821 # QNX uses GNU C++, but need to define -shared option too, otherwise
8822 # it will coredump.
8823 lt_prog_compiler_pic='-fPIC -shared'
8826 osf3* | osf4* | osf5*)
8827 lt_prog_compiler_wl='-Wl,'
8828 # All OSF/1 code is PIC.
8829 lt_prog_compiler_static='-non_shared'
8832 rdos*)
8833 lt_prog_compiler_static='-non_shared'
8836 solaris*)
8837 lt_prog_compiler_pic='-KPIC'
8838 lt_prog_compiler_static='-Bstatic'
8839 case $cc_basename in
8840 f77* | f90* | f95*)
8841 lt_prog_compiler_wl='-Qoption ld ';;
8843 lt_prog_compiler_wl='-Wl,';;
8844 esac
8847 sunos4*)
8848 lt_prog_compiler_wl='-Qoption ld '
8849 lt_prog_compiler_pic='-PIC'
8850 lt_prog_compiler_static='-Bstatic'
8853 sysv4 | sysv4.2uw2* | sysv4.3*)
8854 lt_prog_compiler_wl='-Wl,'
8855 lt_prog_compiler_pic='-KPIC'
8856 lt_prog_compiler_static='-Bstatic'
8859 sysv4*MP*)
8860 if test -d /usr/nec ;then
8861 lt_prog_compiler_pic='-Kconform_pic'
8862 lt_prog_compiler_static='-Bstatic'
8866 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
8867 lt_prog_compiler_wl='-Wl,'
8868 lt_prog_compiler_pic='-KPIC'
8869 lt_prog_compiler_static='-Bstatic'
8872 unicos*)
8873 lt_prog_compiler_wl='-Wl,'
8874 lt_prog_compiler_can_build_shared=no
8877 uts4*)
8878 lt_prog_compiler_pic='-pic'
8879 lt_prog_compiler_static='-Bstatic'
8883 lt_prog_compiler_can_build_shared=no
8885 esac
8888 case $host_os in
8889 # For platforms which do not support PIC, -DPIC is meaningless:
8890 *djgpp*)
8891 lt_prog_compiler_pic=
8894 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8896 esac
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8898 $as_echo "$lt_prog_compiler_pic" >&6; }
8906 # Check to make sure the PIC flag actually works.
8908 if test -n "$lt_prog_compiler_pic"; then
8909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8910 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8911 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
8912 $as_echo_n "(cached) " >&6
8913 else
8914 lt_cv_prog_compiler_pic_works=no
8915 ac_outfile=conftest.$ac_objext
8916 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8917 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
8918 # Insert the option either (1) after the last *FLAGS variable, or
8919 # (2) before a word containing "conftest.", or (3) at the end.
8920 # Note that $ac_compile itself does not contain backslashes and begins
8921 # with a dollar sign (not a hyphen), so the echo should work correctly.
8922 # The option is referenced via a variable to avoid confusing sed.
8923 lt_compile=`echo "$ac_compile" | $SED \
8924 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8925 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8926 -e 's:$: $lt_compiler_flag:'`
8927 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8928 (eval "$lt_compile" 2>conftest.err)
8929 ac_status=$?
8930 cat conftest.err >&5
8931 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8932 if (exit $ac_status) && test -s "$ac_outfile"; then
8933 # The compiler can only warn and ignore the option if not recognized
8934 # So say no if there are warnings other than the usual output.
8935 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8936 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8937 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8938 lt_cv_prog_compiler_pic_works=yes
8941 $RM conftest*
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
8945 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
8947 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
8948 case $lt_prog_compiler_pic in
8949 "" | " "*) ;;
8950 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
8951 esac
8952 else
8953 lt_prog_compiler_pic=
8954 lt_prog_compiler_can_build_shared=no
8965 # Check to make sure the static flag actually works.
8967 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8969 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8970 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
8971 $as_echo_n "(cached) " >&6
8972 else
8973 lt_cv_prog_compiler_static_works=no
8974 save_LDFLAGS="$LDFLAGS"
8975 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
8976 echo "$lt_simple_link_test_code" > conftest.$ac_ext
8977 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
8978 # The linker can only warn and ignore the option if not recognized
8979 # So say no if there are warnings
8980 if test -s conftest.err; then
8981 # Append any errors to the config.log.
8982 cat conftest.err 1>&5
8983 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
8984 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8985 if diff conftest.exp conftest.er2 >/dev/null; then
8986 lt_cv_prog_compiler_static_works=yes
8988 else
8989 lt_cv_prog_compiler_static_works=yes
8992 $RM -r conftest*
8993 LDFLAGS="$save_LDFLAGS"
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
8997 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
8999 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9001 else
9002 lt_prog_compiler_static=
9011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9012 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9013 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9014 $as_echo_n "(cached) " >&6
9015 else
9016 lt_cv_prog_compiler_c_o=no
9017 $RM -r conftest 2>/dev/null
9018 mkdir conftest
9019 cd conftest
9020 mkdir out
9021 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9023 lt_compiler_flag="-o out/conftest2.$ac_objext"
9024 # Insert the option either (1) after the last *FLAGS variable, or
9025 # (2) before a word containing "conftest.", or (3) at the end.
9026 # Note that $ac_compile itself does not contain backslashes and begins
9027 # with a dollar sign (not a hyphen), so the echo should work correctly.
9028 lt_compile=`echo "$ac_compile" | $SED \
9029 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9030 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9031 -e 's:$: $lt_compiler_flag:'`
9032 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9033 (eval "$lt_compile" 2>out/conftest.err)
9034 ac_status=$?
9035 cat out/conftest.err >&5
9036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9037 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9038 then
9039 # The compiler can only warn and ignore the option if not recognized
9040 # So say no if there are warnings
9041 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9042 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9043 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9044 lt_cv_prog_compiler_c_o=yes
9047 chmod u+w . 2>&5
9048 $RM conftest*
9049 # SGI C++ compiler will create directory out/ii_files/ for
9050 # template instantiation
9051 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9052 $RM out/* && rmdir out
9053 cd ..
9054 $RM -r conftest
9055 $RM conftest*
9058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9059 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9067 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9068 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
9069 $as_echo_n "(cached) " >&6
9070 else
9071 lt_cv_prog_compiler_c_o=no
9072 $RM -r conftest 2>/dev/null
9073 mkdir conftest
9074 cd conftest
9075 mkdir out
9076 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9078 lt_compiler_flag="-o out/conftest2.$ac_objext"
9079 # Insert the option either (1) after the last *FLAGS variable, or
9080 # (2) before a word containing "conftest.", or (3) at the end.
9081 # Note that $ac_compile itself does not contain backslashes and begins
9082 # with a dollar sign (not a hyphen), so the echo should work correctly.
9083 lt_compile=`echo "$ac_compile" | $SED \
9084 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9085 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9086 -e 's:$: $lt_compiler_flag:'`
9087 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9088 (eval "$lt_compile" 2>out/conftest.err)
9089 ac_status=$?
9090 cat out/conftest.err >&5
9091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9092 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9093 then
9094 # The compiler can only warn and ignore the option if not recognized
9095 # So say no if there are warnings
9096 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9097 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9098 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9099 lt_cv_prog_compiler_c_o=yes
9102 chmod u+w . 2>&5
9103 $RM conftest*
9104 # SGI C++ compiler will create directory out/ii_files/ for
9105 # template instantiation
9106 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9107 $RM out/* && rmdir out
9108 cd ..
9109 $RM -r conftest
9110 $RM conftest*
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9114 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9119 hard_links="nottested"
9120 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9121 # do not overwrite the value of need_locks provided by the user
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9123 $as_echo_n "checking if we can lock with hard links... " >&6; }
9124 hard_links=yes
9125 $RM conftest*
9126 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9127 touch conftest.a
9128 ln conftest.a conftest.b 2>&5 || hard_links=no
9129 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9131 $as_echo "$hard_links" >&6; }
9132 if test "$hard_links" = no; then
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9134 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9135 need_locks=warn
9137 else
9138 need_locks=no
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9147 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9149 runpath_var=
9150 allow_undefined_flag=
9151 always_export_symbols=no
9152 archive_cmds=
9153 archive_expsym_cmds=
9154 compiler_needs_object=no
9155 enable_shared_with_static_runtimes=no
9156 export_dynamic_flag_spec=
9157 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9158 hardcode_automatic=no
9159 hardcode_direct=no
9160 hardcode_direct_absolute=no
9161 hardcode_libdir_flag_spec=
9162 hardcode_libdir_flag_spec_ld=
9163 hardcode_libdir_separator=
9164 hardcode_minus_L=no
9165 hardcode_shlibpath_var=unsupported
9166 inherit_rpath=no
9167 link_all_deplibs=unknown
9168 module_cmds=
9169 module_expsym_cmds=
9170 old_archive_from_new_cmds=
9171 old_archive_from_expsyms_cmds=
9172 thread_safe_flag_spec=
9173 whole_archive_flag_spec=
9174 # include_expsyms should be a list of space-separated symbols to be *always*
9175 # included in the symbol list
9176 include_expsyms=
9177 # exclude_expsyms can be an extended regexp of symbols to exclude
9178 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9179 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9180 # as well as any symbol that contains `d'.
9181 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9182 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9183 # platforms (ab)use it in PIC code, but their linkers get confused if
9184 # the symbol is explicitly referenced. Since portable code cannot
9185 # rely on this symbol name, it's probably fine to never include it in
9186 # preloaded symbol tables.
9187 # Exclude shared library initialization/finalization symbols.
9188 extract_expsyms_cmds=
9190 case $host_os in
9191 cygwin* | mingw* | pw32* | cegcc*)
9192 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9193 # When not using gcc, we currently assume that we are using
9194 # Microsoft Visual C++.
9195 if test "$GCC" != yes; then
9196 with_gnu_ld=no
9199 interix*)
9200 # we just hope/assume this is gcc and not c89 (= MSVC++)
9201 with_gnu_ld=yes
9203 openbsd*)
9204 with_gnu_ld=no
9206 esac
9208 ld_shlibs=yes
9210 # On some targets, GNU ld is compatible enough with the native linker
9211 # that we're better off using the native interface for both.
9212 lt_use_gnu_ld_interface=no
9213 if test "$with_gnu_ld" = yes; then
9214 case $host_os in
9215 aix*)
9216 # The AIX port of GNU ld has always aspired to compatibility
9217 # with the native linker. However, as the warning in the GNU ld
9218 # block says, versions before 2.19.5* couldn't really create working
9219 # shared libraries, regardless of the interface used.
9220 case `$LD -v 2>&1` in
9221 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9222 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9223 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9225 lt_use_gnu_ld_interface=yes
9227 esac
9230 lt_use_gnu_ld_interface=yes
9232 esac
9235 if test "$lt_use_gnu_ld_interface" = yes; then
9236 # If archive_cmds runs LD, not CC, wlarc should be empty
9237 wlarc='${wl}'
9239 # Set some defaults for GNU ld with shared library support. These
9240 # are reset later if shared libraries are not supported. Putting them
9241 # here allows them to be overridden if necessary.
9242 runpath_var=LD_RUN_PATH
9243 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9244 export_dynamic_flag_spec='${wl}--export-dynamic'
9245 # ancient GNU ld didn't support --whole-archive et. al.
9246 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9247 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9248 else
9249 whole_archive_flag_spec=
9251 supports_anon_versioning=no
9252 case `$LD -v 2>&1` in
9253 *GNU\ gold*) supports_anon_versioning=yes ;;
9254 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9255 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9256 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9257 *\ 2.11.*) ;; # other 2.11 versions
9258 *) supports_anon_versioning=yes ;;
9259 esac
9261 # See if GNU ld supports shared libraries.
9262 case $host_os in
9263 aix[3-9]*)
9264 # On AIX/PPC, the GNU linker is very broken
9265 if test "$host_cpu" != ia64; then
9266 ld_shlibs=no
9267 cat <<_LT_EOF 1>&2
9269 *** Warning: the GNU linker, at least up to release 2.19, is reported
9270 *** to be unable to reliably create shared libraries on AIX.
9271 *** Therefore, libtool is disabling shared libraries support. If you
9272 *** really care for shared libraries, you may want to install binutils
9273 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9274 *** You will then need to restart the configuration process.
9276 _LT_EOF
9280 amigaos*)
9281 case $host_cpu in
9282 powerpc)
9283 # see comment about AmigaOS4 .so support
9284 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9285 archive_expsym_cmds=''
9287 m68k)
9288 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9289 hardcode_libdir_flag_spec='-L$libdir'
9290 hardcode_minus_L=yes
9292 esac
9295 beos*)
9296 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9297 allow_undefined_flag=unsupported
9298 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9299 # support --undefined. This deserves some investigation. FIXME
9300 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9301 else
9302 ld_shlibs=no
9306 cygwin* | mingw* | pw32* | cegcc*)
9307 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9308 # as there is no search path for DLLs.
9309 hardcode_libdir_flag_spec='-L$libdir'
9310 export_dynamic_flag_spec='${wl}--export-all-symbols'
9311 allow_undefined_flag=unsupported
9312 always_export_symbols=no
9313 enable_shared_with_static_runtimes=yes
9314 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9316 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9317 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9318 # If the export-symbols file already is a .def file (1st line
9319 # is EXPORTS), use it as is; otherwise, prepend...
9320 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9321 cp $export_symbols $output_objdir/$soname.def;
9322 else
9323 echo EXPORTS > $output_objdir/$soname.def;
9324 cat $export_symbols >> $output_objdir/$soname.def;
9326 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9327 else
9328 ld_shlibs=no
9332 haiku*)
9333 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9334 link_all_deplibs=yes
9337 interix[3-9]*)
9338 hardcode_direct=no
9339 hardcode_shlibpath_var=no
9340 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9341 export_dynamic_flag_spec='${wl}-E'
9342 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9343 # Instead, shared libraries are loaded at an image base (0x10000000 by
9344 # default) and relocated if they conflict, which is a slow very memory
9345 # consuming and fragmenting process. To avoid this, we pick a random,
9346 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9347 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9348 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9349 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9352 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9353 tmp_diet=no
9354 if test "$host_os" = linux-dietlibc; then
9355 case $cc_basename in
9356 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9357 esac
9359 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9360 && test "$tmp_diet" = no
9361 then
9362 tmp_addflag=' $pic_flag'
9363 tmp_sharedflag='-shared'
9364 case $cc_basename,$host_cpu in
9365 pgcc*) # Portland Group C compiler
9366 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9367 tmp_addflag=' $pic_flag'
9369 pgf77* | pgf90* | pgf95* | pgfortran*)
9370 # Portland Group f77 and f90 compilers
9371 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9372 tmp_addflag=' $pic_flag -Mnomain' ;;
9373 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9374 tmp_addflag=' -i_dynamic' ;;
9375 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9376 tmp_addflag=' -i_dynamic -nofor_main' ;;
9377 ifc* | ifort*) # Intel Fortran compiler
9378 tmp_addflag=' -nofor_main' ;;
9379 lf95*) # Lahey Fortran 8.1
9380 whole_archive_flag_spec=
9381 tmp_sharedflag='--shared' ;;
9382 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9383 tmp_sharedflag='-qmkshrobj'
9384 tmp_addflag= ;;
9385 nvcc*) # Cuda Compiler Driver 2.2
9386 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9387 compiler_needs_object=yes
9389 esac
9390 case `$CC -V 2>&1 | sed 5q` in
9391 *Sun\ C*) # Sun C 5.9
9392 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9393 compiler_needs_object=yes
9394 tmp_sharedflag='-G' ;;
9395 *Sun\ F*) # Sun Fortran 8.3
9396 tmp_sharedflag='-G' ;;
9397 esac
9398 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9400 if test "x$supports_anon_versioning" = xyes; then
9401 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9402 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9403 echo "local: *; };" >> $output_objdir/$libname.ver~
9404 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9407 case $cc_basename in
9408 xlf* | bgf* | bgxlf* | mpixlf*)
9409 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9410 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9411 hardcode_libdir_flag_spec=
9412 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9413 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9414 if test "x$supports_anon_versioning" = xyes; then
9415 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9416 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9417 echo "local: *; };" >> $output_objdir/$libname.ver~
9418 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9421 esac
9422 else
9423 ld_shlibs=no
9427 netbsd*)
9428 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9429 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9430 wlarc=
9431 else
9432 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9433 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9437 solaris*)
9438 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9439 ld_shlibs=no
9440 cat <<_LT_EOF 1>&2
9442 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9443 *** create shared libraries on Solaris systems. Therefore, libtool
9444 *** is disabling shared libraries support. We urge you to upgrade GNU
9445 *** binutils to release 2.9.1 or newer. Another option is to modify
9446 *** your PATH or compiler configuration so that the native linker is
9447 *** used, and then restart.
9449 _LT_EOF
9450 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9451 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9452 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9453 else
9454 ld_shlibs=no
9458 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9459 case `$LD -v 2>&1` in
9460 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9461 ld_shlibs=no
9462 cat <<_LT_EOF 1>&2
9464 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9465 *** reliably create shared libraries on SCO systems. Therefore, libtool
9466 *** is disabling shared libraries support. We urge you to upgrade GNU
9467 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9468 *** your PATH or compiler configuration so that the native linker is
9469 *** used, and then restart.
9471 _LT_EOF
9474 # For security reasons, it is highly recommended that you always
9475 # use absolute paths for naming shared libraries, and exclude the
9476 # DT_RUNPATH tag from executables and libraries. But doing so
9477 # requires that you compile everything twice, which is a pain.
9478 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9479 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9480 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9481 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9482 else
9483 ld_shlibs=no
9486 esac
9489 sunos4*)
9490 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9491 wlarc=
9492 hardcode_direct=yes
9493 hardcode_shlibpath_var=no
9497 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9498 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9499 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9500 else
9501 ld_shlibs=no
9504 esac
9506 if test "$ld_shlibs" = no; then
9507 runpath_var=
9508 hardcode_libdir_flag_spec=
9509 export_dynamic_flag_spec=
9510 whole_archive_flag_spec=
9512 else
9513 # PORTME fill in a description of your system's linker (not GNU ld)
9514 case $host_os in
9515 aix3*)
9516 allow_undefined_flag=unsupported
9517 always_export_symbols=yes
9518 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9519 # Note: this linker hardcodes the directories in LIBPATH if there
9520 # are no directories specified by -L.
9521 hardcode_minus_L=yes
9522 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9523 # Neither direct hardcoding nor static linking is supported with a
9524 # broken collect2.
9525 hardcode_direct=unsupported
9529 aix[4-9]*)
9530 if test "$host_cpu" = ia64; then
9531 # On IA64, the linker does run time linking by default, so we don't
9532 # have to do anything special.
9533 aix_use_runtimelinking=no
9534 exp_sym_flag='-Bexport'
9535 no_entry_flag=""
9536 else
9537 # If we're using GNU nm, then we don't want the "-C" option.
9538 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9539 # Also, AIX nm treats weak defined symbols like other global
9540 # defined symbols, whereas GNU nm marks them as "W".
9541 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9542 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9543 else
9544 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9546 aix_use_runtimelinking=no
9548 # Test if we are trying to use run time linking or normal
9549 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9550 # need to do runtime linking.
9551 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9552 for ld_flag in $LDFLAGS; do
9553 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9554 aix_use_runtimelinking=yes
9555 break
9557 done
9559 esac
9561 exp_sym_flag='-bexport'
9562 no_entry_flag='-bnoentry'
9565 # When large executables or shared objects are built, AIX ld can
9566 # have problems creating the table of contents. If linking a library
9567 # or program results in "error TOC overflow" add -mminimal-toc to
9568 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9569 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9571 archive_cmds=''
9572 hardcode_direct=yes
9573 hardcode_direct_absolute=yes
9574 hardcode_libdir_separator=':'
9575 link_all_deplibs=yes
9576 file_list_spec='${wl}-f,'
9578 if test "$GCC" = yes; then
9579 case $host_os in aix4.[012]|aix4.[012].*)
9580 # We only want to do this on AIX 4.2 and lower, the check
9581 # below for broken collect2 doesn't work under 4.3+
9582 collect2name=`${CC} -print-prog-name=collect2`
9583 if test -f "$collect2name" &&
9584 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9585 then
9586 # We have reworked collect2
9588 else
9589 # We have old collect2
9590 hardcode_direct=unsupported
9591 # It fails to find uninstalled libraries when the uninstalled
9592 # path is not listed in the libpath. Setting hardcode_minus_L
9593 # to unsupported forces relinking
9594 hardcode_minus_L=yes
9595 hardcode_libdir_flag_spec='-L$libdir'
9596 hardcode_libdir_separator=
9599 esac
9600 shared_flag='-shared'
9601 if test "$aix_use_runtimelinking" = yes; then
9602 shared_flag="$shared_flag "'${wl}-G'
9604 else
9605 # not using gcc
9606 if test "$host_cpu" = ia64; then
9607 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9608 # chokes on -Wl,-G. The following line is correct:
9609 shared_flag='-G'
9610 else
9611 if test "$aix_use_runtimelinking" = yes; then
9612 shared_flag='${wl}-G'
9613 else
9614 shared_flag='${wl}-bM:SRE'
9619 export_dynamic_flag_spec='${wl}-bexpall'
9620 # It seems that -bexpall does not export symbols beginning with
9621 # underscore (_), so it is better to generate a list of symbols to export.
9622 always_export_symbols=yes
9623 if test "$aix_use_runtimelinking" = yes; then
9624 # Warning - without using the other runtime loading flags (-brtl),
9625 # -berok will link without error, but may produce a broken library.
9626 allow_undefined_flag='-berok'
9627 # Determine the default libpath from the value encoded in an
9628 # empty executable.
9629 if test x$gcc_no_link = xyes; then
9630 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9633 /* end confdefs.h. */
9636 main ()
9640 return 0;
9642 _ACEOF
9643 if ac_fn_c_try_link "$LINENO"; then :
9645 lt_aix_libpath_sed='
9646 /Import File Strings/,/^$/ {
9647 /^0/ {
9648 s/^0 *\(.*\)$/\1/
9652 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9653 # Check for a 64-bit object if we didn't find anything.
9654 if test -z "$aix_libpath"; then
9655 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9658 rm -f core conftest.err conftest.$ac_objext \
9659 conftest$ac_exeext conftest.$ac_ext
9660 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9662 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9663 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9664 else
9665 if test "$host_cpu" = ia64; then
9666 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9667 allow_undefined_flag="-z nodefs"
9668 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9669 else
9670 # Determine the default libpath from the value encoded in an
9671 # empty executable.
9672 if test x$gcc_no_link = xyes; then
9673 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9676 /* end confdefs.h. */
9679 main ()
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9688 lt_aix_libpath_sed='
9689 /Import File Strings/,/^$/ {
9690 /^0/ {
9691 s/^0 *\(.*\)$/\1/
9695 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9696 # Check for a 64-bit object if we didn't find anything.
9697 if test -z "$aix_libpath"; then
9698 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9701 rm -f core conftest.err conftest.$ac_objext \
9702 conftest$ac_exeext conftest.$ac_ext
9703 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9705 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9706 # Warning - without using the other run time loading flags,
9707 # -berok will link without error, but may produce a broken library.
9708 no_undefined_flag=' ${wl}-bernotok'
9709 allow_undefined_flag=' ${wl}-berok'
9710 if test "$with_gnu_ld" = yes; then
9711 # We only use this code for GNU lds that support --whole-archive.
9712 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9713 else
9714 # Exported symbols can be pulled into shared objects from archives
9715 whole_archive_flag_spec='$convenience'
9717 archive_cmds_need_lc=yes
9718 # This is similar to how AIX traditionally builds its shared libraries.
9719 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9724 amigaos*)
9725 case $host_cpu in
9726 powerpc)
9727 # see comment about AmigaOS4 .so support
9728 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9729 archive_expsym_cmds=''
9731 m68k)
9732 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9733 hardcode_libdir_flag_spec='-L$libdir'
9734 hardcode_minus_L=yes
9736 esac
9739 bsdi[45]*)
9740 export_dynamic_flag_spec=-rdynamic
9743 cygwin* | mingw* | pw32* | cegcc*)
9744 # When not using gcc, we currently assume that we are using
9745 # Microsoft Visual C++.
9746 # hardcode_libdir_flag_spec is actually meaningless, as there is
9747 # no search path for DLLs.
9748 hardcode_libdir_flag_spec=' '
9749 allow_undefined_flag=unsupported
9750 # Tell ltmain to make .lib files, not .a files.
9751 libext=lib
9752 # Tell ltmain to make .dll files, not .so files.
9753 shrext_cmds=".dll"
9754 # FIXME: Setting linknames here is a bad hack.
9755 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9756 # The linker will automatically build a .lib file if we build a DLL.
9757 old_archive_from_new_cmds='true'
9758 # FIXME: Should let the user specify the lib program.
9759 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9760 fix_srcfile_path='`cygpath -w "$srcfile"`'
9761 enable_shared_with_static_runtimes=yes
9764 darwin* | rhapsody*)
9767 archive_cmds_need_lc=no
9768 hardcode_direct=no
9769 hardcode_automatic=yes
9770 hardcode_shlibpath_var=unsupported
9771 if test "$lt_cv_ld_force_load" = "yes"; then
9772 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
9773 else
9774 whole_archive_flag_spec=''
9776 link_all_deplibs=yes
9777 allow_undefined_flag="$_lt_dar_allow_undefined"
9778 case $cc_basename in
9779 ifort*) _lt_dar_can_shared=yes ;;
9780 *) _lt_dar_can_shared=$GCC ;;
9781 esac
9782 if test "$_lt_dar_can_shared" = "yes"; then
9783 output_verbose_link_cmd=func_echo_all
9784 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
9785 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
9786 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
9787 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
9789 else
9790 ld_shlibs=no
9795 dgux*)
9796 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9797 hardcode_libdir_flag_spec='-L$libdir'
9798 hardcode_shlibpath_var=no
9801 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
9802 # support. Future versions do this automatically, but an explicit c++rt0.o
9803 # does not break anything, and helps significantly (at the cost of a little
9804 # extra space).
9805 freebsd2.2*)
9806 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
9807 hardcode_libdir_flag_spec='-R$libdir'
9808 hardcode_direct=yes
9809 hardcode_shlibpath_var=no
9812 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
9813 freebsd2.*)
9814 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9815 hardcode_direct=yes
9816 hardcode_minus_L=yes
9817 hardcode_shlibpath_var=no
9820 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9821 freebsd* | dragonfly*)
9822 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
9823 hardcode_libdir_flag_spec='-R$libdir'
9824 hardcode_direct=yes
9825 hardcode_shlibpath_var=no
9828 hpux9*)
9829 if test "$GCC" = yes; then
9830 archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9831 else
9832 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9834 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9835 hardcode_libdir_separator=:
9836 hardcode_direct=yes
9838 # hardcode_minus_L: Not really in the search PATH,
9839 # but as the default location of the library.
9840 hardcode_minus_L=yes
9841 export_dynamic_flag_spec='${wl}-E'
9844 hpux10*)
9845 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9846 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9847 else
9848 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9850 if test "$with_gnu_ld" = no; then
9851 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9852 hardcode_libdir_flag_spec_ld='+b $libdir'
9853 hardcode_libdir_separator=:
9854 hardcode_direct=yes
9855 hardcode_direct_absolute=yes
9856 export_dynamic_flag_spec='${wl}-E'
9857 # hardcode_minus_L: Not really in the search PATH,
9858 # but as the default location of the library.
9859 hardcode_minus_L=yes
9863 hpux11*)
9864 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9865 case $host_cpu in
9866 hppa*64*)
9867 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9869 ia64*)
9870 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9873 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9875 esac
9876 else
9877 case $host_cpu in
9878 hppa*64*)
9879 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9881 ia64*)
9882 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9886 # Older versions of the 11.00 compiler do not understand -b yet
9887 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9889 $as_echo_n "checking if $CC understands -b... " >&6; }
9890 if test "${lt_cv_prog_compiler__b+set}" = set; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 lt_cv_prog_compiler__b=no
9894 save_LDFLAGS="$LDFLAGS"
9895 LDFLAGS="$LDFLAGS -b"
9896 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9897 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9898 # The linker can only warn and ignore the option if not recognized
9899 # So say no if there are warnings
9900 if test -s conftest.err; then
9901 # Append any errors to the config.log.
9902 cat conftest.err 1>&5
9903 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9904 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9905 if diff conftest.exp conftest.er2 >/dev/null; then
9906 lt_cv_prog_compiler__b=yes
9908 else
9909 lt_cv_prog_compiler__b=yes
9912 $RM -r conftest*
9913 LDFLAGS="$save_LDFLAGS"
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
9917 $as_echo "$lt_cv_prog_compiler__b" >&6; }
9919 if test x"$lt_cv_prog_compiler__b" = xyes; then
9920 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9921 else
9922 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9926 esac
9928 if test "$with_gnu_ld" = no; then
9929 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
9930 hardcode_libdir_separator=:
9932 case $host_cpu in
9933 hppa*64*|ia64*)
9934 hardcode_direct=no
9935 hardcode_shlibpath_var=no
9938 hardcode_direct=yes
9939 hardcode_direct_absolute=yes
9940 export_dynamic_flag_spec='${wl}-E'
9942 # hardcode_minus_L: Not really in the search PATH,
9943 # but as the default location of the library.
9944 hardcode_minus_L=yes
9946 esac
9950 irix5* | irix6* | nonstopux*)
9951 if test "$GCC" = yes; then
9952 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9953 # Try to use the -exported_symbol ld option, if it does not
9954 # work, assume that -exports_file does not work either and
9955 # implicitly export all symbols.
9956 save_LDFLAGS="$LDFLAGS"
9957 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9958 if test x$gcc_no_link = xyes; then
9959 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int foo(void) {}
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9969 rm -f core conftest.err conftest.$ac_objext \
9970 conftest$ac_exeext conftest.$ac_ext
9971 LDFLAGS="$save_LDFLAGS"
9972 else
9973 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9974 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9976 archive_cmds_need_lc='no'
9977 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9978 hardcode_libdir_separator=:
9979 inherit_rpath=yes
9980 link_all_deplibs=yes
9983 netbsd*)
9984 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9985 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
9986 else
9987 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
9989 hardcode_libdir_flag_spec='-R$libdir'
9990 hardcode_direct=yes
9991 hardcode_shlibpath_var=no
9994 newsos6)
9995 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
9996 hardcode_direct=yes
9997 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9998 hardcode_libdir_separator=:
9999 hardcode_shlibpath_var=no
10002 *nto* | *qnx*)
10005 openbsd*)
10006 if test -f /usr/libexec/ld.so; then
10007 hardcode_direct=yes
10008 hardcode_shlibpath_var=no
10009 hardcode_direct_absolute=yes
10010 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10011 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10012 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10013 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10014 export_dynamic_flag_spec='${wl}-E'
10015 else
10016 case $host_os in
10017 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10018 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10019 hardcode_libdir_flag_spec='-R$libdir'
10022 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10023 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10025 esac
10027 else
10028 ld_shlibs=no
10032 os2*)
10033 hardcode_libdir_flag_spec='-L$libdir'
10034 hardcode_minus_L=yes
10035 allow_undefined_flag=unsupported
10036 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10037 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10040 osf3*)
10041 if test "$GCC" = yes; then
10042 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10043 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10044 else
10045 allow_undefined_flag=' -expect_unresolved \*'
10046 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10048 archive_cmds_need_lc='no'
10049 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10050 hardcode_libdir_separator=:
10053 osf4* | osf5*) # as osf3* with the addition of -msym flag
10054 if test "$GCC" = yes; then
10055 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10056 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10057 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10058 else
10059 allow_undefined_flag=' -expect_unresolved \*'
10060 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10061 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10062 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10064 # Both c and cxx compiler support -rpath directly
10065 hardcode_libdir_flag_spec='-rpath $libdir'
10067 archive_cmds_need_lc='no'
10068 hardcode_libdir_separator=:
10071 solaris*)
10072 no_undefined_flag=' -z defs'
10073 if test "$GCC" = yes; then
10074 wlarc='${wl}'
10075 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10076 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10077 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10078 else
10079 case `$CC -V 2>&1` in
10080 *"Compilers 5.0"*)
10081 wlarc=''
10082 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10083 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10084 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10087 wlarc='${wl}'
10088 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10089 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10090 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10092 esac
10094 hardcode_libdir_flag_spec='-R$libdir'
10095 hardcode_shlibpath_var=no
10096 case $host_os in
10097 solaris2.[0-5] | solaris2.[0-5].*) ;;
10099 # The compiler driver will combine and reorder linker options,
10100 # but understands `-z linker_flag'. GCC discards it without `$wl',
10101 # but is careful enough not to reorder.
10102 # Supported since Solaris 2.6 (maybe 2.5.1?)
10103 if test "$GCC" = yes; then
10104 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10105 else
10106 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10109 esac
10110 link_all_deplibs=yes
10113 sunos4*)
10114 if test "x$host_vendor" = xsequent; then
10115 # Use $CC to link under sequent, because it throws in some extra .o
10116 # files that make .init and .fini sections work.
10117 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10118 else
10119 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10121 hardcode_libdir_flag_spec='-L$libdir'
10122 hardcode_direct=yes
10123 hardcode_minus_L=yes
10124 hardcode_shlibpath_var=no
10127 sysv4)
10128 case $host_vendor in
10129 sni)
10130 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10131 hardcode_direct=yes # is this really true???
10133 siemens)
10134 ## LD is ld it makes a PLAMLIB
10135 ## CC just makes a GrossModule.
10136 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10137 reload_cmds='$CC -r -o $output$reload_objs'
10138 hardcode_direct=no
10140 motorola)
10141 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10142 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10144 esac
10145 runpath_var='LD_RUN_PATH'
10146 hardcode_shlibpath_var=no
10149 sysv4.3*)
10150 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10151 hardcode_shlibpath_var=no
10152 export_dynamic_flag_spec='-Bexport'
10155 sysv4*MP*)
10156 if test -d /usr/nec; then
10157 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10158 hardcode_shlibpath_var=no
10159 runpath_var=LD_RUN_PATH
10160 hardcode_runpath_var=yes
10161 ld_shlibs=yes
10165 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10166 no_undefined_flag='${wl}-z,text'
10167 archive_cmds_need_lc=no
10168 hardcode_shlibpath_var=no
10169 runpath_var='LD_RUN_PATH'
10171 if test "$GCC" = yes; then
10172 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10173 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10174 else
10175 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10176 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 sysv5* | sco3.2v5* | sco5v6*)
10181 # Note: We can NOT use -z defs as we might desire, because we do not
10182 # link with -lc, and that would cause any symbols used from libc to
10183 # always be unresolved, which means just about no library would
10184 # ever link correctly. If we're not using GNU ld we use -z text
10185 # though, which does catch some bad symbols but isn't as heavy-handed
10186 # as -z defs.
10187 no_undefined_flag='${wl}-z,text'
10188 allow_undefined_flag='${wl}-z,nodefs'
10189 archive_cmds_need_lc=no
10190 hardcode_shlibpath_var=no
10191 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10192 hardcode_libdir_separator=':'
10193 link_all_deplibs=yes
10194 export_dynamic_flag_spec='${wl}-Bexport'
10195 runpath_var='LD_RUN_PATH'
10197 if test "$GCC" = yes; then
10198 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10199 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10200 else
10201 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10206 uts4*)
10207 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10208 hardcode_libdir_flag_spec='-L$libdir'
10209 hardcode_shlibpath_var=no
10213 ld_shlibs=no
10215 esac
10217 if test x$host_vendor = xsni; then
10218 case $host in
10219 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10220 export_dynamic_flag_spec='${wl}-Blargedynsym'
10222 esac
10226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10227 $as_echo "$ld_shlibs" >&6; }
10228 test "$ld_shlibs" = no && can_build_shared=no
10230 with_gnu_ld=$with_gnu_ld
10247 # Do we need to explicitly link libc?
10249 case "x$archive_cmds_need_lc" in
10250 x|xyes)
10251 # Assume -lc should be added
10252 archive_cmds_need_lc=yes
10254 if test "$enable_shared" = yes && test "$GCC" = yes; then
10255 case $archive_cmds in
10256 *'~'*)
10257 # FIXME: we may have to deal with multi-command sequences.
10259 '$CC '*)
10260 # Test whether the compiler implicitly links with -lc since on some
10261 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10262 # to ld, don't add -lc before -lgcc.
10263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10264 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10265 if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
10266 $as_echo_n "(cached) " >&6
10267 else
10268 $RM conftest*
10269 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10271 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10272 (eval $ac_compile) 2>&5
10273 ac_status=$?
10274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10275 test $ac_status = 0; } 2>conftest.err; then
10276 soname=conftest
10277 lib=conftest
10278 libobjs=conftest.$ac_objext
10279 deplibs=
10280 wl=$lt_prog_compiler_wl
10281 pic_flag=$lt_prog_compiler_pic
10282 compiler_flags=-v
10283 linker_flags=-v
10284 verstring=
10285 output_objdir=.
10286 libname=conftest
10287 lt_save_allow_undefined_flag=$allow_undefined_flag
10288 allow_undefined_flag=
10289 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10290 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10291 ac_status=$?
10292 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10293 test $ac_status = 0; }
10294 then
10295 lt_cv_archive_cmds_need_lc=no
10296 else
10297 lt_cv_archive_cmds_need_lc=yes
10299 allow_undefined_flag=$lt_save_allow_undefined_flag
10300 else
10301 cat conftest.err 1>&5
10303 $RM conftest*
10306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10307 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10308 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10310 esac
10313 esac
10471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10472 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10474 if test "$GCC" = yes; then
10475 case $host_os in
10476 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10477 *) lt_awk_arg="/^libraries:/" ;;
10478 esac
10479 case $host_os in
10480 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10481 *) lt_sed_strip_eq="s,=/,/,g" ;;
10482 esac
10483 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10484 case $lt_search_path_spec in
10485 *\;*)
10486 # if the path contains ";" then we assume it to be the separator
10487 # otherwise default to the standard path separator (i.e. ":") - it is
10488 # assumed that no part of a normal pathname contains ";" but that should
10489 # okay in the real world where ";" in dirpaths is itself problematic.
10490 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10493 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10495 esac
10496 # Ok, now we have the path, separated by spaces, we can step through it
10497 # and add multilib dir if necessary.
10498 lt_tmp_lt_search_path_spec=
10499 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10500 for lt_sys_path in $lt_search_path_spec; do
10501 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10502 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10503 else
10504 test -d "$lt_sys_path" && \
10505 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10507 done
10508 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10509 BEGIN {RS=" "; FS="/|\n";} {
10510 lt_foo="";
10511 lt_count=0;
10512 for (lt_i = NF; lt_i > 0; lt_i--) {
10513 if ($lt_i != "" && $lt_i != ".") {
10514 if ($lt_i == "..") {
10515 lt_count++;
10516 } else {
10517 if (lt_count == 0) {
10518 lt_foo="/" $lt_i lt_foo;
10519 } else {
10520 lt_count--;
10525 if (lt_foo != "") { lt_freq[lt_foo]++; }
10526 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10528 # AWK program above erroneously prepends '/' to C:/dos/paths
10529 # for these hosts.
10530 case $host_os in
10531 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10532 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10533 esac
10534 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10535 else
10536 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10538 library_names_spec=
10539 libname_spec='lib$name'
10540 soname_spec=
10541 shrext_cmds=".so"
10542 postinstall_cmds=
10543 postuninstall_cmds=
10544 finish_cmds=
10545 finish_eval=
10546 shlibpath_var=
10547 shlibpath_overrides_runpath=unknown
10548 version_type=none
10549 dynamic_linker="$host_os ld.so"
10550 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10551 need_lib_prefix=unknown
10552 hardcode_into_libs=no
10554 # when you set need_version to no, make sure it does not cause -set_version
10555 # flags to be left without arguments
10556 need_version=unknown
10558 case $host_os in
10559 aix3*)
10560 version_type=linux
10561 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10562 shlibpath_var=LIBPATH
10564 # AIX 3 has no versioning support, so we append a major version to the name.
10565 soname_spec='${libname}${release}${shared_ext}$major'
10568 aix[4-9]*)
10569 version_type=linux
10570 need_lib_prefix=no
10571 need_version=no
10572 hardcode_into_libs=yes
10573 if test "$host_cpu" = ia64; then
10574 # AIX 5 supports IA64
10575 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10576 shlibpath_var=LD_LIBRARY_PATH
10577 else
10578 # With GCC up to 2.95.x, collect2 would create an import file
10579 # for dependence libraries. The import file would start with
10580 # the line `#! .'. This would cause the generated library to
10581 # depend on `.', always an invalid library. This was fixed in
10582 # development snapshots of GCC prior to 3.0.
10583 case $host_os in
10584 aix4 | aix4.[01] | aix4.[01].*)
10585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10586 echo ' yes '
10587 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10589 else
10590 can_build_shared=no
10593 esac
10594 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10595 # soname into executable. Probably we can add versioning support to
10596 # collect2, so additional links can be useful in future.
10597 if test "$aix_use_runtimelinking" = yes; then
10598 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10599 # instead of lib<name>.a to let people know that these are not
10600 # typical AIX shared libraries.
10601 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10602 else
10603 # We preserve .a as extension for shared libraries through AIX4.2
10604 # and later when we are not doing run time linking.
10605 library_names_spec='${libname}${release}.a $libname.a'
10606 soname_spec='${libname}${release}${shared_ext}$major'
10608 shlibpath_var=LIBPATH
10612 amigaos*)
10613 case $host_cpu in
10614 powerpc)
10615 # Since July 2007 AmigaOS4 officially supports .so libraries.
10616 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10617 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10619 m68k)
10620 library_names_spec='$libname.ixlibrary $libname.a'
10621 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10622 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10624 esac
10627 beos*)
10628 library_names_spec='${libname}${shared_ext}'
10629 dynamic_linker="$host_os ld.so"
10630 shlibpath_var=LIBRARY_PATH
10633 bsdi[45]*)
10634 version_type=linux
10635 need_version=no
10636 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10637 soname_spec='${libname}${release}${shared_ext}$major'
10638 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10639 shlibpath_var=LD_LIBRARY_PATH
10640 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10641 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10642 # the default ld.so.conf also contains /usr/contrib/lib and
10643 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10644 # libtool to hard-code these into programs
10647 cygwin* | mingw* | pw32* | cegcc*)
10648 version_type=windows
10649 shrext_cmds=".dll"
10650 need_version=no
10651 need_lib_prefix=no
10653 case $GCC,$host_os in
10654 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10655 library_names_spec='$libname.dll.a'
10656 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10657 postinstall_cmds='base_file=`basename \${file}`~
10658 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10659 dldir=$destdir/`dirname \$dlpath`~
10660 test -d \$dldir || mkdir -p \$dldir~
10661 $install_prog $dir/$dlname \$dldir/$dlname~
10662 chmod a+x \$dldir/$dlname~
10663 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10664 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10666 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10667 dlpath=$dir/\$dldll~
10668 $RM \$dlpath'
10669 shlibpath_overrides_runpath=yes
10671 case $host_os in
10672 cygwin*)
10673 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10674 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10676 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10678 mingw* | cegcc*)
10679 # MinGW DLLs use traditional 'lib' prefix
10680 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10682 pw32*)
10683 # pw32 DLLs use 'pw' prefix rather than 'lib'
10684 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10686 esac
10690 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10692 esac
10693 dynamic_linker='Win32 ld.exe'
10694 # FIXME: first we should search . and the directory the executable is in
10695 shlibpath_var=PATH
10698 darwin* | rhapsody*)
10699 dynamic_linker="$host_os dyld"
10700 version_type=darwin
10701 need_lib_prefix=no
10702 need_version=no
10703 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10704 soname_spec='${libname}${release}${major}$shared_ext'
10705 shlibpath_overrides_runpath=yes
10706 shlibpath_var=DYLD_LIBRARY_PATH
10707 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10709 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10710 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10713 dgux*)
10714 version_type=linux
10715 need_lib_prefix=no
10716 need_version=no
10717 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10718 soname_spec='${libname}${release}${shared_ext}$major'
10719 shlibpath_var=LD_LIBRARY_PATH
10722 freebsd* | dragonfly*)
10723 # DragonFly does not have aout. When/if they implement a new
10724 # versioning mechanism, adjust this.
10725 if test -x /usr/bin/objformat; then
10726 objformat=`/usr/bin/objformat`
10727 else
10728 case $host_os in
10729 freebsd[23].*) objformat=aout ;;
10730 *) objformat=elf ;;
10731 esac
10733 version_type=freebsd-$objformat
10734 case $version_type in
10735 freebsd-elf*)
10736 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10737 need_version=no
10738 need_lib_prefix=no
10740 freebsd-*)
10741 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10742 need_version=yes
10744 esac
10745 shlibpath_var=LD_LIBRARY_PATH
10746 case $host_os in
10747 freebsd2.*)
10748 shlibpath_overrides_runpath=yes
10750 freebsd3.[01]* | freebsdelf3.[01]*)
10751 shlibpath_overrides_runpath=yes
10752 hardcode_into_libs=yes
10754 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
10755 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
10756 shlibpath_overrides_runpath=no
10757 hardcode_into_libs=yes
10759 *) # from 4.6 on, and DragonFly
10760 shlibpath_overrides_runpath=yes
10761 hardcode_into_libs=yes
10763 esac
10766 gnu*)
10767 version_type=linux
10768 need_lib_prefix=no
10769 need_version=no
10770 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10771 soname_spec='${libname}${release}${shared_ext}$major'
10772 shlibpath_var=LD_LIBRARY_PATH
10773 hardcode_into_libs=yes
10776 haiku*)
10777 version_type=linux
10778 need_lib_prefix=no
10779 need_version=no
10780 dynamic_linker="$host_os runtime_loader"
10781 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10782 soname_spec='${libname}${release}${shared_ext}$major'
10783 shlibpath_var=LIBRARY_PATH
10784 shlibpath_overrides_runpath=yes
10785 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
10786 hardcode_into_libs=yes
10789 hpux9* | hpux10* | hpux11*)
10790 # Give a soname corresponding to the major version so that dld.sl refuses to
10791 # link against other versions.
10792 version_type=sunos
10793 need_lib_prefix=no
10794 need_version=no
10795 case $host_cpu in
10796 ia64*)
10797 shrext_cmds='.so'
10798 hardcode_into_libs=yes
10799 dynamic_linker="$host_os dld.so"
10800 shlibpath_var=LD_LIBRARY_PATH
10801 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10802 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10803 soname_spec='${libname}${release}${shared_ext}$major'
10804 if test "X$HPUX_IA64_MODE" = X32; then
10805 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
10806 else
10807 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
10809 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10811 hppa*64*)
10812 shrext_cmds='.sl'
10813 hardcode_into_libs=yes
10814 dynamic_linker="$host_os dld.sl"
10815 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
10816 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
10817 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10818 soname_spec='${libname}${release}${shared_ext}$major'
10819 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
10820 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
10823 shrext_cmds='.sl'
10824 dynamic_linker="$host_os dld.sl"
10825 shlibpath_var=SHLIB_PATH
10826 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
10827 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10828 soname_spec='${libname}${release}${shared_ext}$major'
10830 esac
10831 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
10832 postinstall_cmds='chmod 555 $lib'
10833 # or fails outright, so override atomically:
10834 install_override_mode=555
10837 interix[3-9]*)
10838 version_type=linux
10839 need_lib_prefix=no
10840 need_version=no
10841 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10842 soname_spec='${libname}${release}${shared_ext}$major'
10843 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
10844 shlibpath_var=LD_LIBRARY_PATH
10845 shlibpath_overrides_runpath=no
10846 hardcode_into_libs=yes
10849 irix5* | irix6* | nonstopux*)
10850 case $host_os in
10851 nonstopux*) version_type=nonstopux ;;
10853 if test "$lt_cv_prog_gnu_ld" = yes; then
10854 version_type=linux
10855 else
10856 version_type=irix
10857 fi ;;
10858 esac
10859 need_lib_prefix=no
10860 need_version=no
10861 soname_spec='${libname}${release}${shared_ext}$major'
10862 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
10863 case $host_os in
10864 irix5* | nonstopux*)
10865 libsuff= shlibsuff=
10868 case $LD in # libtool.m4 will add one of these switches to LD
10869 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
10870 libsuff= shlibsuff= libmagic=32-bit;;
10871 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
10872 libsuff=32 shlibsuff=N32 libmagic=N32;;
10873 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
10874 libsuff=64 shlibsuff=64 libmagic=64-bit;;
10875 *) libsuff= shlibsuff= libmagic=never-match;;
10876 esac
10878 esac
10879 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
10880 shlibpath_overrides_runpath=no
10881 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
10882 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
10883 hardcode_into_libs=yes
10886 # No shared lib support for Linux oldld, aout, or coff.
10887 linux*oldld* | linux*aout* | linux*coff*)
10888 dynamic_linker=no
10891 # This must be Linux ELF.
10892 linux* | k*bsd*-gnu | kopensolaris*-gnu)
10893 version_type=linux
10894 need_lib_prefix=no
10895 need_version=no
10896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10897 soname_spec='${libname}${release}${shared_ext}$major'
10898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
10899 shlibpath_var=LD_LIBRARY_PATH
10900 shlibpath_overrides_runpath=no
10902 # Some binutils ld are patched to set DT_RUNPATH
10903 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 lt_cv_shlibpath_overrides_runpath=no
10907 save_LDFLAGS=$LDFLAGS
10908 save_libdir=$libdir
10909 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
10910 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
10911 if test x$gcc_no_link = xyes; then
10912 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10915 /* end confdefs.h. */
10918 main ()
10922 return 0;
10924 _ACEOF
10925 if ac_fn_c_try_link "$LINENO"; then :
10926 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
10927 lt_cv_shlibpath_overrides_runpath=yes
10930 rm -f core conftest.err conftest.$ac_objext \
10931 conftest$ac_exeext conftest.$ac_ext
10932 LDFLAGS=$save_LDFLAGS
10933 libdir=$save_libdir
10937 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
10939 # This implies no fast_install, which is unacceptable.
10940 # Some rework will be needed to allow for fast_install
10941 # before this can be enabled.
10942 hardcode_into_libs=yes
10944 # Append ld.so.conf contents to the search path
10945 if test -f /etc/ld.so.conf; then
10946 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
10947 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
10950 # We used to test for /lib/ld.so.1 and disable shared libraries on
10951 # powerpc, because MkLinux only supported shared libraries with the
10952 # GNU dynamic linker. Since this was broken with cross compilers,
10953 # most powerpc-linux boxes support dynamic linking these days and
10954 # people can always --disable-shared, the test was removed, and we
10955 # assume the GNU/Linux dynamic linker is in use.
10956 dynamic_linker='GNU/Linux ld.so'
10959 netbsd*)
10960 version_type=sunos
10961 need_lib_prefix=no
10962 need_version=no
10963 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10964 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
10965 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
10966 dynamic_linker='NetBSD (a.out) ld.so'
10967 else
10968 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10969 soname_spec='${libname}${release}${shared_ext}$major'
10970 dynamic_linker='NetBSD ld.elf_so'
10972 shlibpath_var=LD_LIBRARY_PATH
10973 shlibpath_overrides_runpath=yes
10974 hardcode_into_libs=yes
10977 newsos6)
10978 version_type=linux
10979 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10980 shlibpath_var=LD_LIBRARY_PATH
10981 shlibpath_overrides_runpath=yes
10984 *nto* | *qnx*)
10985 version_type=qnx
10986 need_lib_prefix=no
10987 need_version=no
10988 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10989 soname_spec='${libname}${release}${shared_ext}$major'
10990 shlibpath_var=LD_LIBRARY_PATH
10991 shlibpath_overrides_runpath=no
10992 hardcode_into_libs=yes
10993 dynamic_linker='ldqnx.so'
10996 openbsd*)
10997 version_type=sunos
10998 sys_lib_dlsearch_path_spec="/usr/lib"
10999 need_lib_prefix=no
11000 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11001 case $host_os in
11002 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11003 *) need_version=no ;;
11004 esac
11005 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11006 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11007 shlibpath_var=LD_LIBRARY_PATH
11008 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11009 case $host_os in
11010 openbsd2.[89] | openbsd2.[89].*)
11011 shlibpath_overrides_runpath=no
11014 shlibpath_overrides_runpath=yes
11016 esac
11017 else
11018 shlibpath_overrides_runpath=yes
11022 os2*)
11023 libname_spec='$name'
11024 shrext_cmds=".dll"
11025 need_lib_prefix=no
11026 library_names_spec='$libname${shared_ext} $libname.a'
11027 dynamic_linker='OS/2 ld.exe'
11028 shlibpath_var=LIBPATH
11031 osf3* | osf4* | osf5*)
11032 version_type=osf
11033 need_lib_prefix=no
11034 need_version=no
11035 soname_spec='${libname}${release}${shared_ext}$major'
11036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11037 shlibpath_var=LD_LIBRARY_PATH
11038 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11039 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11042 rdos*)
11043 dynamic_linker=no
11046 solaris*)
11047 version_type=linux
11048 need_lib_prefix=no
11049 need_version=no
11050 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11051 soname_spec='${libname}${release}${shared_ext}$major'
11052 shlibpath_var=LD_LIBRARY_PATH
11053 shlibpath_overrides_runpath=yes
11054 hardcode_into_libs=yes
11055 # ldd complains unless libraries are executable
11056 postinstall_cmds='chmod +x $lib'
11059 sunos4*)
11060 version_type=sunos
11061 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11062 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11063 shlibpath_var=LD_LIBRARY_PATH
11064 shlibpath_overrides_runpath=yes
11065 if test "$with_gnu_ld" = yes; then
11066 need_lib_prefix=no
11068 need_version=yes
11071 sysv4 | sysv4.3*)
11072 version_type=linux
11073 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11074 soname_spec='${libname}${release}${shared_ext}$major'
11075 shlibpath_var=LD_LIBRARY_PATH
11076 case $host_vendor in
11077 sni)
11078 shlibpath_overrides_runpath=no
11079 need_lib_prefix=no
11080 runpath_var=LD_RUN_PATH
11082 siemens)
11083 need_lib_prefix=no
11085 motorola)
11086 need_lib_prefix=no
11087 need_version=no
11088 shlibpath_overrides_runpath=no
11089 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11091 esac
11094 sysv4*MP*)
11095 if test -d /usr/nec ;then
11096 version_type=linux
11097 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11098 soname_spec='$libname${shared_ext}.$major'
11099 shlibpath_var=LD_LIBRARY_PATH
11103 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11104 version_type=freebsd-elf
11105 need_lib_prefix=no
11106 need_version=no
11107 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11108 soname_spec='${libname}${release}${shared_ext}$major'
11109 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11111 hardcode_into_libs=yes
11112 if test "$with_gnu_ld" = yes; then
11113 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11114 else
11115 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11116 case $host_os in
11117 sco3.2v5*)
11118 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11120 esac
11122 sys_lib_dlsearch_path_spec='/usr/lib'
11125 tpf*)
11126 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11127 version_type=linux
11128 need_lib_prefix=no
11129 need_version=no
11130 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11131 shlibpath_var=LD_LIBRARY_PATH
11132 shlibpath_overrides_runpath=no
11133 hardcode_into_libs=yes
11136 uts4*)
11137 version_type=linux
11138 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11139 soname_spec='${libname}${release}${shared_ext}$major'
11140 shlibpath_var=LD_LIBRARY_PATH
11144 dynamic_linker=no
11146 esac
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11148 $as_echo "$dynamic_linker" >&6; }
11149 test "$dynamic_linker" = no && can_build_shared=no
11151 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11152 if test "$GCC" = yes; then
11153 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11156 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11157 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11159 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11160 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11255 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11256 hardcode_action=
11257 if test -n "$hardcode_libdir_flag_spec" ||
11258 test -n "$runpath_var" ||
11259 test "X$hardcode_automatic" = "Xyes" ; then
11261 # We can hardcode non-existent directories.
11262 if test "$hardcode_direct" != no &&
11263 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11264 # have to relink, otherwise we might link with an installed library
11265 # when we should be linking with a yet-to-be-installed one
11266 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11267 test "$hardcode_minus_L" != no; then
11268 # Linking always hardcodes the temporary library directory.
11269 hardcode_action=relink
11270 else
11271 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11272 hardcode_action=immediate
11274 else
11275 # We cannot hardcode anything, or else we can only hardcode existing
11276 # directories.
11277 hardcode_action=unsupported
11279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11280 $as_echo "$hardcode_action" >&6; }
11282 if test "$hardcode_action" = relink ||
11283 test "$inherit_rpath" = yes; then
11284 # Fast installation is not supported
11285 enable_fast_install=no
11286 elif test "$shlibpath_overrides_runpath" = yes ||
11287 test "$enable_shared" = no; then
11288 # Fast installation is not necessary
11289 enable_fast_install=needless
11297 if test "x$enable_dlopen" != xyes; then
11298 enable_dlopen=unknown
11299 enable_dlopen_self=unknown
11300 enable_dlopen_self_static=unknown
11301 else
11302 lt_cv_dlopen=no
11303 lt_cv_dlopen_libs=
11305 case $host_os in
11306 beos*)
11307 lt_cv_dlopen="load_add_on"
11308 lt_cv_dlopen_libs=
11309 lt_cv_dlopen_self=yes
11312 mingw* | pw32* | cegcc*)
11313 lt_cv_dlopen="LoadLibrary"
11314 lt_cv_dlopen_libs=
11317 cygwin*)
11318 lt_cv_dlopen="dlopen"
11319 lt_cv_dlopen_libs=
11322 darwin*)
11323 # if libdl is installed we need to link against it
11324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11325 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11326 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11327 $as_echo_n "(cached) " >&6
11328 else
11329 ac_check_lib_save_LIBS=$LIBS
11330 LIBS="-ldl $LIBS"
11331 if test x$gcc_no_link = xyes; then
11332 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11335 /* end confdefs.h. */
11337 /* Override any GCC internal prototype to avoid an error.
11338 Use char because int might match the return type of a GCC
11339 builtin and then its argument prototype would still apply. */
11340 #ifdef __cplusplus
11341 extern "C"
11342 #endif
11343 char dlopen ();
11345 main ()
11347 return dlopen ();
11349 return 0;
11351 _ACEOF
11352 if ac_fn_c_try_link "$LINENO"; then :
11353 ac_cv_lib_dl_dlopen=yes
11354 else
11355 ac_cv_lib_dl_dlopen=no
11357 rm -f core conftest.err conftest.$ac_objext \
11358 conftest$ac_exeext conftest.$ac_ext
11359 LIBS=$ac_check_lib_save_LIBS
11361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11362 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11363 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11364 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11365 else
11367 lt_cv_dlopen="dyld"
11368 lt_cv_dlopen_libs=
11369 lt_cv_dlopen_self=yes
11376 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11377 if test "x$ac_cv_func_shl_load" = x""yes; then :
11378 lt_cv_dlopen="shl_load"
11379 else
11380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11381 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11382 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
11383 $as_echo_n "(cached) " >&6
11384 else
11385 ac_check_lib_save_LIBS=$LIBS
11386 LIBS="-ldld $LIBS"
11387 if test x$gcc_no_link = xyes; then
11388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11391 /* end confdefs.h. */
11393 /* Override any GCC internal prototype to avoid an error.
11394 Use char because int might match the return type of a GCC
11395 builtin and then its argument prototype would still apply. */
11396 #ifdef __cplusplus
11397 extern "C"
11398 #endif
11399 char shl_load ();
11401 main ()
11403 return shl_load ();
11405 return 0;
11407 _ACEOF
11408 if ac_fn_c_try_link "$LINENO"; then :
11409 ac_cv_lib_dld_shl_load=yes
11410 else
11411 ac_cv_lib_dld_shl_load=no
11413 rm -f core conftest.err conftest.$ac_objext \
11414 conftest$ac_exeext conftest.$ac_ext
11415 LIBS=$ac_check_lib_save_LIBS
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11418 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11419 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
11420 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11421 else
11422 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11423 if test "x$ac_cv_func_dlopen" = x""yes; then :
11424 lt_cv_dlopen="dlopen"
11425 else
11426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11427 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11428 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
11429 $as_echo_n "(cached) " >&6
11430 else
11431 ac_check_lib_save_LIBS=$LIBS
11432 LIBS="-ldl $LIBS"
11433 if test x$gcc_no_link = xyes; then
11434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11437 /* end confdefs.h. */
11439 /* Override any GCC internal prototype to avoid an error.
11440 Use char because int might match the return type of a GCC
11441 builtin and then its argument prototype would still apply. */
11442 #ifdef __cplusplus
11443 extern "C"
11444 #endif
11445 char dlopen ();
11447 main ()
11449 return dlopen ();
11451 return 0;
11453 _ACEOF
11454 if ac_fn_c_try_link "$LINENO"; then :
11455 ac_cv_lib_dl_dlopen=yes
11456 else
11457 ac_cv_lib_dl_dlopen=no
11459 rm -f core conftest.err conftest.$ac_objext \
11460 conftest$ac_exeext conftest.$ac_ext
11461 LIBS=$ac_check_lib_save_LIBS
11463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11464 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11465 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
11466 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11467 else
11468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11469 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11470 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
11471 $as_echo_n "(cached) " >&6
11472 else
11473 ac_check_lib_save_LIBS=$LIBS
11474 LIBS="-lsvld $LIBS"
11475 if test x$gcc_no_link = xyes; then
11476 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11479 /* end confdefs.h. */
11481 /* Override any GCC internal prototype to avoid an error.
11482 Use char because int might match the return type of a GCC
11483 builtin and then its argument prototype would still apply. */
11484 #ifdef __cplusplus
11485 extern "C"
11486 #endif
11487 char dlopen ();
11489 main ()
11491 return dlopen ();
11493 return 0;
11495 _ACEOF
11496 if ac_fn_c_try_link "$LINENO"; then :
11497 ac_cv_lib_svld_dlopen=yes
11498 else
11499 ac_cv_lib_svld_dlopen=no
11501 rm -f core conftest.err conftest.$ac_objext \
11502 conftest$ac_exeext conftest.$ac_ext
11503 LIBS=$ac_check_lib_save_LIBS
11505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11506 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11507 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
11508 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11509 else
11510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11511 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11512 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
11513 $as_echo_n "(cached) " >&6
11514 else
11515 ac_check_lib_save_LIBS=$LIBS
11516 LIBS="-ldld $LIBS"
11517 if test x$gcc_no_link = xyes; then
11518 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dld_link ();
11531 main ()
11533 return dld_link ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 ac_cv_lib_dld_dld_link=yes
11540 else
11541 ac_cv_lib_dld_dld_link=no
11543 rm -f core conftest.err conftest.$ac_objext \
11544 conftest$ac_exeext conftest.$ac_ext
11545 LIBS=$ac_check_lib_save_LIBS
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11548 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11549 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
11550 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11569 esac
11571 if test "x$lt_cv_dlopen" != xno; then
11572 enable_dlopen=yes
11573 else
11574 enable_dlopen=no
11577 case $lt_cv_dlopen in
11578 dlopen)
11579 save_CPPFLAGS="$CPPFLAGS"
11580 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11582 save_LDFLAGS="$LDFLAGS"
11583 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11585 save_LIBS="$LIBS"
11586 LIBS="$lt_cv_dlopen_libs $LIBS"
11588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11589 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11590 if test "${lt_cv_dlopen_self+set}" = set; then :
11591 $as_echo_n "(cached) " >&6
11592 else
11593 if test "$cross_compiling" = yes; then :
11594 lt_cv_dlopen_self=cross
11595 else
11596 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11597 lt_status=$lt_dlunknown
11598 cat > conftest.$ac_ext <<_LT_EOF
11599 #line 11599 "configure"
11600 #include "confdefs.h"
11602 #if HAVE_DLFCN_H
11603 #include <dlfcn.h>
11604 #endif
11606 #include <stdio.h>
11608 #ifdef RTLD_GLOBAL
11609 # define LT_DLGLOBAL RTLD_GLOBAL
11610 #else
11611 # ifdef DL_GLOBAL
11612 # define LT_DLGLOBAL DL_GLOBAL
11613 # else
11614 # define LT_DLGLOBAL 0
11615 # endif
11616 #endif
11618 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11619 find out it does not work in some platform. */
11620 #ifndef LT_DLLAZY_OR_NOW
11621 # ifdef RTLD_LAZY
11622 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11623 # else
11624 # ifdef DL_LAZY
11625 # define LT_DLLAZY_OR_NOW DL_LAZY
11626 # else
11627 # ifdef RTLD_NOW
11628 # define LT_DLLAZY_OR_NOW RTLD_NOW
11629 # else
11630 # ifdef DL_NOW
11631 # define LT_DLLAZY_OR_NOW DL_NOW
11632 # else
11633 # define LT_DLLAZY_OR_NOW 0
11634 # endif
11635 # endif
11636 # endif
11637 # endif
11638 #endif
11640 /* When -fvisbility=hidden is used, assume the code has been annotated
11641 correspondingly for the symbols needed. */
11642 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11643 void fnord () __attribute__((visibility("default")));
11644 #endif
11646 void fnord () { int i=42; }
11647 int main ()
11649 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11650 int status = $lt_dlunknown;
11652 if (self)
11654 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11655 else
11657 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11658 else puts (dlerror ());
11660 /* dlclose (self); */
11662 else
11663 puts (dlerror ());
11665 return status;
11667 _LT_EOF
11668 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11669 (eval $ac_link) 2>&5
11670 ac_status=$?
11671 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11672 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11673 (./conftest; exit; ) >&5 2>/dev/null
11674 lt_status=$?
11675 case x$lt_status in
11676 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11677 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11678 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11679 esac
11680 else :
11681 # compilation failed
11682 lt_cv_dlopen_self=no
11685 rm -fr conftest*
11689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11690 $as_echo "$lt_cv_dlopen_self" >&6; }
11692 if test "x$lt_cv_dlopen_self" = xyes; then
11693 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11695 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11696 if test "${lt_cv_dlopen_self_static+set}" = set; then :
11697 $as_echo_n "(cached) " >&6
11698 else
11699 if test "$cross_compiling" = yes; then :
11700 lt_cv_dlopen_self_static=cross
11701 else
11702 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11703 lt_status=$lt_dlunknown
11704 cat > conftest.$ac_ext <<_LT_EOF
11705 #line 11705 "configure"
11706 #include "confdefs.h"
11708 #if HAVE_DLFCN_H
11709 #include <dlfcn.h>
11710 #endif
11712 #include <stdio.h>
11714 #ifdef RTLD_GLOBAL
11715 # define LT_DLGLOBAL RTLD_GLOBAL
11716 #else
11717 # ifdef DL_GLOBAL
11718 # define LT_DLGLOBAL DL_GLOBAL
11719 # else
11720 # define LT_DLGLOBAL 0
11721 # endif
11722 #endif
11724 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11725 find out it does not work in some platform. */
11726 #ifndef LT_DLLAZY_OR_NOW
11727 # ifdef RTLD_LAZY
11728 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11729 # else
11730 # ifdef DL_LAZY
11731 # define LT_DLLAZY_OR_NOW DL_LAZY
11732 # else
11733 # ifdef RTLD_NOW
11734 # define LT_DLLAZY_OR_NOW RTLD_NOW
11735 # else
11736 # ifdef DL_NOW
11737 # define LT_DLLAZY_OR_NOW DL_NOW
11738 # else
11739 # define LT_DLLAZY_OR_NOW 0
11740 # endif
11741 # endif
11742 # endif
11743 # endif
11744 #endif
11746 /* When -fvisbility=hidden is used, assume the code has been annotated
11747 correspondingly for the symbols needed. */
11748 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11749 void fnord () __attribute__((visibility("default")));
11750 #endif
11752 void fnord () { int i=42; }
11753 int main ()
11755 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11756 int status = $lt_dlunknown;
11758 if (self)
11760 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11761 else
11763 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11764 else puts (dlerror ());
11766 /* dlclose (self); */
11768 else
11769 puts (dlerror ());
11771 return status;
11773 _LT_EOF
11774 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11775 (eval $ac_link) 2>&5
11776 ac_status=$?
11777 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11778 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11779 (./conftest; exit; ) >&5 2>/dev/null
11780 lt_status=$?
11781 case x$lt_status in
11782 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
11783 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
11784 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
11785 esac
11786 else :
11787 # compilation failed
11788 lt_cv_dlopen_self_static=no
11791 rm -fr conftest*
11795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
11796 $as_echo "$lt_cv_dlopen_self_static" >&6; }
11799 CPPFLAGS="$save_CPPFLAGS"
11800 LDFLAGS="$save_LDFLAGS"
11801 LIBS="$save_LIBS"
11803 esac
11805 case $lt_cv_dlopen_self in
11806 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
11807 *) enable_dlopen_self=unknown ;;
11808 esac
11810 case $lt_cv_dlopen_self_static in
11811 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
11812 *) enable_dlopen_self_static=unknown ;;
11813 esac
11832 striplib=
11833 old_striplib=
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
11835 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
11836 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
11837 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
11838 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11840 $as_echo "yes" >&6; }
11841 else
11842 # FIXME - insert some real tests, host_os isn't really good enough
11843 case $host_os in
11844 darwin*)
11845 if test -n "$STRIP" ; then
11846 striplib="$STRIP -x"
11847 old_striplib="$STRIP -S"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
11849 $as_echo "yes" >&6; }
11850 else
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11852 $as_echo "no" >&6; }
11856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11857 $as_echo "no" >&6; }
11859 esac
11873 # Report which library types will actually be built
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
11875 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
11877 $as_echo "$can_build_shared" >&6; }
11879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
11880 $as_echo_n "checking whether to build shared libraries... " >&6; }
11881 test "$can_build_shared" = "no" && enable_shared=no
11883 # On AIX, shared libraries and static libraries use the same namespace, and
11884 # are all built from PIC.
11885 case $host_os in
11886 aix3*)
11887 test "$enable_shared" = yes && enable_static=no
11888 if test -n "$RANLIB"; then
11889 archive_cmds="$archive_cmds~\$RANLIB \$lib"
11890 postinstall_cmds='$RANLIB $lib'
11894 aix[4-9]*)
11895 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
11896 test "$enable_shared" = yes && enable_static=no
11899 esac
11900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
11901 $as_echo "$enable_shared" >&6; }
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
11904 $as_echo_n "checking whether to build static libraries... " >&6; }
11905 # Make sure either enable_shared or enable_static is yes.
11906 test "$enable_shared" = yes || enable_static=yes
11907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
11908 $as_echo "$enable_static" >&6; }
11914 ac_ext=c
11915 ac_cpp='$CPP $CPPFLAGS'
11916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11920 CC="$lt_save_CC"
11922 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
11923 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
11924 (test "X$CXX" != "Xg++"))) ; then
11925 ac_ext=cpp
11926 ac_cpp='$CXXCPP $CPPFLAGS'
11927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11931 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11932 if test -z "$CXXCPP"; then
11933 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
11934 $as_echo_n "(cached) " >&6
11935 else
11936 # Double quotes because CXXCPP needs to be expanded
11937 for CXXCPP in "$CXX -E" "/lib/cpp"
11939 ac_preproc_ok=false
11940 for ac_cxx_preproc_warn_flag in '' yes
11942 # Use a header file that comes with gcc, so configuring glibc
11943 # with a fresh cross-compiler works.
11944 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11945 # <limits.h> exists even on freestanding compilers.
11946 # On the NeXT, cc -E runs the code through the compiler's parser,
11947 # not just through cpp. "Syntax error" is here to catch this case.
11948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11949 /* end confdefs.h. */
11950 #ifdef __STDC__
11951 # include <limits.h>
11952 #else
11953 # include <assert.h>
11954 #endif
11955 Syntax error
11956 _ACEOF
11957 if ac_fn_cxx_try_cpp "$LINENO"; then :
11959 else
11960 # Broken: fails on valid input.
11961 continue
11963 rm -f conftest.err conftest.$ac_ext
11965 # OK, works on sane cases. Now check whether nonexistent headers
11966 # can be detected and how.
11967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11968 /* end confdefs.h. */
11969 #include <ac_nonexistent.h>
11970 _ACEOF
11971 if ac_fn_cxx_try_cpp "$LINENO"; then :
11972 # Broken: success on invalid input.
11973 continue
11974 else
11975 # Passes both tests.
11976 ac_preproc_ok=:
11977 break
11979 rm -f conftest.err conftest.$ac_ext
11981 done
11982 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11983 rm -f conftest.err conftest.$ac_ext
11984 if $ac_preproc_ok; then :
11985 break
11988 done
11989 ac_cv_prog_CXXCPP=$CXXCPP
11992 CXXCPP=$ac_cv_prog_CXXCPP
11993 else
11994 ac_cv_prog_CXXCPP=$CXXCPP
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
11997 $as_echo "$CXXCPP" >&6; }
11998 ac_preproc_ok=false
11999 for ac_cxx_preproc_warn_flag in '' yes
12001 # Use a header file that comes with gcc, so configuring glibc
12002 # with a fresh cross-compiler works.
12003 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12004 # <limits.h> exists even on freestanding compilers.
12005 # On the NeXT, cc -E runs the code through the compiler's parser,
12006 # not just through cpp. "Syntax error" is here to catch this case.
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #ifdef __STDC__
12010 # include <limits.h>
12011 #else
12012 # include <assert.h>
12013 #endif
12014 Syntax error
12015 _ACEOF
12016 if ac_fn_cxx_try_cpp "$LINENO"; then :
12018 else
12019 # Broken: fails on valid input.
12020 continue
12022 rm -f conftest.err conftest.$ac_ext
12024 # OK, works on sane cases. Now check whether nonexistent headers
12025 # can be detected and how.
12026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12027 /* end confdefs.h. */
12028 #include <ac_nonexistent.h>
12029 _ACEOF
12030 if ac_fn_cxx_try_cpp "$LINENO"; then :
12031 # Broken: success on invalid input.
12032 continue
12033 else
12034 # Passes both tests.
12035 ac_preproc_ok=:
12036 break
12038 rm -f conftest.err conftest.$ac_ext
12040 done
12041 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12042 rm -f conftest.err conftest.$ac_ext
12043 if $ac_preproc_ok; then :
12045 else
12046 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12047 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12048 as_fn_error "C++ preprocessor \"$CXXCPP\" fails sanity check
12049 See \`config.log' for more details." "$LINENO" 5; }
12052 ac_ext=c
12053 ac_cpp='$CPP $CPPFLAGS'
12054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12058 else
12059 _lt_caught_CXX_error=yes
12062 ac_ext=cpp
12063 ac_cpp='$CXXCPP $CPPFLAGS'
12064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12068 archive_cmds_need_lc_CXX=no
12069 allow_undefined_flag_CXX=
12070 always_export_symbols_CXX=no
12071 archive_expsym_cmds_CXX=
12072 compiler_needs_object_CXX=no
12073 export_dynamic_flag_spec_CXX=
12074 hardcode_direct_CXX=no
12075 hardcode_direct_absolute_CXX=no
12076 hardcode_libdir_flag_spec_CXX=
12077 hardcode_libdir_flag_spec_ld_CXX=
12078 hardcode_libdir_separator_CXX=
12079 hardcode_minus_L_CXX=no
12080 hardcode_shlibpath_var_CXX=unsupported
12081 hardcode_automatic_CXX=no
12082 inherit_rpath_CXX=no
12083 module_cmds_CXX=
12084 module_expsym_cmds_CXX=
12085 link_all_deplibs_CXX=unknown
12086 old_archive_cmds_CXX=$old_archive_cmds
12087 reload_flag_CXX=$reload_flag
12088 reload_cmds_CXX=$reload_cmds
12089 no_undefined_flag_CXX=
12090 whole_archive_flag_spec_CXX=
12091 enable_shared_with_static_runtimes_CXX=no
12093 # Source file extension for C++ test sources.
12094 ac_ext=cpp
12096 # Object file extension for compiled C++ test sources.
12097 objext=o
12098 objext_CXX=$objext
12100 # No sense in running all these tests if we already determined that
12101 # the CXX compiler isn't working. Some variables (like enable_shared)
12102 # are currently assumed to apply to all compilers on this platform,
12103 # and will be corrupted by setting them based on a non-working compiler.
12104 if test "$_lt_caught_CXX_error" != yes; then
12105 # Code to be used in simple compile tests
12106 lt_simple_compile_test_code="int some_variable = 0;"
12108 # Code to be used in simple link tests
12109 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12111 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12118 # If no C compiler was specified, use CC.
12119 LTCC=${LTCC-"$CC"}
12121 # If no C compiler flags were specified, use CFLAGS.
12122 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12124 # Allow CC to be a program name with arguments.
12125 compiler=$CC
12128 # save warnings/boilerplate of simple test code
12129 ac_outfile=conftest.$ac_objext
12130 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12131 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12132 _lt_compiler_boilerplate=`cat conftest.err`
12133 $RM conftest*
12135 ac_outfile=conftest.$ac_objext
12136 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12137 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12138 _lt_linker_boilerplate=`cat conftest.err`
12139 $RM -r conftest*
12142 # Allow CC to be a program name with arguments.
12143 lt_save_CC=$CC
12144 lt_save_LD=$LD
12145 lt_save_GCC=$GCC
12146 GCC=$GXX
12147 lt_save_with_gnu_ld=$with_gnu_ld
12148 lt_save_path_LD=$lt_cv_path_LD
12149 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12150 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12151 else
12152 $as_unset lt_cv_prog_gnu_ld
12154 if test -n "${lt_cv_path_LDCXX+set}"; then
12155 lt_cv_path_LD=$lt_cv_path_LDCXX
12156 else
12157 $as_unset lt_cv_path_LD
12159 test -z "${LDCXX+set}" || LD=$LDCXX
12160 CC=${CXX-"c++"}
12161 compiler=$CC
12162 compiler_CXX=$CC
12163 for cc_temp in $compiler""; do
12164 case $cc_temp in
12165 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12166 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12167 \-*) ;;
12168 *) break;;
12169 esac
12170 done
12171 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12174 if test -n "$compiler"; then
12175 # We don't want -fno-exception when compiling C++ code, so set the
12176 # no_builtin_flag separately
12177 if test "$GXX" = yes; then
12178 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12179 else
12180 lt_prog_compiler_no_builtin_flag_CXX=
12183 if test "$GXX" = yes; then
12184 # Set up default GNU C++ configuration
12188 # Check whether --with-gnu-ld was given.
12189 if test "${with_gnu_ld+set}" = set; then :
12190 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12191 else
12192 with_gnu_ld=no
12195 ac_prog=ld
12196 if test "$GCC" = yes; then
12197 # Check if gcc -print-prog-name=ld gives a path.
12198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12199 $as_echo_n "checking for ld used by $CC... " >&6; }
12200 case $host in
12201 *-*-mingw*)
12202 # gcc leaves a trailing carriage return which upsets mingw
12203 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12205 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12206 esac
12207 case $ac_prog in
12208 # Accept absolute paths.
12209 [\\/]* | ?:[\\/]*)
12210 re_direlt='/[^/][^/]*/\.\./'
12211 # Canonicalize the pathname of ld
12212 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12213 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12214 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12215 done
12216 test -z "$LD" && LD="$ac_prog"
12219 # If it fails, then pretend we aren't using GCC.
12220 ac_prog=ld
12223 # If it is relative, then search for the first ld in PATH.
12224 with_gnu_ld=unknown
12226 esac
12227 elif test "$with_gnu_ld" = yes; then
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12229 $as_echo_n "checking for GNU ld... " >&6; }
12230 else
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12232 $as_echo_n "checking for non-GNU ld... " >&6; }
12234 if test "${lt_cv_path_LD+set}" = set; then :
12235 $as_echo_n "(cached) " >&6
12236 else
12237 if test -z "$LD"; then
12238 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12239 for ac_dir in $PATH; do
12240 IFS="$lt_save_ifs"
12241 test -z "$ac_dir" && ac_dir=.
12242 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12243 lt_cv_path_LD="$ac_dir/$ac_prog"
12244 # Check to see if the program is GNU ld. I'd rather use --version,
12245 # but apparently some variants of GNU ld only accept -v.
12246 # Break only if it was the GNU/non-GNU ld that we prefer.
12247 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12248 *GNU* | *'with BFD'*)
12249 test "$with_gnu_ld" != no && break
12252 test "$with_gnu_ld" != yes && break
12254 esac
12256 done
12257 IFS="$lt_save_ifs"
12258 else
12259 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12263 LD="$lt_cv_path_LD"
12264 if test -n "$LD"; then
12265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12266 $as_echo "$LD" >&6; }
12267 else
12268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12269 $as_echo "no" >&6; }
12271 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12273 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12274 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12278 case `$LD -v 2>&1 </dev/null` in
12279 *GNU* | *'with BFD'*)
12280 lt_cv_prog_gnu_ld=yes
12283 lt_cv_prog_gnu_ld=no
12285 esac
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12288 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12289 with_gnu_ld=$lt_cv_prog_gnu_ld
12297 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12298 # archiving commands below assume that GNU ld is being used.
12299 if test "$with_gnu_ld" = yes; then
12300 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12301 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12303 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12304 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12306 # If archive_cmds runs LD, not CC, wlarc should be empty
12307 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12308 # investigate it a little bit more. (MM)
12309 wlarc='${wl}'
12311 # ancient GNU ld didn't support --whole-archive et. al.
12312 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12313 $GREP 'no-whole-archive' > /dev/null; then
12314 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12315 else
12316 whole_archive_flag_spec_CXX=
12318 else
12319 with_gnu_ld=no
12320 wlarc=
12322 # A generic and very simple default shared library creation
12323 # command for GNU C++ for the case where it uses the native
12324 # linker, instead of GNU ld. If possible, this setting should
12325 # overridden to take advantage of the native linker features on
12326 # the platform it is being used on.
12327 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12330 # Commands to make compiler produce verbose output that lists
12331 # what "hidden" libraries, object files and flags are used when
12332 # linking a shared library.
12333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12335 else
12336 GXX=no
12337 with_gnu_ld=no
12338 wlarc=
12341 # PORTME: fill in a description of your system's C++ link characteristics
12342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12343 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12344 ld_shlibs_CXX=yes
12345 case $host_os in
12346 aix3*)
12347 # FIXME: insert proper C++ library support
12348 ld_shlibs_CXX=no
12350 aix[4-9]*)
12351 if test "$host_cpu" = ia64; then
12352 # On IA64, the linker does run time linking by default, so we don't
12353 # have to do anything special.
12354 aix_use_runtimelinking=no
12355 exp_sym_flag='-Bexport'
12356 no_entry_flag=""
12357 else
12358 aix_use_runtimelinking=no
12360 # Test if we are trying to use run time linking or normal
12361 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12362 # need to do runtime linking.
12363 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12364 for ld_flag in $LDFLAGS; do
12365 case $ld_flag in
12366 *-brtl*)
12367 aix_use_runtimelinking=yes
12368 break
12370 esac
12371 done
12373 esac
12375 exp_sym_flag='-bexport'
12376 no_entry_flag='-bnoentry'
12379 # When large executables or shared objects are built, AIX ld can
12380 # have problems creating the table of contents. If linking a library
12381 # or program results in "error TOC overflow" add -mminimal-toc to
12382 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12383 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12385 archive_cmds_CXX=''
12386 hardcode_direct_CXX=yes
12387 hardcode_direct_absolute_CXX=yes
12388 hardcode_libdir_separator_CXX=':'
12389 link_all_deplibs_CXX=yes
12390 file_list_spec_CXX='${wl}-f,'
12392 if test "$GXX" = yes; then
12393 case $host_os in aix4.[012]|aix4.[012].*)
12394 # We only want to do this on AIX 4.2 and lower, the check
12395 # below for broken collect2 doesn't work under 4.3+
12396 collect2name=`${CC} -print-prog-name=collect2`
12397 if test -f "$collect2name" &&
12398 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12399 then
12400 # We have reworked collect2
12402 else
12403 # We have old collect2
12404 hardcode_direct_CXX=unsupported
12405 # It fails to find uninstalled libraries when the uninstalled
12406 # path is not listed in the libpath. Setting hardcode_minus_L
12407 # to unsupported forces relinking
12408 hardcode_minus_L_CXX=yes
12409 hardcode_libdir_flag_spec_CXX='-L$libdir'
12410 hardcode_libdir_separator_CXX=
12412 esac
12413 shared_flag='-shared'
12414 if test "$aix_use_runtimelinking" = yes; then
12415 shared_flag="$shared_flag "'${wl}-G'
12417 else
12418 # not using gcc
12419 if test "$host_cpu" = ia64; then
12420 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12421 # chokes on -Wl,-G. The following line is correct:
12422 shared_flag='-G'
12423 else
12424 if test "$aix_use_runtimelinking" = yes; then
12425 shared_flag='${wl}-G'
12426 else
12427 shared_flag='${wl}-bM:SRE'
12432 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12433 # It seems that -bexpall does not export symbols beginning with
12434 # underscore (_), so it is better to generate a list of symbols to
12435 # export.
12436 always_export_symbols_CXX=yes
12437 if test "$aix_use_runtimelinking" = yes; then
12438 # Warning - without using the other runtime loading flags (-brtl),
12439 # -berok will link without error, but may produce a broken library.
12440 allow_undefined_flag_CXX='-berok'
12441 # Determine the default libpath from the value encoded in an empty
12442 # executable.
12443 if test x$gcc_no_link = xyes; then
12444 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12447 /* end confdefs.h. */
12450 main ()
12454 return 0;
12456 _ACEOF
12457 if ac_fn_cxx_try_link "$LINENO"; then :
12459 lt_aix_libpath_sed='
12460 /Import File Strings/,/^$/ {
12461 /^0/ {
12462 s/^0 *\(.*\)$/\1/
12466 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12467 # Check for a 64-bit object if we didn't find anything.
12468 if test -z "$aix_libpath"; then
12469 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12472 rm -f core conftest.err conftest.$ac_objext \
12473 conftest$ac_exeext conftest.$ac_ext
12474 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12476 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12478 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12479 else
12480 if test "$host_cpu" = ia64; then
12481 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12482 allow_undefined_flag_CXX="-z nodefs"
12483 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
12484 else
12485 # Determine the default libpath from the value encoded in an
12486 # empty executable.
12487 if test x$gcc_no_link = xyes; then
12488 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12491 /* end confdefs.h. */
12494 main ()
12498 return 0;
12500 _ACEOF
12501 if ac_fn_cxx_try_link "$LINENO"; then :
12503 lt_aix_libpath_sed='
12504 /Import File Strings/,/^$/ {
12505 /^0/ {
12506 s/^0 *\(.*\)$/\1/
12510 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12511 # Check for a 64-bit object if we didn't find anything.
12512 if test -z "$aix_libpath"; then
12513 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12516 rm -f core conftest.err conftest.$ac_objext \
12517 conftest$ac_exeext conftest.$ac_ext
12518 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12520 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12521 # Warning - without using the other run time loading flags,
12522 # -berok will link without error, but may produce a broken library.
12523 no_undefined_flag_CXX=' ${wl}-bernotok'
12524 allow_undefined_flag_CXX=' ${wl}-berok'
12525 if test "$with_gnu_ld" = yes; then
12526 # We only use this code for GNU lds that support --whole-archive.
12527 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12528 else
12529 # Exported symbols can be pulled into shared objects from archives
12530 whole_archive_flag_spec_CXX='$convenience'
12532 archive_cmds_need_lc_CXX=yes
12533 # This is similar to how AIX traditionally builds its shared
12534 # libraries.
12535 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12540 beos*)
12541 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12542 allow_undefined_flag_CXX=unsupported
12543 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12544 # support --undefined. This deserves some investigation. FIXME
12545 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12546 else
12547 ld_shlibs_CXX=no
12551 chorus*)
12552 case $cc_basename in
12554 # FIXME: insert proper C++ library support
12555 ld_shlibs_CXX=no
12557 esac
12560 cygwin* | mingw* | pw32* | cegcc*)
12561 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12562 # as there is no search path for DLLs.
12563 hardcode_libdir_flag_spec_CXX='-L$libdir'
12564 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12565 allow_undefined_flag_CXX=unsupported
12566 always_export_symbols_CXX=no
12567 enable_shared_with_static_runtimes_CXX=yes
12569 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12570 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12571 # If the export-symbols file already is a .def file (1st line
12572 # is EXPORTS), use it as is; otherwise, prepend...
12573 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12574 cp $export_symbols $output_objdir/$soname.def;
12575 else
12576 echo EXPORTS > $output_objdir/$soname.def;
12577 cat $export_symbols >> $output_objdir/$soname.def;
12579 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12580 else
12581 ld_shlibs_CXX=no
12584 darwin* | rhapsody*)
12587 archive_cmds_need_lc_CXX=no
12588 hardcode_direct_CXX=no
12589 hardcode_automatic_CXX=yes
12590 hardcode_shlibpath_var_CXX=unsupported
12591 if test "$lt_cv_ld_force_load" = "yes"; then
12592 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
12593 else
12594 whole_archive_flag_spec_CXX=''
12596 link_all_deplibs_CXX=yes
12597 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12598 case $cc_basename in
12599 ifort*) _lt_dar_can_shared=yes ;;
12600 *) _lt_dar_can_shared=$GCC ;;
12601 esac
12602 if test "$_lt_dar_can_shared" = "yes"; then
12603 output_verbose_link_cmd=func_echo_all
12604 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12605 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12606 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
12607 module_expsym_cmds_CXX="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
12608 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12609 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dsymutil}"
12610 archive_expsym_cmds_CXX="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring${_lt_dar_export_syms}${_lt_dsymutil}"
12613 else
12614 ld_shlibs_CXX=no
12619 dgux*)
12620 case $cc_basename in
12621 ec++*)
12622 # FIXME: insert proper C++ library support
12623 ld_shlibs_CXX=no
12625 ghcx*)
12626 # Green Hills C++ Compiler
12627 # FIXME: insert proper C++ library support
12628 ld_shlibs_CXX=no
12631 # FIXME: insert proper C++ library support
12632 ld_shlibs_CXX=no
12634 esac
12637 freebsd2.*)
12638 # C++ shared libraries reported to be fairly broken before
12639 # switch to ELF
12640 ld_shlibs_CXX=no
12643 freebsd-elf*)
12644 archive_cmds_need_lc_CXX=no
12647 freebsd* | dragonfly*)
12648 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12649 # conventions
12650 ld_shlibs_CXX=yes
12653 gnu*)
12656 haiku*)
12657 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12658 link_all_deplibs_CXX=yes
12661 hpux9*)
12662 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12663 hardcode_libdir_separator_CXX=:
12664 export_dynamic_flag_spec_CXX='${wl}-E'
12665 hardcode_direct_CXX=yes
12666 hardcode_minus_L_CXX=yes # Not in the search PATH,
12667 # but as the default
12668 # location of the library.
12670 case $cc_basename in
12671 CC*)
12672 # FIXME: insert proper C++ library support
12673 ld_shlibs_CXX=no
12675 aCC*)
12676 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12677 # Commands to make compiler produce verbose output that lists
12678 # what "hidden" libraries, object files and flags are used when
12679 # linking a shared library.
12681 # There doesn't appear to be a way to prevent this compiler from
12682 # explicitly linking system object files so we need to strip them
12683 # from the output so that they don't get included in the library
12684 # dependencies.
12685 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12688 if test "$GXX" = yes; then
12689 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12690 else
12691 # FIXME: insert proper C++ library support
12692 ld_shlibs_CXX=no
12695 esac
12698 hpux10*|hpux11*)
12699 if test $with_gnu_ld = no; then
12700 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12701 hardcode_libdir_separator_CXX=:
12703 case $host_cpu in
12704 hppa*64*|ia64*)
12707 export_dynamic_flag_spec_CXX='${wl}-E'
12709 esac
12711 case $host_cpu in
12712 hppa*64*|ia64*)
12713 hardcode_direct_CXX=no
12714 hardcode_shlibpath_var_CXX=no
12717 hardcode_direct_CXX=yes
12718 hardcode_direct_absolute_CXX=yes
12719 hardcode_minus_L_CXX=yes # Not in the search PATH,
12720 # but as the default
12721 # location of the library.
12723 esac
12725 case $cc_basename in
12726 CC*)
12727 # FIXME: insert proper C++ library support
12728 ld_shlibs_CXX=no
12730 aCC*)
12731 case $host_cpu in
12732 hppa*64*)
12733 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12735 ia64*)
12736 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12739 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12741 esac
12742 # Commands to make compiler produce verbose output that lists
12743 # what "hidden" libraries, object files and flags are used when
12744 # linking a shared library.
12746 # There doesn't appear to be a way to prevent this compiler from
12747 # explicitly linking system object files so we need to strip them
12748 # from the output so that they don't get included in the library
12749 # dependencies.
12750 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12753 if test "$GXX" = yes; then
12754 if test $with_gnu_ld = no; then
12755 case $host_cpu in
12756 hppa*64*)
12757 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12759 ia64*)
12760 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12763 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12765 esac
12767 else
12768 # FIXME: insert proper C++ library support
12769 ld_shlibs_CXX=no
12772 esac
12775 interix[3-9]*)
12776 hardcode_direct_CXX=no
12777 hardcode_shlibpath_var_CXX=no
12778 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12779 export_dynamic_flag_spec_CXX='${wl}-E'
12780 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12781 # Instead, shared libraries are loaded at an image base (0x10000000 by
12782 # default) and relocated if they conflict, which is a slow very memory
12783 # consuming and fragmenting process. To avoid this, we pick a random,
12784 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12785 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12786 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12787 archive_expsym_cmds_CXX='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12789 irix5* | irix6*)
12790 case $cc_basename in
12791 CC*)
12792 # SGI C++
12793 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
12795 # Archives containing C++ object files must be created using
12796 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
12797 # necessary to make sure instantiated templates are included
12798 # in the archive.
12799 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
12802 if test "$GXX" = yes; then
12803 if test "$with_gnu_ld" = no; then
12804 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12805 else
12806 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12809 link_all_deplibs_CXX=yes
12811 esac
12812 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12813 hardcode_libdir_separator_CXX=:
12814 inherit_rpath_CXX=yes
12817 linux* | k*bsd*-gnu | kopensolaris*-gnu)
12818 case $cc_basename in
12819 KCC*)
12820 # Kuck and Associates, Inc. (KAI) C++ Compiler
12822 # KCC will only create a shared library if the output file
12823 # ends with ".so" (or ".sl" for HP-UX), so rename the library
12824 # to its proper name (with version) after linking.
12825 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
12826 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib ${wl}-retain-symbols-file,$export_symbols; mv \$templib $lib'
12827 # Commands to make compiler produce verbose output that lists
12828 # what "hidden" libraries, object files and flags are used when
12829 # linking a shared library.
12831 # There doesn't appear to be a way to prevent this compiler from
12832 # explicitly linking system object files so we need to strip them
12833 # from the output so that they don't get included in the library
12834 # dependencies.
12835 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12840 # Archives containing C++ object files must be created using
12841 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
12842 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
12844 icpc* | ecpc* )
12845 # Intel C++
12846 with_gnu_ld=yes
12847 # version 8.0 and above of icpc choke on multiply defined symbols
12848 # if we add $predep_objects and $postdep_objects, however 7.1 and
12849 # earlier do not add the objects themselves.
12850 case `$CC -V 2>&1` in
12851 *"Version 7."*)
12852 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12853 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12855 *) # Version 8.0 or newer
12856 tmp_idyn=
12857 case $host_cpu in
12858 ia64*) tmp_idyn=' -i_dynamic';;
12859 esac
12860 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12861 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12863 esac
12864 archive_cmds_need_lc_CXX=no
12865 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12866 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12867 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12869 pgCC* | pgcpp*)
12870 # Portland Group C++ compiler
12871 case `$CC -V` in
12872 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
12873 prelink_cmds_CXX='tpldir=Template.dir~
12874 rm -rf $tpldir~
12875 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
12876 compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
12877 old_archive_cmds_CXX='tpldir=Template.dir~
12878 rm -rf $tpldir~
12879 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
12880 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
12881 $RANLIB $oldlib'
12882 archive_cmds_CXX='tpldir=Template.dir~
12883 rm -rf $tpldir~
12884 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12885 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12886 archive_expsym_cmds_CXX='tpldir=Template.dir~
12887 rm -rf $tpldir~
12888 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
12889 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12891 *) # Version 6 and above use weak symbols
12892 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
12893 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
12895 esac
12897 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
12898 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12899 whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12901 cxx*)
12902 # Compaq C++
12903 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12904 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
12906 runpath_var=LD_RUN_PATH
12907 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
12908 hardcode_libdir_separator_CXX=:
12910 # Commands to make compiler produce verbose output that lists
12911 # what "hidden" libraries, object files and flags are used when
12912 # linking a shared library.
12914 # There doesn't appear to be a way to prevent this compiler from
12915 # explicitly linking system object files so we need to strip them
12916 # from the output so that they don't get included in the library
12917 # dependencies.
12918 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
12920 xl* | mpixl* | bgxl*)
12921 # IBM XL 8.0 on PPC, with GNU ld
12922 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12923 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12924 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12925 if test "x$supports_anon_versioning" = xyes; then
12926 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
12927 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12928 echo "local: *; };" >> $output_objdir/$libname.ver~
12929 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
12933 case `$CC -V 2>&1 | sed 5q` in
12934 *Sun\ C*)
12935 # Sun C++ 5.9
12936 no_undefined_flag_CXX=' -zdefs'
12937 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12938 archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
12939 hardcode_libdir_flag_spec_CXX='-R$libdir'
12940 whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
12941 compiler_needs_object_CXX=yes
12943 # Not sure whether something based on
12944 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
12945 # would be better.
12946 output_verbose_link_cmd='func_echo_all'
12948 # Archives containing C++ object files must be created using
12949 # "CC -xar", where "CC" is the Sun C++ compiler. This is
12950 # necessary to make sure instantiated templates are included
12951 # in the archive.
12952 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
12954 esac
12956 esac
12959 lynxos*)
12960 # FIXME: insert proper C++ library support
12961 ld_shlibs_CXX=no
12964 m88k*)
12965 # FIXME: insert proper C++ library support
12966 ld_shlibs_CXX=no
12969 mvs*)
12970 case $cc_basename in
12971 cxx*)
12972 # FIXME: insert proper C++ library support
12973 ld_shlibs_CXX=no
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12979 esac
12982 netbsd*)
12983 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12984 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
12985 wlarc=
12986 hardcode_libdir_flag_spec_CXX='-R$libdir'
12987 hardcode_direct_CXX=yes
12988 hardcode_shlibpath_var_CXX=no
12990 # Workaround some broken pre-1.5 toolchains
12991 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
12994 *nto* | *qnx*)
12995 ld_shlibs_CXX=yes
12998 openbsd2*)
12999 # C++ shared libraries are fairly broken
13000 ld_shlibs_CXX=no
13003 openbsd*)
13004 if test -f /usr/libexec/ld.so; then
13005 hardcode_direct_CXX=yes
13006 hardcode_shlibpath_var_CXX=no
13007 hardcode_direct_absolute_CXX=yes
13008 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13009 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13010 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13011 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13012 export_dynamic_flag_spec_CXX='${wl}-E'
13013 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13015 output_verbose_link_cmd=func_echo_all
13016 else
13017 ld_shlibs_CXX=no
13021 osf3* | osf4* | osf5*)
13022 case $cc_basename in
13023 KCC*)
13024 # Kuck and Associates, Inc. (KAI) C++ Compiler
13026 # KCC will only create a shared library if the output file
13027 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13028 # to its proper name (with version) after linking.
13029 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\${tempext}\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
13031 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13032 hardcode_libdir_separator_CXX=:
13034 # Archives containing C++ object files must be created using
13035 # the KAI C++ compiler.
13036 case $host in
13037 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13038 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13039 esac
13041 RCC*)
13042 # Rational C++ 2.4.1
13043 # FIXME: insert proper C++ library support
13044 ld_shlibs_CXX=no
13046 cxx*)
13047 case $host in
13048 osf3*)
13049 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13050 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13051 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13054 allow_undefined_flag_CXX=' -expect_unresolved \*'
13055 archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
13056 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13057 echo "-hidden">> $lib.exp~
13058 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
13059 $RM $lib.exp'
13060 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13062 esac
13064 hardcode_libdir_separator_CXX=:
13066 # Commands to make compiler produce verbose output that lists
13067 # what "hidden" libraries, object files and flags are used when
13068 # linking a shared library.
13070 # There doesn't appear to be a way to prevent this compiler from
13071 # explicitly linking system object files so we need to strip them
13072 # from the output so that they don't get included in the library
13073 # dependencies.
13074 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
13077 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13078 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13079 case $host in
13080 osf3*)
13081 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13084 archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
13086 esac
13088 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13089 hardcode_libdir_separator_CXX=:
13091 # Commands to make compiler produce verbose output that lists
13092 # what "hidden" libraries, object files and flags are used when
13093 # linking a shared library.
13094 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13096 else
13097 # FIXME: insert proper C++ library support
13098 ld_shlibs_CXX=no
13101 esac
13104 psos*)
13105 # FIXME: insert proper C++ library support
13106 ld_shlibs_CXX=no
13109 sunos4*)
13110 case $cc_basename in
13111 CC*)
13112 # Sun C++ 4.x
13113 # FIXME: insert proper C++ library support
13114 ld_shlibs_CXX=no
13116 lcc*)
13117 # Lucid
13118 # FIXME: insert proper C++ library support
13119 ld_shlibs_CXX=no
13122 # FIXME: insert proper C++ library support
13123 ld_shlibs_CXX=no
13125 esac
13128 solaris*)
13129 case $cc_basename in
13130 CC*)
13131 # Sun C++ 4.2, 5.x and Centerline C++
13132 archive_cmds_need_lc_CXX=yes
13133 no_undefined_flag_CXX=' -zdefs'
13134 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13135 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13136 $CC -G${allow_undefined_flag} ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13138 hardcode_libdir_flag_spec_CXX='-R$libdir'
13139 hardcode_shlibpath_var_CXX=no
13140 case $host_os in
13141 solaris2.[0-5] | solaris2.[0-5].*) ;;
13143 # The compiler driver will combine and reorder linker options,
13144 # but understands `-z linker_flag'.
13145 # Supported since Solaris 2.6 (maybe 2.5.1?)
13146 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13148 esac
13149 link_all_deplibs_CXX=yes
13151 output_verbose_link_cmd='func_echo_all'
13153 # Archives containing C++ object files must be created using
13154 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13155 # necessary to make sure instantiated templates are included
13156 # in the archive.
13157 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13159 gcx*)
13160 # Green Hills C++ Compiler
13161 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13163 # The C++ compiler must be used to create the archive.
13164 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13167 # GNU C++ compiler with Solaris linker
13168 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13169 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13170 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13171 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13172 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13173 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13175 # Commands to make compiler produce verbose output that lists
13176 # what "hidden" libraries, object files and flags are used when
13177 # linking a shared library.
13178 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13179 else
13180 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13181 # platform.
13182 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13183 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13184 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13186 # Commands to make compiler produce verbose output that lists
13187 # what "hidden" libraries, object files and flags are used when
13188 # linking a shared library.
13189 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13192 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13193 case $host_os in
13194 solaris2.[0-5] | solaris2.[0-5].*) ;;
13196 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13198 esac
13201 esac
13204 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13205 no_undefined_flag_CXX='${wl}-z,text'
13206 archive_cmds_need_lc_CXX=no
13207 hardcode_shlibpath_var_CXX=no
13208 runpath_var='LD_RUN_PATH'
13210 case $cc_basename in
13211 CC*)
13212 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13213 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13216 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13217 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13219 esac
13222 sysv5* | sco3.2v5* | sco5v6*)
13223 # Note: We can NOT use -z defs as we might desire, because we do not
13224 # link with -lc, and that would cause any symbols used from libc to
13225 # always be unresolved, which means just about no library would
13226 # ever link correctly. If we're not using GNU ld we use -z text
13227 # though, which does catch some bad symbols but isn't as heavy-handed
13228 # as -z defs.
13229 no_undefined_flag_CXX='${wl}-z,text'
13230 allow_undefined_flag_CXX='${wl}-z,nodefs'
13231 archive_cmds_need_lc_CXX=no
13232 hardcode_shlibpath_var_CXX=no
13233 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13234 hardcode_libdir_separator_CXX=':'
13235 link_all_deplibs_CXX=yes
13236 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13237 runpath_var='LD_RUN_PATH'
13239 case $cc_basename in
13240 CC*)
13241 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13242 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13243 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13244 '"$old_archive_cmds_CXX"
13245 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13246 '"$reload_cmds_CXX"
13249 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13250 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13252 esac
13255 tandem*)
13256 case $cc_basename in
13257 NCC*)
13258 # NonStop-UX NCC 3.20
13259 # FIXME: insert proper C++ library support
13260 ld_shlibs_CXX=no
13263 # FIXME: insert proper C++ library support
13264 ld_shlibs_CXX=no
13266 esac
13269 vxworks*)
13270 # FIXME: insert proper C++ library support
13271 ld_shlibs_CXX=no
13275 # FIXME: insert proper C++ library support
13276 ld_shlibs_CXX=no
13278 esac
13280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13281 $as_echo "$ld_shlibs_CXX" >&6; }
13282 test "$ld_shlibs_CXX" = no && can_build_shared=no
13284 GCC_CXX="$GXX"
13285 LD_CXX="$LD"
13287 ## CAVEAT EMPTOR:
13288 ## There is no encapsulation within the following macros, do not change
13289 ## the running order or otherwise move them around unless you know exactly
13290 ## what you are doing...
13291 # Dependencies to place before and after the object being linked:
13292 predep_objects_CXX=
13293 postdep_objects_CXX=
13294 predeps_CXX=
13295 postdeps_CXX=
13296 compiler_lib_search_path_CXX=
13298 cat > conftest.$ac_ext <<_LT_EOF
13299 class Foo
13301 public:
13302 Foo (void) { a = 0; }
13303 private:
13304 int a;
13306 _LT_EOF
13308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13309 (eval $ac_compile) 2>&5
13310 ac_status=$?
13311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13312 test $ac_status = 0; }; then
13313 # Parse the compiler output and extract the necessary
13314 # objects, libraries and library flags.
13316 # Sentinel used to keep track of whether or not we are before
13317 # the conftest object file.
13318 pre_test_object_deps_done=no
13320 for p in `eval "$output_verbose_link_cmd"`; do
13321 case $p in
13323 -L* | -R* | -l*)
13324 # Some compilers place space between "-{L,R}" and the path.
13325 # Remove the space.
13326 if test $p = "-L" ||
13327 test $p = "-R"; then
13328 prev=$p
13329 continue
13330 else
13331 prev=
13334 if test "$pre_test_object_deps_done" = no; then
13335 case $p in
13336 -L* | -R*)
13337 # Internal compiler library paths should come after those
13338 # provided the user. The postdeps already come after the
13339 # user supplied libs so there is no need to process them.
13340 if test -z "$compiler_lib_search_path_CXX"; then
13341 compiler_lib_search_path_CXX="${prev}${p}"
13342 else
13343 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13346 # The "-l" case would never come before the object being
13347 # linked, so don't bother handling this case.
13348 esac
13349 else
13350 if test -z "$postdeps_CXX"; then
13351 postdeps_CXX="${prev}${p}"
13352 else
13353 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13358 *.$objext)
13359 # This assumes that the test object file only shows up
13360 # once in the compiler output.
13361 if test "$p" = "conftest.$objext"; then
13362 pre_test_object_deps_done=yes
13363 continue
13366 if test "$pre_test_object_deps_done" = no; then
13367 if test -z "$predep_objects_CXX"; then
13368 predep_objects_CXX="$p"
13369 else
13370 predep_objects_CXX="$predep_objects_CXX $p"
13372 else
13373 if test -z "$postdep_objects_CXX"; then
13374 postdep_objects_CXX="$p"
13375 else
13376 postdep_objects_CXX="$postdep_objects_CXX $p"
13381 *) ;; # Ignore the rest.
13383 esac
13384 done
13386 # Clean up.
13387 rm -f a.out a.exe
13388 else
13389 echo "libtool.m4: error: problem compiling CXX test program"
13392 $RM -f confest.$objext
13394 # PORTME: override above test on systems where it is broken
13395 case $host_os in
13396 interix[3-9]*)
13397 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13398 # hack all around it, let's just trust "g++" to DTRT.
13399 predep_objects_CXX=
13400 postdep_objects_CXX=
13401 postdeps_CXX=
13404 linux*)
13405 case `$CC -V 2>&1 | sed 5q` in
13406 *Sun\ C*)
13407 # Sun C++ 5.9
13409 # The more standards-conforming stlport4 library is
13410 # incompatible with the Cstd library. Avoid specifying
13411 # it if it's in CXXFLAGS. Ignore libCrun as
13412 # -library=stlport4 depends on it.
13413 case " $CXX $CXXFLAGS " in
13414 *" -library=stlport4 "*)
13415 solaris_use_stlport4=yes
13417 esac
13419 if test "$solaris_use_stlport4" != yes; then
13420 postdeps_CXX='-library=Cstd -library=Crun'
13423 esac
13426 solaris*)
13427 case $cc_basename in
13428 CC*)
13429 # The more standards-conforming stlport4 library is
13430 # incompatible with the Cstd library. Avoid specifying
13431 # it if it's in CXXFLAGS. Ignore libCrun as
13432 # -library=stlport4 depends on it.
13433 case " $CXX $CXXFLAGS " in
13434 *" -library=stlport4 "*)
13435 solaris_use_stlport4=yes
13437 esac
13439 # Adding this requires a known-good setup of shared libraries for
13440 # Sun compiler versions before 5.6, else PIC objects from an old
13441 # archive will be linked into the output, leading to subtle bugs.
13442 if test "$solaris_use_stlport4" != yes; then
13443 postdeps_CXX='-library=Cstd -library=Crun'
13446 esac
13448 esac
13451 case " $postdeps_CXX " in
13452 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13453 esac
13454 compiler_lib_search_dirs_CXX=
13455 if test -n "${compiler_lib_search_path_CXX}"; then
13456 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13489 lt_prog_compiler_wl_CXX=
13490 lt_prog_compiler_pic_CXX=
13491 lt_prog_compiler_static_CXX=
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13494 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13496 # C++ specific cases for pic, static, wl, etc.
13497 if test "$GXX" = yes; then
13498 lt_prog_compiler_wl_CXX='-Wl,'
13499 lt_prog_compiler_static_CXX='-static'
13501 case $host_os in
13502 aix*)
13503 # All AIX code is PIC.
13504 if test "$host_cpu" = ia64; then
13505 # AIX 5 now supports IA64 processor
13506 lt_prog_compiler_static_CXX='-Bstatic'
13508 lt_prog_compiler_pic_CXX='-fPIC'
13511 amigaos*)
13512 case $host_cpu in
13513 powerpc)
13514 # see comment about AmigaOS4 .so support
13515 lt_prog_compiler_pic_CXX='-fPIC'
13517 m68k)
13518 # FIXME: we need at least 68020 code to build shared libraries, but
13519 # adding the `-m68020' flag to GCC prevents building anything better,
13520 # like `-m68040'.
13521 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13523 esac
13526 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13527 # PIC is the default for these OSes.
13529 mingw* | cygwin* | os2* | pw32* | cegcc*)
13530 # This hack is so that the source file can tell whether it is being
13531 # built for inclusion in a dll (and should export symbols for example).
13532 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13533 # (--disable-auto-import) libraries
13534 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13536 darwin* | rhapsody*)
13537 # PIC is the default on this platform
13538 # Common symbols not allowed in MH_DYLIB files
13539 lt_prog_compiler_pic_CXX='-fno-common'
13541 *djgpp*)
13542 # DJGPP does not support shared libraries at all
13543 lt_prog_compiler_pic_CXX=
13545 haiku*)
13546 # PIC is the default for Haiku.
13547 # The "-static" flag exists, but is broken.
13548 lt_prog_compiler_static_CXX=
13550 interix[3-9]*)
13551 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13552 # Instead, we relocate shared libraries at runtime.
13554 sysv4*MP*)
13555 if test -d /usr/nec; then
13556 lt_prog_compiler_pic_CXX=-Kconform_pic
13559 hpux*)
13560 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13561 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13562 # sets the default TLS model and affects inlining.
13563 case $host_cpu in
13564 hppa*64*)
13567 lt_prog_compiler_pic_CXX='-fPIC'
13569 esac
13571 *qnx* | *nto*)
13572 # QNX uses GNU C++, but need to define -shared option too, otherwise
13573 # it will coredump.
13574 lt_prog_compiler_pic_CXX='-fPIC -shared'
13577 lt_prog_compiler_pic_CXX='-fPIC'
13579 esac
13580 else
13581 case $host_os in
13582 aix[4-9]*)
13583 # All AIX code is PIC.
13584 if test "$host_cpu" = ia64; then
13585 # AIX 5 now supports IA64 processor
13586 lt_prog_compiler_static_CXX='-Bstatic'
13587 else
13588 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13591 chorus*)
13592 case $cc_basename in
13593 cxch68*)
13594 # Green Hills C++ Compiler
13595 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
13597 esac
13599 dgux*)
13600 case $cc_basename in
13601 ec++*)
13602 lt_prog_compiler_pic_CXX='-KPIC'
13604 ghcx*)
13605 # Green Hills C++ Compiler
13606 lt_prog_compiler_pic_CXX='-pic'
13610 esac
13612 freebsd* | dragonfly*)
13613 # FreeBSD uses GNU C++
13615 hpux9* | hpux10* | hpux11*)
13616 case $cc_basename in
13617 CC*)
13618 lt_prog_compiler_wl_CXX='-Wl,'
13619 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13620 if test "$host_cpu" != ia64; then
13621 lt_prog_compiler_pic_CXX='+Z'
13624 aCC*)
13625 lt_prog_compiler_wl_CXX='-Wl,'
13626 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13627 case $host_cpu in
13628 hppa*64*|ia64*)
13629 # +Z the default
13632 lt_prog_compiler_pic_CXX='+Z'
13634 esac
13638 esac
13640 interix*)
13641 # This is c89, which is MS Visual C++ (no shared libs)
13642 # Anyone wants to do a port?
13644 irix5* | irix6* | nonstopux*)
13645 case $cc_basename in
13646 CC*)
13647 lt_prog_compiler_wl_CXX='-Wl,'
13648 lt_prog_compiler_static_CXX='-non_shared'
13649 # CC pic flag -KPIC is the default.
13653 esac
13655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13656 case $cc_basename in
13657 KCC*)
13658 # KAI C++ Compiler
13659 lt_prog_compiler_wl_CXX='--backend -Wl,'
13660 lt_prog_compiler_pic_CXX='-fPIC'
13662 ecpc* )
13663 # old Intel C++ for x86_64 which still supported -KPIC.
13664 lt_prog_compiler_wl_CXX='-Wl,'
13665 lt_prog_compiler_pic_CXX='-KPIC'
13666 lt_prog_compiler_static_CXX='-static'
13668 icpc* )
13669 # Intel C++, used to be incompatible with GCC.
13670 # ICC 10 doesn't accept -KPIC any more.
13671 lt_prog_compiler_wl_CXX='-Wl,'
13672 lt_prog_compiler_pic_CXX='-fPIC'
13673 lt_prog_compiler_static_CXX='-static'
13675 pgCC* | pgcpp*)
13676 # Portland Group C++ compiler
13677 lt_prog_compiler_wl_CXX='-Wl,'
13678 lt_prog_compiler_pic_CXX='-fpic'
13679 lt_prog_compiler_static_CXX='-Bstatic'
13681 cxx*)
13682 # Compaq C++
13683 # Make sure the PIC flag is empty. It appears that all Alpha
13684 # Linux and Compaq Tru64 Unix objects are PIC.
13685 lt_prog_compiler_pic_CXX=
13686 lt_prog_compiler_static_CXX='-non_shared'
13688 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13689 # IBM XL 8.0, 9.0 on PPC and BlueGene
13690 lt_prog_compiler_wl_CXX='-Wl,'
13691 lt_prog_compiler_pic_CXX='-qpic'
13692 lt_prog_compiler_static_CXX='-qstaticlink'
13695 case `$CC -V 2>&1 | sed 5q` in
13696 *Sun\ C*)
13697 # Sun C++ 5.9
13698 lt_prog_compiler_pic_CXX='-KPIC'
13699 lt_prog_compiler_static_CXX='-Bstatic'
13700 lt_prog_compiler_wl_CXX='-Qoption ld '
13702 esac
13704 esac
13706 lynxos*)
13708 m88k*)
13710 mvs*)
13711 case $cc_basename in
13712 cxx*)
13713 lt_prog_compiler_pic_CXX='-W c,exportall'
13717 esac
13719 netbsd*)
13721 *qnx* | *nto*)
13722 # QNX uses GNU C++, but need to define -shared option too, otherwise
13723 # it will coredump.
13724 lt_prog_compiler_pic_CXX='-fPIC -shared'
13726 osf3* | osf4* | osf5*)
13727 case $cc_basename in
13728 KCC*)
13729 lt_prog_compiler_wl_CXX='--backend -Wl,'
13731 RCC*)
13732 # Rational C++ 2.4.1
13733 lt_prog_compiler_pic_CXX='-pic'
13735 cxx*)
13736 # Digital/Compaq C++
13737 lt_prog_compiler_wl_CXX='-Wl,'
13738 # Make sure the PIC flag is empty. It appears that all Alpha
13739 # Linux and Compaq Tru64 Unix objects are PIC.
13740 lt_prog_compiler_pic_CXX=
13741 lt_prog_compiler_static_CXX='-non_shared'
13745 esac
13747 psos*)
13749 solaris*)
13750 case $cc_basename in
13751 CC*)
13752 # Sun C++ 4.2, 5.x and Centerline C++
13753 lt_prog_compiler_pic_CXX='-KPIC'
13754 lt_prog_compiler_static_CXX='-Bstatic'
13755 lt_prog_compiler_wl_CXX='-Qoption ld '
13757 gcx*)
13758 # Green Hills C++ Compiler
13759 lt_prog_compiler_pic_CXX='-PIC'
13763 esac
13765 sunos4*)
13766 case $cc_basename in
13767 CC*)
13768 # Sun C++ 4.x
13769 lt_prog_compiler_pic_CXX='-pic'
13770 lt_prog_compiler_static_CXX='-Bstatic'
13772 lcc*)
13773 # Lucid
13774 lt_prog_compiler_pic_CXX='-pic'
13778 esac
13780 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
13781 case $cc_basename in
13782 CC*)
13783 lt_prog_compiler_wl_CXX='-Wl,'
13784 lt_prog_compiler_pic_CXX='-KPIC'
13785 lt_prog_compiler_static_CXX='-Bstatic'
13787 esac
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 lt_prog_compiler_pic_CXX='-KPIC'
13797 esac
13799 vxworks*)
13802 lt_prog_compiler_can_build_shared_CXX=no
13804 esac
13807 case $host_os in
13808 # For platforms which do not support PIC, -DPIC is meaningless:
13809 *djgpp*)
13810 lt_prog_compiler_pic_CXX=
13813 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13815 esac
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13817 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13822 # Check to make sure the PIC flag actually works.
13824 if test -n "$lt_prog_compiler_pic_CXX"; then
13825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13826 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13827 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
13828 $as_echo_n "(cached) " >&6
13829 else
13830 lt_cv_prog_compiler_pic_works_CXX=no
13831 ac_outfile=conftest.$ac_objext
13832 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13833 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
13834 # Insert the option either (1) after the last *FLAGS variable, or
13835 # (2) before a word containing "conftest.", or (3) at the end.
13836 # Note that $ac_compile itself does not contain backslashes and begins
13837 # with a dollar sign (not a hyphen), so the echo should work correctly.
13838 # The option is referenced via a variable to avoid confusing sed.
13839 lt_compile=`echo "$ac_compile" | $SED \
13840 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13841 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13842 -e 's:$: $lt_compiler_flag:'`
13843 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13844 (eval "$lt_compile" 2>conftest.err)
13845 ac_status=$?
13846 cat conftest.err >&5
13847 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13848 if (exit $ac_status) && test -s "$ac_outfile"; then
13849 # The compiler can only warn and ignore the option if not recognized
13850 # So say no if there are warnings other than the usual output.
13851 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
13852 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13853 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
13854 lt_cv_prog_compiler_pic_works_CXX=yes
13857 $RM conftest*
13860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13861 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
13863 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
13864 case $lt_prog_compiler_pic_CXX in
13865 "" | " "*) ;;
13866 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
13867 esac
13868 else
13869 lt_prog_compiler_pic_CXX=
13870 lt_prog_compiler_can_build_shared_CXX=no
13878 # Check to make sure the static flag actually works.
13880 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13882 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13883 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
13884 $as_echo_n "(cached) " >&6
13885 else
13886 lt_cv_prog_compiler_static_works_CXX=no
13887 save_LDFLAGS="$LDFLAGS"
13888 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
13889 echo "$lt_simple_link_test_code" > conftest.$ac_ext
13890 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
13891 # The linker can only warn and ignore the option if not recognized
13892 # So say no if there are warnings
13893 if test -s conftest.err; then
13894 # Append any errors to the config.log.
13895 cat conftest.err 1>&5
13896 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
13897 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
13898 if diff conftest.exp conftest.er2 >/dev/null; then
13899 lt_cv_prog_compiler_static_works_CXX=yes
13901 else
13902 lt_cv_prog_compiler_static_works_CXX=yes
13905 $RM -r conftest*
13906 LDFLAGS="$save_LDFLAGS"
13909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13910 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
13912 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
13914 else
13915 lt_prog_compiler_static_CXX=
13921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13922 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13923 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13924 $as_echo_n "(cached) " >&6
13925 else
13926 lt_cv_prog_compiler_c_o_CXX=no
13927 $RM -r conftest 2>/dev/null
13928 mkdir conftest
13929 cd conftest
13930 mkdir out
13931 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13933 lt_compiler_flag="-o out/conftest2.$ac_objext"
13934 # Insert the option either (1) after the last *FLAGS variable, or
13935 # (2) before a word containing "conftest.", or (3) at the end.
13936 # Note that $ac_compile itself does not contain backslashes and begins
13937 # with a dollar sign (not a hyphen), so the echo should work correctly.
13938 lt_compile=`echo "$ac_compile" | $SED \
13939 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13940 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13941 -e 's:$: $lt_compiler_flag:'`
13942 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13943 (eval "$lt_compile" 2>out/conftest.err)
13944 ac_status=$?
13945 cat out/conftest.err >&5
13946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13947 if (exit $ac_status) && test -s out/conftest2.$ac_objext
13948 then
13949 # The compiler can only warn and ignore the option if not recognized
13950 # So say no if there are warnings
13951 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
13952 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
13953 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13954 lt_cv_prog_compiler_c_o_CXX=yes
13957 chmod u+w . 2>&5
13958 $RM conftest*
13959 # SGI C++ compiler will create directory out/ii_files/ for
13960 # template instantiation
13961 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
13962 $RM out/* && rmdir out
13963 cd ..
13964 $RM -r conftest
13965 $RM conftest*
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13969 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13974 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13975 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
13976 $as_echo_n "(cached) " >&6
13977 else
13978 lt_cv_prog_compiler_c_o_CXX=no
13979 $RM -r conftest 2>/dev/null
13980 mkdir conftest
13981 cd conftest
13982 mkdir out
13983 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13985 lt_compiler_flag="-o out/conftest2.$ac_objext"
13986 # Insert the option either (1) after the last *FLAGS variable, or
13987 # (2) before a word containing "conftest.", or (3) at the end.
13988 # Note that $ac_compile itself does not contain backslashes and begins
13989 # with a dollar sign (not a hyphen), so the echo should work correctly.
13990 lt_compile=`echo "$ac_compile" | $SED \
13991 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13992 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13993 -e 's:$: $lt_compiler_flag:'`
13994 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
13995 (eval "$lt_compile" 2>out/conftest.err)
13996 ac_status=$?
13997 cat out/conftest.err >&5
13998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13999 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14000 then
14001 # The compiler can only warn and ignore the option if not recognized
14002 # So say no if there are warnings
14003 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14004 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14005 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14006 lt_cv_prog_compiler_c_o_CXX=yes
14009 chmod u+w . 2>&5
14010 $RM conftest*
14011 # SGI C++ compiler will create directory out/ii_files/ for
14012 # template instantiation
14013 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14014 $RM out/* && rmdir out
14015 cd ..
14016 $RM -r conftest
14017 $RM conftest*
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14021 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14026 hard_links="nottested"
14027 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14028 # do not overwrite the value of need_locks provided by the user
14029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14030 $as_echo_n "checking if we can lock with hard links... " >&6; }
14031 hard_links=yes
14032 $RM conftest*
14033 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14034 touch conftest.a
14035 ln conftest.a conftest.b 2>&5 || hard_links=no
14036 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14038 $as_echo "$hard_links" >&6; }
14039 if test "$hard_links" = no; then
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14041 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14042 need_locks=warn
14044 else
14045 need_locks=no
14050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14051 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14053 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14054 case $host_os in
14055 aix[4-9]*)
14056 # If we're using GNU nm, then we don't want the "-C" option.
14057 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14058 # Also, AIX nm treats weak defined symbols like other global defined
14059 # symbols, whereas GNU nm marks them as "W".
14060 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14061 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14062 else
14063 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14066 pw32*)
14067 export_symbols_cmds_CXX="$ltdll_cmds"
14069 cygwin* | mingw* | cegcc*)
14070 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
14073 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14075 esac
14076 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14079 $as_echo "$ld_shlibs_CXX" >&6; }
14080 test "$ld_shlibs_CXX" = no && can_build_shared=no
14082 with_gnu_ld_CXX=$with_gnu_ld
14090 # Do we need to explicitly link libc?
14092 case "x$archive_cmds_need_lc_CXX" in
14093 x|xyes)
14094 # Assume -lc should be added
14095 archive_cmds_need_lc_CXX=yes
14097 if test "$enable_shared" = yes && test "$GCC" = yes; then
14098 case $archive_cmds_CXX in
14099 *'~'*)
14100 # FIXME: we may have to deal with multi-command sequences.
14102 '$CC '*)
14103 # Test whether the compiler implicitly links with -lc since on some
14104 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14105 # to ld, don't add -lc before -lgcc.
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14107 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14108 if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 $RM conftest*
14112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14114 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14115 (eval $ac_compile) 2>&5
14116 ac_status=$?
14117 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14118 test $ac_status = 0; } 2>conftest.err; then
14119 soname=conftest
14120 lib=conftest
14121 libobjs=conftest.$ac_objext
14122 deplibs=
14123 wl=$lt_prog_compiler_wl_CXX
14124 pic_flag=$lt_prog_compiler_pic_CXX
14125 compiler_flags=-v
14126 linker_flags=-v
14127 verstring=
14128 output_objdir=.
14129 libname=conftest
14130 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14131 allow_undefined_flag_CXX=
14132 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14133 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14134 ac_status=$?
14135 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14136 test $ac_status = 0; }
14137 then
14138 lt_cv_archive_cmds_need_lc_CXX=no
14139 else
14140 lt_cv_archive_cmds_need_lc_CXX=yes
14142 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14143 else
14144 cat conftest.err 1>&5
14146 $RM conftest*
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14150 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14151 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14153 esac
14156 esac
14221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14222 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14224 library_names_spec=
14225 libname_spec='lib$name'
14226 soname_spec=
14227 shrext_cmds=".so"
14228 postinstall_cmds=
14229 postuninstall_cmds=
14230 finish_cmds=
14231 finish_eval=
14232 shlibpath_var=
14233 shlibpath_overrides_runpath=unknown
14234 version_type=none
14235 dynamic_linker="$host_os ld.so"
14236 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14237 need_lib_prefix=unknown
14238 hardcode_into_libs=no
14240 # when you set need_version to no, make sure it does not cause -set_version
14241 # flags to be left without arguments
14242 need_version=unknown
14244 case $host_os in
14245 aix3*)
14246 version_type=linux
14247 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14248 shlibpath_var=LIBPATH
14250 # AIX 3 has no versioning support, so we append a major version to the name.
14251 soname_spec='${libname}${release}${shared_ext}$major'
14254 aix[4-9]*)
14255 version_type=linux
14256 need_lib_prefix=no
14257 need_version=no
14258 hardcode_into_libs=yes
14259 if test "$host_cpu" = ia64; then
14260 # AIX 5 supports IA64
14261 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14262 shlibpath_var=LD_LIBRARY_PATH
14263 else
14264 # With GCC up to 2.95.x, collect2 would create an import file
14265 # for dependence libraries. The import file would start with
14266 # the line `#! .'. This would cause the generated library to
14267 # depend on `.', always an invalid library. This was fixed in
14268 # development snapshots of GCC prior to 3.0.
14269 case $host_os in
14270 aix4 | aix4.[01] | aix4.[01].*)
14271 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14272 echo ' yes '
14273 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14275 else
14276 can_build_shared=no
14279 esac
14280 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14281 # soname into executable. Probably we can add versioning support to
14282 # collect2, so additional links can be useful in future.
14283 if test "$aix_use_runtimelinking" = yes; then
14284 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14285 # instead of lib<name>.a to let people know that these are not
14286 # typical AIX shared libraries.
14287 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14288 else
14289 # We preserve .a as extension for shared libraries through AIX4.2
14290 # and later when we are not doing run time linking.
14291 library_names_spec='${libname}${release}.a $libname.a'
14292 soname_spec='${libname}${release}${shared_ext}$major'
14294 shlibpath_var=LIBPATH
14298 amigaos*)
14299 case $host_cpu in
14300 powerpc)
14301 # Since July 2007 AmigaOS4 officially supports .so libraries.
14302 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14303 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14305 m68k)
14306 library_names_spec='$libname.ixlibrary $libname.a'
14307 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14308 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
14310 esac
14313 beos*)
14314 library_names_spec='${libname}${shared_ext}'
14315 dynamic_linker="$host_os ld.so"
14316 shlibpath_var=LIBRARY_PATH
14319 bsdi[45]*)
14320 version_type=linux
14321 need_version=no
14322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14323 soname_spec='${libname}${release}${shared_ext}$major'
14324 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14325 shlibpath_var=LD_LIBRARY_PATH
14326 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14327 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14328 # the default ld.so.conf also contains /usr/contrib/lib and
14329 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14330 # libtool to hard-code these into programs
14333 cygwin* | mingw* | pw32* | cegcc*)
14334 version_type=windows
14335 shrext_cmds=".dll"
14336 need_version=no
14337 need_lib_prefix=no
14339 case $GCC,$host_os in
14340 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14341 library_names_spec='$libname.dll.a'
14342 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14343 postinstall_cmds='base_file=`basename \${file}`~
14344 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14345 dldir=$destdir/`dirname \$dlpath`~
14346 test -d \$dldir || mkdir -p \$dldir~
14347 $install_prog $dir/$dlname \$dldir/$dlname~
14348 chmod a+x \$dldir/$dlname~
14349 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14350 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14352 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14353 dlpath=$dir/\$dldll~
14354 $RM \$dlpath'
14355 shlibpath_overrides_runpath=yes
14357 case $host_os in
14358 cygwin*)
14359 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14360 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14363 mingw* | cegcc*)
14364 # MinGW DLLs use traditional 'lib' prefix
14365 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14367 pw32*)
14368 # pw32 DLLs use 'pw' prefix rather than 'lib'
14369 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14371 esac
14375 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14377 esac
14378 dynamic_linker='Win32 ld.exe'
14379 # FIXME: first we should search . and the directory the executable is in
14380 shlibpath_var=PATH
14383 darwin* | rhapsody*)
14384 dynamic_linker="$host_os dyld"
14385 version_type=darwin
14386 need_lib_prefix=no
14387 need_version=no
14388 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14389 soname_spec='${libname}${release}${major}$shared_ext'
14390 shlibpath_overrides_runpath=yes
14391 shlibpath_var=DYLD_LIBRARY_PATH
14392 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14394 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14397 dgux*)
14398 version_type=linux
14399 need_lib_prefix=no
14400 need_version=no
14401 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14402 soname_spec='${libname}${release}${shared_ext}$major'
14403 shlibpath_var=LD_LIBRARY_PATH
14406 freebsd* | dragonfly*)
14407 # DragonFly does not have aout. When/if they implement a new
14408 # versioning mechanism, adjust this.
14409 if test -x /usr/bin/objformat; then
14410 objformat=`/usr/bin/objformat`
14411 else
14412 case $host_os in
14413 freebsd[23].*) objformat=aout ;;
14414 *) objformat=elf ;;
14415 esac
14417 version_type=freebsd-$objformat
14418 case $version_type in
14419 freebsd-elf*)
14420 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14421 need_version=no
14422 need_lib_prefix=no
14424 freebsd-*)
14425 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14426 need_version=yes
14428 esac
14429 shlibpath_var=LD_LIBRARY_PATH
14430 case $host_os in
14431 freebsd2.*)
14432 shlibpath_overrides_runpath=yes
14434 freebsd3.[01]* | freebsdelf3.[01]*)
14435 shlibpath_overrides_runpath=yes
14436 hardcode_into_libs=yes
14438 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14439 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14440 shlibpath_overrides_runpath=no
14441 hardcode_into_libs=yes
14443 *) # from 4.6 on, and DragonFly
14444 shlibpath_overrides_runpath=yes
14445 hardcode_into_libs=yes
14447 esac
14450 gnu*)
14451 version_type=linux
14452 need_lib_prefix=no
14453 need_version=no
14454 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14455 soname_spec='${libname}${release}${shared_ext}$major'
14456 shlibpath_var=LD_LIBRARY_PATH
14457 hardcode_into_libs=yes
14460 haiku*)
14461 version_type=linux
14462 need_lib_prefix=no
14463 need_version=no
14464 dynamic_linker="$host_os runtime_loader"
14465 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14466 soname_spec='${libname}${release}${shared_ext}$major'
14467 shlibpath_var=LIBRARY_PATH
14468 shlibpath_overrides_runpath=yes
14469 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14470 hardcode_into_libs=yes
14473 hpux9* | hpux10* | hpux11*)
14474 # Give a soname corresponding to the major version so that dld.sl refuses to
14475 # link against other versions.
14476 version_type=sunos
14477 need_lib_prefix=no
14478 need_version=no
14479 case $host_cpu in
14480 ia64*)
14481 shrext_cmds='.so'
14482 hardcode_into_libs=yes
14483 dynamic_linker="$host_os dld.so"
14484 shlibpath_var=LD_LIBRARY_PATH
14485 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14486 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14487 soname_spec='${libname}${release}${shared_ext}$major'
14488 if test "X$HPUX_IA64_MODE" = X32; then
14489 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14490 else
14491 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14493 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14495 hppa*64*)
14496 shrext_cmds='.sl'
14497 hardcode_into_libs=yes
14498 dynamic_linker="$host_os dld.sl"
14499 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14500 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14501 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14502 soname_spec='${libname}${release}${shared_ext}$major'
14503 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14504 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14507 shrext_cmds='.sl'
14508 dynamic_linker="$host_os dld.sl"
14509 shlibpath_var=SHLIB_PATH
14510 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14511 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14512 soname_spec='${libname}${release}${shared_ext}$major'
14514 esac
14515 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14516 postinstall_cmds='chmod 555 $lib'
14517 # or fails outright, so override atomically:
14518 install_override_mode=555
14521 interix[3-9]*)
14522 version_type=linux
14523 need_lib_prefix=no
14524 need_version=no
14525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14526 soname_spec='${libname}${release}${shared_ext}$major'
14527 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14528 shlibpath_var=LD_LIBRARY_PATH
14529 shlibpath_overrides_runpath=no
14530 hardcode_into_libs=yes
14533 irix5* | irix6* | nonstopux*)
14534 case $host_os in
14535 nonstopux*) version_type=nonstopux ;;
14537 if test "$lt_cv_prog_gnu_ld" = yes; then
14538 version_type=linux
14539 else
14540 version_type=irix
14541 fi ;;
14542 esac
14543 need_lib_prefix=no
14544 need_version=no
14545 soname_spec='${libname}${release}${shared_ext}$major'
14546 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14547 case $host_os in
14548 irix5* | nonstopux*)
14549 libsuff= shlibsuff=
14552 case $LD in # libtool.m4 will add one of these switches to LD
14553 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14554 libsuff= shlibsuff= libmagic=32-bit;;
14555 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14556 libsuff=32 shlibsuff=N32 libmagic=N32;;
14557 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14558 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14559 *) libsuff= shlibsuff= libmagic=never-match;;
14560 esac
14562 esac
14563 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14564 shlibpath_overrides_runpath=no
14565 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14566 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14567 hardcode_into_libs=yes
14570 # No shared lib support for Linux oldld, aout, or coff.
14571 linux*oldld* | linux*aout* | linux*coff*)
14572 dynamic_linker=no
14575 # This must be Linux ELF.
14576 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14577 version_type=linux
14578 need_lib_prefix=no
14579 need_version=no
14580 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14581 soname_spec='${libname}${release}${shared_ext}$major'
14582 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14583 shlibpath_var=LD_LIBRARY_PATH
14584 shlibpath_overrides_runpath=no
14586 # Some binutils ld are patched to set DT_RUNPATH
14587 if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
14588 $as_echo_n "(cached) " >&6
14589 else
14590 lt_cv_shlibpath_overrides_runpath=no
14591 save_LDFLAGS=$LDFLAGS
14592 save_libdir=$libdir
14593 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14594 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14595 if test x$gcc_no_link = xyes; then
14596 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14602 main ()
14606 return 0;
14608 _ACEOF
14609 if ac_fn_cxx_try_link "$LINENO"; then :
14610 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14611 lt_cv_shlibpath_overrides_runpath=yes
14614 rm -f core conftest.err conftest.$ac_objext \
14615 conftest$ac_exeext conftest.$ac_ext
14616 LDFLAGS=$save_LDFLAGS
14617 libdir=$save_libdir
14621 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14623 # This implies no fast_install, which is unacceptable.
14624 # Some rework will be needed to allow for fast_install
14625 # before this can be enabled.
14626 hardcode_into_libs=yes
14628 # Append ld.so.conf contents to the search path
14629 if test -f /etc/ld.so.conf; then
14630 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
14631 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14634 # We used to test for /lib/ld.so.1 and disable shared libraries on
14635 # powerpc, because MkLinux only supported shared libraries with the
14636 # GNU dynamic linker. Since this was broken with cross compilers,
14637 # most powerpc-linux boxes support dynamic linking these days and
14638 # people can always --disable-shared, the test was removed, and we
14639 # assume the GNU/Linux dynamic linker is in use.
14640 dynamic_linker='GNU/Linux ld.so'
14643 netbsd*)
14644 version_type=sunos
14645 need_lib_prefix=no
14646 need_version=no
14647 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14648 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14649 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14650 dynamic_linker='NetBSD (a.out) ld.so'
14651 else
14652 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14653 soname_spec='${libname}${release}${shared_ext}$major'
14654 dynamic_linker='NetBSD ld.elf_so'
14656 shlibpath_var=LD_LIBRARY_PATH
14657 shlibpath_overrides_runpath=yes
14658 hardcode_into_libs=yes
14661 newsos6)
14662 version_type=linux
14663 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14664 shlibpath_var=LD_LIBRARY_PATH
14665 shlibpath_overrides_runpath=yes
14668 *nto* | *qnx*)
14669 version_type=qnx
14670 need_lib_prefix=no
14671 need_version=no
14672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14673 soname_spec='${libname}${release}${shared_ext}$major'
14674 shlibpath_var=LD_LIBRARY_PATH
14675 shlibpath_overrides_runpath=no
14676 hardcode_into_libs=yes
14677 dynamic_linker='ldqnx.so'
14680 openbsd*)
14681 version_type=sunos
14682 sys_lib_dlsearch_path_spec="/usr/lib"
14683 need_lib_prefix=no
14684 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14685 case $host_os in
14686 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14687 *) need_version=no ;;
14688 esac
14689 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14690 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14691 shlibpath_var=LD_LIBRARY_PATH
14692 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14693 case $host_os in
14694 openbsd2.[89] | openbsd2.[89].*)
14695 shlibpath_overrides_runpath=no
14698 shlibpath_overrides_runpath=yes
14700 esac
14701 else
14702 shlibpath_overrides_runpath=yes
14706 os2*)
14707 libname_spec='$name'
14708 shrext_cmds=".dll"
14709 need_lib_prefix=no
14710 library_names_spec='$libname${shared_ext} $libname.a'
14711 dynamic_linker='OS/2 ld.exe'
14712 shlibpath_var=LIBPATH
14715 osf3* | osf4* | osf5*)
14716 version_type=osf
14717 need_lib_prefix=no
14718 need_version=no
14719 soname_spec='${libname}${release}${shared_ext}$major'
14720 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14721 shlibpath_var=LD_LIBRARY_PATH
14722 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14723 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14726 rdos*)
14727 dynamic_linker=no
14730 solaris*)
14731 version_type=linux
14732 need_lib_prefix=no
14733 need_version=no
14734 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14735 soname_spec='${libname}${release}${shared_ext}$major'
14736 shlibpath_var=LD_LIBRARY_PATH
14737 shlibpath_overrides_runpath=yes
14738 hardcode_into_libs=yes
14739 # ldd complains unless libraries are executable
14740 postinstall_cmds='chmod +x $lib'
14743 sunos4*)
14744 version_type=sunos
14745 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14746 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14747 shlibpath_var=LD_LIBRARY_PATH
14748 shlibpath_overrides_runpath=yes
14749 if test "$with_gnu_ld" = yes; then
14750 need_lib_prefix=no
14752 need_version=yes
14755 sysv4 | sysv4.3*)
14756 version_type=linux
14757 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14758 soname_spec='${libname}${release}${shared_ext}$major'
14759 shlibpath_var=LD_LIBRARY_PATH
14760 case $host_vendor in
14761 sni)
14762 shlibpath_overrides_runpath=no
14763 need_lib_prefix=no
14764 runpath_var=LD_RUN_PATH
14766 siemens)
14767 need_lib_prefix=no
14769 motorola)
14770 need_lib_prefix=no
14771 need_version=no
14772 shlibpath_overrides_runpath=no
14773 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14775 esac
14778 sysv4*MP*)
14779 if test -d /usr/nec ;then
14780 version_type=linux
14781 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
14782 soname_spec='$libname${shared_ext}.$major'
14783 shlibpath_var=LD_LIBRARY_PATH
14787 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14788 version_type=freebsd-elf
14789 need_lib_prefix=no
14790 need_version=no
14791 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14792 soname_spec='${libname}${release}${shared_ext}$major'
14793 shlibpath_var=LD_LIBRARY_PATH
14794 shlibpath_overrides_runpath=yes
14795 hardcode_into_libs=yes
14796 if test "$with_gnu_ld" = yes; then
14797 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14798 else
14799 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14800 case $host_os in
14801 sco3.2v5*)
14802 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14804 esac
14806 sys_lib_dlsearch_path_spec='/usr/lib'
14809 tpf*)
14810 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14811 version_type=linux
14812 need_lib_prefix=no
14813 need_version=no
14814 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14815 shlibpath_var=LD_LIBRARY_PATH
14816 shlibpath_overrides_runpath=no
14817 hardcode_into_libs=yes
14820 uts4*)
14821 version_type=linux
14822 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14823 soname_spec='${libname}${release}${shared_ext}$major'
14824 shlibpath_var=LD_LIBRARY_PATH
14828 dynamic_linker=no
14830 esac
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14832 $as_echo "$dynamic_linker" >&6; }
14833 test "$dynamic_linker" = no && can_build_shared=no
14835 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14836 if test "$GCC" = yes; then
14837 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14840 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
14841 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
14843 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
14844 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
14884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14885 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14886 hardcode_action_CXX=
14887 if test -n "$hardcode_libdir_flag_spec_CXX" ||
14888 test -n "$runpath_var_CXX" ||
14889 test "X$hardcode_automatic_CXX" = "Xyes" ; then
14891 # We can hardcode non-existent directories.
14892 if test "$hardcode_direct_CXX" != no &&
14893 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14894 # have to relink, otherwise we might link with an installed library
14895 # when we should be linking with a yet-to-be-installed one
14896 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
14897 test "$hardcode_minus_L_CXX" != no; then
14898 # Linking always hardcodes the temporary library directory.
14899 hardcode_action_CXX=relink
14900 else
14901 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14902 hardcode_action_CXX=immediate
14904 else
14905 # We cannot hardcode anything, or else we can only hardcode existing
14906 # directories.
14907 hardcode_action_CXX=unsupported
14909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
14910 $as_echo "$hardcode_action_CXX" >&6; }
14912 if test "$hardcode_action_CXX" = relink ||
14913 test "$inherit_rpath_CXX" = yes; then
14914 # Fast installation is not supported
14915 enable_fast_install=no
14916 elif test "$shlibpath_overrides_runpath" = yes ||
14917 test "$enable_shared" = no; then
14918 # Fast installation is not necessary
14919 enable_fast_install=needless
14928 fi # test -n "$compiler"
14930 CC=$lt_save_CC
14931 LDCXX=$LD
14932 LD=$lt_save_LD
14933 GCC=$lt_save_GCC
14934 with_gnu_ld=$lt_save_with_gnu_ld
14935 lt_cv_path_LDCXX=$lt_cv_path_LD
14936 lt_cv_path_LD=$lt_save_path_LD
14937 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
14938 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
14939 fi # test "$_lt_caught_CXX_error" != yes
14941 ac_ext=c
14942 ac_cpp='$CPP $CPPFLAGS'
14943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14959 ac_config_commands="$ac_config_commands libtool"
14964 # Only expand once:
14970 case $host in
14971 *-cygwin* | *-mingw*)
14972 # 'host' will be top-level target in the case of a target lib,
14973 # we must compare to with_cross_host to decide if this is a native
14974 # or cross-compiler and select where to install dlls appropriately.
14975 if test -n "$with_cross_host" &&
14976 test x"$with_cross_host" != x"no"; then
14977 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
14978 else
14979 lt_host_flags='-no-undefined -bindir "$(bindir)"';
14983 lt_host_flags=
14985 esac
14992 if test "$enable_vtable_verify" = yes; then
14993 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
14994 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
14998 # libtool variables for C++ shared and position-independent compiles.
15000 # Use glibcxx_lt_pic_flag to designate the automake variable
15001 # used to encapsulate the default libtool approach to creating objects
15002 # with position-independent code. Default: -prefer-pic.
15004 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15005 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15007 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15008 # creating position-independent objects. This varies with the target
15009 # hardware and operating system, but is often: -DPIC -fPIC.
15010 if test "$enable_shared" = yes; then
15011 glibcxx_lt_pic_flag="-prefer-pic"
15012 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15013 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15015 else
15016 glibcxx_lt_pic_flag=
15017 glibcxx_compiler_pic_flag=
15018 glibcxx_compiler_shared_flag=
15024 # Override the libtool's pic_flag and pic_mode.
15025 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15026 # NB: this impacts --with-pic and --without-pic.
15027 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15028 pic_mode='default'
15030 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15031 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15033 # Possibly disable most of the library.
15034 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15035 ## than just ignoring the results. Faster /and/ more correct, win win.
15037 # Check whether --enable-hosted-libstdcxx was given.
15038 if test "${enable_hosted_libstdcxx+set}" = set; then :
15039 enableval=$enable_hosted_libstdcxx;
15040 else
15041 case "$host" in
15042 arm*-*-symbianelf*)
15043 enable_hosted_libstdcxx=no
15046 enable_hosted_libstdcxx=yes
15048 esac
15051 if test "$enable_hosted_libstdcxx" = no; then
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15053 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15054 is_hosted=no
15055 hosted_define=0
15056 enable_abi_check=no
15057 enable_libstdcxx_pch=no
15058 else
15059 is_hosted=yes
15060 hosted_define=1
15064 cat >>confdefs.h <<_ACEOF
15065 #define _GLIBCXX_HOSTED $hosted_define
15066 _ACEOF
15070 # Enable descriptive messages to standard output on termination.
15072 # Check whether --enable-libstdcxx-verbose was given.
15073 if test "${enable_libstdcxx_verbose+set}" = set; then :
15074 enableval=$enable_libstdcxx_verbose;
15075 else
15076 enable_libstdcxx_verbose=yes
15079 if test x"$enable_libstdcxx_verbose" = xyes; then
15080 verbose_define=1
15081 else
15082 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15083 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15084 verbose_define=0
15087 cat >>confdefs.h <<_ACEOF
15088 #define _GLIBCXX_VERBOSE $verbose_define
15089 _ACEOF
15093 # Enable compiler support that doesn't require linking.
15095 # Check whether --enable-libstdcxx-pch was given.
15096 if test "${enable_libstdcxx_pch+set}" = set; then :
15097 enableval=$enable_libstdcxx_pch;
15098 case "$enableval" in
15099 yes|no) ;;
15100 *) as_fn_error "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15101 esac
15103 else
15104 enable_libstdcxx_pch=$is_hosted
15108 if test $enable_libstdcxx_pch = yes; then
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15110 $as_echo_n "checking for compiler with PCH support... " >&6; }
15111 if test "${glibcxx_cv_prog_CXX_pch+set}" = set; then :
15112 $as_echo_n "(cached) " >&6
15113 else
15114 ac_save_CXXFLAGS="$CXXFLAGS"
15115 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15117 ac_ext=cpp
15118 ac_cpp='$CXXCPP $CPPFLAGS'
15119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15123 echo '#include <math.h>' > conftest.h
15124 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15125 -o conftest.h.gch 1>&5 2>&1 &&
15126 echo '#error "pch failed"' > conftest.h &&
15127 echo '#include "conftest.h"' > conftest.cc &&
15128 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15129 then
15130 glibcxx_cv_prog_CXX_pch=yes
15131 else
15132 glibcxx_cv_prog_CXX_pch=no
15134 rm -f conftest*
15135 CXXFLAGS=$ac_save_CXXFLAGS
15136 ac_ext=c
15137 ac_cpp='$CPP $CPPFLAGS'
15138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15145 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15146 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15150 $as_echo_n "checking for enabled PCH... " >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15152 $as_echo "$enable_libstdcxx_pch" >&6; }
15155 if test $enable_libstdcxx_pch = yes; then
15156 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15157 else
15158 glibcxx_PCHFLAGS=""
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15164 $as_echo_n "checking for thread model used by GCC... " >&6; }
15165 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15167 $as_echo "$target_thread_file" >&6; }
15169 case $target_thread_file in
15170 aix) thread_header=config/rs6000/gthr-aix.h ;;
15171 dce) thread_header=config/pa/gthr-dce.h ;;
15172 lynx) thread_header=config/gthr-lynx.h ;;
15173 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15174 posix) thread_header=gthr-posix.h ;;
15175 rtems) thread_header=config/gthr-rtems.h ;;
15176 single) thread_header=gthr-single.h ;;
15177 tpf) thread_header=config/s390/gthr-tpf.h ;;
15178 vxworks) thread_header=config/gthr-vxworks.h ;;
15179 win32) thread_header=config/i386/gthr-win32.h ;;
15180 esac
15186 ac_ext=cpp
15187 ac_cpp='$CXXCPP $CPPFLAGS'
15188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15192 old_CXXFLAGS="$CXXFLAGS"
15194 # Do link tests if possible, instead asm tests, limited to some platforms
15195 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15196 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15197 atomic_builtins_link_tests=no
15198 if test x$gcc_no_link != xyes; then
15199 # Can do link tests. Limit to some tested platforms
15200 case "$host" in
15201 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15202 atomic_builtins_link_tests=yes
15204 esac
15207 if test x$atomic_builtins_link_tests = xyes; then
15209 # Do link tests.
15211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15214 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15215 if test "${glibcxx_cv_atomic_bool+set}" = set; then :
15216 $as_echo_n "(cached) " >&6
15217 else
15219 if test x$gcc_no_link = xyes; then
15220 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15223 /* end confdefs.h. */
15226 main ()
15228 typedef bool atomic_type;
15229 atomic_type c1;
15230 atomic_type c2;
15231 atomic_type c3(0);
15232 // N.B. __atomic_fetch_add is not supported for bool.
15233 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15234 __ATOMIC_RELAXED);
15235 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15236 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15239 return 0;
15241 _ACEOF
15242 if ac_fn_cxx_try_link "$LINENO"; then :
15243 glibcxx_cv_atomic_bool=yes
15244 else
15245 glibcxx_cv_atomic_bool=no
15247 rm -f core conftest.err conftest.$ac_objext \
15248 conftest$ac_exeext conftest.$ac_ext
15252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15253 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15256 $as_echo_n "checking for atomic builtins for short... " >&6; }
15257 if test "${glibcxx_cv_atomic_short+set}" = set; then :
15258 $as_echo_n "(cached) " >&6
15259 else
15261 if test x$gcc_no_link = xyes; then
15262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15265 /* end confdefs.h. */
15268 main ()
15270 typedef short atomic_type;
15271 atomic_type c1;
15272 atomic_type c2;
15273 atomic_type c3(0);
15274 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15275 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15276 __ATOMIC_RELAXED);
15277 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15278 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15281 return 0;
15283 _ACEOF
15284 if ac_fn_cxx_try_link "$LINENO"; then :
15285 glibcxx_cv_atomic_short=yes
15286 else
15287 glibcxx_cv_atomic_short=no
15289 rm -f core conftest.err conftest.$ac_objext \
15290 conftest$ac_exeext conftest.$ac_ext
15294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15295 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15298 $as_echo_n "checking for atomic builtins for int... " >&6; }
15299 if test "${glibcxx_cv_atomic_int+set}" = set; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15303 if test x$gcc_no_link = xyes; then
15304 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15310 main ()
15312 typedef int atomic_type;
15313 atomic_type c1;
15314 atomic_type c2;
15315 atomic_type c3(0);
15316 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15317 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15318 __ATOMIC_RELAXED);
15319 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15320 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15323 return 0;
15325 _ACEOF
15326 if ac_fn_cxx_try_link "$LINENO"; then :
15327 glibcxx_cv_atomic_int=yes
15328 else
15329 glibcxx_cv_atomic_int=no
15331 rm -f core conftest.err conftest.$ac_objext \
15332 conftest$ac_exeext conftest.$ac_ext
15336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15337 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15340 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15341 if test "${glibcxx_cv_atomic_long_long+set}" = set; then :
15342 $as_echo_n "(cached) " >&6
15343 else
15345 if test x$gcc_no_link = xyes; then
15346 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15349 /* end confdefs.h. */
15352 main ()
15354 typedef long long atomic_type;
15355 atomic_type c1;
15356 atomic_type c2;
15357 atomic_type c3(0);
15358 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15359 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15360 __ATOMIC_RELAXED);
15361 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15362 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15365 return 0;
15367 _ACEOF
15368 if ac_fn_cxx_try_link "$LINENO"; then :
15369 glibcxx_cv_atomic_long_long=yes
15370 else
15371 glibcxx_cv_atomic_long_long=no
15373 rm -f core conftest.err conftest.$ac_objext \
15374 conftest$ac_exeext conftest.$ac_ext
15378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15379 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15381 else
15383 # Do asm tests.
15385 # Compile unoptimized.
15386 CXXFLAGS='-O0 -S'
15388 # Fake what AC_TRY_COMPILE does.
15390 cat > conftest.$ac_ext << EOF
15391 #line 15391 "configure"
15392 int main()
15394 typedef bool atomic_type;
15395 atomic_type c1;
15396 atomic_type c2;
15397 atomic_type c3(0);
15398 // N.B. __atomic_fetch_add is not supported for bool.
15399 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15400 __ATOMIC_RELAXED);
15401 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15402 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15404 return 0;
15408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15409 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15411 (eval $ac_compile) 2>&5
15412 ac_status=$?
15413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15414 test $ac_status = 0; }; then
15415 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15416 glibcxx_cv_atomic_bool=no
15417 else
15418 glibcxx_cv_atomic_bool=yes
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15422 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15423 rm -f conftest*
15425 cat > conftest.$ac_ext << EOF
15426 #line 15426 "configure"
15427 int main()
15429 typedef short atomic_type;
15430 atomic_type c1;
15431 atomic_type c2;
15432 atomic_type c3(0);
15433 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15434 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15435 __ATOMIC_RELAXED);
15436 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15437 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15439 return 0;
15443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15444 $as_echo_n "checking for atomic builtins for short... " >&6; }
15445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15446 (eval $ac_compile) 2>&5
15447 ac_status=$?
15448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15449 test $ac_status = 0; }; then
15450 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15451 glibcxx_cv_atomic_short=no
15452 else
15453 glibcxx_cv_atomic_short=yes
15456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15457 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15458 rm -f conftest*
15460 cat > conftest.$ac_ext << EOF
15461 #line 15461 "configure"
15462 int main()
15464 // NB: _Atomic_word not necessarily int.
15465 typedef int atomic_type;
15466 atomic_type c1;
15467 atomic_type c2;
15468 atomic_type c3(0);
15469 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15470 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15471 __ATOMIC_RELAXED);
15472 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15473 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15475 return 0;
15479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15480 $as_echo_n "checking for atomic builtins for int... " >&6; }
15481 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15482 (eval $ac_compile) 2>&5
15483 ac_status=$?
15484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15485 test $ac_status = 0; }; then
15486 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15487 glibcxx_cv_atomic_int=no
15488 else
15489 glibcxx_cv_atomic_int=yes
15492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15493 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15494 rm -f conftest*
15496 cat > conftest.$ac_ext << EOF
15497 #line 15497 "configure"
15498 int main()
15500 typedef long long atomic_type;
15501 atomic_type c1;
15502 atomic_type c2;
15503 atomic_type c3(0);
15504 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15505 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15506 __ATOMIC_RELAXED);
15507 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15508 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15510 return 0;
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15515 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15516 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15517 (eval $ac_compile) 2>&5
15518 ac_status=$?
15519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15520 test $ac_status = 0; }; then
15521 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15522 glibcxx_cv_atomic_long_long=no
15523 else
15524 glibcxx_cv_atomic_long_long=yes
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15528 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15529 rm -f conftest*
15533 CXXFLAGS="$old_CXXFLAGS"
15534 ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15541 # Set atomicity_dir to builtins if all but the long long test above passes,
15542 # or if the builtins were already chosen (e.g. by configure.host).
15543 if { test "$glibcxx_cv_atomic_bool" = yes \
15544 && test "$glibcxx_cv_atomic_short" = yes \
15545 && test "$glibcxx_cv_atomic_int" = yes; } \
15546 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15548 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15550 atomicity_dir=cpu/generic/atomicity_builtins
15553 # If still generic, set to mutex.
15554 if test $atomicity_dir = "cpu/generic" ; then
15555 atomicity_dir=cpu/generic/atomicity_mutex
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15557 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15558 if test "x$target_thread_file" = xsingle; then
15559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15560 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15561 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15562 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15563 else
15564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15565 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15567 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15574 # Fake what AC_TRY_COMPILE does, without linking as this is
15575 # unnecessary for this test.
15577 cat > conftest.$ac_ext << EOF
15578 #line 15578 "configure"
15579 int main()
15581 _Decimal32 d1;
15582 _Decimal64 d2;
15583 _Decimal128 d3;
15584 return 0;
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15589 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15591 (eval $ac_compile) 2>&5
15592 ac_status=$?
15593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15594 test $ac_status = 0; }; then
15596 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15598 enable_dfp=yes
15599 else
15600 enable_dfp=no
15602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15603 $as_echo "$enable_dfp" >&6; }
15604 rm -f conftest*
15609 ac_ext=cpp
15610 ac_cpp='$CXXCPP $CPPFLAGS'
15611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15616 # Fake what AC_TRY_COMPILE does, without linking as this is
15617 # unnecessary for this test.
15619 cat > conftest.$ac_ext << EOF
15620 #line 15620 "configure"
15621 template<typename T1, typename T2>
15622 struct same
15623 { typedef T2 type; };
15625 template<typename T>
15626 struct same<T, T>;
15628 int main()
15630 typename same<long, __int128>::type i1;
15631 typename same<long long, __int128>::type i2;
15635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15636 $as_echo_n "checking for __int128... " >&6; }
15637 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15638 (eval $ac_compile) 2>&5
15639 ac_status=$?
15640 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15641 test $ac_status = 0; }; then
15643 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15645 enable_int128=yes
15646 else
15647 enable_int128=no
15649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15650 $as_echo "$enable_int128" >&6; }
15651 rm -f conftest*
15653 cat > conftest.$ac_ext << EOF
15654 #line 15654 "configure"
15655 template<typename T1, typename T2>
15656 struct same
15657 { typedef T2 type; };
15659 template<typename T>
15660 struct same<T, T>;
15662 int main()
15664 typename same<double, __float128>::type f1;
15665 typename same<long double, __float128>::type f2;
15669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15670 $as_echo_n "checking for __float128... " >&6; }
15671 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15672 (eval $ac_compile) 2>&5
15673 ac_status=$?
15674 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15675 test $ac_status = 0; }; then
15677 $as_echo "#define _GLIBCXX_USE_FLOAT128 1" >>confdefs.h
15679 enable_float128=yes
15680 else
15681 enable_float128=no
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
15684 $as_echo "$enable_float128" >&6; }
15685 rm -f conftest*
15687 ac_ext=c
15688 ac_cpp='$CPP $CPPFLAGS'
15689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15694 if test "$enable_float128" = yes; then
15695 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
15698 # Checks for compiler support that doesn't require linking.
15700 # All these tests are for C++; save the language and the compiler flags.
15701 # The CXXFLAGS thing is suspicious, but based on similar bits previously
15702 # found in GLIBCXX_CONFIGURE.
15704 ac_ext=cpp
15705 ac_cpp='$CXXCPP $CPPFLAGS'
15706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15710 ac_test_CXXFLAGS="${CXXFLAGS+set}"
15711 ac_save_CXXFLAGS="$CXXFLAGS"
15713 # Check for maintainer-mode bits.
15714 if test x"$USE_MAINTAINER_MODE" = xno; then
15715 WERROR=''
15716 else
15717 WERROR='-Werror'
15720 # Check for -ffunction-sections -fdata-sections
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
15722 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
15723 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
15724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15725 /* end confdefs.h. */
15726 int foo; void bar() { };
15728 main ()
15732 return 0;
15734 _ACEOF
15735 if ac_fn_cxx_try_compile "$LINENO"; then :
15736 ac_fdsections=yes
15737 else
15738 ac_fdsections=no
15740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15741 if test "$ac_test_CXXFLAGS" = set; then
15742 CXXFLAGS="$ac_save_CXXFLAGS"
15743 else
15744 # this is the suspicious part
15745 CXXFLAGS=''
15747 if test x"$ac_fdsections" = x"yes"; then
15748 SECTION_FLAGS='-ffunction-sections -fdata-sections'
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
15751 $as_echo "$ac_fdsections" >&6; }
15753 ac_ext=c
15754 ac_cpp='$CPP $CPPFLAGS'
15755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15763 # Enable all the variable C++ runtime options that don't require linking.
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
15766 $as_echo_n "checking for underlying I/O to use... " >&6; }
15767 # Check whether --enable-cstdio was given.
15768 if test "${enable_cstdio+set}" = set; then :
15769 enableval=$enable_cstdio;
15770 case "$enableval" in
15771 stdio) ;;
15772 *) as_fn_error "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
15773 esac
15775 else
15776 enable_cstdio=stdio
15781 # Now that libio has been removed, you can have any color you want as long
15782 # as it's black. This is one big no-op until other packages are added, but
15783 # showing the framework never hurts.
15784 case ${enable_cstdio} in
15785 stdio)
15786 CSTDIO_H=config/io/c_io_stdio.h
15787 BASIC_FILE_H=config/io/basic_file_stdio.h
15788 BASIC_FILE_CC=config/io/basic_file_stdio.cc
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
15790 $as_echo "stdio" >&6; }
15792 esac
15799 # Check whether --enable-clocale was given.
15800 if test "${enable_clocale+set}" = set; then :
15801 enableval=$enable_clocale;
15802 case "$enableval" in
15803 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
15804 *) as_fn_error "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
15805 esac
15807 else
15808 enable_clocale=auto
15813 # Deal with gettext issues. Default to not using it (=no) until we detect
15814 # support for it later. Let the user turn it off via --e/d, but let that
15815 # default to on for easier handling.
15816 USE_NLS=no
15817 # Check whether --enable-nls was given.
15818 if test "${enable_nls+set}" = set; then :
15819 enableval=$enable_nls;
15820 else
15821 enable_nls=yes
15825 # Either a known package, or "auto"
15826 if test $enable_clocale = no || test $enable_clocale = yes; then
15827 enable_clocale=auto
15829 enable_clocale_flag=$enable_clocale
15831 # Probe for locale model to use if none specified.
15832 # Default to "generic".
15833 if test $enable_clocale_flag = auto; then
15834 case ${target_os} in
15835 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
15836 enable_clocale_flag=gnu
15838 darwin*)
15839 enable_clocale_flag=darwin
15841 dragonfly* | freebsd*)
15842 enable_clocale_flag=dragonfly
15844 openbsd*)
15845 enable_clocale_flag=newlib
15848 if test x"$with_newlib" = x"yes"; then
15849 enable_clocale_flag=newlib
15850 else
15851 enable_clocale_flag=generic
15854 esac
15857 # Sanity check model, and test for special functionality.
15858 if test $enable_clocale_flag = gnu; then
15859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15860 /* end confdefs.h. */
15862 #include <features.h>
15863 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
15864 _GLIBCXX_ok
15865 #endif
15867 _ACEOF
15868 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15869 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
15870 enable_clocale_flag=gnu
15871 else
15872 enable_clocale_flag=generic
15874 rm -f conftest*
15877 # Set it to scream when it hurts.
15878 ac_save_CFLAGS="$CFLAGS"
15879 CFLAGS="-Wimplicit-function-declaration -Werror"
15881 # Use strxfrm_l if available.
15882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15883 /* end confdefs.h. */
15884 #define _GNU_SOURCE 1
15885 #include <string.h>
15886 #include <locale.h>
15888 main ()
15890 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
15892 return 0;
15894 _ACEOF
15895 if ac_fn_c_try_compile "$LINENO"; then :
15897 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
15900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15902 # Use strerror_l if available.
15903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15904 /* end confdefs.h. */
15905 #define _GNU_SOURCE 1
15906 #include <string.h>
15907 #include <locale.h>
15909 main ()
15911 __locale_t loc; strerror_l(5, loc);
15913 return 0;
15915 _ACEOF
15916 if ac_fn_c_try_compile "$LINENO"; then :
15918 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
15921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15923 CFLAGS="$ac_save_CFLAGS"
15926 # Perhaps use strerror_r if available, and strerror_l isn't.
15927 ac_save_CFLAGS="$CFLAGS"
15928 CFLAGS="-Wimplicit-function-declaration -Werror"
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15931 #define _GNU_SOURCE 1
15932 #include <string.h>
15933 #include <locale.h>
15935 main ()
15937 char s[128]; strerror_r(5, s, 128);
15939 return 0;
15941 _ACEOF
15942 if ac_fn_c_try_compile "$LINENO"; then :
15944 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
15947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15948 CFLAGS="$ac_save_CFLAGS"
15950 # Set configure bits for specified locale package
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
15952 $as_echo_n "checking for C locale to use... " >&6; }
15953 case ${enable_clocale_flag} in
15954 generic)
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
15956 $as_echo "generic" >&6; }
15958 CLOCALE_H=config/locale/generic/c_locale.h
15959 CLOCALE_CC=config/locale/generic/c_locale.cc
15960 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15961 CCOLLATE_CC=config/locale/generic/collate_members.cc
15962 CCTYPE_CC=config/locale/generic/ctype_members.cc
15963 CMESSAGES_H=config/locale/generic/messages_members.h
15964 CMESSAGES_CC=config/locale/generic/messages_members.cc
15965 CMONEY_CC=config/locale/generic/monetary_members.cc
15966 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15967 CTIME_H=config/locale/generic/time_members.h
15968 CTIME_CC=config/locale/generic/time_members.cc
15969 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15971 darwin)
15972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
15973 $as_echo "darwin" >&6; }
15975 CLOCALE_H=config/locale/generic/c_locale.h
15976 CLOCALE_CC=config/locale/generic/c_locale.cc
15977 CCODECVT_CC=config/locale/generic/codecvt_members.cc
15978 CCOLLATE_CC=config/locale/generic/collate_members.cc
15979 CCTYPE_CC=config/locale/darwin/ctype_members.cc
15980 CMESSAGES_H=config/locale/generic/messages_members.h
15981 CMESSAGES_CC=config/locale/generic/messages_members.cc
15982 CMONEY_CC=config/locale/generic/monetary_members.cc
15983 CNUMERIC_CC=config/locale/generic/numeric_members.cc
15984 CTIME_H=config/locale/generic/time_members.h
15985 CTIME_CC=config/locale/generic/time_members.cc
15986 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
15989 dragonfly)
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
15991 $as_echo "dragonfly or freebsd" >&6; }
15993 CLOCALE_H=config/locale/dragonfly/c_locale.h
15994 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
15995 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
15996 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
15997 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
15998 CMESSAGES_H=config/locale/generic/messages_members.h
15999 CMESSAGES_CC=config/locale/generic/messages_members.cc
16000 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16001 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16002 CTIME_H=config/locale/dragonfly/time_members.h
16003 CTIME_CC=config/locale/dragonfly/time_members.cc
16004 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16007 gnu)
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16009 $as_echo "gnu" >&6; }
16011 # Declare intention to use gettext, and add support for specific
16012 # languages.
16013 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16014 ALL_LINGUAS="de fr"
16016 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16017 # Extract the first word of "msgfmt", so it can be a program name with args.
16018 set dummy msgfmt; ac_word=$2
16019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16020 $as_echo_n "checking for $ac_word... " >&6; }
16021 if test "${ac_cv_prog_check_msgfmt+set}" = set; then :
16022 $as_echo_n "(cached) " >&6
16023 else
16024 if test -n "$check_msgfmt"; then
16025 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16026 else
16027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16028 for as_dir in $PATH
16030 IFS=$as_save_IFS
16031 test -z "$as_dir" && as_dir=.
16032 for ac_exec_ext in '' $ac_executable_extensions; do
16033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16034 ac_cv_prog_check_msgfmt="yes"
16035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16036 break 2
16038 done
16039 done
16040 IFS=$as_save_IFS
16042 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16045 check_msgfmt=$ac_cv_prog_check_msgfmt
16046 if test -n "$check_msgfmt"; then
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16048 $as_echo "$check_msgfmt" >&6; }
16049 else
16050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16051 $as_echo "no" >&6; }
16055 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16056 USE_NLS=yes
16058 # Export the build objects.
16059 for ling in $ALL_LINGUAS; do \
16060 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16061 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16062 done
16066 CLOCALE_H=config/locale/gnu/c_locale.h
16067 CLOCALE_CC=config/locale/gnu/c_locale.cc
16068 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16069 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16070 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16071 CMESSAGES_H=config/locale/gnu/messages_members.h
16072 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16073 CMONEY_CC=config/locale/gnu/monetary_members.cc
16074 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16075 CTIME_H=config/locale/gnu/time_members.h
16076 CTIME_CC=config/locale/gnu/time_members.cc
16077 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16079 ieee_1003.1-2001)
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16081 $as_echo "IEEE 1003.1" >&6; }
16083 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16084 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16085 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16086 CCOLLATE_CC=config/locale/generic/collate_members.cc
16087 CCTYPE_CC=config/locale/generic/ctype_members.cc
16088 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16089 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16090 CMONEY_CC=config/locale/generic/monetary_members.cc
16091 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16092 CTIME_H=config/locale/generic/time_members.h
16093 CTIME_CC=config/locale/generic/time_members.cc
16094 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16096 newlib)
16097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16098 $as_echo "newlib" >&6; }
16100 CLOCALE_H=config/locale/generic/c_locale.h
16101 CLOCALE_CC=config/locale/generic/c_locale.cc
16102 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16103 CCOLLATE_CC=config/locale/generic/collate_members.cc
16104 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16105 CMESSAGES_H=config/locale/generic/messages_members.h
16106 CMESSAGES_CC=config/locale/generic/messages_members.cc
16107 CMONEY_CC=config/locale/generic/monetary_members.cc
16108 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16109 CTIME_H=config/locale/generic/time_members.h
16110 CTIME_CC=config/locale/generic/time_members.cc
16111 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16113 esac
16115 # This is where the testsuite looks for locale catalogs, using the
16116 # -DLOCALEDIR define during testsuite compilation.
16117 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16120 # A standalone libintl (e.g., GNU libintl) may be in use.
16121 if test $USE_NLS = yes; then
16122 for ac_header in libintl.h
16123 do :
16124 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16125 if test "x$ac_cv_header_libintl_h" = x""yes; then :
16126 cat >>confdefs.h <<_ACEOF
16127 #define HAVE_LIBINTL_H 1
16128 _ACEOF
16130 else
16131 USE_NLS=no
16134 done
16136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16137 $as_echo_n "checking for library containing gettext... " >&6; }
16138 if test "${ac_cv_search_gettext+set}" = set; then :
16139 $as_echo_n "(cached) " >&6
16140 else
16141 ac_func_search_save_LIBS=$LIBS
16142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16143 /* end confdefs.h. */
16145 /* Override any GCC internal prototype to avoid an error.
16146 Use char because int might match the return type of a GCC
16147 builtin and then its argument prototype would still apply. */
16148 #ifdef __cplusplus
16149 extern "C"
16150 #endif
16151 char gettext ();
16153 main ()
16155 return gettext ();
16157 return 0;
16159 _ACEOF
16160 for ac_lib in '' intl; do
16161 if test -z "$ac_lib"; then
16162 ac_res="none required"
16163 else
16164 ac_res=-l$ac_lib
16165 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16167 if test x$gcc_no_link = xyes; then
16168 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16170 if ac_fn_c_try_link "$LINENO"; then :
16171 ac_cv_search_gettext=$ac_res
16173 rm -f core conftest.err conftest.$ac_objext \
16174 conftest$ac_exeext
16175 if test "${ac_cv_search_gettext+set}" = set; then :
16176 break
16178 done
16179 if test "${ac_cv_search_gettext+set}" = set; then :
16181 else
16182 ac_cv_search_gettext=no
16184 rm conftest.$ac_ext
16185 LIBS=$ac_func_search_save_LIBS
16187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16188 $as_echo "$ac_cv_search_gettext" >&6; }
16189 ac_res=$ac_cv_search_gettext
16190 if test "$ac_res" != no; then :
16191 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16193 else
16194 USE_NLS=no
16198 if test $USE_NLS = yes; then
16200 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16220 $as_echo_n "checking for std::allocator base class... " >&6; }
16221 # Check whether --enable-libstdcxx-allocator was given.
16222 if test "${enable_libstdcxx_allocator+set}" = set; then :
16223 enableval=$enable_libstdcxx_allocator;
16224 case "$enableval" in
16225 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16226 *) as_fn_error "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16227 esac
16229 else
16230 enable_libstdcxx_allocator=auto
16235 # If they didn't use this option switch, or if they specified --enable
16236 # with no specific model, we'll have to look for one. If they
16237 # specified --disable (???), do likewise.
16238 if test $enable_libstdcxx_allocator = no ||
16239 test $enable_libstdcxx_allocator = yes;
16240 then
16241 enable_libstdcxx_allocator=auto
16244 # Either a known package, or "auto". Auto implies the default choice
16245 # for a particular platform.
16246 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16248 # Probe for host-specific support if no specific model is specified.
16249 # Default to "new".
16250 if test $enable_libstdcxx_allocator_flag = auto; then
16251 case ${target_os} in
16252 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16253 enable_libstdcxx_allocator_flag=new
16256 enable_libstdcxx_allocator_flag=new
16258 esac
16260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16261 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16264 # Set configure bits for specified locale package
16265 case ${enable_libstdcxx_allocator_flag} in
16266 bitmap)
16267 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16268 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16270 malloc)
16271 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16272 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16275 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16276 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16278 new)
16279 ALLOCATOR_H=config/allocator/new_allocator_base.h
16280 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16282 pool)
16283 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16284 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16286 esac
16293 # Check whether --enable-cheaders was given.
16294 if test "${enable_cheaders+set}" = set; then :
16295 enableval=$enable_cheaders;
16296 case "$enableval" in
16297 c|c_std|c_global) ;;
16298 *) as_fn_error "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16299 esac
16301 else
16302 enable_cheaders=$c_model
16306 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16307 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16309 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16311 # Allow overrides to configure.host here.
16312 if test $enable_cheaders = c_global; then
16313 c_compatibility=yes
16322 # Check whether --enable-long-long was given.
16323 if test "${enable_long_long+set}" = set; then :
16324 enableval=$enable_long_long;
16325 case "$enableval" in
16326 yes|no) ;;
16327 *) as_fn_error "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16328 esac
16330 else
16331 enable_long_long=yes
16335 if test $enable_long_long = yes; then
16337 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16341 $as_echo_n "checking for enabled long long specializations... " >&6; }
16342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16343 $as_echo "$enable_long_long" >&6; }
16346 # Check whether --enable-wchar_t was given.
16347 if test "${enable_wchar_t+set}" = set; then :
16348 enableval=$enable_wchar_t;
16349 case "$enableval" in
16350 yes|no) ;;
16351 *) as_fn_error "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16352 esac
16354 else
16355 enable_wchar_t=yes
16360 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16361 for ac_header in wchar.h
16362 do :
16363 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16364 if test "x$ac_cv_header_wchar_h" = x""yes; then :
16365 cat >>confdefs.h <<_ACEOF
16366 #define HAVE_WCHAR_H 1
16367 _ACEOF
16368 ac_has_wchar_h=yes
16369 else
16370 ac_has_wchar_h=no
16373 done
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16376 $as_echo_n "checking for mbstate_t... " >&6; }
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16379 #include <wchar.h>
16381 main ()
16383 mbstate_t teststate;
16385 return 0;
16387 _ACEOF
16388 if ac_fn_c_try_compile "$LINENO"; then :
16389 have_mbstate_t=yes
16390 else
16391 have_mbstate_t=no
16393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16395 $as_echo "$have_mbstate_t" >&6; }
16396 if test x"$have_mbstate_t" = xyes; then
16398 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16402 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16403 # ac_has_wchar_h.
16404 for ac_header in wctype.h
16405 do :
16406 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16407 if test "x$ac_cv_header_wctype_h" = x""yes; then :
16408 cat >>confdefs.h <<_ACEOF
16409 #define HAVE_WCTYPE_H 1
16410 _ACEOF
16411 ac_has_wctype_h=yes
16412 else
16413 ac_has_wctype_h=no
16416 done
16419 if test x"$enable_wchar_t" = x"yes"; then
16422 ac_ext=cpp
16423 ac_cpp='$CXXCPP $CPPFLAGS'
16424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16429 if test x"$ac_has_wchar_h" = xyes &&
16430 test x"$ac_has_wctype_h" = xyes; then
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16433 #include <wchar.h>
16434 #include <stddef.h>
16435 wint_t i;
16436 long l = WEOF;
16437 long j = WCHAR_MIN;
16438 long k = WCHAR_MAX;
16439 namespace test
16441 using ::btowc;
16442 using ::fgetwc;
16443 using ::fgetws;
16444 using ::fputwc;
16445 using ::fputws;
16446 using ::fwide;
16447 using ::fwprintf;
16448 using ::fwscanf;
16449 using ::getwc;
16450 using ::getwchar;
16451 using ::mbrlen;
16452 using ::mbrtowc;
16453 using ::mbsinit;
16454 using ::mbsrtowcs;
16455 using ::putwc;
16456 using ::putwchar;
16457 using ::swprintf;
16458 using ::swscanf;
16459 using ::ungetwc;
16460 using ::vfwprintf;
16461 using ::vswprintf;
16462 using ::vwprintf;
16463 using ::wcrtomb;
16464 using ::wcscat;
16465 using ::wcschr;
16466 using ::wcscmp;
16467 using ::wcscoll;
16468 using ::wcscpy;
16469 using ::wcscspn;
16470 using ::wcsftime;
16471 using ::wcslen;
16472 using ::wcsncat;
16473 using ::wcsncmp;
16474 using ::wcsncpy;
16475 using ::wcspbrk;
16476 using ::wcsrchr;
16477 using ::wcsrtombs;
16478 using ::wcsspn;
16479 using ::wcsstr;
16480 using ::wcstod;
16481 using ::wcstok;
16482 using ::wcstol;
16483 using ::wcstoul;
16484 using ::wcsxfrm;
16485 using ::wctob;
16486 using ::wmemchr;
16487 using ::wmemcmp;
16488 using ::wmemcpy;
16489 using ::wmemmove;
16490 using ::wmemset;
16491 using ::wprintf;
16492 using ::wscanf;
16496 main ()
16500 return 0;
16502 _ACEOF
16503 if ac_fn_cxx_try_compile "$LINENO"; then :
16505 else
16506 enable_wchar_t=no
16508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16509 else
16510 enable_wchar_t=no
16513 ac_ext=c
16514 ac_cpp='$CPP $CPPFLAGS'
16515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16521 if test x"$enable_wchar_t" = x"yes"; then
16523 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16528 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16530 $as_echo "$enable_wchar_t" >&6; }
16534 # Check whether --enable-c99 was given.
16535 if test "${enable_c99+set}" = set; then :
16536 enableval=$enable_c99;
16537 case "$enableval" in
16538 yes|no) ;;
16539 *) as_fn_error "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16540 esac
16542 else
16543 enable_c99=yes
16548 if test x"$enable_c99" = x"yes"; then
16550 ac_ext=cpp
16551 ac_cpp='$CXXCPP $CPPFLAGS'
16552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16557 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16558 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16559 # to be spuriously enabled.
16560 ac_save_CXXFLAGS="$CXXFLAGS"
16561 CXXFLAGS="$CXXFLAGS -std=c++98"
16562 ac_save_LIBS="$LIBS"
16563 ac_save_gcc_no_link="$gcc_no_link"
16565 if test x$gcc_no_link != xyes; then
16566 # Use -fno-exceptions to that the C driver can link these tests without
16567 # hitting undefined references to personality routines.
16568 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16570 $as_echo_n "checking for sin in -lm... " >&6; }
16571 if test "${ac_cv_lib_m_sin+set}" = set; then :
16572 $as_echo_n "(cached) " >&6
16573 else
16574 ac_check_lib_save_LIBS=$LIBS
16575 LIBS="-lm $LIBS"
16576 if test x$gcc_no_link = xyes; then
16577 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16580 /* end confdefs.h. */
16582 /* Override any GCC internal prototype to avoid an error.
16583 Use char because int might match the return type of a GCC
16584 builtin and then its argument prototype would still apply. */
16585 #ifdef __cplusplus
16586 extern "C"
16587 #endif
16588 char sin ();
16590 main ()
16592 return sin ();
16594 return 0;
16596 _ACEOF
16597 if ac_fn_cxx_try_link "$LINENO"; then :
16598 ac_cv_lib_m_sin=yes
16599 else
16600 ac_cv_lib_m_sin=no
16602 rm -f core conftest.err conftest.$ac_objext \
16603 conftest$ac_exeext conftest.$ac_ext
16604 LIBS=$ac_check_lib_save_LIBS
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16607 $as_echo "$ac_cv_lib_m_sin" >&6; }
16608 if test "x$ac_cv_lib_m_sin" = x""yes; then :
16609 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> for C++98" >&5
16621 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16622 if test "${glibcxx_cv_c99_math_cxx98+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_cxx98=yes
16655 else
16656 glibcxx_cv_c99_math_cxx98=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_cxx98=yes
16691 else
16692 glibcxx_cv_c99_math_cxx98=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_cxx98" >&5
16701 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
16702 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
16704 $as_echo "#define _GLIBCXX98_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 if test x"$ac_has_complex_h" = x"yes"; then
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
16742 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
16743 if test "${glibcxx_cv_c99_complex_cxx98+set}" = set; then :
16744 $as_echo_n "(cached) " >&6
16745 else
16747 if test x$gcc_no_link = xyes; then
16748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16749 /* end confdefs.h. */
16750 #include <complex.h>
16751 typedef __complex__ float float_type;
16752 typedef __complex__ double double_type;
16753 typedef __complex__ long double ld_type;
16754 volatile float_type tmpf;
16755 volatile double_type tmpd;
16756 volatile ld_type tmpld;
16757 volatile float f;
16758 volatile double d;
16759 volatile long double ld;
16761 main ()
16763 f = cabsf(tmpf);
16764 f = cargf(tmpf);
16765 tmpf = ccosf(tmpf);
16766 tmpf = ccoshf(tmpf);
16767 tmpf = cexpf(tmpf);
16768 tmpf = clogf(tmpf);
16769 tmpf = csinf(tmpf);
16770 tmpf = csinhf(tmpf);
16771 tmpf = csqrtf(tmpf);
16772 tmpf = ctanf(tmpf);
16773 tmpf = ctanhf(tmpf);
16774 tmpf = cpowf(tmpf, tmpf);
16775 tmpf = cprojf(tmpf);
16776 d = cabs(tmpd);
16777 d = carg(tmpd);
16778 tmpd = ccos(tmpd);
16779 tmpd = ccosh(tmpd);
16780 tmpd = cexp(tmpd);
16781 tmpd = clog(tmpd);
16782 tmpd = csin(tmpd);
16783 tmpd = csinh(tmpd);
16784 tmpd = csqrt(tmpd);
16785 tmpd = ctan(tmpd);
16786 tmpd = ctanh(tmpd);
16787 tmpd = cpow(tmpd, tmpd);
16788 tmpd = cproj(tmpd);
16789 ld = cabsl(tmpld);
16790 ld = cargl(tmpld);
16791 tmpld = ccosl(tmpld);
16792 tmpld = ccoshl(tmpld);
16793 tmpld = cexpl(tmpld);
16794 tmpld = clogl(tmpld);
16795 tmpld = csinl(tmpld);
16796 tmpld = csinhl(tmpld);
16797 tmpld = csqrtl(tmpld);
16798 tmpld = ctanl(tmpld);
16799 tmpld = ctanhl(tmpld);
16800 tmpld = cpowl(tmpld, tmpld);
16801 tmpld = cprojl(tmpld);
16804 return 0;
16806 _ACEOF
16807 if ac_fn_cxx_try_compile "$LINENO"; then :
16808 glibcxx_cv_c99_complex_cxx98=yes
16809 else
16810 glibcxx_cv_c99_complex_cxx98=no
16812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16813 else
16814 if test x$gcc_no_link = xyes; then
16815 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16818 /* end confdefs.h. */
16819 #include <complex.h>
16820 typedef __complex__ float float_type;
16821 typedef __complex__ double double_type;
16822 typedef __complex__ long double ld_type;
16823 volatile float_type tmpf;
16824 volatile double_type tmpd;
16825 volatile ld_type tmpld;
16826 volatile float f;
16827 volatile double d;
16828 volatile long double ld;
16830 main ()
16832 f = cabsf(tmpf);
16833 f = cargf(tmpf);
16834 tmpf = ccosf(tmpf);
16835 tmpf = ccoshf(tmpf);
16836 tmpf = cexpf(tmpf);
16837 tmpf = clogf(tmpf);
16838 tmpf = csinf(tmpf);
16839 tmpf = csinhf(tmpf);
16840 tmpf = csqrtf(tmpf);
16841 tmpf = ctanf(tmpf);
16842 tmpf = ctanhf(tmpf);
16843 tmpf = cpowf(tmpf, tmpf);
16844 tmpf = cprojf(tmpf);
16845 d = cabs(tmpd);
16846 d = carg(tmpd);
16847 tmpd = ccos(tmpd);
16848 tmpd = ccosh(tmpd);
16849 tmpd = cexp(tmpd);
16850 tmpd = clog(tmpd);
16851 tmpd = csin(tmpd);
16852 tmpd = csinh(tmpd);
16853 tmpd = csqrt(tmpd);
16854 tmpd = ctan(tmpd);
16855 tmpd = ctanh(tmpd);
16856 tmpd = cpow(tmpd, tmpd);
16857 tmpd = cproj(tmpd);
16858 ld = cabsl(tmpld);
16859 ld = cargl(tmpld);
16860 tmpld = ccosl(tmpld);
16861 tmpld = ccoshl(tmpld);
16862 tmpld = cexpl(tmpld);
16863 tmpld = clogl(tmpld);
16864 tmpld = csinl(tmpld);
16865 tmpld = csinhl(tmpld);
16866 tmpld = csqrtl(tmpld);
16867 tmpld = ctanl(tmpld);
16868 tmpld = ctanhl(tmpld);
16869 tmpld = cpowl(tmpld, tmpld);
16870 tmpld = cprojl(tmpld);
16873 return 0;
16875 _ACEOF
16876 if ac_fn_cxx_try_link "$LINENO"; then :
16877 glibcxx_cv_c99_complex_cxx98=yes
16878 else
16879 glibcxx_cv_c99_complex_cxx98=no
16881 rm -f core conftest.err conftest.$ac_objext \
16882 conftest$ac_exeext conftest.$ac_ext
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
16889 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
16890 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
16892 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
16896 # Check for the existence in <stdio.h> of vscanf, et. al.
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
16898 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
16899 if test "${glibcxx_cv_c99_stdio_cxx98+set}" = set; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16903 if test x$gcc_no_link = xyes; then
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 #include <stdio.h>
16907 #include <stdarg.h>
16908 void foo(char* fmt, ...)
16910 va_list args; va_start(args, fmt);
16911 vfscanf(stderr, "%i", args);
16912 vscanf("%i", args);
16913 vsnprintf(fmt, 0, "%i", args);
16914 vsscanf(fmt, "%i", args);
16915 snprintf(fmt, 0, "%i");
16918 main ()
16922 return 0;
16924 _ACEOF
16925 if ac_fn_cxx_try_compile "$LINENO"; then :
16926 glibcxx_cv_c99_stdio_cxx98=yes
16927 else
16928 glibcxx_cv_c99_stdio_cxx98=no
16930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16931 else
16932 if test x$gcc_no_link = xyes; then
16933 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16936 /* end confdefs.h. */
16937 #include <stdio.h>
16938 #include <stdarg.h>
16939 void foo(char* fmt, ...)
16941 va_list args; va_start(args, fmt);
16942 vfscanf(stderr, "%i", args);
16943 vscanf("%i", args);
16944 vsnprintf(fmt, 0, "%i", args);
16945 vsscanf(fmt, "%i", args);
16946 snprintf(fmt, 0, "%i");
16949 main ()
16953 return 0;
16955 _ACEOF
16956 if ac_fn_cxx_try_link "$LINENO"; then :
16957 glibcxx_cv_c99_stdio_cxx98=yes
16958 else
16959 glibcxx_cv_c99_stdio_cxx98=no
16961 rm -f core conftest.err conftest.$ac_objext \
16962 conftest$ac_exeext conftest.$ac_ext
16967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
16968 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
16969 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
16971 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
16975 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
16976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
16977 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
16978 if test "${glibcxx_cv_c99_stdlib_cxx98+set}" = set; then :
16979 $as_echo_n "(cached) " >&6
16980 else
16982 if test x$gcc_no_link = xyes; then
16983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16984 /* end confdefs.h. */
16985 #include <stdlib.h>
16986 volatile float f;
16987 volatile long double ld;
16988 volatile unsigned long long ll;
16989 lldiv_t mydivt;
16991 main ()
16993 char* tmp;
16994 f = strtof("gnu", &tmp);
16995 ld = strtold("gnu", &tmp);
16996 ll = strtoll("gnu", &tmp, 10);
16997 ll = strtoull("gnu", &tmp, 10);
16998 ll = llabs(10);
16999 mydivt = lldiv(10,1);
17000 ll = mydivt.quot;
17001 ll = mydivt.rem;
17002 ll = atoll("10");
17003 _Exit(0);
17006 return 0;
17008 _ACEOF
17009 if ac_fn_cxx_try_compile "$LINENO"; then :
17010 glibcxx_cv_c99_stdlib_cxx98=yes
17011 else
17012 glibcxx_cv_c99_stdlib_cxx98=no
17014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17015 else
17016 if test x$gcc_no_link = xyes; then
17017 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17021 #include <stdlib.h>
17022 volatile float f;
17023 volatile long double ld;
17024 volatile unsigned long long ll;
17025 lldiv_t mydivt;
17027 main ()
17029 char* tmp;
17030 f = strtof("gnu", &tmp);
17031 ld = strtold("gnu", &tmp);
17032 ll = strtoll("gnu", &tmp, 10);
17033 ll = strtoull("gnu", &tmp, 10);
17034 ll = llabs(10);
17035 mydivt = lldiv(10,1);
17036 ll = mydivt.quot;
17037 ll = mydivt.rem;
17038 ll = atoll("10");
17039 _Exit(0);
17042 return 0;
17044 _ACEOF
17045 if ac_fn_cxx_try_link "$LINENO"; then :
17046 glibcxx_cv_c99_stdlib_cxx98=yes
17047 else
17048 glibcxx_cv_c99_stdlib_cxx98=no
17050 rm -f core conftest.err conftest.$ac_objext \
17051 conftest$ac_exeext conftest.$ac_ext
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17057 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17058 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17060 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17064 # Check for the existence in <wchar.h> of wcstold, etc.
17065 if test x"$ac_has_wchar_h" = xyes &&
17066 test x"$ac_has_wctype_h" = xyes; then
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17068 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17069 if test "${glibcxx_cv_c99_wchar_cxx98+set}" = set; then :
17070 $as_echo_n "(cached) " >&6
17071 else
17073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17074 /* end confdefs.h. */
17075 #include <wchar.h>
17076 namespace test
17078 using ::wcstold;
17079 using ::wcstoll;
17080 using ::wcstoull;
17084 main ()
17088 return 0;
17090 _ACEOF
17091 if ac_fn_cxx_try_compile "$LINENO"; then :
17092 glibcxx_cv_c99_wchar_cxx98=yes
17093 else
17094 glibcxx_cv_c99_wchar_cxx98=no
17096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17101 # Checks for wide character functions that may not be present.
17102 # Injection of these is wrapped with guard macros.
17103 # NB: only put functions here, instead of immediately above, if
17104 # absolutely necessary.
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 #include <wchar.h>
17108 namespace test { using ::vfwscanf; }
17110 main ()
17114 return 0;
17116 _ACEOF
17117 if ac_fn_cxx_try_compile "$LINENO"; then :
17119 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17125 /* end confdefs.h. */
17126 #include <wchar.h>
17127 namespace test { using ::vswscanf; }
17129 main ()
17133 return 0;
17135 _ACEOF
17136 if ac_fn_cxx_try_compile "$LINENO"; then :
17138 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17144 /* end confdefs.h. */
17145 #include <wchar.h>
17146 namespace test { using ::vwscanf; }
17148 main ()
17152 return 0;
17154 _ACEOF
17155 if ac_fn_cxx_try_compile "$LINENO"; then :
17157 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17163 /* end confdefs.h. */
17164 #include <wchar.h>
17165 namespace test { using ::wcstof; }
17167 main ()
17171 return 0;
17173 _ACEOF
17174 if ac_fn_cxx_try_compile "$LINENO"; then :
17176 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 #include <wctype.h>
17185 main ()
17187 wint_t t; int i = iswblank(t);
17189 return 0;
17191 _ACEOF
17192 if ac_fn_cxx_try_compile "$LINENO"; then :
17194 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17200 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17201 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17203 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17208 # Option parsed, now set things appropriately.
17209 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17210 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17211 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17212 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17213 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17214 enable_c99=no;
17215 else
17217 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17221 gcc_no_link="$ac_save_gcc_no_link"
17222 LIBS="$ac_save_LIBS"
17223 CXXFLAGS="$ac_save_CXXFLAGS"
17224 ac_ext=c
17225 ac_cpp='$CPP $CPPFLAGS'
17226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17232 ac_ext=cpp
17233 ac_cpp='$CXXCPP $CPPFLAGS'
17234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17239 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17240 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17241 ac_save_CXXFLAGS="$CXXFLAGS"
17242 CXXFLAGS="$CXXFLAGS -std=c++11"
17243 ac_save_LIBS="$LIBS"
17244 ac_save_gcc_no_link="$gcc_no_link"
17246 if test x$gcc_no_link != xyes; then
17247 # Use -fno-exceptions to that the C driver can link these tests without
17248 # hitting undefined references to personality routines.
17249 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17251 $as_echo_n "checking for sin in -lm... " >&6; }
17252 if test "${ac_cv_lib_m_sin+set}" = set; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_check_lib_save_LIBS=$LIBS
17256 LIBS="-lm $LIBS"
17257 if test x$gcc_no_link = xyes; then
17258 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17261 /* end confdefs.h. */
17263 /* Override any GCC internal prototype to avoid an error.
17264 Use char because int might match the return type of a GCC
17265 builtin and then its argument prototype would still apply. */
17266 #ifdef __cplusplus
17267 extern "C"
17268 #endif
17269 char sin ();
17271 main ()
17273 return sin ();
17275 return 0;
17277 _ACEOF
17278 if ac_fn_cxx_try_link "$LINENO"; then :
17279 ac_cv_lib_m_sin=yes
17280 else
17281 ac_cv_lib_m_sin=no
17283 rm -f core conftest.err conftest.$ac_objext \
17284 conftest$ac_exeext conftest.$ac_ext
17285 LIBS=$ac_check_lib_save_LIBS
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17288 $as_echo "$ac_cv_lib_m_sin" >&6; }
17289 if test "x$ac_cv_lib_m_sin" = x""yes; then :
17290 LIBS="$LIBS -lm"
17291 else
17293 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17294 gcc_no_link=yes
17300 # Check for the existence of <math.h> functions used if C99 is enabled.
17301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17302 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17303 if test "${glibcxx_cv_c99_math_cxx11+set}" = set; then :
17304 $as_echo_n "(cached) " >&6
17305 else
17307 if test x$gcc_no_link = xyes; then
17308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17309 /* end confdefs.h. */
17310 #include <math.h>
17311 volatile double d1, d2;
17312 volatile int i;
17314 main ()
17316 i = fpclassify(d1);
17317 i = isfinite(d1);
17318 i = isinf(d1);
17319 i = isnan(d1);
17320 i = isnormal(d1);
17321 i = signbit(d1);
17322 i = isgreater(d1, d2);
17323 i = isgreaterequal(d1, d2);
17324 i = isless(d1, d2);
17325 i = islessequal(d1, d2);
17326 i = islessgreater(d1, d2);
17327 i = islessgreater(d1, d2);
17328 i = isunordered(d1, d2);
17331 return 0;
17333 _ACEOF
17334 if ac_fn_cxx_try_compile "$LINENO"; then :
17335 glibcxx_cv_c99_math_cxx11=yes
17336 else
17337 glibcxx_cv_c99_math_cxx11=no
17339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17340 else
17341 if test x$gcc_no_link = xyes; then
17342 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17345 /* end confdefs.h. */
17346 #include <math.h>
17347 volatile double d1, d2;
17348 volatile int i;
17350 main ()
17352 i = fpclassify(d1);
17353 i = isfinite(d1);
17354 i = isinf(d1);
17355 i = isnan(d1);
17356 i = isnormal(d1);
17357 i = signbit(d1);
17358 i = isgreater(d1, d2);
17359 i = isgreaterequal(d1, d2);
17360 i = isless(d1, d2);
17361 i = islessequal(d1, d2);
17362 i = islessgreater(d1, d2);
17363 i = islessgreater(d1, d2);
17364 i = isunordered(d1, d2);
17367 return 0;
17369 _ACEOF
17370 if ac_fn_cxx_try_link "$LINENO"; then :
17371 glibcxx_cv_c99_math_cxx11=yes
17372 else
17373 glibcxx_cv_c99_math_cxx11=no
17375 rm -f core conftest.err conftest.$ac_objext \
17376 conftest$ac_exeext conftest.$ac_ext
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17382 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17383 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17385 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17389 # Check for the existence of <complex.h> complex math functions.
17390 # This is necessary even though libstdc++ uses the builtin versions
17391 # of these functions, because if the builtin cannot be used, a reference
17392 # to the library function is emitted.
17393 for ac_header in tgmath.h
17394 do :
17395 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17396 if test "x$ac_cv_header_tgmath_h" = x""yes; then :
17397 cat >>confdefs.h <<_ACEOF
17398 #define HAVE_TGMATH_H 1
17399 _ACEOF
17400 ac_has_tgmath_h=yes
17401 else
17402 ac_has_tgmath_h=no
17405 done
17407 for ac_header in complex.h
17408 do :
17409 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17410 if test "x$ac_cv_header_complex_h" = x""yes; then :
17411 cat >>confdefs.h <<_ACEOF
17412 #define HAVE_COMPLEX_H 1
17413 _ACEOF
17414 ac_has_complex_h=yes
17415 else
17416 ac_has_complex_h=no
17419 done
17421 if test x"$ac_has_complex_h" = x"yes"; then
17422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17423 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17424 if test "${glibcxx_cv_c99_complex_cxx11+set}" = set; then :
17425 $as_echo_n "(cached) " >&6
17426 else
17428 if test x$gcc_no_link = xyes; then
17429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17430 /* end confdefs.h. */
17431 #include <complex.h>
17432 typedef __complex__ float float_type;
17433 typedef __complex__ double double_type;
17434 typedef __complex__ long double ld_type;
17435 volatile float_type tmpf;
17436 volatile double_type tmpd;
17437 volatile ld_type tmpld;
17438 volatile float f;
17439 volatile double d;
17440 volatile long double ld;
17442 main ()
17444 f = cabsf(tmpf);
17445 f = cargf(tmpf);
17446 tmpf = ccosf(tmpf);
17447 tmpf = ccoshf(tmpf);
17448 tmpf = cexpf(tmpf);
17449 tmpf = clogf(tmpf);
17450 tmpf = csinf(tmpf);
17451 tmpf = csinhf(tmpf);
17452 tmpf = csqrtf(tmpf);
17453 tmpf = ctanf(tmpf);
17454 tmpf = ctanhf(tmpf);
17455 tmpf = cpowf(tmpf, tmpf);
17456 tmpf = cprojf(tmpf);
17457 d = cabs(tmpd);
17458 d = carg(tmpd);
17459 tmpd = ccos(tmpd);
17460 tmpd = ccosh(tmpd);
17461 tmpd = cexp(tmpd);
17462 tmpd = clog(tmpd);
17463 tmpd = csin(tmpd);
17464 tmpd = csinh(tmpd);
17465 tmpd = csqrt(tmpd);
17466 tmpd = ctan(tmpd);
17467 tmpd = ctanh(tmpd);
17468 tmpd = cpow(tmpd, tmpd);
17469 tmpd = cproj(tmpd);
17470 ld = cabsl(tmpld);
17471 ld = cargl(tmpld);
17472 tmpld = ccosl(tmpld);
17473 tmpld = ccoshl(tmpld);
17474 tmpld = cexpl(tmpld);
17475 tmpld = clogl(tmpld);
17476 tmpld = csinl(tmpld);
17477 tmpld = csinhl(tmpld);
17478 tmpld = csqrtl(tmpld);
17479 tmpld = ctanl(tmpld);
17480 tmpld = ctanhl(tmpld);
17481 tmpld = cpowl(tmpld, tmpld);
17482 tmpld = cprojl(tmpld);
17485 return 0;
17487 _ACEOF
17488 if ac_fn_cxx_try_compile "$LINENO"; then :
17489 glibcxx_cv_c99_complex_cxx11=yes
17490 else
17491 glibcxx_cv_c99_complex_cxx11=no
17493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17494 else
17495 if test x$gcc_no_link = xyes; then
17496 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17499 /* end confdefs.h. */
17500 #include <complex.h>
17501 typedef __complex__ float float_type;
17502 typedef __complex__ double double_type;
17503 typedef __complex__ long double ld_type;
17504 volatile float_type tmpf;
17505 volatile double_type tmpd;
17506 volatile ld_type tmpld;
17507 volatile float f;
17508 volatile double d;
17509 volatile long double ld;
17511 main ()
17513 f = cabsf(tmpf);
17514 f = cargf(tmpf);
17515 tmpf = ccosf(tmpf);
17516 tmpf = ccoshf(tmpf);
17517 tmpf = cexpf(tmpf);
17518 tmpf = clogf(tmpf);
17519 tmpf = csinf(tmpf);
17520 tmpf = csinhf(tmpf);
17521 tmpf = csqrtf(tmpf);
17522 tmpf = ctanf(tmpf);
17523 tmpf = ctanhf(tmpf);
17524 tmpf = cpowf(tmpf, tmpf);
17525 tmpf = cprojf(tmpf);
17526 d = cabs(tmpd);
17527 d = carg(tmpd);
17528 tmpd = ccos(tmpd);
17529 tmpd = ccosh(tmpd);
17530 tmpd = cexp(tmpd);
17531 tmpd = clog(tmpd);
17532 tmpd = csin(tmpd);
17533 tmpd = csinh(tmpd);
17534 tmpd = csqrt(tmpd);
17535 tmpd = ctan(tmpd);
17536 tmpd = ctanh(tmpd);
17537 tmpd = cpow(tmpd, tmpd);
17538 tmpd = cproj(tmpd);
17539 ld = cabsl(tmpld);
17540 ld = cargl(tmpld);
17541 tmpld = ccosl(tmpld);
17542 tmpld = ccoshl(tmpld);
17543 tmpld = cexpl(tmpld);
17544 tmpld = clogl(tmpld);
17545 tmpld = csinl(tmpld);
17546 tmpld = csinhl(tmpld);
17547 tmpld = csqrtl(tmpld);
17548 tmpld = ctanl(tmpld);
17549 tmpld = ctanhl(tmpld);
17550 tmpld = cpowl(tmpld, tmpld);
17551 tmpld = cprojl(tmpld);
17554 return 0;
17556 _ACEOF
17557 if ac_fn_cxx_try_link "$LINENO"; then :
17558 glibcxx_cv_c99_complex_cxx11=yes
17559 else
17560 glibcxx_cv_c99_complex_cxx11=no
17562 rm -f core conftest.err conftest.$ac_objext \
17563 conftest$ac_exeext conftest.$ac_ext
17569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17570 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17571 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17573 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17577 # Check for the existence in <stdio.h> of vscanf, et. al.
17578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17579 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17580 if test "${glibcxx_cv_c99_stdio_cxx11+set}" = set; then :
17581 $as_echo_n "(cached) " >&6
17582 else
17584 if test x$gcc_no_link = xyes; then
17585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17586 /* end confdefs.h. */
17587 #include <stdio.h>
17588 #include <stdarg.h>
17589 void foo(char* fmt, ...)
17591 va_list args; va_start(args, fmt);
17592 vfscanf(stderr, "%i", args);
17593 vscanf("%i", args);
17594 vsnprintf(fmt, 0, "%i", args);
17595 vsscanf(fmt, "%i", args);
17596 snprintf(fmt, 0, "%i");
17599 main ()
17603 return 0;
17605 _ACEOF
17606 if ac_fn_cxx_try_compile "$LINENO"; then :
17607 glibcxx_cv_c99_stdio_cxx11=yes
17608 else
17609 glibcxx_cv_c99_stdio_cxx11=no
17611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17612 else
17613 if test x$gcc_no_link = xyes; then
17614 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17618 #include <stdio.h>
17619 #include <stdarg.h>
17620 void foo(char* fmt, ...)
17622 va_list args; va_start(args, fmt);
17623 vfscanf(stderr, "%i", args);
17624 vscanf("%i", args);
17625 vsnprintf(fmt, 0, "%i", args);
17626 vsscanf(fmt, "%i", args);
17627 snprintf(fmt, 0, "%i");
17630 main ()
17634 return 0;
17636 _ACEOF
17637 if ac_fn_cxx_try_link "$LINENO"; then :
17638 glibcxx_cv_c99_stdio_cxx11=yes
17639 else
17640 glibcxx_cv_c99_stdio_cxx11=no
17642 rm -f core conftest.err conftest.$ac_objext \
17643 conftest$ac_exeext conftest.$ac_ext
17648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17649 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17650 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17652 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17656 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17658 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17659 if test "${glibcxx_cv_c99_stdlib_cxx11+set}" = set; then :
17660 $as_echo_n "(cached) " >&6
17661 else
17663 if test x$gcc_no_link = xyes; then
17664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17665 /* end confdefs.h. */
17666 #include <stdlib.h>
17667 volatile float f;
17668 volatile long double ld;
17669 volatile unsigned long long ll;
17670 lldiv_t mydivt;
17672 main ()
17674 char* tmp;
17675 f = strtof("gnu", &tmp);
17676 ld = strtold("gnu", &tmp);
17677 ll = strtoll("gnu", &tmp, 10);
17678 ll = strtoull("gnu", &tmp, 10);
17679 ll = llabs(10);
17680 mydivt = lldiv(10,1);
17681 ll = mydivt.quot;
17682 ll = mydivt.rem;
17683 ll = atoll("10");
17684 _Exit(0);
17687 return 0;
17689 _ACEOF
17690 if ac_fn_cxx_try_compile "$LINENO"; then :
17691 glibcxx_cv_c99_stdlib_cxx11=yes
17692 else
17693 glibcxx_cv_c99_stdlib_cxx11=no
17695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17696 else
17697 if test x$gcc_no_link = xyes; then
17698 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17701 /* end confdefs.h. */
17702 #include <stdlib.h>
17703 volatile float f;
17704 volatile long double ld;
17705 volatile unsigned long long ll;
17706 lldiv_t mydivt;
17708 main ()
17710 char* tmp;
17711 f = strtof("gnu", &tmp);
17712 ld = strtold("gnu", &tmp);
17713 ll = strtoll("gnu", &tmp, 10);
17714 ll = strtoull("gnu", &tmp, 10);
17715 ll = llabs(10);
17716 mydivt = lldiv(10,1);
17717 ll = mydivt.quot;
17718 ll = mydivt.rem;
17719 ll = atoll("10");
17720 _Exit(0);
17723 return 0;
17725 _ACEOF
17726 if ac_fn_cxx_try_link "$LINENO"; then :
17727 glibcxx_cv_c99_stdlib_cxx11=yes
17728 else
17729 glibcxx_cv_c99_stdlib_cxx11=no
17731 rm -f core conftest.err conftest.$ac_objext \
17732 conftest$ac_exeext conftest.$ac_ext
17737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
17738 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
17739 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
17741 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
17745 # Check for the existence in <wchar.h> of wcstold, etc.
17746 if test x"$ac_has_wchar_h" = xyes &&
17747 test x"$ac_has_wctype_h" = xyes; then
17748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
17749 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
17750 if test "${glibcxx_cv_c99_wchar_cxx11+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 <wchar.h>
17757 namespace test
17759 using ::wcstold;
17760 using ::wcstoll;
17761 using ::wcstoull;
17765 main ()
17769 return 0;
17771 _ACEOF
17772 if ac_fn_cxx_try_compile "$LINENO"; then :
17773 glibcxx_cv_c99_wchar_cxx11=yes
17774 else
17775 glibcxx_cv_c99_wchar_cxx11=no
17777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782 # Checks for wide character functions that may not be present.
17783 # Injection of these is wrapped with guard macros.
17784 # NB: only put functions here, instead of immediately above, if
17785 # absolutely necessary.
17786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17787 /* end confdefs.h. */
17788 #include <wchar.h>
17789 namespace test { using ::vfwscanf; }
17791 main ()
17795 return 0;
17797 _ACEOF
17798 if ac_fn_cxx_try_compile "$LINENO"; then :
17800 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17806 /* end confdefs.h. */
17807 #include <wchar.h>
17808 namespace test { using ::vswscanf; }
17810 main ()
17814 return 0;
17816 _ACEOF
17817 if ac_fn_cxx_try_compile "$LINENO"; then :
17819 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17825 /* end confdefs.h. */
17826 #include <wchar.h>
17827 namespace test { using ::vwscanf; }
17829 main ()
17833 return 0;
17835 _ACEOF
17836 if ac_fn_cxx_try_compile "$LINENO"; then :
17838 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17844 /* end confdefs.h. */
17845 #include <wchar.h>
17846 namespace test { using ::wcstof; }
17848 main ()
17852 return 0;
17854 _ACEOF
17855 if ac_fn_cxx_try_compile "$LINENO"; then :
17857 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17863 /* end confdefs.h. */
17864 #include <wctype.h>
17866 main ()
17868 wint_t t; int i = iswblank(t);
17870 return 0;
17872 _ACEOF
17873 if ac_fn_cxx_try_compile "$LINENO"; then :
17875 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
17881 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
17882 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
17884 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
17889 gcc_no_link="$ac_save_gcc_no_link"
17890 LIBS="$ac_save_LIBS"
17891 CXXFLAGS="$ac_save_CXXFLAGS"
17892 ac_ext=c
17893 ac_cpp='$CPP $CPPFLAGS'
17894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
17901 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
17902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
17903 $as_echo "$enable_c99" >&6; }
17906 # Check whether --enable-concept-checks was given.
17907 if test "${enable_concept_checks+set}" = set; then :
17908 enableval=$enable_concept_checks;
17909 case "$enableval" in
17910 yes|no) ;;
17911 *) as_fn_error "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
17912 esac
17914 else
17915 enable_concept_checks=no
17919 if test $enable_concept_checks = yes; then
17921 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
17926 # Check whether --enable-libstdcxx-debug-flags was given.
17927 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
17928 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
17929 xno | x) enable_libstdcxx_debug_flags= ;;
17930 x-*) ;;
17931 *) as_fn_error "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17932 esac
17933 else
17934 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0"
17939 # Option parsed, now set things appropriately
17940 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
17943 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
17944 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
17947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
17948 $as_echo_n "checking for additional debug build... " >&6; }
17949 # Check whether --enable-libstdcxx-debug was given.
17950 if test "${enable_libstdcxx_debug+set}" = set; then :
17951 enableval=$enable_libstdcxx_debug;
17952 case "$enableval" in
17953 yes|no) ;;
17954 *) as_fn_error "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
17955 esac
17957 else
17958 enable_libstdcxx_debug=no
17962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
17963 $as_echo "$enable_libstdcxx_debug" >&6; }
17968 enable_parallel=no;
17970 # See if configured libgomp/omp.h exists. (libgomp may be in
17971 # noconfigdirs but not explicitly disabled.)
17972 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
17973 enable_parallel=yes;
17974 else
17975 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
17976 $as_echo "$as_me: target-libgomp not built" >&6;}
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
17980 $as_echo_n "checking for parallel mode support... " >&6; }
17981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
17982 $as_echo "$enable_parallel" >&6; }
17984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
17985 $as_echo_n "checking for extra compiler flags for building... " >&6; }
17986 # Check whether --enable-cxx-flags was given.
17987 if test "${enable_cxx_flags+set}" = set; then :
17988 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
17989 xno | x) enable_cxx_flags= ;;
17990 x-*) ;;
17991 *) as_fn_error "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
17992 esac
17993 else
17994 enable_cxx_flags=
17999 # Run through flags (either default or command-line) and set anything
18000 # extra (e.g., #defines) that must accompany particular g++ options.
18001 if test -n "$enable_cxx_flags"; then
18002 for f in $enable_cxx_flags; do
18003 case "$f" in
18004 -fhonor-std) ;;
18005 -*) ;;
18006 *) # and we're trying to pass /what/ exactly?
18007 as_fn_error "compiler flags start with a -" "$LINENO" 5 ;;
18008 esac
18009 done
18012 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18014 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18018 # Check whether --enable-fully-dynamic-string was given.
18019 if test "${enable_fully_dynamic_string+set}" = set; then :
18020 enableval=$enable_fully_dynamic_string;
18021 case "$enableval" in
18022 yes|no) ;;
18023 *) as_fn_error "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18024 esac
18026 else
18027 enable_fully_dynamic_string=no
18031 if test $enable_fully_dynamic_string = yes; then
18032 enable_fully_dynamic_string_def=1
18033 else
18034 enable_fully_dynamic_string_def=0
18037 cat >>confdefs.h <<_ACEOF
18038 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18039 _ACEOF
18044 # Check whether --enable-extern-template was given.
18045 if test "${enable_extern_template+set}" = set; then :
18046 enableval=$enable_extern_template;
18047 case "$enableval" in
18048 yes|no) ;;
18049 *) as_fn_error "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18050 esac
18052 else
18053 enable_extern_template=yes
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18059 $as_echo_n "checking for extern template support... " >&6; }
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18061 $as_echo "$enable_extern_template" >&6; }
18067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18068 $as_echo_n "checking for custom python install directory... " >&6; }
18070 # Check whether --with-python-dir was given.
18071 if test "${with_python_dir+set}" = set; then :
18072 withval=$with_python_dir; with_python_dir=$withval
18073 else
18074 with_python_dir="no"
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18078 $as_echo "${with_python_dir}" >&6; }
18080 # Needed for installing Python modules during make install.
18081 python_mod_dir="${with_python_dir}"
18086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18087 $as_echo_n "checking for -Werror... " >&6; }
18088 # Check whether --enable-werror was given.
18089 if test "${enable_werror+set}" = set; then :
18090 enableval=$enable_werror;
18091 case "$enableval" in
18092 yes|no) ;;
18093 *) as_fn_error "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18094 esac
18096 else
18097 enable_werror=yes
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18102 $as_echo "$enable_werror" >&6; }
18107 # Check whether --enable-vtable-verify was given.
18108 if test "${enable_vtable_verify+set}" = set; then :
18109 enableval=$enable_vtable_verify;
18110 case "$enableval" in
18111 yes|no) ;;
18112 *) as_fn_error "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18113 esac
18115 else
18116 enable_vtable_verify=no
18121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18122 $as_echo_n "checking for vtable verify support... " >&6; }
18123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18124 $as_echo "$enable_vtable_verify" >&6; }
18126 vtv_cygmin=no
18127 if test $enable_vtable_verify = yes; then
18128 case ${target_os} in
18129 cygwin*|mingw32*)
18130 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18131 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18132 vtv_cygmin=yes
18134 darwin*)
18135 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18136 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18138 solaris2*)
18139 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18140 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18143 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18144 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18146 esac
18147 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18148 else
18149 VTV_CXXFLAGS=
18150 VTV_PCH_CXXFLAGS=
18151 VTV_CXXLINKFLAGS=
18157 if test x$vtv_cygmin = xyes; then
18158 VTV_CYGMIN_TRUE=
18159 VTV_CYGMIN_FALSE='#'
18160 else
18161 VTV_CYGMIN_TRUE='#'
18162 VTV_CYGMIN_FALSE=
18168 # Checks for operating systems support that doesn't require linking.
18172 ac_ext=cpp
18173 ac_cpp='$CXXCPP $CPPFLAGS'
18174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18180 $as_echo_n "checking for gets declaration... " >&6; }
18181 if test "${glibcxx_cv_gets+set}" = set; then :
18182 $as_echo_n "(cached) " >&6
18183 else
18185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18186 /* end confdefs.h. */
18187 #include <stdio.h>
18188 namespace test
18190 using ::gets;
18193 _ACEOF
18194 if ac_fn_cxx_try_compile "$LINENO"; then :
18195 glibcxx_cv_gets=yes
18196 else
18197 glibcxx_cv_gets=no
18200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18204 if test $glibcxx_cv_gets = yes; then
18206 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18210 $as_echo "$glibcxx_cv_gets" >&6; }
18212 ac_ext=c
18213 ac_cpp='$CPP $CPPFLAGS'
18214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18222 ac_ext=cpp
18223 ac_cpp='$CXXCPP $CPPFLAGS'
18224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18228 ac_save_CXXFLAGS="$CXXFLAGS"
18229 CXXFLAGS="$CXXFLAGS -std=c++11"
18231 case "$host" in
18232 *-*-solaris2.*)
18233 # Solaris 12 introduced the C++11 <math.h> overloads. A backport to
18234 # a Solaris 11.3 SRU is likely, maybe even a Solaris 10 patch.
18235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> overloads" >&5
18236 $as_echo_n "checking for C++11 <math.h> overloads... " >&6; }
18237 if test "${glibcxx_cv_math11_overload+set}" = set; then :
18238 $as_echo_n "(cached) " >&6
18239 else
18241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18242 /* end confdefs.h. */
18243 #include <math.h>
18244 #undef isfinite
18245 namespace std {
18246 inline bool isfinite(float __x)
18247 { return __builtin_isfinite(__x); }
18250 _ACEOF
18251 if ac_fn_cxx_try_compile "$LINENO"; then :
18252 glibcxx_cv_math11_overload=no
18253 else
18254 glibcxx_cv_math11_overload=yes
18257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18261 # autoheader cannot handle indented templates.
18264 if test $glibcxx_cv_math11_overload = yes; then
18265 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO 1" >>confdefs.h
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_overload" >&5
18269 $as_echo "$glibcxx_cv_math11_overload" >&6; }
18272 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18273 # functions (instead of or as well as the C99 generic macros) then we
18274 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18275 # and must use the ones from <math.h> instead.
18276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18277 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18278 if test "${glibcxx_cv_obsolete_isinf+set}" = set; then :
18279 $as_echo_n "(cached) " >&6
18280 else
18282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18283 /* end confdefs.h. */
18284 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18285 #include <math.h>
18286 #undef isinf
18287 namespace std {
18288 using ::isinf;
18289 bool isinf(float);
18290 bool isinf(long double);
18292 using std::isinf;
18293 bool b = isinf(0.0);
18295 _ACEOF
18296 if ac_fn_cxx_try_compile "$LINENO"; then :
18297 glibcxx_cv_obsolete_isinf=yes
18298 else
18299 glibcxx_cv_obsolete_isinf=no
18302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18306 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18307 if test $glibcxx_cv_obsolete_isinf = yes; then
18309 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18314 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18315 if test "${glibcxx_cv_obsolete_isnan+set}" = set; then :
18316 $as_echo_n "(cached) " >&6
18317 else
18319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18320 /* end confdefs.h. */
18321 #include <math.h>
18322 #undef isnan
18323 namespace std {
18324 using ::isnan;
18325 bool isnan(float);
18326 bool isnan(long double);
18328 using std::isnan;
18329 bool b = isnan(0.0);
18331 _ACEOF
18332 if ac_fn_cxx_try_compile "$LINENO"; then :
18333 glibcxx_cv_obsolete_isnan=yes
18334 else
18335 glibcxx_cv_obsolete_isnan=no
18338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18342 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18343 if test $glibcxx_cv_obsolete_isnan = yes; then
18345 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18349 esac
18351 CXXFLAGS="$ac_save_CXXFLAGS"
18352 ac_ext=c
18353 ac_cpp='$CPP $CPPFLAGS'
18354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18362 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18363 if test "${glibcxx_cv_system_error1+set}" = set; then :
18364 $as_echo_n "(cached) " >&6
18365 else
18367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18369 #include <errno.h>
18371 main ()
18373 int i = EOWNERDEAD;
18375 return 0;
18377 _ACEOF
18378 if ac_fn_c_try_compile "$LINENO"; then :
18379 glibcxx_cv_system_error1=yes
18380 else
18381 glibcxx_cv_system_error1=no
18383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18388 $as_echo "$glibcxx_cv_system_error1" >&6; }
18389 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18391 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18395 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18396 if test "${glibcxx_cv_system_error2+set}" = set; then :
18397 $as_echo_n "(cached) " >&6
18398 else
18400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18401 /* end confdefs.h. */
18402 #include <errno.h>
18404 main ()
18406 int i = ENOTRECOVERABLE;
18408 return 0;
18410 _ACEOF
18411 if ac_fn_c_try_compile "$LINENO"; then :
18412 glibcxx_cv_system_error2=yes
18413 else
18414 glibcxx_cv_system_error2=no
18416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18421 $as_echo "$glibcxx_cv_system_error2" >&6; }
18422 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18424 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18428 $as_echo_n "checking for ENOLINK... " >&6; }
18429 if test "${glibcxx_cv_system_error3+set}" = set; then :
18430 $as_echo_n "(cached) " >&6
18431 else
18433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18434 /* end confdefs.h. */
18435 #include <errno.h>
18437 main ()
18439 int i = ENOLINK;
18441 return 0;
18443 _ACEOF
18444 if ac_fn_c_try_compile "$LINENO"; then :
18445 glibcxx_cv_system_error3=yes
18446 else
18447 glibcxx_cv_system_error3=no
18449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18454 $as_echo "$glibcxx_cv_system_error3" >&6; }
18455 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18457 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18461 $as_echo_n "checking for EPROTO... " >&6; }
18462 if test "${glibcxx_cv_system_error4+set}" = set; then :
18463 $as_echo_n "(cached) " >&6
18464 else
18466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18467 /* end confdefs.h. */
18468 #include <errno.h>
18470 main ()
18472 int i = EPROTO;
18474 return 0;
18476 _ACEOF
18477 if ac_fn_c_try_compile "$LINENO"; then :
18478 glibcxx_cv_system_error4=yes
18479 else
18480 glibcxx_cv_system_error4=no
18482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18487 $as_echo "$glibcxx_cv_system_error4" >&6; }
18488 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18490 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18494 $as_echo_n "checking for ENODATA... " >&6; }
18495 if test "${glibcxx_cv_system_error5+set}" = set; then :
18496 $as_echo_n "(cached) " >&6
18497 else
18499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18500 /* end confdefs.h. */
18501 #include <errno.h>
18503 main ()
18505 int i = ENODATA;
18507 return 0;
18509 _ACEOF
18510 if ac_fn_c_try_compile "$LINENO"; then :
18511 glibcxx_cv_system_error5=yes
18512 else
18513 glibcxx_cv_system_error5=no
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18520 $as_echo "$glibcxx_cv_system_error5" >&6; }
18521 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18523 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18527 $as_echo_n "checking for ENOSR... " >&6; }
18528 if test "${glibcxx_cv_system_error6+set}" = set; then :
18529 $as_echo_n "(cached) " >&6
18530 else
18532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18533 /* end confdefs.h. */
18534 #include <errno.h>
18536 main ()
18538 int i = ENOSR;
18540 return 0;
18542 _ACEOF
18543 if ac_fn_c_try_compile "$LINENO"; then :
18544 glibcxx_cv_system_error6=yes
18545 else
18546 glibcxx_cv_system_error6=no
18548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18553 $as_echo "$glibcxx_cv_system_error6" >&6; }
18554 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18556 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18560 $as_echo_n "checking for ENOSTR... " >&6; }
18561 if test "${glibcxx_cv_system_error7+set}" = set; then :
18562 $as_echo_n "(cached) " >&6
18563 else
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18567 #include <errno.h>
18569 main ()
18571 int i = ENOSTR;
18573 return 0;
18575 _ACEOF
18576 if ac_fn_c_try_compile "$LINENO"; then :
18577 glibcxx_cv_system_error7=yes
18578 else
18579 glibcxx_cv_system_error7=no
18581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18586 $as_echo "$glibcxx_cv_system_error7" >&6; }
18587 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18589 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18593 $as_echo_n "checking for ETIME... " >&6; }
18594 if test "${glibcxx_cv_system_error8+set}" = set; then :
18595 $as_echo_n "(cached) " >&6
18596 else
18598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18599 /* end confdefs.h. */
18600 #include <errno.h>
18602 main ()
18604 int i = ETIME;
18606 return 0;
18608 _ACEOF
18609 if ac_fn_c_try_compile "$LINENO"; then :
18610 glibcxx_cv_system_error8=yes
18611 else
18612 glibcxx_cv_system_error8=no
18614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18619 $as_echo "$glibcxx_cv_system_error8" >&6; }
18620 if test x"$glibcxx_cv_system_error8" = x"yes"; then
18622 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
18626 $as_echo_n "checking for EBADMSG... " >&6; }
18627 if test "${glibcxx_cv_system_error9+set}" = set; then :
18628 $as_echo_n "(cached) " >&6
18629 else
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 #include <errno.h>
18635 main ()
18637 int i = EBADMSG;
18639 return 0;
18641 _ACEOF
18642 if ac_fn_c_try_compile "$LINENO"; then :
18643 glibcxx_cv_system_error9=yes
18644 else
18645 glibcxx_cv_system_error9=no
18647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
18652 $as_echo "$glibcxx_cv_system_error9" >&6; }
18653 if test x"$glibcxx_cv_system_error9" = x"yes"; then
18655 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
18659 $as_echo_n "checking for ECANCELED... " >&6; }
18660 if test "${glibcxx_cv_system_error10+set}" = set; then :
18661 $as_echo_n "(cached) " >&6
18662 else
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 #include <errno.h>
18668 main ()
18670 int i = ECANCELED;
18672 return 0;
18674 _ACEOF
18675 if ac_fn_c_try_compile "$LINENO"; then :
18676 glibcxx_cv_system_error10=yes
18677 else
18678 glibcxx_cv_system_error10=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
18685 $as_echo "$glibcxx_cv_system_error10" >&6; }
18686 if test x"$glibcxx_cv_system_error10" = x"yes"; then
18688 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
18692 $as_echo_n "checking for EOVERFLOW... " >&6; }
18693 if test "${glibcxx_cv_system_error11+set}" = set; then :
18694 $as_echo_n "(cached) " >&6
18695 else
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 #include <errno.h>
18701 main ()
18703 int i = EOVERFLOW;
18705 return 0;
18707 _ACEOF
18708 if ac_fn_c_try_compile "$LINENO"; then :
18709 glibcxx_cv_system_error11=yes
18710 else
18711 glibcxx_cv_system_error11=no
18713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
18718 $as_echo "$glibcxx_cv_system_error11" >&6; }
18719 if test x"$glibcxx_cv_system_error11" = x"yes"; then
18721 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
18724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
18725 $as_echo_n "checking for ENOTSUP... " >&6; }
18726 if test "${glibcxx_cv_system_error12+set}" = set; then :
18727 $as_echo_n "(cached) " >&6
18728 else
18730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18731 /* end confdefs.h. */
18732 #include <errno.h>
18734 main ()
18736 int i = ENOTSUP;
18738 return 0;
18740 _ACEOF
18741 if ac_fn_c_try_compile "$LINENO"; then :
18742 glibcxx_cv_system_error12=yes
18743 else
18744 glibcxx_cv_system_error12=no
18746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
18751 $as_echo "$glibcxx_cv_system_error12" >&6; }
18752 if test x"$glibcxx_cv_system_error12" = x"yes"; then
18754 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
18757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
18758 $as_echo_n "checking for EIDRM... " >&6; }
18759 if test "${glibcxx_cv_system_error13+set}" = set; then :
18760 $as_echo_n "(cached) " >&6
18761 else
18763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18764 /* end confdefs.h. */
18765 #include <errno.h>
18767 main ()
18769 int i = EIDRM;
18771 return 0;
18773 _ACEOF
18774 if ac_fn_c_try_compile "$LINENO"; then :
18775 glibcxx_cv_system_error13=yes
18776 else
18777 glibcxx_cv_system_error13=no
18779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
18784 $as_echo "$glibcxx_cv_system_error13" >&6; }
18785 if test x"$glibcxx_cv_system_error13" = x"yes"; then
18787 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
18790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
18791 $as_echo_n "checking for ETXTBSY... " >&6; }
18792 if test "${glibcxx_cv_system_error14+set}" = set; then :
18793 $as_echo_n "(cached) " >&6
18794 else
18796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18797 /* end confdefs.h. */
18798 #include <errno.h>
18800 main ()
18802 int i = ETXTBSY;
18804 return 0;
18806 _ACEOF
18807 if ac_fn_c_try_compile "$LINENO"; then :
18808 glibcxx_cv_system_error14=yes
18809 else
18810 glibcxx_cv_system_error14=no
18812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
18817 $as_echo "$glibcxx_cv_system_error14" >&6; }
18818 if test x"$glibcxx_cv_system_error14" = x"yes"; then
18820 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
18823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
18824 $as_echo_n "checking for ECHILD... " >&6; }
18825 if test "${glibcxx_cv_system_error15+set}" = set; then :
18826 $as_echo_n "(cached) " >&6
18827 else
18829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18830 /* end confdefs.h. */
18831 #include <errno.h>
18833 main ()
18835 int i = ECHILD;
18837 return 0;
18839 _ACEOF
18840 if ac_fn_c_try_compile "$LINENO"; then :
18841 glibcxx_cv_system_error15=yes
18842 else
18843 glibcxx_cv_system_error15=no
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
18850 $as_echo "$glibcxx_cv_system_error15" >&6; }
18851 if test x"$glibcxx_cv_system_error15" = x"yes"; then
18853 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
18856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
18857 $as_echo_n "checking for ENOSPC... " >&6; }
18858 if test "${glibcxx_cv_system_error16+set}" = set; then :
18859 $as_echo_n "(cached) " >&6
18860 else
18862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18863 /* end confdefs.h. */
18864 #include <errno.h>
18866 main ()
18868 int i = ENOSPC;
18870 return 0;
18872 _ACEOF
18873 if ac_fn_c_try_compile "$LINENO"; then :
18874 glibcxx_cv_system_error16=yes
18875 else
18876 glibcxx_cv_system_error16=no
18878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
18883 $as_echo "$glibcxx_cv_system_error16" >&6; }
18884 if test x"$glibcxx_cv_system_error16" = x"yes"; then
18886 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
18889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
18890 $as_echo_n "checking for EPERM... " >&6; }
18891 if test "${glibcxx_cv_system_error17+set}" = set; then :
18892 $as_echo_n "(cached) " >&6
18893 else
18895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18896 /* end confdefs.h. */
18897 #include <errno.h>
18899 main ()
18901 int i = EPERM;
18903 return 0;
18905 _ACEOF
18906 if ac_fn_c_try_compile "$LINENO"; then :
18907 glibcxx_cv_system_error17=yes
18908 else
18909 glibcxx_cv_system_error17=no
18911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
18916 $as_echo "$glibcxx_cv_system_error17" >&6; }
18917 if test x"$glibcxx_cv_system_error17" = x"yes"; then
18919 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
18922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
18923 $as_echo_n "checking for ETIMEDOUT... " >&6; }
18924 if test "${glibcxx_cv_system_error18+set}" = set; then :
18925 $as_echo_n "(cached) " >&6
18926 else
18928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18929 /* end confdefs.h. */
18930 #include <errno.h>
18932 main ()
18934 int i = ETIMEDOUT;
18936 return 0;
18938 _ACEOF
18939 if ac_fn_c_try_compile "$LINENO"; then :
18940 glibcxx_cv_system_error18=yes
18941 else
18942 glibcxx_cv_system_error18=no
18944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
18949 $as_echo "$glibcxx_cv_system_error18" >&6; }
18950 if test x"$glibcxx_cv_system_error18" = x"yes"; then
18952 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
18955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
18956 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
18957 if test "${glibcxx_cv_system_error19+set}" = set; then :
18958 $as_echo_n "(cached) " >&6
18959 else
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 #include <errno.h>
18965 main ()
18967 int i = EWOULDBLOCK;
18969 return 0;
18971 _ACEOF
18972 if ac_fn_c_try_compile "$LINENO"; then :
18973 glibcxx_cv_system_error19=yes
18974 else
18975 glibcxx_cv_system_error19=no
18977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
18982 $as_echo "$glibcxx_cv_system_error19" >&6; }
18983 if test x"$glibcxx_cv_system_error19" = x"yes"; then
18985 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
18992 # Test uchar.h.
18993 for ac_header in uchar.h
18994 do :
18995 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
18996 if test "x$ac_cv_header_uchar_h" = x""yes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_UCHAR_H 1
18999 _ACEOF
19000 ac_has_uchar_h=yes
19001 else
19002 ac_has_uchar_h=no
19005 done
19009 ac_ext=cpp
19010 ac_cpp='$CXXCPP $CPPFLAGS'
19011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19015 ac_save_CXXFLAGS="$CXXFLAGS"
19016 CXXFLAGS="$CXXFLAGS -std=c++11"
19018 if test x"$ac_has_uchar_h" = x"yes"; then
19019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19020 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19022 /* end confdefs.h. */
19023 #include <uchar.h>
19024 #ifdef __STDC_UTF_16__
19025 long i = __STDC_UTF_16__;
19026 #endif
19027 #ifdef __STDC_UTF_32__
19028 long j = __STDC_UTF_32__;
19029 #endif
19030 namespace test
19032 using ::c16rtomb;
19033 using ::c32rtomb;
19034 using ::mbrtoc16;
19035 using ::mbrtoc32;
19039 main ()
19043 return 0;
19045 _ACEOF
19046 if ac_fn_cxx_try_compile "$LINENO"; then :
19047 ac_c11_uchar_cxx11=yes
19048 else
19049 ac_c11_uchar_cxx11=no
19051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19052 else
19053 ac_c11_uchar_cxx11=no
19055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19056 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19057 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19059 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19063 CXXFLAGS="$ac_save_CXXFLAGS"
19064 ac_ext=c
19065 ac_cpp='$CPP $CPPFLAGS'
19066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19072 # For the streamoff typedef.
19076 ac_ext=cpp
19077 ac_cpp='$CXXCPP $CPPFLAGS'
19078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19084 $as_echo_n "checking for int64_t... " >&6; }
19085 if test "${glibcxx_cv_INT64_T+set}" = set; then :
19086 $as_echo_n "(cached) " >&6
19087 else
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 #include <stdint.h>
19093 main ()
19095 int64_t var;
19097 return 0;
19099 _ACEOF
19100 if ac_fn_cxx_try_compile "$LINENO"; then :
19101 glibcxx_cv_INT64_T=yes
19102 else
19103 glibcxx_cv_INT64_T=no
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19110 if test $glibcxx_cv_INT64_T = yes; then
19112 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19115 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19118 $as_echo_n "checking for int64_t as long... " >&6; }
19119 if test "${glibcxx_cv_int64_t_long+set}" = set; then :
19120 $as_echo_n "(cached) " >&6
19121 else
19123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19124 /* end confdefs.h. */
19125 #include <stdint.h>
19126 template<typename, typename> struct same { enum { value = -1 }; };
19127 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19128 int array[same<int64_t, long>::value];
19130 main ()
19134 return 0;
19136 _ACEOF
19137 if ac_fn_cxx_try_compile "$LINENO"; then :
19138 glibcxx_cv_int64_t_long=yes
19139 else
19140 glibcxx_cv_int64_t_long=no
19142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19147 if test $glibcxx_cv_int64_t_long = yes; then
19149 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19152 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19156 $as_echo_n "checking for int64_t as long long... " >&6; }
19157 if test "${glibcxx_cv_int64_t_long_long+set}" = set; then :
19158 $as_echo_n "(cached) " >&6
19159 else
19161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19162 /* end confdefs.h. */
19163 #include <stdint.h>
19164 template<typename, typename> struct same { enum { value = -1 }; };
19165 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19166 int array[same<int64_t, long long>::value];
19168 main ()
19172 return 0;
19174 _ACEOF
19175 if ac_fn_cxx_try_compile "$LINENO"; then :
19176 glibcxx_cv_int64_t_long_long=yes
19177 else
19178 glibcxx_cv_int64_t_long_long=no
19180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19185 if test $glibcxx_cv_int64_t_long_long = yes; then
19187 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19190 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19194 ac_ext=c
19195 ac_cpp='$CPP $CPPFLAGS'
19196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19202 # For LFS support.
19205 ac_ext=cpp
19206 ac_cpp='$CXXCPP $CPPFLAGS'
19207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19211 ac_save_CXXFLAGS="$CXXFLAGS"
19212 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19214 $as_echo_n "checking for LFS support... " >&6; }
19215 if test "${glibcxx_cv_LFS+set}" = set; then :
19216 $as_echo_n "(cached) " >&6
19217 else
19219 if test x$gcc_no_link = xyes; then
19220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19221 /* end confdefs.h. */
19222 #include <unistd.h>
19223 #include <stdio.h>
19224 #include <sys/stat.h>
19227 main ()
19229 FILE* fp;
19230 fopen64("t", "w");
19231 fseeko64(fp, 0, SEEK_CUR);
19232 ftello64(fp);
19233 lseek64(1, 0, SEEK_CUR);
19234 struct stat64 buf;
19235 fstat64(1, &buf);
19237 return 0;
19239 _ACEOF
19240 if ac_fn_cxx_try_compile "$LINENO"; then :
19241 glibcxx_cv_LFS=yes
19242 else
19243 glibcxx_cv_LFS=no
19245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19246 else
19247 if test x$gcc_no_link = xyes; then
19248 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19251 /* end confdefs.h. */
19252 #include <unistd.h>
19253 #include <stdio.h>
19254 #include <sys/stat.h>
19257 main ()
19259 FILE* fp;
19260 fopen64("t", "w");
19261 fseeko64(fp, 0, SEEK_CUR);
19262 ftello64(fp);
19263 lseek64(1, 0, SEEK_CUR);
19264 struct stat64 buf;
19265 fstat64(1, &buf);
19267 return 0;
19269 _ACEOF
19270 if ac_fn_cxx_try_link "$LINENO"; then :
19271 glibcxx_cv_LFS=yes
19272 else
19273 glibcxx_cv_LFS=no
19275 rm -f core conftest.err conftest.$ac_objext \
19276 conftest$ac_exeext conftest.$ac_ext
19281 if test $glibcxx_cv_LFS = yes; then
19283 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19287 $as_echo "$glibcxx_cv_LFS" >&6; }
19288 CXXFLAGS="$ac_save_CXXFLAGS"
19289 ac_ext=c
19290 ac_cpp='$CPP $CPPFLAGS'
19291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19297 # For showmanyc_helper().
19298 for ac_header in sys/ioctl.h sys/filio.h
19299 do :
19300 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19301 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19302 eval as_val=\$$as_ac_Header
19303 if test "x$as_val" = x""yes; then :
19304 cat >>confdefs.h <<_ACEOF
19305 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19306 _ACEOF
19310 done
19315 ac_ext=cpp
19316 ac_cpp='$CXXCPP $CPPFLAGS'
19317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19321 ac_save_CXXFLAGS="$CXXFLAGS"
19322 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19325 $as_echo_n "checking for poll... " >&6; }
19326 if test "${glibcxx_cv_POLL+set}" = set; then :
19327 $as_echo_n "(cached) " >&6
19328 else
19330 if test x$gcc_no_link = xyes; then
19331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19332 /* end confdefs.h. */
19333 #include <poll.h>
19335 main ()
19337 struct pollfd pfd[1];
19338 pfd[0].events = POLLIN;
19339 poll(pfd, 1, 0);
19341 return 0;
19343 _ACEOF
19344 if ac_fn_cxx_try_compile "$LINENO"; then :
19345 glibcxx_cv_POLL=yes
19346 else
19347 glibcxx_cv_POLL=no
19349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19350 else
19351 if test x$gcc_no_link = xyes; then
19352 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19355 /* end confdefs.h. */
19356 #include <poll.h>
19358 main ()
19360 struct pollfd pfd[1];
19361 pfd[0].events = POLLIN;
19362 poll(pfd, 1, 0);
19364 return 0;
19366 _ACEOF
19367 if ac_fn_cxx_try_link "$LINENO"; then :
19368 glibcxx_cv_POLL=yes
19369 else
19370 glibcxx_cv_POLL=no
19372 rm -f core conftest.err conftest.$ac_objext \
19373 conftest$ac_exeext conftest.$ac_ext
19378 if test $glibcxx_cv_POLL = yes; then
19380 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19384 $as_echo "$glibcxx_cv_POLL" >&6; }
19386 CXXFLAGS="$ac_save_CXXFLAGS"
19387 ac_ext=c
19388 ac_cpp='$CPP $CPPFLAGS'
19389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19397 ac_ext=cpp
19398 ac_cpp='$CXXCPP $CPPFLAGS'
19399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19403 ac_save_CXXFLAGS="$CXXFLAGS"
19404 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19407 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19408 if test "${glibcxx_cv_S_ISREG+set}" = set; then :
19409 $as_echo_n "(cached) " >&6
19410 else
19412 if test x$gcc_no_link = xyes; then
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <sys/stat.h>
19417 main ()
19419 struct stat buffer;
19420 fstat(0, &buffer);
19421 S_ISREG(buffer.st_mode);
19423 return 0;
19425 _ACEOF
19426 if ac_fn_cxx_try_compile "$LINENO"; then :
19427 glibcxx_cv_S_ISREG=yes
19428 else
19429 glibcxx_cv_S_ISREG=no
19431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19432 else
19433 if test x$gcc_no_link = xyes; then
19434 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19437 /* end confdefs.h. */
19438 #include <sys/stat.h>
19440 main ()
19442 struct stat buffer;
19443 fstat(0, &buffer);
19444 S_ISREG(buffer.st_mode);
19446 return 0;
19448 _ACEOF
19449 if ac_fn_cxx_try_link "$LINENO"; then :
19450 glibcxx_cv_S_ISREG=yes
19451 else
19452 glibcxx_cv_S_ISREG=no
19454 rm -f core conftest.err conftest.$ac_objext \
19455 conftest$ac_exeext conftest.$ac_ext
19460 if test "${glibcxx_cv_S_IFREG+set}" = set; then :
19461 $as_echo_n "(cached) " >&6
19462 else
19464 if test x$gcc_no_link = xyes; then
19465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19466 /* end confdefs.h. */
19467 #include <sys/stat.h>
19469 main ()
19471 struct stat buffer;
19472 fstat(0, &buffer);
19473 S_IFREG & buffer.st_mode;
19475 return 0;
19477 _ACEOF
19478 if ac_fn_cxx_try_compile "$LINENO"; then :
19479 glibcxx_cv_S_IFREG=yes
19480 else
19481 glibcxx_cv_S_IFREG=no
19483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19484 else
19485 if test x$gcc_no_link = xyes; then
19486 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19489 /* end confdefs.h. */
19490 #include <sys/stat.h>
19492 main ()
19494 struct stat buffer;
19495 fstat(0, &buffer);
19496 S_IFREG & buffer.st_mode;
19498 return 0;
19500 _ACEOF
19501 if ac_fn_cxx_try_link "$LINENO"; then :
19502 glibcxx_cv_S_IFREG=yes
19503 else
19504 glibcxx_cv_S_IFREG=no
19506 rm -f core conftest.err conftest.$ac_objext \
19507 conftest$ac_exeext conftest.$ac_ext
19512 res=no
19513 if test $glibcxx_cv_S_ISREG = yes; then
19515 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19517 res=S_ISREG
19518 elif test $glibcxx_cv_S_IFREG = yes; then
19520 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19522 res=S_IFREG
19524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19525 $as_echo "$res" >&6; }
19527 CXXFLAGS="$ac_save_CXXFLAGS"
19528 ac_ext=c
19529 ac_cpp='$CPP $CPPFLAGS'
19530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19536 # For xsputn_2().
19537 for ac_header in sys/uio.h
19538 do :
19539 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19540 if test "x$ac_cv_header_sys_uio_h" = x""yes; then :
19541 cat >>confdefs.h <<_ACEOF
19542 #define HAVE_SYS_UIO_H 1
19543 _ACEOF
19547 done
19552 ac_ext=cpp
19553 ac_cpp='$CXXCPP $CPPFLAGS'
19554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19558 ac_save_CXXFLAGS="$CXXFLAGS"
19559 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19562 $as_echo_n "checking for writev... " >&6; }
19563 if test "${glibcxx_cv_WRITEV+set}" = set; then :
19564 $as_echo_n "(cached) " >&6
19565 else
19567 if test x$gcc_no_link = xyes; then
19568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19569 /* end confdefs.h. */
19570 #include <sys/uio.h>
19572 main ()
19574 struct iovec iov[2];
19575 writev(0, iov, 0);
19577 return 0;
19579 _ACEOF
19580 if ac_fn_cxx_try_compile "$LINENO"; then :
19581 glibcxx_cv_WRITEV=yes
19582 else
19583 glibcxx_cv_WRITEV=no
19585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19586 else
19587 if test x$gcc_no_link = xyes; then
19588 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19592 #include <sys/uio.h>
19594 main ()
19596 struct iovec iov[2];
19597 writev(0, iov, 0);
19599 return 0;
19601 _ACEOF
19602 if ac_fn_cxx_try_link "$LINENO"; then :
19603 glibcxx_cv_WRITEV=yes
19604 else
19605 glibcxx_cv_WRITEV=no
19607 rm -f core conftest.err conftest.$ac_objext \
19608 conftest$ac_exeext conftest.$ac_ext
19613 if test $glibcxx_cv_WRITEV = yes; then
19615 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19619 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19621 CXXFLAGS="$ac_save_CXXFLAGS"
19622 ac_ext=c
19623 ac_cpp='$CPP $CPPFLAGS'
19624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19630 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19631 # so that the check is done with the C compiler (not C++).
19632 # Checking with C++ can break a canadian cross build if either
19633 # file does not exist in C but does in C++.
19634 for ac_header in fenv.h complex.h
19635 do :
19636 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19637 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19638 eval as_val=\$$as_ac_Header
19639 if test "x$as_val" = x""yes; then :
19640 cat >>confdefs.h <<_ACEOF
19641 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19642 _ACEOF
19646 done
19649 # For C99 support to TR1.
19653 ac_ext=cpp
19654 ac_cpp='$CXXCPP $CPPFLAGS'
19655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19660 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19661 # undefined and fake C99 facilities may be spuriously enabled.
19662 ac_save_CXXFLAGS="$CXXFLAGS"
19663 CXXFLAGS="$CXXFLAGS -std=c++98"
19665 # Check for the existence of <complex.h> complex math functions used
19666 # by tr1/complex.
19667 for ac_header in complex.h
19668 do :
19669 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19670 if test "x$ac_cv_header_complex_h" = x""yes; then :
19671 cat >>confdefs.h <<_ACEOF
19672 #define HAVE_COMPLEX_H 1
19673 _ACEOF
19674 ac_has_complex_h=yes
19675 else
19676 ac_has_complex_h=no
19679 done
19681 ac_c99_complex_tr1=no;
19682 if test x"$ac_has_complex_h" = x"yes"; then
19683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19684 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19686 /* end confdefs.h. */
19687 #include <complex.h>
19689 main ()
19691 typedef __complex__ float float_type; float_type tmpf;
19692 cacosf(tmpf);
19693 casinf(tmpf);
19694 catanf(tmpf);
19695 cacoshf(tmpf);
19696 casinhf(tmpf);
19697 catanhf(tmpf);
19698 typedef __complex__ double double_type; double_type tmpd;
19699 cacos(tmpd);
19700 casin(tmpd);
19701 catan(tmpd);
19702 cacosh(tmpd);
19703 casinh(tmpd);
19704 catanh(tmpd);
19705 typedef __complex__ long double ld_type; ld_type tmpld;
19706 cacosl(tmpld);
19707 casinl(tmpld);
19708 catanl(tmpld);
19709 cacoshl(tmpld);
19710 casinhl(tmpld);
19711 catanhl(tmpld);
19714 return 0;
19716 _ACEOF
19717 if ac_fn_cxx_try_compile "$LINENO"; then :
19718 ac_c99_complex_tr1=yes
19719 else
19720 ac_c99_complex_tr1=no
19722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19725 $as_echo "$ac_c99_complex_tr1" >&6; }
19726 if test x"$ac_c99_complex_tr1" = x"yes"; then
19728 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19732 # Check for the existence of <ctype.h> functions.
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19734 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19735 if test "${glibcxx_cv_c99_ctype_tr1+set}" = set; then :
19736 $as_echo_n "(cached) " >&6
19737 else
19739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19740 /* end confdefs.h. */
19741 #include <ctype.h>
19743 main ()
19745 int ch;
19746 int ret;
19747 ret = isblank(ch);
19750 return 0;
19752 _ACEOF
19753 if ac_fn_cxx_try_compile "$LINENO"; then :
19754 glibcxx_cv_c99_ctype_tr1=yes
19755 else
19756 glibcxx_cv_c99_ctype_tr1=no
19758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19763 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19764 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19766 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19770 # Check for the existence of <fenv.h> functions.
19771 for ac_header in fenv.h
19772 do :
19773 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19774 if test "x$ac_cv_header_fenv_h" = x""yes; then :
19775 cat >>confdefs.h <<_ACEOF
19776 #define HAVE_FENV_H 1
19777 _ACEOF
19778 ac_has_fenv_h=yes
19779 else
19780 ac_has_fenv_h=no
19783 done
19785 ac_c99_fenv_tr1=no;
19786 if test x"$ac_has_fenv_h" = x"yes"; then
19787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19788 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19790 /* end confdefs.h. */
19791 #include <fenv.h>
19793 main ()
19795 int except, mode;
19796 fexcept_t* pflag;
19797 fenv_t* penv;
19798 int ret;
19799 ret = feclearexcept(except);
19800 ret = fegetexceptflag(pflag, except);
19801 ret = feraiseexcept(except);
19802 ret = fesetexceptflag(pflag, except);
19803 ret = fetestexcept(except);
19804 ret = fegetround();
19805 ret = fesetround(mode);
19806 ret = fegetenv(penv);
19807 ret = feholdexcept(penv);
19808 ret = fesetenv(penv);
19809 ret = feupdateenv(penv);
19812 return 0;
19814 _ACEOF
19815 if ac_fn_cxx_try_compile "$LINENO"; then :
19816 ac_c99_fenv_tr1=yes
19817 else
19818 ac_c99_fenv_tr1=no
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19823 $as_echo "$ac_c99_fenv_tr1" >&6; }
19824 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19826 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19830 # Check for the existence of <stdint.h> types.
19831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19832 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19833 if test "${glibcxx_cv_c99_stdint_tr1+set}" = set; then :
19834 $as_echo_n "(cached) " >&6
19835 else
19837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19838 /* end confdefs.h. */
19839 #define __STDC_LIMIT_MACROS
19840 #define __STDC_CONSTANT_MACROS
19841 #include <stdint.h>
19843 main ()
19845 typedef int8_t my_int8_t;
19846 my_int8_t i8 = INT8_MIN;
19847 i8 = INT8_MAX;
19848 typedef int16_t my_int16_t;
19849 my_int16_t i16 = INT16_MIN;
19850 i16 = INT16_MAX;
19851 typedef int32_t my_int32_t;
19852 my_int32_t i32 = INT32_MIN;
19853 i32 = INT32_MAX;
19854 typedef int64_t my_int64_t;
19855 my_int64_t i64 = INT64_MIN;
19856 i64 = INT64_MAX;
19857 typedef int_fast8_t my_int_fast8_t;
19858 my_int_fast8_t if8 = INT_FAST8_MIN;
19859 if8 = INT_FAST8_MAX;
19860 typedef int_fast16_t my_int_fast16_t;
19861 my_int_fast16_t if16 = INT_FAST16_MIN;
19862 if16 = INT_FAST16_MAX;
19863 typedef int_fast32_t my_int_fast32_t;
19864 my_int_fast32_t if32 = INT_FAST32_MIN;
19865 if32 = INT_FAST32_MAX;
19866 typedef int_fast64_t my_int_fast64_t;
19867 my_int_fast64_t if64 = INT_FAST64_MIN;
19868 if64 = INT_FAST64_MAX;
19869 typedef int_least8_t my_int_least8_t;
19870 my_int_least8_t il8 = INT_LEAST8_MIN;
19871 il8 = INT_LEAST8_MAX;
19872 typedef int_least16_t my_int_least16_t;
19873 my_int_least16_t il16 = INT_LEAST16_MIN;
19874 il16 = INT_LEAST16_MAX;
19875 typedef int_least32_t my_int_least32_t;
19876 my_int_least32_t il32 = INT_LEAST32_MIN;
19877 il32 = INT_LEAST32_MAX;
19878 typedef int_least64_t my_int_least64_t;
19879 my_int_least64_t il64 = INT_LEAST64_MIN;
19880 il64 = INT_LEAST64_MAX;
19881 typedef intmax_t my_intmax_t;
19882 my_intmax_t im = INTMAX_MAX;
19883 im = INTMAX_MIN;
19884 typedef intptr_t my_intptr_t;
19885 my_intptr_t ip = INTPTR_MAX;
19886 ip = INTPTR_MIN;
19887 typedef uint8_t my_uint8_t;
19888 my_uint8_t ui8 = UINT8_MAX;
19889 ui8 = UINT8_MAX;
19890 typedef uint16_t my_uint16_t;
19891 my_uint16_t ui16 = UINT16_MAX;
19892 ui16 = UINT16_MAX;
19893 typedef uint32_t my_uint32_t;
19894 my_uint32_t ui32 = UINT32_MAX;
19895 ui32 = UINT32_MAX;
19896 typedef uint64_t my_uint64_t;
19897 my_uint64_t ui64 = UINT64_MAX;
19898 ui64 = UINT64_MAX;
19899 typedef uint_fast8_t my_uint_fast8_t;
19900 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19901 uif8 = UINT_FAST8_MAX;
19902 typedef uint_fast16_t my_uint_fast16_t;
19903 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19904 uif16 = UINT_FAST16_MAX;
19905 typedef uint_fast32_t my_uint_fast32_t;
19906 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19907 uif32 = UINT_FAST32_MAX;
19908 typedef uint_fast64_t my_uint_fast64_t;
19909 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19910 uif64 = UINT_FAST64_MAX;
19911 typedef uint_least8_t my_uint_least8_t;
19912 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19913 uil8 = UINT_LEAST8_MAX;
19914 typedef uint_least16_t my_uint_least16_t;
19915 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19916 uil16 = UINT_LEAST16_MAX;
19917 typedef uint_least32_t my_uint_least32_t;
19918 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19919 uil32 = UINT_LEAST32_MAX;
19920 typedef uint_least64_t my_uint_least64_t;
19921 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19922 uil64 = UINT_LEAST64_MAX;
19923 typedef uintmax_t my_uintmax_t;
19924 my_uintmax_t uim = UINTMAX_MAX;
19925 uim = UINTMAX_MAX;
19926 typedef uintptr_t my_uintptr_t;
19927 my_uintptr_t uip = UINTPTR_MAX;
19928 uip = UINTPTR_MAX;
19931 return 0;
19933 _ACEOF
19934 if ac_fn_cxx_try_compile "$LINENO"; then :
19935 glibcxx_cv_c99_stdint_tr1=yes
19936 else
19937 glibcxx_cv_c99_stdint_tr1=no
19939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19944 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19945 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19947 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19951 # Check for the existence of <math.h> functions.
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19953 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19954 if test "${glibcxx_cv_c99_math_tr1+set}" = set; then :
19955 $as_echo_n "(cached) " >&6
19956 else
19958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19959 /* end confdefs.h. */
19960 #include <math.h>
19962 main ()
19964 typedef double_t my_double_t;
19965 typedef float_t my_float_t;
19966 acosh(0.0);
19967 acoshf(0.0f);
19968 acoshl(0.0l);
19969 asinh(0.0);
19970 asinhf(0.0f);
19971 asinhl(0.0l);
19972 atanh(0.0);
19973 atanhf(0.0f);
19974 atanhl(0.0l);
19975 cbrt(0.0);
19976 cbrtf(0.0f);
19977 cbrtl(0.0l);
19978 copysign(0.0, 0.0);
19979 copysignf(0.0f, 0.0f);
19980 copysignl(0.0l, 0.0l);
19981 erf(0.0);
19982 erff(0.0f);
19983 erfl(0.0l);
19984 erfc(0.0);
19985 erfcf(0.0f);
19986 erfcl(0.0l);
19987 exp2(0.0);
19988 exp2f(0.0f);
19989 exp2l(0.0l);
19990 expm1(0.0);
19991 expm1f(0.0f);
19992 expm1l(0.0l);
19993 fdim(0.0, 0.0);
19994 fdimf(0.0f, 0.0f);
19995 fdiml(0.0l, 0.0l);
19996 fma(0.0, 0.0, 0.0);
19997 fmaf(0.0f, 0.0f, 0.0f);
19998 fmal(0.0l, 0.0l, 0.0l);
19999 fmax(0.0, 0.0);
20000 fmaxf(0.0f, 0.0f);
20001 fmaxl(0.0l, 0.0l);
20002 fmin(0.0, 0.0);
20003 fminf(0.0f, 0.0f);
20004 fminl(0.0l, 0.0l);
20005 hypot(0.0, 0.0);
20006 hypotf(0.0f, 0.0f);
20007 hypotl(0.0l, 0.0l);
20008 ilogb(0.0);
20009 ilogbf(0.0f);
20010 ilogbl(0.0l);
20011 lgamma(0.0);
20012 lgammaf(0.0f);
20013 lgammal(0.0l);
20014 llrint(0.0);
20015 llrintf(0.0f);
20016 llrintl(0.0l);
20017 llround(0.0);
20018 llroundf(0.0f);
20019 llroundl(0.0l);
20020 log1p(0.0);
20021 log1pf(0.0f);
20022 log1pl(0.0l);
20023 log2(0.0);
20024 log2f(0.0f);
20025 log2l(0.0l);
20026 logb(0.0);
20027 logbf(0.0f);
20028 logbl(0.0l);
20029 lrint(0.0);
20030 lrintf(0.0f);
20031 lrintl(0.0l);
20032 lround(0.0);
20033 lroundf(0.0f);
20034 lroundl(0.0l);
20035 nan(0);
20036 nanf(0);
20037 nanl(0);
20038 nearbyint(0.0);
20039 nearbyintf(0.0f);
20040 nearbyintl(0.0l);
20041 nextafter(0.0, 0.0);
20042 nextafterf(0.0f, 0.0f);
20043 nextafterl(0.0l, 0.0l);
20044 nexttoward(0.0, 0.0);
20045 nexttowardf(0.0f, 0.0f);
20046 nexttowardl(0.0l, 0.0l);
20047 remainder(0.0, 0.0);
20048 remainderf(0.0f, 0.0f);
20049 remainderl(0.0l, 0.0l);
20050 remquo(0.0, 0.0, 0);
20051 remquof(0.0f, 0.0f, 0);
20052 remquol(0.0l, 0.0l, 0);
20053 rint(0.0);
20054 rintf(0.0f);
20055 rintl(0.0l);
20056 round(0.0);
20057 roundf(0.0f);
20058 roundl(0.0l);
20059 scalbln(0.0, 0l);
20060 scalblnf(0.0f, 0l);
20061 scalblnl(0.0l, 0l);
20062 scalbn(0.0, 0);
20063 scalbnf(0.0f, 0);
20064 scalbnl(0.0l, 0);
20065 tgamma(0.0);
20066 tgammaf(0.0f);
20067 tgammal(0.0l);
20068 trunc(0.0);
20069 truncf(0.0f);
20070 truncl(0.0l);
20073 return 0;
20075 _ACEOF
20076 if ac_fn_cxx_try_compile "$LINENO"; then :
20077 glibcxx_cv_c99_math_tr1=yes
20078 else
20079 glibcxx_cv_c99_math_tr1=no
20081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20086 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20087 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20089 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20093 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20094 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20095 ac_c99_inttypes_tr1=no;
20096 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20098 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20100 /* end confdefs.h. */
20101 #include <inttypes.h>
20103 main ()
20105 intmax_t i, numer, denom, base;
20106 const char* s;
20107 char** endptr;
20108 intmax_t ret = imaxabs(i);
20109 imaxdiv_t dret = imaxdiv(numer, denom);
20110 ret = strtoimax(s, endptr, base);
20111 uintmax_t uret = strtoumax(s, endptr, base);
20114 return 0;
20116 _ACEOF
20117 if ac_fn_cxx_try_compile "$LINENO"; then :
20118 ac_c99_inttypes_tr1=yes
20119 else
20120 ac_c99_inttypes_tr1=no
20122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20125 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20126 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20128 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20132 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20133 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20134 ac_c99_inttypes_wchar_t_tr1=no;
20135 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20137 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20139 /* end confdefs.h. */
20140 #include <inttypes.h>
20142 main ()
20144 intmax_t base;
20145 const wchar_t* s;
20146 wchar_t** endptr;
20147 intmax_t ret = wcstoimax(s, endptr, base);
20148 uintmax_t uret = wcstoumax(s, endptr, base);
20151 return 0;
20153 _ACEOF
20154 if ac_fn_cxx_try_compile "$LINENO"; then :
20155 ac_c99_inttypes_wchar_t_tr1=yes
20156 else
20157 ac_c99_inttypes_wchar_t_tr1=no
20159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20162 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20163 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20165 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20169 # Check for the existence of the <stdbool.h> header.
20170 for ac_header in stdbool.h
20171 do :
20172 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20173 if test "x$ac_cv_header_stdbool_h" = x""yes; then :
20174 cat >>confdefs.h <<_ACEOF
20175 #define HAVE_STDBOOL_H 1
20176 _ACEOF
20180 done
20183 # Check for the existence of the <stdalign.h> header.
20184 for ac_header in stdalign.h
20185 do :
20186 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20187 if test "x$ac_cv_header_stdalign_h" = x""yes; then :
20188 cat >>confdefs.h <<_ACEOF
20189 #define HAVE_STDALIGN_H 1
20190 _ACEOF
20194 done
20197 CXXFLAGS="$ac_save_CXXFLAGS"
20198 ac_ext=c
20199 ac_cpp='$CPP $CPPFLAGS'
20200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20206 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20210 $as_echo_n "checking for the value of EOF... " >&6; }
20211 if test "${glibcxx_cv_stdio_eof+set}" = set; then :
20212 $as_echo_n "(cached) " >&6
20213 else
20215 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20217 else
20218 as_fn_error "computing EOF failed" "$LINENO" 5
20223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20224 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20226 cat >>confdefs.h <<_ACEOF
20227 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20228 _ACEOF
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20232 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20233 if test "${glibcxx_cv_stdio_seek_cur+set}" = set; then :
20234 $as_echo_n "(cached) " >&6
20235 else
20237 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20239 else
20240 as_fn_error "computing SEEK_CUR failed" "$LINENO" 5
20245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20246 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20248 cat >>confdefs.h <<_ACEOF
20249 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20250 _ACEOF
20253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20254 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20255 if test "${glibcxx_cv_stdio_seek_end+set}" = set; then :
20256 $as_echo_n "(cached) " >&6
20257 else
20259 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20261 else
20262 as_fn_error "computing SEEK_END failed" "$LINENO" 5
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20268 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20270 cat >>confdefs.h <<_ACEOF
20271 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20272 _ACEOF
20276 # For gettimeofday support.
20279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20280 $as_echo_n "checking for gettimeofday... " >&6; }
20283 ac_ext=cpp
20284 ac_cpp='$CXXCPP $CPPFLAGS'
20285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20289 ac_save_CXXFLAGS="$CXXFLAGS"
20290 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20292 ac_has_gettimeofday=no;
20293 for ac_header in sys/time.h
20294 do :
20295 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20296 if test "x$ac_cv_header_sys_time_h" = x""yes; then :
20297 cat >>confdefs.h <<_ACEOF
20298 #define HAVE_SYS_TIME_H 1
20299 _ACEOF
20300 ac_has_sys_time_h=yes
20301 else
20302 ac_has_sys_time_h=no
20305 done
20307 if test x"$ac_has_sys_time_h" = x"yes"; then
20308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20309 $as_echo_n "checking for gettimeofday... " >&6; }
20310 if test x$gcc_no_link = xyes; then
20311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20312 /* end confdefs.h. */
20313 #include <sys/time.h>
20315 main ()
20317 timeval tv; gettimeofday(&tv, 0);
20319 return 0;
20321 _ACEOF
20322 if ac_fn_cxx_try_compile "$LINENO"; then :
20323 ac_has_gettimeofday=yes
20324 else
20325 ac_has_gettimeofday=no
20327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20328 else
20329 if test x$gcc_no_link = xyes; then
20330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20333 /* end confdefs.h. */
20334 #include <sys/time.h>
20336 main ()
20338 timeval tv; gettimeofday(&tv, 0);
20340 return 0;
20342 _ACEOF
20343 if ac_fn_cxx_try_link "$LINENO"; then :
20344 ac_has_gettimeofday=yes
20345 else
20346 ac_has_gettimeofday=no
20348 rm -f core conftest.err conftest.$ac_objext \
20349 conftest$ac_exeext conftest.$ac_ext
20352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20353 $as_echo "$ac_has_gettimeofday" >&6; }
20356 if test x"$ac_has_gettimeofday" = x"yes"; then
20358 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20362 CXXFLAGS="$ac_save_CXXFLAGS"
20363 ac_ext=c
20364 ac_cpp='$CPP $CPPFLAGS'
20365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20371 # For clock_gettime, nanosleep and sched_yield support.
20374 # Check whether --enable-libstdcxx-time was given.
20375 if test "${enable_libstdcxx_time+set}" = set; then :
20376 enableval=$enable_libstdcxx_time;
20377 case "$enableval" in
20378 yes|no|rt) ;;
20379 *) as_fn_error "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20380 esac
20382 else
20383 enable_libstdcxx_time=auto
20389 ac_ext=cpp
20390 ac_cpp='$CXXCPP $CPPFLAGS'
20391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20395 ac_save_CXXFLAGS="$CXXFLAGS"
20396 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20397 ac_save_LIBS="$LIBS"
20399 ac_has_clock_monotonic=no
20400 ac_has_clock_realtime=no
20401 ac_has_nanosleep=no
20402 ac_has_sched_yield=no
20404 if test x"$enable_libstdcxx_time" = x"auto"; then
20406 case "${target_os}" in
20407 cygwin*)
20408 ac_has_nanosleep=yes
20410 darwin*)
20411 ac_has_nanosleep=yes
20412 ac_has_sched_yield=yes
20414 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20416 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20418 /* end confdefs.h. */
20419 #include <features.h>
20421 main ()
20424 #if ! __GLIBC_PREREQ(2, 17)
20425 #error
20426 #endif
20429 return 0;
20431 _ACEOF
20432 if ac_fn_cxx_try_compile "$LINENO"; then :
20433 glibcxx_glibc217=yes
20434 else
20435 glibcxx_glibc217=no
20437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20439 $as_echo "$glibcxx_glibc217" >&6; }
20441 if test x"$glibcxx_glibc217" = x"yes"; then
20442 ac_has_clock_monotonic=yes
20443 ac_has_clock_realtime=yes
20445 ac_has_nanosleep=yes
20446 ac_has_sched_yield=yes
20448 freebsd*|netbsd*|dragonfly*)
20449 ac_has_clock_monotonic=yes
20450 ac_has_clock_realtime=yes
20451 ac_has_nanosleep=yes
20452 ac_has_sched_yield=yes
20454 openbsd*)
20455 ac_has_clock_monotonic=yes
20456 ac_has_clock_realtime=yes
20457 ac_has_nanosleep=yes
20459 solaris*)
20460 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20461 ac_has_clock_monotonic=yes
20462 ac_has_clock_realtime=yes
20463 ac_has_nanosleep=yes
20464 ac_has_sched_yield=yes
20466 esac
20468 elif test x"$enable_libstdcxx_time" != x"no"; then
20470 if test x"$enable_libstdcxx_time" = x"rt"; then
20471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20472 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20473 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20474 $as_echo_n "(cached) " >&6
20475 else
20476 ac_func_search_save_LIBS=$LIBS
20477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20478 /* end confdefs.h. */
20480 /* Override any GCC internal prototype to avoid an error.
20481 Use char because int might match the return type of a GCC
20482 builtin and then its argument prototype would still apply. */
20483 #ifdef __cplusplus
20484 extern "C"
20485 #endif
20486 char clock_gettime ();
20488 main ()
20490 return clock_gettime ();
20492 return 0;
20494 _ACEOF
20495 for ac_lib in '' rt posix4; do
20496 if test -z "$ac_lib"; then
20497 ac_res="none required"
20498 else
20499 ac_res=-l$ac_lib
20500 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20502 if test x$gcc_no_link = xyes; then
20503 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20505 if ac_fn_cxx_try_link "$LINENO"; then :
20506 ac_cv_search_clock_gettime=$ac_res
20508 rm -f core conftest.err conftest.$ac_objext \
20509 conftest$ac_exeext
20510 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20511 break
20513 done
20514 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20516 else
20517 ac_cv_search_clock_gettime=no
20519 rm conftest.$ac_ext
20520 LIBS=$ac_func_search_save_LIBS
20522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20523 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20524 ac_res=$ac_cv_search_clock_gettime
20525 if test "$ac_res" != no; then :
20526 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20531 $as_echo_n "checking for library containing nanosleep... " >&6; }
20532 if test "${ac_cv_search_nanosleep+set}" = set; then :
20533 $as_echo_n "(cached) " >&6
20534 else
20535 ac_func_search_save_LIBS=$LIBS
20536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20537 /* end confdefs.h. */
20539 /* Override any GCC internal prototype to avoid an error.
20540 Use char because int might match the return type of a GCC
20541 builtin and then its argument prototype would still apply. */
20542 #ifdef __cplusplus
20543 extern "C"
20544 #endif
20545 char nanosleep ();
20547 main ()
20549 return nanosleep ();
20551 return 0;
20553 _ACEOF
20554 for ac_lib in '' rt posix4; do
20555 if test -z "$ac_lib"; then
20556 ac_res="none required"
20557 else
20558 ac_res=-l$ac_lib
20559 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20561 if test x$gcc_no_link = xyes; then
20562 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20564 if ac_fn_cxx_try_link "$LINENO"; then :
20565 ac_cv_search_nanosleep=$ac_res
20567 rm -f core conftest.err conftest.$ac_objext \
20568 conftest$ac_exeext
20569 if test "${ac_cv_search_nanosleep+set}" = set; then :
20570 break
20572 done
20573 if test "${ac_cv_search_nanosleep+set}" = set; then :
20575 else
20576 ac_cv_search_nanosleep=no
20578 rm conftest.$ac_ext
20579 LIBS=$ac_func_search_save_LIBS
20581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20582 $as_echo "$ac_cv_search_nanosleep" >&6; }
20583 ac_res=$ac_cv_search_nanosleep
20584 if test "$ac_res" != no; then :
20585 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20589 else
20590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20591 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20592 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20593 $as_echo_n "(cached) " >&6
20594 else
20595 ac_func_search_save_LIBS=$LIBS
20596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20597 /* end confdefs.h. */
20599 /* Override any GCC internal prototype to avoid an error.
20600 Use char because int might match the return type of a GCC
20601 builtin and then its argument prototype would still apply. */
20602 #ifdef __cplusplus
20603 extern "C"
20604 #endif
20605 char clock_gettime ();
20607 main ()
20609 return clock_gettime ();
20611 return 0;
20613 _ACEOF
20614 for ac_lib in '' posix4; do
20615 if test -z "$ac_lib"; then
20616 ac_res="none required"
20617 else
20618 ac_res=-l$ac_lib
20619 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20621 if test x$gcc_no_link = xyes; then
20622 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20624 if ac_fn_cxx_try_link "$LINENO"; then :
20625 ac_cv_search_clock_gettime=$ac_res
20627 rm -f core conftest.err conftest.$ac_objext \
20628 conftest$ac_exeext
20629 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20630 break
20632 done
20633 if test "${ac_cv_search_clock_gettime+set}" = set; then :
20635 else
20636 ac_cv_search_clock_gettime=no
20638 rm conftest.$ac_ext
20639 LIBS=$ac_func_search_save_LIBS
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20642 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20643 ac_res=$ac_cv_search_clock_gettime
20644 if test "$ac_res" != no; then :
20645 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20650 $as_echo_n "checking for library containing nanosleep... " >&6; }
20651 if test "${ac_cv_search_nanosleep+set}" = set; then :
20652 $as_echo_n "(cached) " >&6
20653 else
20654 ac_func_search_save_LIBS=$LIBS
20655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20656 /* end confdefs.h. */
20658 /* Override any GCC internal prototype to avoid an error.
20659 Use char because int might match the return type of a GCC
20660 builtin and then its argument prototype would still apply. */
20661 #ifdef __cplusplus
20662 extern "C"
20663 #endif
20664 char nanosleep ();
20666 main ()
20668 return nanosleep ();
20670 return 0;
20672 _ACEOF
20673 for ac_lib in '' posix4; do
20674 if test -z "$ac_lib"; then
20675 ac_res="none required"
20676 else
20677 ac_res=-l$ac_lib
20678 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20680 if test x$gcc_no_link = xyes; then
20681 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20683 if ac_fn_cxx_try_link "$LINENO"; then :
20684 ac_cv_search_nanosleep=$ac_res
20686 rm -f core conftest.err conftest.$ac_objext \
20687 conftest$ac_exeext
20688 if test "${ac_cv_search_nanosleep+set}" = set; then :
20689 break
20691 done
20692 if test "${ac_cv_search_nanosleep+set}" = set; then :
20694 else
20695 ac_cv_search_nanosleep=no
20697 rm conftest.$ac_ext
20698 LIBS=$ac_func_search_save_LIBS
20700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20701 $as_echo "$ac_cv_search_nanosleep" >&6; }
20702 ac_res=$ac_cv_search_nanosleep
20703 if test "$ac_res" != no; then :
20704 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20710 case "$ac_cv_search_clock_gettime" in
20711 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20713 esac
20714 case "$ac_cv_search_nanosleep" in
20715 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20717 esac
20719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20720 $as_echo_n "checking for library containing sched_yield... " >&6; }
20721 if test "${ac_cv_search_sched_yield+set}" = set; then :
20722 $as_echo_n "(cached) " >&6
20723 else
20724 ac_func_search_save_LIBS=$LIBS
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20728 /* Override any GCC internal prototype to avoid an error.
20729 Use char because int might match the return type of a GCC
20730 builtin and then its argument prototype would still apply. */
20731 #ifdef __cplusplus
20732 extern "C"
20733 #endif
20734 char sched_yield ();
20736 main ()
20738 return sched_yield ();
20740 return 0;
20742 _ACEOF
20743 for ac_lib in '' rt posix4; do
20744 if test -z "$ac_lib"; then
20745 ac_res="none required"
20746 else
20747 ac_res=-l$ac_lib
20748 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20750 if test x$gcc_no_link = xyes; then
20751 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20753 if ac_fn_cxx_try_link "$LINENO"; then :
20754 ac_cv_search_sched_yield=$ac_res
20756 rm -f core conftest.err conftest.$ac_objext \
20757 conftest$ac_exeext
20758 if test "${ac_cv_search_sched_yield+set}" = set; then :
20759 break
20761 done
20762 if test "${ac_cv_search_sched_yield+set}" = set; then :
20764 else
20765 ac_cv_search_sched_yield=no
20767 rm conftest.$ac_ext
20768 LIBS=$ac_func_search_save_LIBS
20770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20771 $as_echo "$ac_cv_search_sched_yield" >&6; }
20772 ac_res=$ac_cv_search_sched_yield
20773 if test "$ac_res" != no; then :
20774 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20779 case "$ac_cv_search_sched_yield" in
20780 -lposix4*)
20781 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20782 ac_has_sched_yield=yes
20784 -lrt*)
20785 if test x"$enable_libstdcxx_time" = x"rt"; then
20786 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20787 ac_has_sched_yield=yes
20791 ac_has_sched_yield=yes
20793 esac
20795 for ac_header in unistd.h
20796 do :
20797 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20798 if test "x$ac_cv_header_unistd_h" = x""yes; then :
20799 cat >>confdefs.h <<_ACEOF
20800 #define HAVE_UNISTD_H 1
20801 _ACEOF
20802 ac_has_unistd_h=yes
20803 else
20804 ac_has_unistd_h=no
20807 done
20810 if test x"$ac_has_unistd_h" = x"yes"; then
20811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20812 $as_echo_n "checking for monotonic clock... " >&6; }
20813 if test x$gcc_no_link = xyes; then
20814 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20817 /* end confdefs.h. */
20818 #include <unistd.h>
20819 #include <time.h>
20822 main ()
20824 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20825 timespec tp;
20826 #endif
20827 clock_gettime(CLOCK_MONOTONIC, &tp);
20830 return 0;
20832 _ACEOF
20833 if ac_fn_cxx_try_link "$LINENO"; then :
20834 ac_has_clock_monotonic=yes
20835 else
20836 ac_has_clock_monotonic=no
20838 rm -f core conftest.err conftest.$ac_objext \
20839 conftest$ac_exeext conftest.$ac_ext
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20842 $as_echo "$ac_has_clock_monotonic" >&6; }
20844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20845 $as_echo_n "checking for realtime clock... " >&6; }
20846 if test x$gcc_no_link = xyes; then
20847 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20850 /* end confdefs.h. */
20851 #include <unistd.h>
20852 #include <time.h>
20855 main ()
20857 #if _POSIX_TIMERS > 0
20858 timespec tp;
20859 #endif
20860 clock_gettime(CLOCK_REALTIME, &tp);
20863 return 0;
20865 _ACEOF
20866 if ac_fn_cxx_try_link "$LINENO"; then :
20867 ac_has_clock_realtime=yes
20868 else
20869 ac_has_clock_realtime=no
20871 rm -f core conftest.err conftest.$ac_objext \
20872 conftest$ac_exeext conftest.$ac_ext
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20875 $as_echo "$ac_has_clock_realtime" >&6; }
20877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20878 $as_echo_n "checking for nanosleep... " >&6; }
20879 if test x$gcc_no_link = xyes; then
20880 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20883 /* end confdefs.h. */
20884 #include <unistd.h>
20885 #include <time.h>
20888 main ()
20890 #if _POSIX_TIMERS > 0
20891 timespec tp;
20892 #endif
20893 nanosleep(&tp, 0);
20896 return 0;
20898 _ACEOF
20899 if ac_fn_cxx_try_link "$LINENO"; then :
20900 ac_has_nanosleep=yes
20901 else
20902 ac_has_nanosleep=no
20904 rm -f core conftest.err conftest.$ac_objext \
20905 conftest$ac_exeext conftest.$ac_ext
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20908 $as_echo "$ac_has_nanosleep" >&6; }
20912 if test x"$ac_has_clock_monotonic" != x"yes"; then
20913 case ${target_os} in
20914 linux*)
20915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20916 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20918 /* end confdefs.h. */
20919 #include <unistd.h>
20920 #include <time.h>
20921 #include <sys/syscall.h>
20924 main ()
20926 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20927 timespec tp;
20928 #endif
20929 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20930 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20933 return 0;
20935 _ACEOF
20936 if ac_fn_cxx_try_compile "$LINENO"; then :
20937 ac_has_clock_monotonic_syscall=yes
20938 else
20939 ac_has_clock_monotonic_syscall=no
20941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
20943 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
20944 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
20946 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20948 ac_has_clock_monotonic=yes
20949 ac_has_clock_realtime=yes
20950 fi;;
20951 esac
20954 if test x"$ac_has_clock_monotonic" = x"yes"; then
20956 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20960 if test x"$ac_has_clock_realtime" = x"yes"; then
20962 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20966 if test x"$ac_has_sched_yield" = x"yes"; then
20968 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20972 if test x"$ac_has_nanosleep" = x"yes"; then
20974 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20976 else
20977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20978 $as_echo_n "checking for sleep... " >&6; }
20979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20980 /* end confdefs.h. */
20981 #include <unistd.h>
20983 main ()
20985 sleep(1)
20987 return 0;
20989 _ACEOF
20990 if ac_fn_cxx_try_compile "$LINENO"; then :
20991 ac_has_sleep=yes
20992 else
20993 ac_has_sleep=no
20995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20996 if test x"$ac_has_sleep" = x"yes"; then
20998 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21002 $as_echo "$ac_has_sleep" >&6; }
21003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21004 $as_echo_n "checking for usleep... " >&6; }
21005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21006 /* end confdefs.h. */
21007 #include <unistd.h>
21009 main ()
21011 sleep(1);
21012 usleep(100);
21014 return 0;
21016 _ACEOF
21017 if ac_fn_cxx_try_compile "$LINENO"; then :
21018 ac_has_usleep=yes
21019 else
21020 ac_has_usleep=no
21022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21023 if test x"$ac_has_usleep" = x"yes"; then
21025 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21029 $as_echo "$ac_has_usleep" >&6; }
21032 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21034 $as_echo_n "checking for Sleep... " >&6; }
21035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21036 /* end confdefs.h. */
21037 #include <windows.h>
21039 main ()
21041 Sleep(1)
21043 return 0;
21045 _ACEOF
21046 if ac_fn_cxx_try_compile "$LINENO"; then :
21047 ac_has_win32_sleep=yes
21048 else
21049 ac_has_win32_sleep=no
21051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21052 if test x"$ac_has_win32_sleep" = x"yes"; then
21054 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21058 $as_echo "$ac_has_win32_sleep" >&6; }
21063 CXXFLAGS="$ac_save_CXXFLAGS"
21064 LIBS="$ac_save_LIBS"
21065 ac_ext=c
21066 ac_cpp='$CPP $CPPFLAGS'
21067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21073 # Check for tmpnam which is obsolescent in POSIX.1-2008
21075 ac_ext=cpp
21076 ac_cpp='$CXXCPP $CPPFLAGS'
21077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21081 ac_save_CXXFLAGS="$CXXFLAGS"
21082 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21084 $as_echo_n "checking for tmpnam... " >&6; }
21085 if test "${glibcxx_cv_TMPNAM+set}" = set; then :
21086 $as_echo_n "(cached) " >&6
21087 else
21088 if test x$gcc_no_link = xyes; then
21089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21090 /* end confdefs.h. */
21091 #include <stdio.h>
21093 main ()
21095 char *tmp = tmpnam(NULL);
21097 return 0;
21099 _ACEOF
21100 if ac_fn_cxx_try_compile "$LINENO"; then :
21101 glibcxx_cv_TMPNAM=yes
21102 else
21103 glibcxx_cv_TMPNAM=no
21105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21106 else
21107 if test x$gcc_no_link = xyes; then
21108 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21111 /* end confdefs.h. */
21112 #include <stdio.h>
21114 main ()
21116 char *tmp = tmpnam(NULL);
21118 return 0;
21120 _ACEOF
21121 if ac_fn_cxx_try_link "$LINENO"; then :
21122 glibcxx_cv_TMPNAM=yes
21123 else
21124 glibcxx_cv_TMPNAM=no
21126 rm -f core conftest.err conftest.$ac_objext \
21127 conftest$ac_exeext conftest.$ac_ext
21132 if test $glibcxx_cv_TMPNAM = yes; then
21134 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21138 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21139 CXXFLAGS="$ac_save_CXXFLAGS"
21140 ac_ext=c
21141 ac_cpp='$CPP $CPPFLAGS'
21142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21149 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21150 if test "x$ac_cv_header_locale_h" = x""yes; then :
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21153 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21154 if test "${ac_cv_val_LC_MESSAGES+set}" = set; then :
21155 $as_echo_n "(cached) " >&6
21156 else
21157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21158 /* end confdefs.h. */
21159 #include <locale.h>
21161 main ()
21163 return LC_MESSAGES
21165 return 0;
21167 _ACEOF
21168 if ac_fn_c_try_compile "$LINENO"; then :
21169 ac_cv_val_LC_MESSAGES=yes
21170 else
21171 ac_cv_val_LC_MESSAGES=no
21173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21176 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21177 if test $ac_cv_val_LC_MESSAGES = yes; then
21179 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21188 # For hardware_concurrency
21189 for ac_header in sys/sysinfo.h
21190 do :
21191 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21192 if test "x$ac_cv_header_sys_sysinfo_h" = x""yes; then :
21193 cat >>confdefs.h <<_ACEOF
21194 #define HAVE_SYS_SYSINFO_H 1
21195 _ACEOF
21199 done
21204 ac_ext=cpp
21205 ac_cpp='$CXXCPP $CPPFLAGS'
21206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21210 ac_save_CXXFLAGS="$CXXFLAGS"
21211 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21214 $as_echo_n "checking for get_nprocs... " >&6; }
21215 if test "${glibcxx_cv_GET_NPROCS+set}" = set; then :
21216 $as_echo_n "(cached) " >&6
21217 else
21219 if test x$gcc_no_link = xyes; then
21220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21221 /* end confdefs.h. */
21222 #include <sys/sysinfo.h>
21224 main ()
21226 int n = get_nprocs();
21228 return 0;
21230 _ACEOF
21231 if ac_fn_cxx_try_compile "$LINENO"; then :
21232 glibcxx_cv_GET_NPROCS=yes
21233 else
21234 glibcxx_cv_GET_NPROCS=no
21236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21237 else
21238 if test x$gcc_no_link = xyes; then
21239 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21242 /* end confdefs.h. */
21243 #include <sys/sysinfo.h>
21245 main ()
21247 int n = get_nprocs();
21249 return 0;
21251 _ACEOF
21252 if ac_fn_cxx_try_link "$LINENO"; then :
21253 glibcxx_cv_GET_NPROCS=yes
21254 else
21255 glibcxx_cv_GET_NPROCS=no
21257 rm -f core conftest.err conftest.$ac_objext \
21258 conftest$ac_exeext conftest.$ac_ext
21263 if test $glibcxx_cv_GET_NPROCS = yes; then
21265 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21269 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21271 CXXFLAGS="$ac_save_CXXFLAGS"
21272 ac_ext=c
21273 ac_cpp='$CPP $CPPFLAGS'
21274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21279 for ac_header in unistd.h
21280 do :
21281 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21282 if test "x$ac_cv_header_unistd_h" = x""yes; then :
21283 cat >>confdefs.h <<_ACEOF
21284 #define HAVE_UNISTD_H 1
21285 _ACEOF
21289 done
21294 ac_ext=cpp
21295 ac_cpp='$CXXCPP $CPPFLAGS'
21296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21300 ac_save_CXXFLAGS="$CXXFLAGS"
21301 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21304 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21305 if test "${glibcxx_cv_SC_NPROCESSORS_ONLN+set}" = set; then :
21306 $as_echo_n "(cached) " >&6
21307 else
21309 if test x$gcc_no_link = xyes; then
21310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21311 /* end confdefs.h. */
21312 #include <unistd.h>
21314 main ()
21316 int n = sysconf(_SC_NPROCESSORS_ONLN);
21318 return 0;
21320 _ACEOF
21321 if ac_fn_cxx_try_compile "$LINENO"; then :
21322 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21323 else
21324 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21327 else
21328 if test x$gcc_no_link = xyes; then
21329 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21332 /* end confdefs.h. */
21333 #include <unistd.h>
21335 main ()
21337 int n = sysconf(_SC_NPROCESSORS_ONLN);
21339 return 0;
21341 _ACEOF
21342 if ac_fn_cxx_try_link "$LINENO"; then :
21343 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21344 else
21345 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21347 rm -f core conftest.err conftest.$ac_objext \
21348 conftest$ac_exeext conftest.$ac_ext
21353 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21355 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21359 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21361 CXXFLAGS="$ac_save_CXXFLAGS"
21362 ac_ext=c
21363 ac_cpp='$CPP $CPPFLAGS'
21364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21372 ac_ext=cpp
21373 ac_cpp='$CXXCPP $CPPFLAGS'
21374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21378 ac_save_CXXFLAGS="$CXXFLAGS"
21379 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21382 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21383 if test "${glibcxx_cv_SC_NPROC_ONLN+set}" = set; then :
21384 $as_echo_n "(cached) " >&6
21385 else
21387 if test x$gcc_no_link = xyes; then
21388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21389 /* end confdefs.h. */
21390 #include <unistd.h>
21392 main ()
21394 int n = sysconf(_SC_NPROC_ONLN);
21396 return 0;
21398 _ACEOF
21399 if ac_fn_cxx_try_compile "$LINENO"; then :
21400 glibcxx_cv_SC_NPROC_ONLN=yes
21401 else
21402 glibcxx_cv_SC_NPROC_ONLN=no
21404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21405 else
21406 if test x$gcc_no_link = xyes; then
21407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21410 /* end confdefs.h. */
21411 #include <unistd.h>
21413 main ()
21415 int n = sysconf(_SC_NPROC_ONLN);
21417 return 0;
21419 _ACEOF
21420 if ac_fn_cxx_try_link "$LINENO"; then :
21421 glibcxx_cv_SC_NPROC_ONLN=yes
21422 else
21423 glibcxx_cv_SC_NPROC_ONLN=no
21425 rm -f core conftest.err conftest.$ac_objext \
21426 conftest$ac_exeext conftest.$ac_ext
21431 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21433 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21437 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21439 CXXFLAGS="$ac_save_CXXFLAGS"
21440 ac_ext=c
21441 ac_cpp='$CPP $CPPFLAGS'
21442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21450 ac_ext=cpp
21451 ac_cpp='$CXXCPP $CPPFLAGS'
21452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21456 ac_save_CXXFLAGS="$CXXFLAGS"
21457 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21460 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21461 if test "${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+set}" = set; then :
21462 $as_echo_n "(cached) " >&6
21463 else
21465 if test x$gcc_no_link = xyes; then
21466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21467 /* end confdefs.h. */
21468 #include <pthread.h>
21470 main ()
21472 int n = pthread_num_processors_np();
21474 return 0;
21476 _ACEOF
21477 if ac_fn_cxx_try_compile "$LINENO"; then :
21478 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21479 else
21480 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21483 else
21484 if test x$gcc_no_link = xyes; then
21485 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21488 /* end confdefs.h. */
21489 #include <pthread.h>
21491 main ()
21493 int n = pthread_num_processors_np();
21495 return 0;
21497 _ACEOF
21498 if ac_fn_cxx_try_link "$LINENO"; then :
21499 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21500 else
21501 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21503 rm -f core conftest.err conftest.$ac_objext \
21504 conftest$ac_exeext conftest.$ac_ext
21509 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21511 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21515 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21517 CXXFLAGS="$ac_save_CXXFLAGS"
21518 ac_ext=c
21519 ac_cpp='$CPP $CPPFLAGS'
21520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21528 ac_ext=cpp
21529 ac_cpp='$CXXCPP $CPPFLAGS'
21530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21534 ac_save_CXXFLAGS="$CXXFLAGS"
21535 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21538 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21539 if test "${glibcxx_cv_SYSCTL_HW_NCPU+set}" = set; then :
21540 $as_echo_n "(cached) " >&6
21541 else
21543 if test x$gcc_no_link = xyes; then
21544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21545 /* end confdefs.h. */
21547 #include <stddef.h>
21548 #include <sys/sysctl.h>
21551 main ()
21554 int count;
21555 size_t size = sizeof(count);
21556 int mib[] = { CTL_HW, HW_NCPU };
21557 sysctl(mib, 2, &count, &size, NULL, 0);
21560 return 0;
21562 _ACEOF
21563 if ac_fn_cxx_try_compile "$LINENO"; then :
21564 glibcxx_cv_SYSCTL_HW_NCPU=yes
21565 else
21566 glibcxx_cv_SYSCTL_HW_NCPU=no
21568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21569 else
21570 if test x$gcc_no_link = xyes; then
21571 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21574 /* end confdefs.h. */
21576 #include <stddef.h>
21577 #include <sys/sysctl.h>
21580 main ()
21583 int count;
21584 size_t size = sizeof(count);
21585 int mib[] = { CTL_HW, HW_NCPU };
21586 sysctl(mib, 2, &count, &size, NULL, 0);
21589 return 0;
21591 _ACEOF
21592 if ac_fn_cxx_try_link "$LINENO"; then :
21593 glibcxx_cv_SYSCTL_HW_NCPU=yes
21594 else
21595 glibcxx_cv_SYSCTL_HW_NCPU=no
21597 rm -f core conftest.err conftest.$ac_objext \
21598 conftest$ac_exeext conftest.$ac_ext
21603 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21605 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21609 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21611 CXXFLAGS="$ac_save_CXXFLAGS"
21612 ac_ext=c
21613 ac_cpp='$CPP $CPPFLAGS'
21614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21621 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21622 # Note that this test has to be run with the C language.
21623 # Otherwise, sdt.h will try to include some headers from
21624 # libstdc++ itself.
21626 ac_ext=c
21627 ac_cpp='$CPP $CPPFLAGS'
21628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21632 if test "${glibcxx_cv_sys_sdt_h+set}" = set; then :
21633 $as_echo_n "(cached) " >&6
21634 else
21636 # Because we have to run the test in C, we use grep rather
21637 # than the compiler to check for the bug. The bug is that
21638 # were strings without trailing whitespace, causing g++
21639 # to look for operator"". The pattern searches for the fixed
21640 # output.
21641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21642 /* end confdefs.h. */
21644 #include <sys/sdt.h>
21645 int f() { STAP_PROBE(hi, bob); }
21647 _ACEOF
21648 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21649 $EGREP " \",\" " >/dev/null 2>&1; then :
21650 glibcxx_cv_sys_sdt_h=yes
21651 else
21652 glibcxx_cv_sys_sdt_h=no
21654 rm -f conftest*
21659 ac_ext=c
21660 ac_cpp='$CPP $CPPFLAGS'
21661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21665 if test $glibcxx_cv_sys_sdt_h = yes; then
21667 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21671 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21674 # Check for available headers.
21675 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21676 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21677 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21678 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21679 wchar.h wctype.h
21680 do :
21681 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21682 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21683 eval as_val=\$$as_ac_Header
21684 if test "x$as_val" = x""yes; then :
21685 cat >>confdefs.h <<_ACEOF
21686 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21687 _ACEOF
21691 done
21694 # Only do link tests if native. Else, hardcode.
21695 if $GLIBCXX_IS_NATIVE; then
21697 # We can do more elaborate tests that assume a working linker.
21698 CANADIAN=no
21702 # Check whether --with-gnu-ld was given.
21703 if test "${with_gnu_ld+set}" = set; then :
21704 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21705 else
21706 with_gnu_ld=no
21709 ac_prog=ld
21710 if test "$GCC" = yes; then
21711 # Check if gcc -print-prog-name=ld gives a path.
21712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21713 $as_echo_n "checking for ld used by $CC... " >&6; }
21714 case $host in
21715 *-*-mingw*)
21716 # gcc leaves a trailing carriage return which upsets mingw
21717 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21719 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21720 esac
21721 case $ac_prog in
21722 # Accept absolute paths.
21723 [\\/]* | ?:[\\/]*)
21724 re_direlt='/[^/][^/]*/\.\./'
21725 # Canonicalize the pathname of ld
21726 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21727 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21728 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21729 done
21730 test -z "$LD" && LD="$ac_prog"
21733 # If it fails, then pretend we aren't using GCC.
21734 ac_prog=ld
21737 # If it is relative, then search for the first ld in PATH.
21738 with_gnu_ld=unknown
21740 esac
21741 elif test "$with_gnu_ld" = yes; then
21742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21743 $as_echo_n "checking for GNU ld... " >&6; }
21744 else
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21746 $as_echo_n "checking for non-GNU ld... " >&6; }
21748 if test "${lt_cv_path_LD+set}" = set; then :
21749 $as_echo_n "(cached) " >&6
21750 else
21751 if test -z "$LD"; then
21752 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21753 for ac_dir in $PATH; do
21754 IFS="$lt_save_ifs"
21755 test -z "$ac_dir" && ac_dir=.
21756 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21757 lt_cv_path_LD="$ac_dir/$ac_prog"
21758 # Check to see if the program is GNU ld. I'd rather use --version,
21759 # but apparently some variants of GNU ld only accept -v.
21760 # Break only if it was the GNU/non-GNU ld that we prefer.
21761 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
21762 *GNU* | *'with BFD'*)
21763 test "$with_gnu_ld" != no && break
21766 test "$with_gnu_ld" != yes && break
21768 esac
21770 done
21771 IFS="$lt_save_ifs"
21772 else
21773 lt_cv_path_LD="$LD" # Let the user override the test with a path.
21777 LD="$lt_cv_path_LD"
21778 if test -n "$LD"; then
21779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
21780 $as_echo "$LD" >&6; }
21781 else
21782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21783 $as_echo "no" >&6; }
21785 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
21786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
21787 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
21788 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
21789 $as_echo_n "(cached) " >&6
21790 else
21791 # I'd rather use --version here, but apparently some GNU lds only accept -v.
21792 case `$LD -v 2>&1 </dev/null` in
21793 *GNU* | *'with BFD'*)
21794 lt_cv_prog_gnu_ld=yes
21797 lt_cv_prog_gnu_ld=no
21799 esac
21801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
21802 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
21803 with_gnu_ld=$lt_cv_prog_gnu_ld
21811 # If we're not using GNU ld, then there's no point in even trying these
21812 # tests. Check for that first. We should have already tested for gld
21813 # by now (in libtool), but require it now just to be safe...
21814 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
21815 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
21819 # The name set by libtool depends on the version of libtool. Shame on us
21820 # for depending on an impl detail, but c'est la vie. Older versions used
21821 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
21822 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
21823 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
21824 # set (hence we're using an older libtool), then set it.
21825 if test x${with_gnu_ld+set} != xset; then
21826 if test x${ac_cv_prog_gnu_ld+set} != xset; then
21827 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
21828 with_gnu_ld=no
21829 else
21830 with_gnu_ld=$ac_cv_prog_gnu_ld
21834 # Start by getting the version number. I think the libtool test already
21835 # does some of this, but throws away the result.
21836 glibcxx_ld_is_gold=no
21837 if test x"$with_gnu_ld" = x"yes"; then
21838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
21839 $as_echo_n "checking for ld version... " >&6; }
21841 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
21842 glibcxx_ld_is_gold=yes
21844 ldver=`$LD --version 2>/dev/null |
21845 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'`
21847 glibcxx_gnu_ld_version=`echo $ldver | \
21848 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
21849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
21850 $as_echo "$glibcxx_gnu_ld_version" >&6; }
21853 # Set --gc-sections.
21854 glibcxx_have_gc_sections=no
21855 if test "$glibcxx_ld_is_gold" = "yes"; then
21856 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
21857 glibcxx_have_gc_sections=yes
21859 else
21860 glibcxx_gcsections_min_ld=21602
21861 if test x"$with_gnu_ld" = x"yes" &&
21862 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
21863 glibcxx_have_gc_sections=yes
21866 if test "$glibcxx_have_gc_sections" = "yes"; then
21867 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
21868 # NB: This flag only works reliably after 2.16.1. Configure tests
21869 # for this are difficult, so hard wire a value that should work.
21871 ac_test_CFLAGS="${CFLAGS+set}"
21872 ac_save_CFLAGS="$CFLAGS"
21873 CFLAGS='-Wl,--gc-sections'
21875 # Check for -Wl,--gc-sections
21876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
21877 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
21878 if test x$gcc_no_link = xyes; then
21879 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21882 /* end confdefs.h. */
21883 int one(void) { return 1; }
21884 int two(void) { return 2; }
21887 main ()
21889 two();
21891 return 0;
21893 _ACEOF
21894 if ac_fn_c_try_link "$LINENO"; then :
21895 ac_gcsections=yes
21896 else
21897 ac_gcsections=no
21899 rm -f core conftest.err conftest.$ac_objext \
21900 conftest$ac_exeext conftest.$ac_ext
21901 if test "$ac_gcsections" = "yes"; then
21902 rm -f conftest.c
21903 touch conftest.c
21904 if $CC -c conftest.c; then
21905 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
21906 grep "Warning: gc-sections option ignored" > /dev/null; then
21907 ac_gcsections=no
21910 rm -f conftest.c conftest.o conftest
21912 if test "$ac_gcsections" = "yes"; then
21913 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
21916 $as_echo "$ac_gcsections" >&6; }
21918 if test "$ac_test_CFLAGS" = set; then
21919 CFLAGS="$ac_save_CFLAGS"
21920 else
21921 # this is the suspicious part
21922 CFLAGS=''
21926 # Set -z,relro.
21927 # Note this is only for shared objects.
21928 ac_ld_relro=no
21929 if test x"$with_gnu_ld" = x"yes"; then
21930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
21931 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
21932 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
21933 if test -n "$cxx_z_relo"; then
21934 OPT_LDFLAGS="-Wl,-z,relro"
21935 ac_ld_relro=yes
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
21938 $as_echo "$ac_ld_relro" >&6; }
21941 # Set linker optimization flags.
21942 if test x"$with_gnu_ld" = x"yes"; then
21943 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
21950 ac_test_CXXFLAGS="${CXXFLAGS+set}"
21951 ac_save_CXXFLAGS="$CXXFLAGS"
21952 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
21954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
21955 $as_echo_n "checking for sin in -lm... " >&6; }
21956 if test "${ac_cv_lib_m_sin+set}" = set; then :
21957 $as_echo_n "(cached) " >&6
21958 else
21959 ac_check_lib_save_LIBS=$LIBS
21960 LIBS="-lm $LIBS"
21961 if test x$gcc_no_link = xyes; then
21962 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21965 /* end confdefs.h. */
21967 /* Override any GCC internal prototype to avoid an error.
21968 Use char because int might match the return type of a GCC
21969 builtin and then its argument prototype would still apply. */
21970 #ifdef __cplusplus
21971 extern "C"
21972 #endif
21973 char sin ();
21975 main ()
21977 return sin ();
21979 return 0;
21981 _ACEOF
21982 if ac_fn_c_try_link "$LINENO"; then :
21983 ac_cv_lib_m_sin=yes
21984 else
21985 ac_cv_lib_m_sin=no
21987 rm -f core conftest.err conftest.$ac_objext \
21988 conftest$ac_exeext conftest.$ac_ext
21989 LIBS=$ac_check_lib_save_LIBS
21991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
21992 $as_echo "$ac_cv_lib_m_sin" >&6; }
21993 if test "x$ac_cv_lib_m_sin" = x""yes; then :
21994 libm="-lm"
21997 ac_save_LIBS="$LIBS"
21998 LIBS="$LIBS $libm"
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22003 $as_echo_n "checking for isinf declaration... " >&6; }
22004 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22005 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
22006 $as_echo_n "(cached) " >&6
22007 else
22010 ac_ext=cpp
22011 ac_cpp='$CXXCPP $CPPFLAGS'
22012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22017 /* end confdefs.h. */
22018 #include <math.h>
22019 #ifdef HAVE_IEEEFP_H
22020 #include <ieeefp.h>
22021 #endif
22024 main ()
22026 isinf(0);
22028 return 0;
22030 _ACEOF
22031 if ac_fn_cxx_try_compile "$LINENO"; then :
22032 glibcxx_cv_func_isinf_use=yes
22033 else
22034 glibcxx_cv_func_isinf_use=no
22036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22037 ac_ext=c
22038 ac_cpp='$CPP $CPPFLAGS'
22039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22048 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22050 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22051 for ac_func in isinf
22052 do :
22053 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22054 if test "x$ac_cv_func_isinf" = x""yes; then :
22055 cat >>confdefs.h <<_ACEOF
22056 #define HAVE_ISINF 1
22057 _ACEOF
22060 done
22062 else
22064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22065 $as_echo_n "checking for _isinf declaration... " >&6; }
22066 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22067 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
22068 $as_echo_n "(cached) " >&6
22069 else
22072 ac_ext=cpp
22073 ac_cpp='$CXXCPP $CPPFLAGS'
22074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22079 /* end confdefs.h. */
22080 #include <math.h>
22081 #ifdef HAVE_IEEEFP_H
22082 #include <ieeefp.h>
22083 #endif
22086 main ()
22088 _isinf(0);
22090 return 0;
22092 _ACEOF
22093 if ac_fn_cxx_try_compile "$LINENO"; then :
22094 glibcxx_cv_func__isinf_use=yes
22095 else
22096 glibcxx_cv_func__isinf_use=no
22098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22099 ac_ext=c
22100 ac_cpp='$CPP $CPPFLAGS'
22101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22110 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22112 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22113 for ac_func in _isinf
22114 do :
22115 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22116 if test "x$ac_cv_func__isinf" = x""yes; then :
22117 cat >>confdefs.h <<_ACEOF
22118 #define HAVE__ISINF 1
22119 _ACEOF
22122 done
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22132 $as_echo_n "checking for isnan declaration... " >&6; }
22133 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22134 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
22135 $as_echo_n "(cached) " >&6
22136 else
22139 ac_ext=cpp
22140 ac_cpp='$CXXCPP $CPPFLAGS'
22141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22146 /* end confdefs.h. */
22147 #include <math.h>
22148 #ifdef HAVE_IEEEFP_H
22149 #include <ieeefp.h>
22150 #endif
22153 main ()
22155 isnan(0);
22157 return 0;
22159 _ACEOF
22160 if ac_fn_cxx_try_compile "$LINENO"; then :
22161 glibcxx_cv_func_isnan_use=yes
22162 else
22163 glibcxx_cv_func_isnan_use=no
22165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22166 ac_ext=c
22167 ac_cpp='$CPP $CPPFLAGS'
22168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22177 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22179 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22180 for ac_func in isnan
22181 do :
22182 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22183 if test "x$ac_cv_func_isnan" = x""yes; then :
22184 cat >>confdefs.h <<_ACEOF
22185 #define HAVE_ISNAN 1
22186 _ACEOF
22189 done
22191 else
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22194 $as_echo_n "checking for _isnan declaration... " >&6; }
22195 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22196 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
22197 $as_echo_n "(cached) " >&6
22198 else
22201 ac_ext=cpp
22202 ac_cpp='$CXXCPP $CPPFLAGS'
22203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22208 /* end confdefs.h. */
22209 #include <math.h>
22210 #ifdef HAVE_IEEEFP_H
22211 #include <ieeefp.h>
22212 #endif
22215 main ()
22217 _isnan(0);
22219 return 0;
22221 _ACEOF
22222 if ac_fn_cxx_try_compile "$LINENO"; then :
22223 glibcxx_cv_func__isnan_use=yes
22224 else
22225 glibcxx_cv_func__isnan_use=no
22227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22228 ac_ext=c
22229 ac_cpp='$CPP $CPPFLAGS'
22230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22239 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22241 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22242 for ac_func in _isnan
22243 do :
22244 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22245 if test "x$ac_cv_func__isnan" = x""yes; then :
22246 cat >>confdefs.h <<_ACEOF
22247 #define HAVE__ISNAN 1
22248 _ACEOF
22251 done
22260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22261 $as_echo_n "checking for finite declaration... " >&6; }
22262 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22263 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
22264 $as_echo_n "(cached) " >&6
22265 else
22268 ac_ext=cpp
22269 ac_cpp='$CXXCPP $CPPFLAGS'
22270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22275 /* end confdefs.h. */
22276 #include <math.h>
22277 #ifdef HAVE_IEEEFP_H
22278 #include <ieeefp.h>
22279 #endif
22282 main ()
22284 finite(0);
22286 return 0;
22288 _ACEOF
22289 if ac_fn_cxx_try_compile "$LINENO"; then :
22290 glibcxx_cv_func_finite_use=yes
22291 else
22292 glibcxx_cv_func_finite_use=no
22294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22295 ac_ext=c
22296 ac_cpp='$CPP $CPPFLAGS'
22297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22306 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22308 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22309 for ac_func in finite
22310 do :
22311 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22312 if test "x$ac_cv_func_finite" = x""yes; then :
22313 cat >>confdefs.h <<_ACEOF
22314 #define HAVE_FINITE 1
22315 _ACEOF
22318 done
22320 else
22322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22323 $as_echo_n "checking for _finite declaration... " >&6; }
22324 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22325 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
22326 $as_echo_n "(cached) " >&6
22327 else
22330 ac_ext=cpp
22331 ac_cpp='$CXXCPP $CPPFLAGS'
22332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22337 /* end confdefs.h. */
22338 #include <math.h>
22339 #ifdef HAVE_IEEEFP_H
22340 #include <ieeefp.h>
22341 #endif
22344 main ()
22346 _finite(0);
22348 return 0;
22350 _ACEOF
22351 if ac_fn_cxx_try_compile "$LINENO"; then :
22352 glibcxx_cv_func__finite_use=yes
22353 else
22354 glibcxx_cv_func__finite_use=no
22356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22357 ac_ext=c
22358 ac_cpp='$CPP $CPPFLAGS'
22359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22368 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22370 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22371 for ac_func in _finite
22372 do :
22373 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22374 if test "x$ac_cv_func__finite" = x""yes; then :
22375 cat >>confdefs.h <<_ACEOF
22376 #define HAVE__FINITE 1
22377 _ACEOF
22380 done
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22390 $as_echo_n "checking for sincos declaration... " >&6; }
22391 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22392 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
22393 $as_echo_n "(cached) " >&6
22394 else
22397 ac_ext=cpp
22398 ac_cpp='$CXXCPP $CPPFLAGS'
22399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22405 #include <math.h>
22407 main ()
22409 sincos(0, 0, 0);
22411 return 0;
22413 _ACEOF
22414 if ac_fn_cxx_try_compile "$LINENO"; then :
22415 glibcxx_cv_func_sincos_use=yes
22416 else
22417 glibcxx_cv_func_sincos_use=no
22419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22420 ac_ext=c
22421 ac_cpp='$CPP $CPPFLAGS'
22422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22431 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22433 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22434 for ac_func in sincos
22435 do :
22436 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22437 if test "x$ac_cv_func_sincos" = x""yes; then :
22438 cat >>confdefs.h <<_ACEOF
22439 #define HAVE_SINCOS 1
22440 _ACEOF
22443 done
22445 else
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22448 $as_echo_n "checking for _sincos declaration... " >&6; }
22449 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22450 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
22451 $as_echo_n "(cached) " >&6
22452 else
22455 ac_ext=cpp
22456 ac_cpp='$CXXCPP $CPPFLAGS'
22457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22462 /* end confdefs.h. */
22463 #include <math.h>
22465 main ()
22467 _sincos(0, 0, 0);
22469 return 0;
22471 _ACEOF
22472 if ac_fn_cxx_try_compile "$LINENO"; then :
22473 glibcxx_cv_func__sincos_use=yes
22474 else
22475 glibcxx_cv_func__sincos_use=no
22477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22478 ac_ext=c
22479 ac_cpp='$CPP $CPPFLAGS'
22480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22489 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22491 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22492 for ac_func in _sincos
22493 do :
22494 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22495 if test "x$ac_cv_func__sincos" = x""yes; then :
22496 cat >>confdefs.h <<_ACEOF
22497 #define HAVE__SINCOS 1
22498 _ACEOF
22501 done
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22511 $as_echo_n "checking for fpclass declaration... " >&6; }
22512 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22513 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
22514 $as_echo_n "(cached) " >&6
22515 else
22518 ac_ext=cpp
22519 ac_cpp='$CXXCPP $CPPFLAGS'
22520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22525 /* end confdefs.h. */
22526 #include <math.h>
22527 #ifdef HAVE_IEEEFP_H
22528 #include <ieeefp.h>
22529 #endif
22532 main ()
22534 fpclass(0);
22536 return 0;
22538 _ACEOF
22539 if ac_fn_cxx_try_compile "$LINENO"; then :
22540 glibcxx_cv_func_fpclass_use=yes
22541 else
22542 glibcxx_cv_func_fpclass_use=no
22544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22545 ac_ext=c
22546 ac_cpp='$CPP $CPPFLAGS'
22547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22556 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22558 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22559 for ac_func in fpclass
22560 do :
22561 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22562 if test "x$ac_cv_func_fpclass" = x""yes; then :
22563 cat >>confdefs.h <<_ACEOF
22564 #define HAVE_FPCLASS 1
22565 _ACEOF
22568 done
22570 else
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22573 $as_echo_n "checking for _fpclass declaration... " >&6; }
22574 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22575 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
22576 $as_echo_n "(cached) " >&6
22577 else
22580 ac_ext=cpp
22581 ac_cpp='$CXXCPP $CPPFLAGS'
22582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22587 /* end confdefs.h. */
22588 #include <math.h>
22589 #ifdef HAVE_IEEEFP_H
22590 #include <ieeefp.h>
22591 #endif
22594 main ()
22596 _fpclass(0);
22598 return 0;
22600 _ACEOF
22601 if ac_fn_cxx_try_compile "$LINENO"; then :
22602 glibcxx_cv_func__fpclass_use=yes
22603 else
22604 glibcxx_cv_func__fpclass_use=no
22606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 ac_ext=c
22608 ac_cpp='$CPP $CPPFLAGS'
22609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22618 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22620 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22621 for ac_func in _fpclass
22622 do :
22623 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22624 if test "x$ac_cv_func__fpclass" = x""yes; then :
22625 cat >>confdefs.h <<_ACEOF
22626 #define HAVE__FPCLASS 1
22627 _ACEOF
22630 done
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22640 $as_echo_n "checking for qfpclass declaration... " >&6; }
22641 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22642 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
22643 $as_echo_n "(cached) " >&6
22644 else
22647 ac_ext=cpp
22648 ac_cpp='$CXXCPP $CPPFLAGS'
22649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22654 /* end confdefs.h. */
22655 #include <math.h>
22656 #ifdef HAVE_IEEEFP_H
22657 #include <ieeefp.h>
22658 #endif
22661 main ()
22663 qfpclass(0);
22665 return 0;
22667 _ACEOF
22668 if ac_fn_cxx_try_compile "$LINENO"; then :
22669 glibcxx_cv_func_qfpclass_use=yes
22670 else
22671 glibcxx_cv_func_qfpclass_use=no
22673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22674 ac_ext=c
22675 ac_cpp='$CPP $CPPFLAGS'
22676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22685 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22687 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22688 for ac_func in qfpclass
22689 do :
22690 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22691 if test "x$ac_cv_func_qfpclass" = x""yes; then :
22692 cat >>confdefs.h <<_ACEOF
22693 #define HAVE_QFPCLASS 1
22694 _ACEOF
22697 done
22699 else
22701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22702 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22703 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22704 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
22705 $as_echo_n "(cached) " >&6
22706 else
22709 ac_ext=cpp
22710 ac_cpp='$CXXCPP $CPPFLAGS'
22711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22716 /* end confdefs.h. */
22717 #include <math.h>
22718 #ifdef HAVE_IEEEFP_H
22719 #include <ieeefp.h>
22720 #endif
22723 main ()
22725 _qfpclass(0);
22727 return 0;
22729 _ACEOF
22730 if ac_fn_cxx_try_compile "$LINENO"; then :
22731 glibcxx_cv_func__qfpclass_use=yes
22732 else
22733 glibcxx_cv_func__qfpclass_use=no
22735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22736 ac_ext=c
22737 ac_cpp='$CPP $CPPFLAGS'
22738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22747 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22749 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
22750 for ac_func in _qfpclass
22751 do :
22752 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
22753 if test "x$ac_cv_func__qfpclass" = x""yes; then :
22754 cat >>confdefs.h <<_ACEOF
22755 #define HAVE__QFPCLASS 1
22756 _ACEOF
22759 done
22768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
22769 $as_echo_n "checking for hypot declaration... " >&6; }
22770 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
22771 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
22772 $as_echo_n "(cached) " >&6
22773 else
22776 ac_ext=cpp
22777 ac_cpp='$CXXCPP $CPPFLAGS'
22778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22783 /* end confdefs.h. */
22784 #include <math.h>
22786 main ()
22788 hypot(0, 0);
22790 return 0;
22792 _ACEOF
22793 if ac_fn_cxx_try_compile "$LINENO"; then :
22794 glibcxx_cv_func_hypot_use=yes
22795 else
22796 glibcxx_cv_func_hypot_use=no
22798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22799 ac_ext=c
22800 ac_cpp='$CPP $CPPFLAGS'
22801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
22810 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
22812 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
22813 for ac_func in hypot
22814 do :
22815 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
22816 if test "x$ac_cv_func_hypot" = x""yes; then :
22817 cat >>confdefs.h <<_ACEOF
22818 #define HAVE_HYPOT 1
22819 _ACEOF
22822 done
22824 else
22826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
22827 $as_echo_n "checking for _hypot declaration... " >&6; }
22828 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
22829 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
22830 $as_echo_n "(cached) " >&6
22831 else
22834 ac_ext=cpp
22835 ac_cpp='$CXXCPP $CPPFLAGS'
22836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22841 /* end confdefs.h. */
22842 #include <math.h>
22844 main ()
22846 _hypot(0, 0);
22848 return 0;
22850 _ACEOF
22851 if ac_fn_cxx_try_compile "$LINENO"; then :
22852 glibcxx_cv_func__hypot_use=yes
22853 else
22854 glibcxx_cv_func__hypot_use=no
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22857 ac_ext=c
22858 ac_cpp='$CPP $CPPFLAGS'
22859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
22868 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
22870 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
22871 for ac_func in _hypot
22872 do :
22873 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
22874 if test "x$ac_cv_func__hypot" = x""yes; then :
22875 cat >>confdefs.h <<_ACEOF
22876 #define HAVE__HYPOT 1
22877 _ACEOF
22880 done
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
22890 $as_echo_n "checking for float trig functions... " >&6; }
22891 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
22892 $as_echo_n "(cached) " >&6
22893 else
22896 ac_ext=cpp
22897 ac_cpp='$CXXCPP $CPPFLAGS'
22898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22903 /* end confdefs.h. */
22904 #include <math.h>
22906 main ()
22908 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
22910 return 0;
22912 _ACEOF
22913 if ac_fn_cxx_try_compile "$LINENO"; then :
22914 glibcxx_cv_func_float_trig_use=yes
22915 else
22916 glibcxx_cv_func_float_trig_use=no
22918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22919 ac_ext=c
22920 ac_cpp='$CPP $CPPFLAGS'
22921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
22928 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
22929 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
22930 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
22931 do :
22932 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22933 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22934 eval as_val=\$$as_ac_var
22935 if test "x$as_val" = x""yes; then :
22936 cat >>confdefs.h <<_ACEOF
22937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22938 _ACEOF
22941 done
22943 else
22944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
22945 $as_echo_n "checking for _float trig functions... " >&6; }
22946 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
22947 $as_echo_n "(cached) " >&6
22948 else
22951 ac_ext=cpp
22952 ac_cpp='$CXXCPP $CPPFLAGS'
22953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22958 /* end confdefs.h. */
22959 #include <math.h>
22961 main ()
22963 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
22965 return 0;
22967 _ACEOF
22968 if ac_fn_cxx_try_compile "$LINENO"; then :
22969 glibcxx_cv_func__float_trig_use=yes
22970 else
22971 glibcxx_cv_func__float_trig_use=no
22973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22974 ac_ext=c
22975 ac_cpp='$CPP $CPPFLAGS'
22976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
22983 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
22984 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
22985 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
22986 do :
22987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
22988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
22989 eval as_val=\$$as_ac_var
22990 if test "x$as_val" = x""yes; then :
22991 cat >>confdefs.h <<_ACEOF
22992 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
22993 _ACEOF
22996 done
23005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23006 $as_echo_n "checking for float round functions... " >&6; }
23007 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
23008 $as_echo_n "(cached) " >&6
23009 else
23012 ac_ext=cpp
23013 ac_cpp='$CXXCPP $CPPFLAGS'
23014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23019 /* end confdefs.h. */
23020 #include <math.h>
23022 main ()
23024 ceilf (0); floorf (0);
23026 return 0;
23028 _ACEOF
23029 if ac_fn_cxx_try_compile "$LINENO"; then :
23030 glibcxx_cv_func_float_round_use=yes
23031 else
23032 glibcxx_cv_func_float_round_use=no
23034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23035 ac_ext=c
23036 ac_cpp='$CPP $CPPFLAGS'
23037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23044 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23045 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23046 for ac_func in ceilf floorf
23047 do :
23048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23050 eval as_val=\$$as_ac_var
23051 if test "x$as_val" = x""yes; then :
23052 cat >>confdefs.h <<_ACEOF
23053 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23054 _ACEOF
23057 done
23059 else
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23061 $as_echo_n "checking for _float round functions... " >&6; }
23062 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
23063 $as_echo_n "(cached) " >&6
23064 else
23067 ac_ext=cpp
23068 ac_cpp='$CXXCPP $CPPFLAGS'
23069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23074 /* end confdefs.h. */
23075 #include <math.h>
23077 main ()
23079 _ceilf (0); _floorf (0);
23081 return 0;
23083 _ACEOF
23084 if ac_fn_cxx_try_compile "$LINENO"; then :
23085 glibcxx_cv_func__float_round_use=yes
23086 else
23087 glibcxx_cv_func__float_round_use=no
23089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23090 ac_ext=c
23091 ac_cpp='$CPP $CPPFLAGS'
23092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23099 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23100 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23101 for ac_func in _ceilf _floorf
23102 do :
23103 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23104 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23105 eval as_val=\$$as_ac_var
23106 if test "x$as_val" = x""yes; then :
23107 cat >>confdefs.h <<_ACEOF
23108 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23109 _ACEOF
23112 done
23122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23123 $as_echo_n "checking for expf declaration... " >&6; }
23124 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23125 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
23126 $as_echo_n "(cached) " >&6
23127 else
23130 ac_ext=cpp
23131 ac_cpp='$CXXCPP $CPPFLAGS'
23132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23137 /* end confdefs.h. */
23138 #include <math.h>
23139 #ifdef HAVE_IEEEFP_H
23140 #include <ieeefp.h>
23141 #endif
23144 main ()
23146 expf(0);
23148 return 0;
23150 _ACEOF
23151 if ac_fn_cxx_try_compile "$LINENO"; then :
23152 glibcxx_cv_func_expf_use=yes
23153 else
23154 glibcxx_cv_func_expf_use=no
23156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23157 ac_ext=c
23158 ac_cpp='$CPP $CPPFLAGS'
23159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23168 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23170 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23171 for ac_func in expf
23172 do :
23173 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23174 if test "x$ac_cv_func_expf" = x""yes; then :
23175 cat >>confdefs.h <<_ACEOF
23176 #define HAVE_EXPF 1
23177 _ACEOF
23180 done
23182 else
23184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23185 $as_echo_n "checking for _expf declaration... " >&6; }
23186 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23187 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
23188 $as_echo_n "(cached) " >&6
23189 else
23192 ac_ext=cpp
23193 ac_cpp='$CXXCPP $CPPFLAGS'
23194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23199 /* end confdefs.h. */
23200 #include <math.h>
23201 #ifdef HAVE_IEEEFP_H
23202 #include <ieeefp.h>
23203 #endif
23206 main ()
23208 _expf(0);
23210 return 0;
23212 _ACEOF
23213 if ac_fn_cxx_try_compile "$LINENO"; then :
23214 glibcxx_cv_func__expf_use=yes
23215 else
23216 glibcxx_cv_func__expf_use=no
23218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23219 ac_ext=c
23220 ac_cpp='$CPP $CPPFLAGS'
23221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23230 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23232 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23233 for ac_func in _expf
23234 do :
23235 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23236 if test "x$ac_cv_func__expf" = x""yes; then :
23237 cat >>confdefs.h <<_ACEOF
23238 #define HAVE__EXPF 1
23239 _ACEOF
23242 done
23251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23252 $as_echo_n "checking for isnanf declaration... " >&6; }
23253 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23254 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
23255 $as_echo_n "(cached) " >&6
23256 else
23259 ac_ext=cpp
23260 ac_cpp='$CXXCPP $CPPFLAGS'
23261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23266 /* end confdefs.h. */
23267 #include <math.h>
23268 #ifdef HAVE_IEEEFP_H
23269 #include <ieeefp.h>
23270 #endif
23273 main ()
23275 isnanf(0);
23277 return 0;
23279 _ACEOF
23280 if ac_fn_cxx_try_compile "$LINENO"; then :
23281 glibcxx_cv_func_isnanf_use=yes
23282 else
23283 glibcxx_cv_func_isnanf_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_isnanf_use" >&5
23297 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23299 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23300 for ac_func in isnanf
23301 do :
23302 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23303 if test "x$ac_cv_func_isnanf" = x""yes; then :
23304 cat >>confdefs.h <<_ACEOF
23305 #define HAVE_ISNANF 1
23306 _ACEOF
23309 done
23311 else
23313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23314 $as_echo_n "checking for _isnanf declaration... " >&6; }
23315 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23316 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
23317 $as_echo_n "(cached) " >&6
23318 else
23321 ac_ext=cpp
23322 ac_cpp='$CXXCPP $CPPFLAGS'
23323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23328 /* end confdefs.h. */
23329 #include <math.h>
23330 #ifdef HAVE_IEEEFP_H
23331 #include <ieeefp.h>
23332 #endif
23335 main ()
23337 _isnanf(0);
23339 return 0;
23341 _ACEOF
23342 if ac_fn_cxx_try_compile "$LINENO"; then :
23343 glibcxx_cv_func__isnanf_use=yes
23344 else
23345 glibcxx_cv_func__isnanf_use=no
23347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23348 ac_ext=c
23349 ac_cpp='$CPP $CPPFLAGS'
23350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23359 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23361 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23362 for ac_func in _isnanf
23363 do :
23364 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23365 if test "x$ac_cv_func__isnanf" = x""yes; then :
23366 cat >>confdefs.h <<_ACEOF
23367 #define HAVE__ISNANF 1
23368 _ACEOF
23371 done
23380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23381 $as_echo_n "checking for isinff declaration... " >&6; }
23382 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23383 if test "${glibcxx_cv_func_isinff_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 isinff(0);
23406 return 0;
23408 _ACEOF
23409 if ac_fn_cxx_try_compile "$LINENO"; then :
23410 glibcxx_cv_func_isinff_use=yes
23411 else
23412 glibcxx_cv_func_isinff_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_isinff_use" >&5
23426 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23428 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23429 for ac_func in isinff
23430 do :
23431 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23432 if test "x$ac_cv_func_isinff" = x""yes; then :
23433 cat >>confdefs.h <<_ACEOF
23434 #define HAVE_ISINFF 1
23435 _ACEOF
23438 done
23440 else
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23443 $as_echo_n "checking for _isinff declaration... " >&6; }
23444 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23445 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
23446 $as_echo_n "(cached) " >&6
23447 else
23450 ac_ext=cpp
23451 ac_cpp='$CXXCPP $CPPFLAGS'
23452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23457 /* end confdefs.h. */
23458 #include <math.h>
23459 #ifdef HAVE_IEEEFP_H
23460 #include <ieeefp.h>
23461 #endif
23464 main ()
23466 _isinff(0);
23468 return 0;
23470 _ACEOF
23471 if ac_fn_cxx_try_compile "$LINENO"; then :
23472 glibcxx_cv_func__isinff_use=yes
23473 else
23474 glibcxx_cv_func__isinff_use=no
23476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23477 ac_ext=c
23478 ac_cpp='$CPP $CPPFLAGS'
23479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23488 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23490 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23491 for ac_func in _isinff
23492 do :
23493 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23494 if test "x$ac_cv_func__isinff" = x""yes; then :
23495 cat >>confdefs.h <<_ACEOF
23496 #define HAVE__ISINFF 1
23497 _ACEOF
23500 done
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23510 $as_echo_n "checking for atan2f declaration... " >&6; }
23511 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23512 if test "${glibcxx_cv_func_atan2f_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>
23527 main ()
23529 atan2f(0, 0);
23531 return 0;
23533 _ACEOF
23534 if ac_fn_cxx_try_compile "$LINENO"; then :
23535 glibcxx_cv_func_atan2f_use=yes
23536 else
23537 glibcxx_cv_func_atan2f_use=no
23539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23540 ac_ext=c
23541 ac_cpp='$CPP $CPPFLAGS'
23542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23551 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23553 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23554 for ac_func in atan2f
23555 do :
23556 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23557 if test "x$ac_cv_func_atan2f" = x""yes; then :
23558 cat >>confdefs.h <<_ACEOF
23559 #define HAVE_ATAN2F 1
23560 _ACEOF
23563 done
23565 else
23567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23568 $as_echo_n "checking for _atan2f declaration... " >&6; }
23569 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23570 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
23571 $as_echo_n "(cached) " >&6
23572 else
23575 ac_ext=cpp
23576 ac_cpp='$CXXCPP $CPPFLAGS'
23577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23582 /* end confdefs.h. */
23583 #include <math.h>
23585 main ()
23587 _atan2f(0, 0);
23589 return 0;
23591 _ACEOF
23592 if ac_fn_cxx_try_compile "$LINENO"; then :
23593 glibcxx_cv_func__atan2f_use=yes
23594 else
23595 glibcxx_cv_func__atan2f_use=no
23597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23598 ac_ext=c
23599 ac_cpp='$CPP $CPPFLAGS'
23600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23609 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23611 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23612 for ac_func in _atan2f
23613 do :
23614 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23615 if test "x$ac_cv_func__atan2f" = x""yes; then :
23616 cat >>confdefs.h <<_ACEOF
23617 #define HAVE__ATAN2F 1
23618 _ACEOF
23621 done
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23631 $as_echo_n "checking for fabsf declaration... " >&6; }
23632 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23633 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
23634 $as_echo_n "(cached) " >&6
23635 else
23638 ac_ext=cpp
23639 ac_cpp='$CXXCPP $CPPFLAGS'
23640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23645 /* end confdefs.h. */
23646 #include <math.h>
23647 #ifdef HAVE_IEEEFP_H
23648 #include <ieeefp.h>
23649 #endif
23652 main ()
23654 fabsf(0);
23656 return 0;
23658 _ACEOF
23659 if ac_fn_cxx_try_compile "$LINENO"; then :
23660 glibcxx_cv_func_fabsf_use=yes
23661 else
23662 glibcxx_cv_func_fabsf_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_fabsf_use" >&5
23676 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23678 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23679 for ac_func in fabsf
23680 do :
23681 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23682 if test "x$ac_cv_func_fabsf" = x""yes; then :
23683 cat >>confdefs.h <<_ACEOF
23684 #define HAVE_FABSF 1
23685 _ACEOF
23688 done
23690 else
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23693 $as_echo_n "checking for _fabsf declaration... " >&6; }
23694 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23695 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
23696 $as_echo_n "(cached) " >&6
23697 else
23700 ac_ext=cpp
23701 ac_cpp='$CXXCPP $CPPFLAGS'
23702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23707 /* end confdefs.h. */
23708 #include <math.h>
23709 #ifdef HAVE_IEEEFP_H
23710 #include <ieeefp.h>
23711 #endif
23714 main ()
23716 _fabsf(0);
23718 return 0;
23720 _ACEOF
23721 if ac_fn_cxx_try_compile "$LINENO"; then :
23722 glibcxx_cv_func__fabsf_use=yes
23723 else
23724 glibcxx_cv_func__fabsf_use=no
23726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23727 ac_ext=c
23728 ac_cpp='$CPP $CPPFLAGS'
23729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23738 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23740 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23741 for ac_func in _fabsf
23742 do :
23743 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23744 if test "x$ac_cv_func__fabsf" = x""yes; then :
23745 cat >>confdefs.h <<_ACEOF
23746 #define HAVE__FABSF 1
23747 _ACEOF
23750 done
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
23760 $as_echo_n "checking for fmodf declaration... " >&6; }
23761 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
23762 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
23763 $as_echo_n "(cached) " >&6
23764 else
23767 ac_ext=cpp
23768 ac_cpp='$CXXCPP $CPPFLAGS'
23769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23774 /* end confdefs.h. */
23775 #include <math.h>
23777 main ()
23779 fmodf(0, 0);
23781 return 0;
23783 _ACEOF
23784 if ac_fn_cxx_try_compile "$LINENO"; then :
23785 glibcxx_cv_func_fmodf_use=yes
23786 else
23787 glibcxx_cv_func_fmodf_use=no
23789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23790 ac_ext=c
23791 ac_cpp='$CPP $CPPFLAGS'
23792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
23801 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
23803 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
23804 for ac_func in fmodf
23805 do :
23806 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
23807 if test "x$ac_cv_func_fmodf" = x""yes; then :
23808 cat >>confdefs.h <<_ACEOF
23809 #define HAVE_FMODF 1
23810 _ACEOF
23813 done
23815 else
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
23818 $as_echo_n "checking for _fmodf declaration... " >&6; }
23819 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
23820 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
23821 $as_echo_n "(cached) " >&6
23822 else
23825 ac_ext=cpp
23826 ac_cpp='$CXXCPP $CPPFLAGS'
23827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23832 /* end confdefs.h. */
23833 #include <math.h>
23835 main ()
23837 _fmodf(0, 0);
23839 return 0;
23841 _ACEOF
23842 if ac_fn_cxx_try_compile "$LINENO"; then :
23843 glibcxx_cv_func__fmodf_use=yes
23844 else
23845 glibcxx_cv_func__fmodf_use=no
23847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23848 ac_ext=c
23849 ac_cpp='$CPP $CPPFLAGS'
23850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
23859 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
23861 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
23862 for ac_func in _fmodf
23863 do :
23864 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
23865 if test "x$ac_cv_func__fmodf" = x""yes; then :
23866 cat >>confdefs.h <<_ACEOF
23867 #define HAVE__FMODF 1
23868 _ACEOF
23871 done
23880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
23881 $as_echo_n "checking for frexpf declaration... " >&6; }
23882 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
23883 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
23884 $as_echo_n "(cached) " >&6
23885 else
23888 ac_ext=cpp
23889 ac_cpp='$CXXCPP $CPPFLAGS'
23890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23895 /* end confdefs.h. */
23896 #include <math.h>
23898 main ()
23900 frexpf(0, 0);
23902 return 0;
23904 _ACEOF
23905 if ac_fn_cxx_try_compile "$LINENO"; then :
23906 glibcxx_cv_func_frexpf_use=yes
23907 else
23908 glibcxx_cv_func_frexpf_use=no
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911 ac_ext=c
23912 ac_cpp='$CPP $CPPFLAGS'
23913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
23922 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
23924 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
23925 for ac_func in frexpf
23926 do :
23927 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
23928 if test "x$ac_cv_func_frexpf" = x""yes; then :
23929 cat >>confdefs.h <<_ACEOF
23930 #define HAVE_FREXPF 1
23931 _ACEOF
23934 done
23936 else
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
23939 $as_echo_n "checking for _frexpf declaration... " >&6; }
23940 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
23941 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
23942 $as_echo_n "(cached) " >&6
23943 else
23946 ac_ext=cpp
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23954 #include <math.h>
23956 main ()
23958 _frexpf(0, 0);
23960 return 0;
23962 _ACEOF
23963 if ac_fn_cxx_try_compile "$LINENO"; then :
23964 glibcxx_cv_func__frexpf_use=yes
23965 else
23966 glibcxx_cv_func__frexpf_use=no
23968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23969 ac_ext=c
23970 ac_cpp='$CPP $CPPFLAGS'
23971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
23980 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
23982 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
23983 for ac_func in _frexpf
23984 do :
23985 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
23986 if test "x$ac_cv_func__frexpf" = x""yes; then :
23987 cat >>confdefs.h <<_ACEOF
23988 #define HAVE__FREXPF 1
23989 _ACEOF
23992 done
24001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24002 $as_echo_n "checking for hypotf declaration... " >&6; }
24003 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24004 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
24005 $as_echo_n "(cached) " >&6
24006 else
24009 ac_ext=cpp
24010 ac_cpp='$CXXCPP $CPPFLAGS'
24011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24016 /* end confdefs.h. */
24017 #include <math.h>
24019 main ()
24021 hypotf(0, 0);
24023 return 0;
24025 _ACEOF
24026 if ac_fn_cxx_try_compile "$LINENO"; then :
24027 glibcxx_cv_func_hypotf_use=yes
24028 else
24029 glibcxx_cv_func_hypotf_use=no
24031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24032 ac_ext=c
24033 ac_cpp='$CPP $CPPFLAGS'
24034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24043 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24045 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24046 for ac_func in hypotf
24047 do :
24048 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24049 if test "x$ac_cv_func_hypotf" = x""yes; then :
24050 cat >>confdefs.h <<_ACEOF
24051 #define HAVE_HYPOTF 1
24052 _ACEOF
24055 done
24057 else
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24060 $as_echo_n "checking for _hypotf declaration... " >&6; }
24061 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24062 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
24063 $as_echo_n "(cached) " >&6
24064 else
24067 ac_ext=cpp
24068 ac_cpp='$CXXCPP $CPPFLAGS'
24069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24074 /* end confdefs.h. */
24075 #include <math.h>
24077 main ()
24079 _hypotf(0, 0);
24081 return 0;
24083 _ACEOF
24084 if ac_fn_cxx_try_compile "$LINENO"; then :
24085 glibcxx_cv_func__hypotf_use=yes
24086 else
24087 glibcxx_cv_func__hypotf_use=no
24089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24090 ac_ext=c
24091 ac_cpp='$CPP $CPPFLAGS'
24092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24101 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24103 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24104 for ac_func in _hypotf
24105 do :
24106 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24107 if test "x$ac_cv_func__hypotf" = x""yes; then :
24108 cat >>confdefs.h <<_ACEOF
24109 #define HAVE__HYPOTF 1
24110 _ACEOF
24113 done
24122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24123 $as_echo_n "checking for ldexpf declaration... " >&6; }
24124 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24125 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
24126 $as_echo_n "(cached) " >&6
24127 else
24130 ac_ext=cpp
24131 ac_cpp='$CXXCPP $CPPFLAGS'
24132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24137 /* end confdefs.h. */
24138 #include <math.h>
24140 main ()
24142 ldexpf(0, 0);
24144 return 0;
24146 _ACEOF
24147 if ac_fn_cxx_try_compile "$LINENO"; then :
24148 glibcxx_cv_func_ldexpf_use=yes
24149 else
24150 glibcxx_cv_func_ldexpf_use=no
24152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24153 ac_ext=c
24154 ac_cpp='$CPP $CPPFLAGS'
24155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24164 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24166 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24167 for ac_func in ldexpf
24168 do :
24169 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24170 if test "x$ac_cv_func_ldexpf" = x""yes; then :
24171 cat >>confdefs.h <<_ACEOF
24172 #define HAVE_LDEXPF 1
24173 _ACEOF
24176 done
24178 else
24180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24181 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24182 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24183 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
24184 $as_echo_n "(cached) " >&6
24185 else
24188 ac_ext=cpp
24189 ac_cpp='$CXXCPP $CPPFLAGS'
24190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24195 /* end confdefs.h. */
24196 #include <math.h>
24198 main ()
24200 _ldexpf(0, 0);
24202 return 0;
24204 _ACEOF
24205 if ac_fn_cxx_try_compile "$LINENO"; then :
24206 glibcxx_cv_func__ldexpf_use=yes
24207 else
24208 glibcxx_cv_func__ldexpf_use=no
24210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24211 ac_ext=c
24212 ac_cpp='$CPP $CPPFLAGS'
24213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24222 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24224 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24225 for ac_func in _ldexpf
24226 do :
24227 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24228 if test "x$ac_cv_func__ldexpf" = x""yes; then :
24229 cat >>confdefs.h <<_ACEOF
24230 #define HAVE__LDEXPF 1
24231 _ACEOF
24234 done
24243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24244 $as_echo_n "checking for logf declaration... " >&6; }
24245 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24246 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
24247 $as_echo_n "(cached) " >&6
24248 else
24251 ac_ext=cpp
24252 ac_cpp='$CXXCPP $CPPFLAGS'
24253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24258 /* end confdefs.h. */
24259 #include <math.h>
24260 #ifdef HAVE_IEEEFP_H
24261 #include <ieeefp.h>
24262 #endif
24265 main ()
24267 logf(0);
24269 return 0;
24271 _ACEOF
24272 if ac_fn_cxx_try_compile "$LINENO"; then :
24273 glibcxx_cv_func_logf_use=yes
24274 else
24275 glibcxx_cv_func_logf_use=no
24277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24278 ac_ext=c
24279 ac_cpp='$CPP $CPPFLAGS'
24280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24289 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24291 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24292 for ac_func in logf
24293 do :
24294 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24295 if test "x$ac_cv_func_logf" = x""yes; then :
24296 cat >>confdefs.h <<_ACEOF
24297 #define HAVE_LOGF 1
24298 _ACEOF
24301 done
24303 else
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24306 $as_echo_n "checking for _logf declaration... " >&6; }
24307 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24308 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
24309 $as_echo_n "(cached) " >&6
24310 else
24313 ac_ext=cpp
24314 ac_cpp='$CXXCPP $CPPFLAGS'
24315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24320 /* end confdefs.h. */
24321 #include <math.h>
24322 #ifdef HAVE_IEEEFP_H
24323 #include <ieeefp.h>
24324 #endif
24327 main ()
24329 _logf(0);
24331 return 0;
24333 _ACEOF
24334 if ac_fn_cxx_try_compile "$LINENO"; then :
24335 glibcxx_cv_func__logf_use=yes
24336 else
24337 glibcxx_cv_func__logf_use=no
24339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24340 ac_ext=c
24341 ac_cpp='$CPP $CPPFLAGS'
24342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24351 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24353 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24354 for ac_func in _logf
24355 do :
24356 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24357 if test "x$ac_cv_func__logf" = x""yes; then :
24358 cat >>confdefs.h <<_ACEOF
24359 #define HAVE__LOGF 1
24360 _ACEOF
24363 done
24372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24373 $as_echo_n "checking for log10f declaration... " >&6; }
24374 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24375 if test "${glibcxx_cv_func_log10f_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>
24389 #ifdef HAVE_IEEEFP_H
24390 #include <ieeefp.h>
24391 #endif
24394 main ()
24396 log10f(0);
24398 return 0;
24400 _ACEOF
24401 if ac_fn_cxx_try_compile "$LINENO"; then :
24402 glibcxx_cv_func_log10f_use=yes
24403 else
24404 glibcxx_cv_func_log10f_use=no
24406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24407 ac_ext=c
24408 ac_cpp='$CPP $CPPFLAGS'
24409 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24410 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24411 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24418 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24420 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24421 for ac_func in log10f
24422 do :
24423 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24424 if test "x$ac_cv_func_log10f" = x""yes; then :
24425 cat >>confdefs.h <<_ACEOF
24426 #define HAVE_LOG10F 1
24427 _ACEOF
24430 done
24432 else
24434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24435 $as_echo_n "checking for _log10f declaration... " >&6; }
24436 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24437 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
24438 $as_echo_n "(cached) " >&6
24439 else
24442 ac_ext=cpp
24443 ac_cpp='$CXXCPP $CPPFLAGS'
24444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24449 /* end confdefs.h. */
24450 #include <math.h>
24451 #ifdef HAVE_IEEEFP_H
24452 #include <ieeefp.h>
24453 #endif
24456 main ()
24458 _log10f(0);
24460 return 0;
24462 _ACEOF
24463 if ac_fn_cxx_try_compile "$LINENO"; then :
24464 glibcxx_cv_func__log10f_use=yes
24465 else
24466 glibcxx_cv_func__log10f_use=no
24468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24469 ac_ext=c
24470 ac_cpp='$CPP $CPPFLAGS'
24471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24480 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24482 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24483 for ac_func in _log10f
24484 do :
24485 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24486 if test "x$ac_cv_func__log10f" = x""yes; then :
24487 cat >>confdefs.h <<_ACEOF
24488 #define HAVE__LOG10F 1
24489 _ACEOF
24492 done
24501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24502 $as_echo_n "checking for modff declaration... " >&6; }
24503 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24504 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
24505 $as_echo_n "(cached) " >&6
24506 else
24509 ac_ext=cpp
24510 ac_cpp='$CXXCPP $CPPFLAGS'
24511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24516 /* end confdefs.h. */
24517 #include <math.h>
24519 main ()
24521 modff(0, 0);
24523 return 0;
24525 _ACEOF
24526 if ac_fn_cxx_try_compile "$LINENO"; then :
24527 glibcxx_cv_func_modff_use=yes
24528 else
24529 glibcxx_cv_func_modff_use=no
24531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24532 ac_ext=c
24533 ac_cpp='$CPP $CPPFLAGS'
24534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24543 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24545 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24546 for ac_func in modff
24547 do :
24548 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24549 if test "x$ac_cv_func_modff" = x""yes; then :
24550 cat >>confdefs.h <<_ACEOF
24551 #define HAVE_MODFF 1
24552 _ACEOF
24555 done
24557 else
24559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24560 $as_echo_n "checking for _modff declaration... " >&6; }
24561 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24562 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
24563 $as_echo_n "(cached) " >&6
24564 else
24567 ac_ext=cpp
24568 ac_cpp='$CXXCPP $CPPFLAGS'
24569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24574 /* end confdefs.h. */
24575 #include <math.h>
24577 main ()
24579 _modff(0, 0);
24581 return 0;
24583 _ACEOF
24584 if ac_fn_cxx_try_compile "$LINENO"; then :
24585 glibcxx_cv_func__modff_use=yes
24586 else
24587 glibcxx_cv_func__modff_use=no
24589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24590 ac_ext=c
24591 ac_cpp='$CPP $CPPFLAGS'
24592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24601 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24603 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24604 for ac_func in _modff
24605 do :
24606 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24607 if test "x$ac_cv_func__modff" = x""yes; then :
24608 cat >>confdefs.h <<_ACEOF
24609 #define HAVE__MODFF 1
24610 _ACEOF
24613 done
24622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24623 $as_echo_n "checking for modf declaration... " >&6; }
24624 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24625 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
24626 $as_echo_n "(cached) " >&6
24627 else
24630 ac_ext=cpp
24631 ac_cpp='$CXXCPP $CPPFLAGS'
24632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24637 /* end confdefs.h. */
24638 #include <math.h>
24640 main ()
24642 modf(0, 0);
24644 return 0;
24646 _ACEOF
24647 if ac_fn_cxx_try_compile "$LINENO"; then :
24648 glibcxx_cv_func_modf_use=yes
24649 else
24650 glibcxx_cv_func_modf_use=no
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24664 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24666 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24667 for ac_func in modf
24668 do :
24669 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24670 if test "x$ac_cv_func_modf" = x""yes; then :
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE_MODF 1
24673 _ACEOF
24676 done
24678 else
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24681 $as_echo_n "checking for _modf declaration... " >&6; }
24682 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24683 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24698 main ()
24700 _modf(0, 0);
24702 return 0;
24704 _ACEOF
24705 if ac_fn_cxx_try_compile "$LINENO"; then :
24706 glibcxx_cv_func__modf_use=yes
24707 else
24708 glibcxx_cv_func__modf_use=no
24710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24711 ac_ext=c
24712 ac_cpp='$CPP $CPPFLAGS'
24713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24722 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24724 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24725 for ac_func in _modf
24726 do :
24727 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24728 if test "x$ac_cv_func__modf" = x""yes; then :
24729 cat >>confdefs.h <<_ACEOF
24730 #define HAVE__MODF 1
24731 _ACEOF
24734 done
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24744 $as_echo_n "checking for powf declaration... " >&6; }
24745 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24746 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
24747 $as_echo_n "(cached) " >&6
24748 else
24751 ac_ext=cpp
24752 ac_cpp='$CXXCPP $CPPFLAGS'
24753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24758 /* end confdefs.h. */
24759 #include <math.h>
24761 main ()
24763 powf(0, 0);
24765 return 0;
24767 _ACEOF
24768 if ac_fn_cxx_try_compile "$LINENO"; then :
24769 glibcxx_cv_func_powf_use=yes
24770 else
24771 glibcxx_cv_func_powf_use=no
24773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24774 ac_ext=c
24775 ac_cpp='$CPP $CPPFLAGS'
24776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
24785 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
24787 if test x$glibcxx_cv_func_powf_use = x"yes"; then
24788 for ac_func in powf
24789 do :
24790 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
24791 if test "x$ac_cv_func_powf" = x""yes; then :
24792 cat >>confdefs.h <<_ACEOF
24793 #define HAVE_POWF 1
24794 _ACEOF
24797 done
24799 else
24801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
24802 $as_echo_n "checking for _powf declaration... " >&6; }
24803 if test x${glibcxx_cv_func__powf_use+set} != xset; then
24804 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
24805 $as_echo_n "(cached) " >&6
24806 else
24809 ac_ext=cpp
24810 ac_cpp='$CXXCPP $CPPFLAGS'
24811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24816 /* end confdefs.h. */
24817 #include <math.h>
24819 main ()
24821 _powf(0, 0);
24823 return 0;
24825 _ACEOF
24826 if ac_fn_cxx_try_compile "$LINENO"; then :
24827 glibcxx_cv_func__powf_use=yes
24828 else
24829 glibcxx_cv_func__powf_use=no
24831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24832 ac_ext=c
24833 ac_cpp='$CPP $CPPFLAGS'
24834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
24843 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
24845 if test x$glibcxx_cv_func__powf_use = x"yes"; then
24846 for ac_func in _powf
24847 do :
24848 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
24849 if test "x$ac_cv_func__powf" = x""yes; then :
24850 cat >>confdefs.h <<_ACEOF
24851 #define HAVE__POWF 1
24852 _ACEOF
24855 done
24864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
24865 $as_echo_n "checking for sqrtf declaration... " >&6; }
24866 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
24867 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
24868 $as_echo_n "(cached) " >&6
24869 else
24872 ac_ext=cpp
24873 ac_cpp='$CXXCPP $CPPFLAGS'
24874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24879 /* end confdefs.h. */
24880 #include <math.h>
24881 #ifdef HAVE_IEEEFP_H
24882 #include <ieeefp.h>
24883 #endif
24886 main ()
24888 sqrtf(0);
24890 return 0;
24892 _ACEOF
24893 if ac_fn_cxx_try_compile "$LINENO"; then :
24894 glibcxx_cv_func_sqrtf_use=yes
24895 else
24896 glibcxx_cv_func_sqrtf_use=no
24898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899 ac_ext=c
24900 ac_cpp='$CPP $CPPFLAGS'
24901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
24910 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
24912 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
24913 for ac_func in sqrtf
24914 do :
24915 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
24916 if test "x$ac_cv_func_sqrtf" = x""yes; then :
24917 cat >>confdefs.h <<_ACEOF
24918 #define HAVE_SQRTF 1
24919 _ACEOF
24922 done
24924 else
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
24927 $as_echo_n "checking for _sqrtf declaration... " >&6; }
24928 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
24929 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
24930 $as_echo_n "(cached) " >&6
24931 else
24934 ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h. */
24942 #include <math.h>
24943 #ifdef HAVE_IEEEFP_H
24944 #include <ieeefp.h>
24945 #endif
24948 main ()
24950 _sqrtf(0);
24952 return 0;
24954 _ACEOF
24955 if ac_fn_cxx_try_compile "$LINENO"; then :
24956 glibcxx_cv_func__sqrtf_use=yes
24957 else
24958 glibcxx_cv_func__sqrtf_use=no
24960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24961 ac_ext=c
24962 ac_cpp='$CPP $CPPFLAGS'
24963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
24972 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
24974 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
24975 for ac_func in _sqrtf
24976 do :
24977 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
24978 if test "x$ac_cv_func__sqrtf" = x""yes; then :
24979 cat >>confdefs.h <<_ACEOF
24980 #define HAVE__SQRTF 1
24981 _ACEOF
24984 done
24993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
24994 $as_echo_n "checking for sincosf declaration... " >&6; }
24995 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
24996 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
24997 $as_echo_n "(cached) " >&6
24998 else
25001 ac_ext=cpp
25002 ac_cpp='$CXXCPP $CPPFLAGS'
25003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25008 /* end confdefs.h. */
25009 #include <math.h>
25011 main ()
25013 sincosf(0, 0, 0);
25015 return 0;
25017 _ACEOF
25018 if ac_fn_cxx_try_compile "$LINENO"; then :
25019 glibcxx_cv_func_sincosf_use=yes
25020 else
25021 glibcxx_cv_func_sincosf_use=no
25023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25024 ac_ext=c
25025 ac_cpp='$CPP $CPPFLAGS'
25026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25035 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25037 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25038 for ac_func in sincosf
25039 do :
25040 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25041 if test "x$ac_cv_func_sincosf" = x""yes; then :
25042 cat >>confdefs.h <<_ACEOF
25043 #define HAVE_SINCOSF 1
25044 _ACEOF
25047 done
25049 else
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25052 $as_echo_n "checking for _sincosf declaration... " >&6; }
25053 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25054 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
25055 $as_echo_n "(cached) " >&6
25056 else
25059 ac_ext=cpp
25060 ac_cpp='$CXXCPP $CPPFLAGS'
25061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25066 /* end confdefs.h. */
25067 #include <math.h>
25069 main ()
25071 _sincosf(0, 0, 0);
25073 return 0;
25075 _ACEOF
25076 if ac_fn_cxx_try_compile "$LINENO"; then :
25077 glibcxx_cv_func__sincosf_use=yes
25078 else
25079 glibcxx_cv_func__sincosf_use=no
25081 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25082 ac_ext=c
25083 ac_cpp='$CPP $CPPFLAGS'
25084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25093 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25095 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25096 for ac_func in _sincosf
25097 do :
25098 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25099 if test "x$ac_cv_func__sincosf" = x""yes; then :
25100 cat >>confdefs.h <<_ACEOF
25101 #define HAVE__SINCOSF 1
25102 _ACEOF
25105 done
25114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25115 $as_echo_n "checking for finitef declaration... " >&6; }
25116 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25117 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
25118 $as_echo_n "(cached) " >&6
25119 else
25122 ac_ext=cpp
25123 ac_cpp='$CXXCPP $CPPFLAGS'
25124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25129 /* end confdefs.h. */
25130 #include <math.h>
25131 #ifdef HAVE_IEEEFP_H
25132 #include <ieeefp.h>
25133 #endif
25136 main ()
25138 finitef(0);
25140 return 0;
25142 _ACEOF
25143 if ac_fn_cxx_try_compile "$LINENO"; then :
25144 glibcxx_cv_func_finitef_use=yes
25145 else
25146 glibcxx_cv_func_finitef_use=no
25148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25149 ac_ext=c
25150 ac_cpp='$CPP $CPPFLAGS'
25151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25160 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25162 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25163 for ac_func in finitef
25164 do :
25165 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25166 if test "x$ac_cv_func_finitef" = x""yes; then :
25167 cat >>confdefs.h <<_ACEOF
25168 #define HAVE_FINITEF 1
25169 _ACEOF
25172 done
25174 else
25176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25177 $as_echo_n "checking for _finitef declaration... " >&6; }
25178 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25179 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
25180 $as_echo_n "(cached) " >&6
25181 else
25184 ac_ext=cpp
25185 ac_cpp='$CXXCPP $CPPFLAGS'
25186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25191 /* end confdefs.h. */
25192 #include <math.h>
25193 #ifdef HAVE_IEEEFP_H
25194 #include <ieeefp.h>
25195 #endif
25198 main ()
25200 _finitef(0);
25202 return 0;
25204 _ACEOF
25205 if ac_fn_cxx_try_compile "$LINENO"; then :
25206 glibcxx_cv_func__finitef_use=yes
25207 else
25208 glibcxx_cv_func__finitef_use=no
25210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25211 ac_ext=c
25212 ac_cpp='$CPP $CPPFLAGS'
25213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25222 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25224 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25225 for ac_func in _finitef
25226 do :
25227 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25228 if test "x$ac_cv_func__finitef" = x""yes; then :
25229 cat >>confdefs.h <<_ACEOF
25230 #define HAVE__FINITEF 1
25231 _ACEOF
25234 done
25243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25244 $as_echo_n "checking for long double trig functions... " >&6; }
25245 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
25246 $as_echo_n "(cached) " >&6
25247 else
25250 ac_ext=cpp
25251 ac_cpp='$CXXCPP $CPPFLAGS'
25252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25257 /* end confdefs.h. */
25258 #include <math.h>
25260 main ()
25262 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25264 return 0;
25266 _ACEOF
25267 if ac_fn_cxx_try_compile "$LINENO"; then :
25268 glibcxx_cv_func_long_double_trig_use=yes
25269 else
25270 glibcxx_cv_func_long_double_trig_use=no
25272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25273 ac_ext=c
25274 ac_cpp='$CPP $CPPFLAGS'
25275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25282 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25283 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25284 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25285 do :
25286 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25287 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25288 eval as_val=\$$as_ac_var
25289 if test "x$as_val" = x""yes; then :
25290 cat >>confdefs.h <<_ACEOF
25291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25292 _ACEOF
25295 done
25297 else
25298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25299 $as_echo_n "checking for _long double trig functions... " >&6; }
25300 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
25301 $as_echo_n "(cached) " >&6
25302 else
25305 ac_ext=cpp
25306 ac_cpp='$CXXCPP $CPPFLAGS'
25307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25313 #include <math.h>
25315 main ()
25317 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25319 return 0;
25321 _ACEOF
25322 if ac_fn_cxx_try_compile "$LINENO"; then :
25323 glibcxx_cv_func__long_double_trig_use=yes
25324 else
25325 glibcxx_cv_func__long_double_trig_use=no
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 ac_ext=c
25329 ac_cpp='$CPP $CPPFLAGS'
25330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25337 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25338 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25339 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25340 do :
25341 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25342 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25343 eval as_val=\$$as_ac_var
25344 if test "x$as_val" = x""yes; then :
25345 cat >>confdefs.h <<_ACEOF
25346 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25347 _ACEOF
25350 done
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25360 $as_echo_n "checking for long double round functions... " >&6; }
25361 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
25362 $as_echo_n "(cached) " >&6
25363 else
25366 ac_ext=cpp
25367 ac_cpp='$CXXCPP $CPPFLAGS'
25368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25373 /* end confdefs.h. */
25374 #include <math.h>
25376 main ()
25378 ceill (0); floorl (0);
25380 return 0;
25382 _ACEOF
25383 if ac_fn_cxx_try_compile "$LINENO"; then :
25384 glibcxx_cv_func_long_double_round_use=yes
25385 else
25386 glibcxx_cv_func_long_double_round_use=no
25388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25389 ac_ext=c
25390 ac_cpp='$CPP $CPPFLAGS'
25391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25398 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25399 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25400 for ac_func in ceill floorl
25401 do :
25402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25404 eval as_val=\$$as_ac_var
25405 if test "x$as_val" = x""yes; then :
25406 cat >>confdefs.h <<_ACEOF
25407 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25408 _ACEOF
25411 done
25413 else
25414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25415 $as_echo_n "checking for _long double round functions... " >&6; }
25416 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
25417 $as_echo_n "(cached) " >&6
25418 else
25421 ac_ext=cpp
25422 ac_cpp='$CXXCPP $CPPFLAGS'
25423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25428 /* end confdefs.h. */
25429 #include <math.h>
25431 main ()
25433 _ceill (0); _floorl (0);
25435 return 0;
25437 _ACEOF
25438 if ac_fn_cxx_try_compile "$LINENO"; then :
25439 glibcxx_cv_func__long_double_round_use=yes
25440 else
25441 glibcxx_cv_func__long_double_round_use=no
25443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25444 ac_ext=c
25445 ac_cpp='$CPP $CPPFLAGS'
25446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25453 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25454 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25455 for ac_func in _ceill _floorl
25456 do :
25457 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25458 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25459 eval as_val=\$$as_ac_var
25460 if test "x$as_val" = x""yes; then :
25461 cat >>confdefs.h <<_ACEOF
25462 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25463 _ACEOF
25466 done
25476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25477 $as_echo_n "checking for isnanl declaration... " >&6; }
25478 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25479 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
25480 $as_echo_n "(cached) " >&6
25481 else
25484 ac_ext=cpp
25485 ac_cpp='$CXXCPP $CPPFLAGS'
25486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25491 /* end confdefs.h. */
25492 #include <math.h>
25493 #ifdef HAVE_IEEEFP_H
25494 #include <ieeefp.h>
25495 #endif
25498 main ()
25500 isnanl(0);
25502 return 0;
25504 _ACEOF
25505 if ac_fn_cxx_try_compile "$LINENO"; then :
25506 glibcxx_cv_func_isnanl_use=yes
25507 else
25508 glibcxx_cv_func_isnanl_use=no
25510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25511 ac_ext=c
25512 ac_cpp='$CPP $CPPFLAGS'
25513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25522 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25524 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25525 for ac_func in isnanl
25526 do :
25527 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25528 if test "x$ac_cv_func_isnanl" = x""yes; then :
25529 cat >>confdefs.h <<_ACEOF
25530 #define HAVE_ISNANL 1
25531 _ACEOF
25534 done
25536 else
25538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25539 $as_echo_n "checking for _isnanl declaration... " >&6; }
25540 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25541 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
25542 $as_echo_n "(cached) " >&6
25543 else
25546 ac_ext=cpp
25547 ac_cpp='$CXXCPP $CPPFLAGS'
25548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h. */
25554 #include <math.h>
25555 #ifdef HAVE_IEEEFP_H
25556 #include <ieeefp.h>
25557 #endif
25560 main ()
25562 _isnanl(0);
25564 return 0;
25566 _ACEOF
25567 if ac_fn_cxx_try_compile "$LINENO"; then :
25568 glibcxx_cv_func__isnanl_use=yes
25569 else
25570 glibcxx_cv_func__isnanl_use=no
25572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25573 ac_ext=c
25574 ac_cpp='$CPP $CPPFLAGS'
25575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25584 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25586 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25587 for ac_func in _isnanl
25588 do :
25589 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25590 if test "x$ac_cv_func__isnanl" = x""yes; then :
25591 cat >>confdefs.h <<_ACEOF
25592 #define HAVE__ISNANL 1
25593 _ACEOF
25596 done
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25606 $as_echo_n "checking for isinfl declaration... " >&6; }
25607 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25608 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
25609 $as_echo_n "(cached) " >&6
25610 else
25613 ac_ext=cpp
25614 ac_cpp='$CXXCPP $CPPFLAGS'
25615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25620 /* end confdefs.h. */
25621 #include <math.h>
25622 #ifdef HAVE_IEEEFP_H
25623 #include <ieeefp.h>
25624 #endif
25627 main ()
25629 isinfl(0);
25631 return 0;
25633 _ACEOF
25634 if ac_fn_cxx_try_compile "$LINENO"; then :
25635 glibcxx_cv_func_isinfl_use=yes
25636 else
25637 glibcxx_cv_func_isinfl_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_isinfl_use" >&5
25651 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25653 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25654 for ac_func in isinfl
25655 do :
25656 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25657 if test "x$ac_cv_func_isinfl" = x""yes; then :
25658 cat >>confdefs.h <<_ACEOF
25659 #define HAVE_ISINFL 1
25660 _ACEOF
25663 done
25665 else
25667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25668 $as_echo_n "checking for _isinfl declaration... " >&6; }
25669 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25670 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
25671 $as_echo_n "(cached) " >&6
25672 else
25675 ac_ext=cpp
25676 ac_cpp='$CXXCPP $CPPFLAGS'
25677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25682 /* end confdefs.h. */
25683 #include <math.h>
25684 #ifdef HAVE_IEEEFP_H
25685 #include <ieeefp.h>
25686 #endif
25689 main ()
25691 _isinfl(0);
25693 return 0;
25695 _ACEOF
25696 if ac_fn_cxx_try_compile "$LINENO"; then :
25697 glibcxx_cv_func__isinfl_use=yes
25698 else
25699 glibcxx_cv_func__isinfl_use=no
25701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25702 ac_ext=c
25703 ac_cpp='$CPP $CPPFLAGS'
25704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25713 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25715 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25716 for ac_func in _isinfl
25717 do :
25718 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25719 if test "x$ac_cv_func__isinfl" = x""yes; then :
25720 cat >>confdefs.h <<_ACEOF
25721 #define HAVE__ISINFL 1
25722 _ACEOF
25725 done
25734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25735 $as_echo_n "checking for atan2l declaration... " >&6; }
25736 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25737 if test "${glibcxx_cv_func_atan2l_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>
25752 main ()
25754 atan2l(0, 0);
25756 return 0;
25758 _ACEOF
25759 if ac_fn_cxx_try_compile "$LINENO"; then :
25760 glibcxx_cv_func_atan2l_use=yes
25761 else
25762 glibcxx_cv_func_atan2l_use=no
25764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25765 ac_ext=c
25766 ac_cpp='$CPP $CPPFLAGS'
25767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
25776 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
25778 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
25779 for ac_func in atan2l
25780 do :
25781 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
25782 if test "x$ac_cv_func_atan2l" = x""yes; then :
25783 cat >>confdefs.h <<_ACEOF
25784 #define HAVE_ATAN2L 1
25785 _ACEOF
25788 done
25790 else
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
25793 $as_echo_n "checking for _atan2l declaration... " >&6; }
25794 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
25795 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
25796 $as_echo_n "(cached) " >&6
25797 else
25800 ac_ext=cpp
25801 ac_cpp='$CXXCPP $CPPFLAGS'
25802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25807 /* end confdefs.h. */
25808 #include <math.h>
25810 main ()
25812 _atan2l(0, 0);
25814 return 0;
25816 _ACEOF
25817 if ac_fn_cxx_try_compile "$LINENO"; then :
25818 glibcxx_cv_func__atan2l_use=yes
25819 else
25820 glibcxx_cv_func__atan2l_use=no
25822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25823 ac_ext=c
25824 ac_cpp='$CPP $CPPFLAGS'
25825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
25834 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
25836 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
25837 for ac_func in _atan2l
25838 do :
25839 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
25840 if test "x$ac_cv_func__atan2l" = x""yes; then :
25841 cat >>confdefs.h <<_ACEOF
25842 #define HAVE__ATAN2L 1
25843 _ACEOF
25846 done
25855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
25856 $as_echo_n "checking for expl declaration... " >&6; }
25857 if test x${glibcxx_cv_func_expl_use+set} != xset; then
25858 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
25859 $as_echo_n "(cached) " >&6
25860 else
25863 ac_ext=cpp
25864 ac_cpp='$CXXCPP $CPPFLAGS'
25865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25870 /* end confdefs.h. */
25871 #include <math.h>
25872 #ifdef HAVE_IEEEFP_H
25873 #include <ieeefp.h>
25874 #endif
25877 main ()
25879 expl(0);
25881 return 0;
25883 _ACEOF
25884 if ac_fn_cxx_try_compile "$LINENO"; then :
25885 glibcxx_cv_func_expl_use=yes
25886 else
25887 glibcxx_cv_func_expl_use=no
25889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25890 ac_ext=c
25891 ac_cpp='$CPP $CPPFLAGS'
25892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
25901 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
25903 if test x$glibcxx_cv_func_expl_use = x"yes"; then
25904 for ac_func in expl
25905 do :
25906 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
25907 if test "x$ac_cv_func_expl" = x""yes; then :
25908 cat >>confdefs.h <<_ACEOF
25909 #define HAVE_EXPL 1
25910 _ACEOF
25913 done
25915 else
25917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
25918 $as_echo_n "checking for _expl declaration... " >&6; }
25919 if test x${glibcxx_cv_func__expl_use+set} != xset; then
25920 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
25921 $as_echo_n "(cached) " >&6
25922 else
25925 ac_ext=cpp
25926 ac_cpp='$CXXCPP $CPPFLAGS'
25927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25932 /* end confdefs.h. */
25933 #include <math.h>
25934 #ifdef HAVE_IEEEFP_H
25935 #include <ieeefp.h>
25936 #endif
25939 main ()
25941 _expl(0);
25943 return 0;
25945 _ACEOF
25946 if ac_fn_cxx_try_compile "$LINENO"; then :
25947 glibcxx_cv_func__expl_use=yes
25948 else
25949 glibcxx_cv_func__expl_use=no
25951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25952 ac_ext=c
25953 ac_cpp='$CPP $CPPFLAGS'
25954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
25963 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
25965 if test x$glibcxx_cv_func__expl_use = x"yes"; then
25966 for ac_func in _expl
25967 do :
25968 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
25969 if test "x$ac_cv_func__expl" = x""yes; then :
25970 cat >>confdefs.h <<_ACEOF
25971 #define HAVE__EXPL 1
25972 _ACEOF
25975 done
25984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
25985 $as_echo_n "checking for fabsl declaration... " >&6; }
25986 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
25987 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
25988 $as_echo_n "(cached) " >&6
25989 else
25992 ac_ext=cpp
25993 ac_cpp='$CXXCPP $CPPFLAGS'
25994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25999 /* end confdefs.h. */
26000 #include <math.h>
26001 #ifdef HAVE_IEEEFP_H
26002 #include <ieeefp.h>
26003 #endif
26006 main ()
26008 fabsl(0);
26010 return 0;
26012 _ACEOF
26013 if ac_fn_cxx_try_compile "$LINENO"; then :
26014 glibcxx_cv_func_fabsl_use=yes
26015 else
26016 glibcxx_cv_func_fabsl_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_fabsl_use" >&5
26030 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26032 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26033 for ac_func in fabsl
26034 do :
26035 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26036 if test "x$ac_cv_func_fabsl" = x""yes; then :
26037 cat >>confdefs.h <<_ACEOF
26038 #define HAVE_FABSL 1
26039 _ACEOF
26042 done
26044 else
26046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26047 $as_echo_n "checking for _fabsl declaration... " >&6; }
26048 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26049 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
26050 $as_echo_n "(cached) " >&6
26051 else
26054 ac_ext=cpp
26055 ac_cpp='$CXXCPP $CPPFLAGS'
26056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26061 /* end confdefs.h. */
26062 #include <math.h>
26063 #ifdef HAVE_IEEEFP_H
26064 #include <ieeefp.h>
26065 #endif
26068 main ()
26070 _fabsl(0);
26072 return 0;
26074 _ACEOF
26075 if ac_fn_cxx_try_compile "$LINENO"; then :
26076 glibcxx_cv_func__fabsl_use=yes
26077 else
26078 glibcxx_cv_func__fabsl_use=no
26080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26081 ac_ext=c
26082 ac_cpp='$CPP $CPPFLAGS'
26083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26092 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26094 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26095 for ac_func in _fabsl
26096 do :
26097 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26098 if test "x$ac_cv_func__fabsl" = x""yes; then :
26099 cat >>confdefs.h <<_ACEOF
26100 #define HAVE__FABSL 1
26101 _ACEOF
26104 done
26113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26114 $as_echo_n "checking for fmodl declaration... " >&6; }
26115 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26116 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
26117 $as_echo_n "(cached) " >&6
26118 else
26121 ac_ext=cpp
26122 ac_cpp='$CXXCPP $CPPFLAGS'
26123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26128 /* end confdefs.h. */
26129 #include <math.h>
26131 main ()
26133 fmodl(0, 0);
26135 return 0;
26137 _ACEOF
26138 if ac_fn_cxx_try_compile "$LINENO"; then :
26139 glibcxx_cv_func_fmodl_use=yes
26140 else
26141 glibcxx_cv_func_fmodl_use=no
26143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26144 ac_ext=c
26145 ac_cpp='$CPP $CPPFLAGS'
26146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26155 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26157 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26158 for ac_func in fmodl
26159 do :
26160 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26161 if test "x$ac_cv_func_fmodl" = x""yes; then :
26162 cat >>confdefs.h <<_ACEOF
26163 #define HAVE_FMODL 1
26164 _ACEOF
26167 done
26169 else
26171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26172 $as_echo_n "checking for _fmodl declaration... " >&6; }
26173 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26174 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
26175 $as_echo_n "(cached) " >&6
26176 else
26179 ac_ext=cpp
26180 ac_cpp='$CXXCPP $CPPFLAGS'
26181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26186 /* end confdefs.h. */
26187 #include <math.h>
26189 main ()
26191 _fmodl(0, 0);
26193 return 0;
26195 _ACEOF
26196 if ac_fn_cxx_try_compile "$LINENO"; then :
26197 glibcxx_cv_func__fmodl_use=yes
26198 else
26199 glibcxx_cv_func__fmodl_use=no
26201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26202 ac_ext=c
26203 ac_cpp='$CPP $CPPFLAGS'
26204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26213 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26215 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26216 for ac_func in _fmodl
26217 do :
26218 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26219 if test "x$ac_cv_func__fmodl" = x""yes; then :
26220 cat >>confdefs.h <<_ACEOF
26221 #define HAVE__FMODL 1
26222 _ACEOF
26225 done
26234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26235 $as_echo_n "checking for frexpl declaration... " >&6; }
26236 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26237 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
26238 $as_echo_n "(cached) " >&6
26239 else
26242 ac_ext=cpp
26243 ac_cpp='$CXXCPP $CPPFLAGS'
26244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26249 /* end confdefs.h. */
26250 #include <math.h>
26252 main ()
26254 frexpl(0, 0);
26256 return 0;
26258 _ACEOF
26259 if ac_fn_cxx_try_compile "$LINENO"; then :
26260 glibcxx_cv_func_frexpl_use=yes
26261 else
26262 glibcxx_cv_func_frexpl_use=no
26264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26265 ac_ext=c
26266 ac_cpp='$CPP $CPPFLAGS'
26267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26276 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26278 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26279 for ac_func in frexpl
26280 do :
26281 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26282 if test "x$ac_cv_func_frexpl" = x""yes; then :
26283 cat >>confdefs.h <<_ACEOF
26284 #define HAVE_FREXPL 1
26285 _ACEOF
26288 done
26290 else
26292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26293 $as_echo_n "checking for _frexpl declaration... " >&6; }
26294 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26295 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
26296 $as_echo_n "(cached) " >&6
26297 else
26300 ac_ext=cpp
26301 ac_cpp='$CXXCPP $CPPFLAGS'
26302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26307 /* end confdefs.h. */
26308 #include <math.h>
26310 main ()
26312 _frexpl(0, 0);
26314 return 0;
26316 _ACEOF
26317 if ac_fn_cxx_try_compile "$LINENO"; then :
26318 glibcxx_cv_func__frexpl_use=yes
26319 else
26320 glibcxx_cv_func__frexpl_use=no
26322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26323 ac_ext=c
26324 ac_cpp='$CPP $CPPFLAGS'
26325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26334 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26336 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26337 for ac_func in _frexpl
26338 do :
26339 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26340 if test "x$ac_cv_func__frexpl" = x""yes; then :
26341 cat >>confdefs.h <<_ACEOF
26342 #define HAVE__FREXPL 1
26343 _ACEOF
26346 done
26355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26356 $as_echo_n "checking for hypotl declaration... " >&6; }
26357 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26358 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
26359 $as_echo_n "(cached) " >&6
26360 else
26363 ac_ext=cpp
26364 ac_cpp='$CXXCPP $CPPFLAGS'
26365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26370 /* end confdefs.h. */
26371 #include <math.h>
26373 main ()
26375 hypotl(0, 0);
26377 return 0;
26379 _ACEOF
26380 if ac_fn_cxx_try_compile "$LINENO"; then :
26381 glibcxx_cv_func_hypotl_use=yes
26382 else
26383 glibcxx_cv_func_hypotl_use=no
26385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26386 ac_ext=c
26387 ac_cpp='$CPP $CPPFLAGS'
26388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26397 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26399 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26400 for ac_func in hypotl
26401 do :
26402 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26403 if test "x$ac_cv_func_hypotl" = x""yes; then :
26404 cat >>confdefs.h <<_ACEOF
26405 #define HAVE_HYPOTL 1
26406 _ACEOF
26409 done
26411 else
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26414 $as_echo_n "checking for _hypotl declaration... " >&6; }
26415 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26416 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
26417 $as_echo_n "(cached) " >&6
26418 else
26421 ac_ext=cpp
26422 ac_cpp='$CXXCPP $CPPFLAGS'
26423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26428 /* end confdefs.h. */
26429 #include <math.h>
26431 main ()
26433 _hypotl(0, 0);
26435 return 0;
26437 _ACEOF
26438 if ac_fn_cxx_try_compile "$LINENO"; then :
26439 glibcxx_cv_func__hypotl_use=yes
26440 else
26441 glibcxx_cv_func__hypotl_use=no
26443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26444 ac_ext=c
26445 ac_cpp='$CPP $CPPFLAGS'
26446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26455 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26457 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26458 for ac_func in _hypotl
26459 do :
26460 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26461 if test "x$ac_cv_func__hypotl" = x""yes; then :
26462 cat >>confdefs.h <<_ACEOF
26463 #define HAVE__HYPOTL 1
26464 _ACEOF
26467 done
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26477 $as_echo_n "checking for ldexpl declaration... " >&6; }
26478 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26479 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
26480 $as_echo_n "(cached) " >&6
26481 else
26484 ac_ext=cpp
26485 ac_cpp='$CXXCPP $CPPFLAGS'
26486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26491 /* end confdefs.h. */
26492 #include <math.h>
26494 main ()
26496 ldexpl(0, 0);
26498 return 0;
26500 _ACEOF
26501 if ac_fn_cxx_try_compile "$LINENO"; then :
26502 glibcxx_cv_func_ldexpl_use=yes
26503 else
26504 glibcxx_cv_func_ldexpl_use=no
26506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26507 ac_ext=c
26508 ac_cpp='$CPP $CPPFLAGS'
26509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26518 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26520 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26521 for ac_func in ldexpl
26522 do :
26523 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26524 if test "x$ac_cv_func_ldexpl" = x""yes; then :
26525 cat >>confdefs.h <<_ACEOF
26526 #define HAVE_LDEXPL 1
26527 _ACEOF
26530 done
26532 else
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26535 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26536 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26537 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
26538 $as_echo_n "(cached) " >&6
26539 else
26542 ac_ext=cpp
26543 ac_cpp='$CXXCPP $CPPFLAGS'
26544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26549 /* end confdefs.h. */
26550 #include <math.h>
26552 main ()
26554 _ldexpl(0, 0);
26556 return 0;
26558 _ACEOF
26559 if ac_fn_cxx_try_compile "$LINENO"; then :
26560 glibcxx_cv_func__ldexpl_use=yes
26561 else
26562 glibcxx_cv_func__ldexpl_use=no
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565 ac_ext=c
26566 ac_cpp='$CPP $CPPFLAGS'
26567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26576 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26578 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26579 for ac_func in _ldexpl
26580 do :
26581 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26582 if test "x$ac_cv_func__ldexpl" = x""yes; then :
26583 cat >>confdefs.h <<_ACEOF
26584 #define HAVE__LDEXPL 1
26585 _ACEOF
26588 done
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26598 $as_echo_n "checking for logl declaration... " >&6; }
26599 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26600 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
26601 $as_echo_n "(cached) " >&6
26602 else
26605 ac_ext=cpp
26606 ac_cpp='$CXXCPP $CPPFLAGS'
26607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26612 /* end confdefs.h. */
26613 #include <math.h>
26614 #ifdef HAVE_IEEEFP_H
26615 #include <ieeefp.h>
26616 #endif
26619 main ()
26621 logl(0);
26623 return 0;
26625 _ACEOF
26626 if ac_fn_cxx_try_compile "$LINENO"; then :
26627 glibcxx_cv_func_logl_use=yes
26628 else
26629 glibcxx_cv_func_logl_use=no
26631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26632 ac_ext=c
26633 ac_cpp='$CPP $CPPFLAGS'
26634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26643 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26645 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26646 for ac_func in logl
26647 do :
26648 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26649 if test "x$ac_cv_func_logl" = x""yes; then :
26650 cat >>confdefs.h <<_ACEOF
26651 #define HAVE_LOGL 1
26652 _ACEOF
26655 done
26657 else
26659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26660 $as_echo_n "checking for _logl declaration... " >&6; }
26661 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26662 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
26663 $as_echo_n "(cached) " >&6
26664 else
26667 ac_ext=cpp
26668 ac_cpp='$CXXCPP $CPPFLAGS'
26669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26674 /* end confdefs.h. */
26675 #include <math.h>
26676 #ifdef HAVE_IEEEFP_H
26677 #include <ieeefp.h>
26678 #endif
26681 main ()
26683 _logl(0);
26685 return 0;
26687 _ACEOF
26688 if ac_fn_cxx_try_compile "$LINENO"; then :
26689 glibcxx_cv_func__logl_use=yes
26690 else
26691 glibcxx_cv_func__logl_use=no
26693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26694 ac_ext=c
26695 ac_cpp='$CPP $CPPFLAGS'
26696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26705 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26707 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26708 for ac_func in _logl
26709 do :
26710 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26711 if test "x$ac_cv_func__logl" = x""yes; then :
26712 cat >>confdefs.h <<_ACEOF
26713 #define HAVE__LOGL 1
26714 _ACEOF
26717 done
26726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26727 $as_echo_n "checking for log10l declaration... " >&6; }
26728 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26729 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
26730 $as_echo_n "(cached) " >&6
26731 else
26734 ac_ext=cpp
26735 ac_cpp='$CXXCPP $CPPFLAGS'
26736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26741 /* end confdefs.h. */
26742 #include <math.h>
26743 #ifdef HAVE_IEEEFP_H
26744 #include <ieeefp.h>
26745 #endif
26748 main ()
26750 log10l(0);
26752 return 0;
26754 _ACEOF
26755 if ac_fn_cxx_try_compile "$LINENO"; then :
26756 glibcxx_cv_func_log10l_use=yes
26757 else
26758 glibcxx_cv_func_log10l_use=no
26760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26761 ac_ext=c
26762 ac_cpp='$CPP $CPPFLAGS'
26763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
26772 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
26774 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
26775 for ac_func in log10l
26776 do :
26777 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
26778 if test "x$ac_cv_func_log10l" = x""yes; then :
26779 cat >>confdefs.h <<_ACEOF
26780 #define HAVE_LOG10L 1
26781 _ACEOF
26784 done
26786 else
26788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
26789 $as_echo_n "checking for _log10l declaration... " >&6; }
26790 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
26791 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
26792 $as_echo_n "(cached) " >&6
26793 else
26796 ac_ext=cpp
26797 ac_cpp='$CXXCPP $CPPFLAGS'
26798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26803 /* end confdefs.h. */
26804 #include <math.h>
26805 #ifdef HAVE_IEEEFP_H
26806 #include <ieeefp.h>
26807 #endif
26810 main ()
26812 _log10l(0);
26814 return 0;
26816 _ACEOF
26817 if ac_fn_cxx_try_compile "$LINENO"; then :
26818 glibcxx_cv_func__log10l_use=yes
26819 else
26820 glibcxx_cv_func__log10l_use=no
26822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26823 ac_ext=c
26824 ac_cpp='$CPP $CPPFLAGS'
26825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
26834 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
26836 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
26837 for ac_func in _log10l
26838 do :
26839 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
26840 if test "x$ac_cv_func__log10l" = x""yes; then :
26841 cat >>confdefs.h <<_ACEOF
26842 #define HAVE__LOG10L 1
26843 _ACEOF
26846 done
26855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
26856 $as_echo_n "checking for modfl declaration... " >&6; }
26857 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
26858 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
26859 $as_echo_n "(cached) " >&6
26860 else
26863 ac_ext=cpp
26864 ac_cpp='$CXXCPP $CPPFLAGS'
26865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26870 /* end confdefs.h. */
26871 #include <math.h>
26873 main ()
26875 modfl(0, 0);
26877 return 0;
26879 _ACEOF
26880 if ac_fn_cxx_try_compile "$LINENO"; then :
26881 glibcxx_cv_func_modfl_use=yes
26882 else
26883 glibcxx_cv_func_modfl_use=no
26885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26886 ac_ext=c
26887 ac_cpp='$CPP $CPPFLAGS'
26888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
26897 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
26899 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
26900 for ac_func in modfl
26901 do :
26902 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
26903 if test "x$ac_cv_func_modfl" = x""yes; then :
26904 cat >>confdefs.h <<_ACEOF
26905 #define HAVE_MODFL 1
26906 _ACEOF
26909 done
26911 else
26913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
26914 $as_echo_n "checking for _modfl declaration... " >&6; }
26915 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
26916 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
26917 $as_echo_n "(cached) " >&6
26918 else
26921 ac_ext=cpp
26922 ac_cpp='$CXXCPP $CPPFLAGS'
26923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26928 /* end confdefs.h. */
26929 #include <math.h>
26931 main ()
26933 _modfl(0, 0);
26935 return 0;
26937 _ACEOF
26938 if ac_fn_cxx_try_compile "$LINENO"; then :
26939 glibcxx_cv_func__modfl_use=yes
26940 else
26941 glibcxx_cv_func__modfl_use=no
26943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26944 ac_ext=c
26945 ac_cpp='$CPP $CPPFLAGS'
26946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
26955 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
26957 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
26958 for ac_func in _modfl
26959 do :
26960 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
26961 if test "x$ac_cv_func__modfl" = x""yes; then :
26962 cat >>confdefs.h <<_ACEOF
26963 #define HAVE__MODFL 1
26964 _ACEOF
26967 done
26976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
26977 $as_echo_n "checking for powl declaration... " >&6; }
26978 if test x${glibcxx_cv_func_powl_use+set} != xset; then
26979 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
26980 $as_echo_n "(cached) " >&6
26981 else
26984 ac_ext=cpp
26985 ac_cpp='$CXXCPP $CPPFLAGS'
26986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26991 /* end confdefs.h. */
26992 #include <math.h>
26994 main ()
26996 powl(0, 0);
26998 return 0;
27000 _ACEOF
27001 if ac_fn_cxx_try_compile "$LINENO"; then :
27002 glibcxx_cv_func_powl_use=yes
27003 else
27004 glibcxx_cv_func_powl_use=no
27006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27007 ac_ext=c
27008 ac_cpp='$CPP $CPPFLAGS'
27009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27018 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27020 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27021 for ac_func in powl
27022 do :
27023 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27024 if test "x$ac_cv_func_powl" = x""yes; then :
27025 cat >>confdefs.h <<_ACEOF
27026 #define HAVE_POWL 1
27027 _ACEOF
27030 done
27032 else
27034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27035 $as_echo_n "checking for _powl declaration... " >&6; }
27036 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27037 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
27038 $as_echo_n "(cached) " >&6
27039 else
27042 ac_ext=cpp
27043 ac_cpp='$CXXCPP $CPPFLAGS'
27044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27049 /* end confdefs.h. */
27050 #include <math.h>
27052 main ()
27054 _powl(0, 0);
27056 return 0;
27058 _ACEOF
27059 if ac_fn_cxx_try_compile "$LINENO"; then :
27060 glibcxx_cv_func__powl_use=yes
27061 else
27062 glibcxx_cv_func__powl_use=no
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065 ac_ext=c
27066 ac_cpp='$CPP $CPPFLAGS'
27067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27076 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27078 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27079 for ac_func in _powl
27080 do :
27081 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27082 if test "x$ac_cv_func__powl" = x""yes; then :
27083 cat >>confdefs.h <<_ACEOF
27084 #define HAVE__POWL 1
27085 _ACEOF
27088 done
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27098 $as_echo_n "checking for sqrtl declaration... " >&6; }
27099 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27100 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
27101 $as_echo_n "(cached) " >&6
27102 else
27105 ac_ext=cpp
27106 ac_cpp='$CXXCPP $CPPFLAGS'
27107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27112 /* end confdefs.h. */
27113 #include <math.h>
27114 #ifdef HAVE_IEEEFP_H
27115 #include <ieeefp.h>
27116 #endif
27119 main ()
27121 sqrtl(0);
27123 return 0;
27125 _ACEOF
27126 if ac_fn_cxx_try_compile "$LINENO"; then :
27127 glibcxx_cv_func_sqrtl_use=yes
27128 else
27129 glibcxx_cv_func_sqrtl_use=no
27131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27132 ac_ext=c
27133 ac_cpp='$CPP $CPPFLAGS'
27134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27143 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27145 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27146 for ac_func in sqrtl
27147 do :
27148 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27149 if test "x$ac_cv_func_sqrtl" = x""yes; then :
27150 cat >>confdefs.h <<_ACEOF
27151 #define HAVE_SQRTL 1
27152 _ACEOF
27155 done
27157 else
27159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27160 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27161 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27162 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
27163 $as_echo_n "(cached) " >&6
27164 else
27167 ac_ext=cpp
27168 ac_cpp='$CXXCPP $CPPFLAGS'
27169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27174 /* end confdefs.h. */
27175 #include <math.h>
27176 #ifdef HAVE_IEEEFP_H
27177 #include <ieeefp.h>
27178 #endif
27181 main ()
27183 _sqrtl(0);
27185 return 0;
27187 _ACEOF
27188 if ac_fn_cxx_try_compile "$LINENO"; then :
27189 glibcxx_cv_func__sqrtl_use=yes
27190 else
27191 glibcxx_cv_func__sqrtl_use=no
27193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27194 ac_ext=c
27195 ac_cpp='$CPP $CPPFLAGS'
27196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27205 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27207 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27208 for ac_func in _sqrtl
27209 do :
27210 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27211 if test "x$ac_cv_func__sqrtl" = x""yes; then :
27212 cat >>confdefs.h <<_ACEOF
27213 #define HAVE__SQRTL 1
27214 _ACEOF
27217 done
27226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27227 $as_echo_n "checking for sincosl declaration... " >&6; }
27228 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27229 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
27230 $as_echo_n "(cached) " >&6
27231 else
27234 ac_ext=cpp
27235 ac_cpp='$CXXCPP $CPPFLAGS'
27236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27241 /* end confdefs.h. */
27242 #include <math.h>
27244 main ()
27246 sincosl(0, 0, 0);
27248 return 0;
27250 _ACEOF
27251 if ac_fn_cxx_try_compile "$LINENO"; then :
27252 glibcxx_cv_func_sincosl_use=yes
27253 else
27254 glibcxx_cv_func_sincosl_use=no
27256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27257 ac_ext=c
27258 ac_cpp='$CPP $CPPFLAGS'
27259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27268 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27270 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27271 for ac_func in sincosl
27272 do :
27273 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27274 if test "x$ac_cv_func_sincosl" = x""yes; then :
27275 cat >>confdefs.h <<_ACEOF
27276 #define HAVE_SINCOSL 1
27277 _ACEOF
27280 done
27282 else
27284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27285 $as_echo_n "checking for _sincosl declaration... " >&6; }
27286 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27287 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
27288 $as_echo_n "(cached) " >&6
27289 else
27292 ac_ext=cpp
27293 ac_cpp='$CXXCPP $CPPFLAGS'
27294 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27295 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27296 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27299 /* end confdefs.h. */
27300 #include <math.h>
27302 main ()
27304 _sincosl(0, 0, 0);
27306 return 0;
27308 _ACEOF
27309 if ac_fn_cxx_try_compile "$LINENO"; then :
27310 glibcxx_cv_func__sincosl_use=yes
27311 else
27312 glibcxx_cv_func__sincosl_use=no
27314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27315 ac_ext=c
27316 ac_cpp='$CPP $CPPFLAGS'
27317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27326 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27328 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27329 for ac_func in _sincosl
27330 do :
27331 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27332 if test "x$ac_cv_func__sincosl" = x""yes; then :
27333 cat >>confdefs.h <<_ACEOF
27334 #define HAVE__SINCOSL 1
27335 _ACEOF
27338 done
27347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27348 $as_echo_n "checking for finitel declaration... " >&6; }
27349 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27350 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
27351 $as_echo_n "(cached) " >&6
27352 else
27355 ac_ext=cpp
27356 ac_cpp='$CXXCPP $CPPFLAGS'
27357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27362 /* end confdefs.h. */
27363 #include <math.h>
27364 #ifdef HAVE_IEEEFP_H
27365 #include <ieeefp.h>
27366 #endif
27369 main ()
27371 finitel(0);
27373 return 0;
27375 _ACEOF
27376 if ac_fn_cxx_try_compile "$LINENO"; then :
27377 glibcxx_cv_func_finitel_use=yes
27378 else
27379 glibcxx_cv_func_finitel_use=no
27381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27382 ac_ext=c
27383 ac_cpp='$CPP $CPPFLAGS'
27384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27393 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27395 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27396 for ac_func in finitel
27397 do :
27398 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27399 if test "x$ac_cv_func_finitel" = x""yes; then :
27400 cat >>confdefs.h <<_ACEOF
27401 #define HAVE_FINITEL 1
27402 _ACEOF
27405 done
27407 else
27409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27410 $as_echo_n "checking for _finitel declaration... " >&6; }
27411 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27412 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
27413 $as_echo_n "(cached) " >&6
27414 else
27417 ac_ext=cpp
27418 ac_cpp='$CXXCPP $CPPFLAGS'
27419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27424 /* end confdefs.h. */
27425 #include <math.h>
27426 #ifdef HAVE_IEEEFP_H
27427 #include <ieeefp.h>
27428 #endif
27431 main ()
27433 _finitel(0);
27435 return 0;
27437 _ACEOF
27438 if ac_fn_cxx_try_compile "$LINENO"; then :
27439 glibcxx_cv_func__finitel_use=yes
27440 else
27441 glibcxx_cv_func__finitel_use=no
27443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27444 ac_ext=c
27445 ac_cpp='$CPP $CPPFLAGS'
27446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27455 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27457 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27458 for ac_func in _finitel
27459 do :
27460 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27461 if test "x$ac_cv_func__finitel" = x""yes; then :
27462 cat >>confdefs.h <<_ACEOF
27463 #define HAVE__FINITEL 1
27464 _ACEOF
27467 done
27475 LIBS="$ac_save_LIBS"
27476 CXXFLAGS="$ac_save_CXXFLAGS"
27479 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27480 ac_save_CXXFLAGS="$CXXFLAGS"
27481 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27485 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27486 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27487 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
27488 $as_echo_n "(cached) " >&6
27489 else
27492 ac_ext=cpp
27493 ac_cpp='$CXXCPP $CPPFLAGS'
27494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27499 /* end confdefs.h. */
27500 #include <stdlib.h>
27502 main ()
27504 at_quick_exit(0);
27506 return 0;
27508 _ACEOF
27509 if ac_fn_cxx_try_compile "$LINENO"; then :
27510 glibcxx_cv_func_at_quick_exit_use=yes
27511 else
27512 glibcxx_cv_func_at_quick_exit_use=no
27514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27515 ac_ext=c
27516 ac_cpp='$CPP $CPPFLAGS'
27517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27526 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27527 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27528 for ac_func in at_quick_exit
27529 do :
27530 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27531 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
27532 cat >>confdefs.h <<_ACEOF
27533 #define HAVE_AT_QUICK_EXIT 1
27534 _ACEOF
27537 done
27542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27543 $as_echo_n "checking for quick_exit declaration... " >&6; }
27544 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27545 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
27546 $as_echo_n "(cached) " >&6
27547 else
27550 ac_ext=cpp
27551 ac_cpp='$CXXCPP $CPPFLAGS'
27552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27557 /* end confdefs.h. */
27558 #include <stdlib.h>
27560 main ()
27562 quick_exit(0);
27564 return 0;
27566 _ACEOF
27567 if ac_fn_cxx_try_compile "$LINENO"; then :
27568 glibcxx_cv_func_quick_exit_use=yes
27569 else
27570 glibcxx_cv_func_quick_exit_use=no
27572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27573 ac_ext=c
27574 ac_cpp='$CPP $CPPFLAGS'
27575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27584 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27585 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27586 for ac_func in quick_exit
27587 do :
27588 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27589 if test "x$ac_cv_func_quick_exit" = x""yes; then :
27590 cat >>confdefs.h <<_ACEOF
27591 #define HAVE_QUICK_EXIT 1
27592 _ACEOF
27595 done
27600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27601 $as_echo_n "checking for strtold declaration... " >&6; }
27602 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27603 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
27604 $as_echo_n "(cached) " >&6
27605 else
27608 ac_ext=cpp
27609 ac_cpp='$CXXCPP $CPPFLAGS'
27610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27615 /* end confdefs.h. */
27616 #include <stdlib.h>
27618 main ()
27620 strtold(0, 0);
27622 return 0;
27624 _ACEOF
27625 if ac_fn_cxx_try_compile "$LINENO"; then :
27626 glibcxx_cv_func_strtold_use=yes
27627 else
27628 glibcxx_cv_func_strtold_use=no
27630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27631 ac_ext=c
27632 ac_cpp='$CPP $CPPFLAGS'
27633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27642 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27643 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27644 for ac_func in strtold
27645 do :
27646 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27647 if test "x$ac_cv_func_strtold" = x""yes; then :
27648 cat >>confdefs.h <<_ACEOF
27649 #define HAVE_STRTOLD 1
27650 _ACEOF
27653 done
27660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27661 $as_echo_n "checking for strtof declaration... " >&6; }
27662 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27663 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
27664 $as_echo_n "(cached) " >&6
27665 else
27668 ac_ext=cpp
27669 ac_cpp='$CXXCPP $CPPFLAGS'
27670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27675 /* end confdefs.h. */
27676 #include <stdlib.h>
27678 main ()
27680 strtof(0, 0);
27682 return 0;
27684 _ACEOF
27685 if ac_fn_cxx_try_compile "$LINENO"; then :
27686 glibcxx_cv_func_strtof_use=yes
27687 else
27688 glibcxx_cv_func_strtof_use=no
27690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27691 ac_ext=c
27692 ac_cpp='$CPP $CPPFLAGS'
27693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27702 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27703 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27704 for ac_func in strtof
27705 do :
27706 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27707 if test "x$ac_cv_func_strtof" = x""yes; then :
27708 cat >>confdefs.h <<_ACEOF
27709 #define HAVE_STRTOF 1
27710 _ACEOF
27713 done
27720 CXXFLAGS="$ac_save_CXXFLAGS"
27723 # For /dev/random and /dev/urandom for TR1.
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device" >&5
27727 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for TR1 random_device... " >&6; }
27728 if test "${glibcxx_cv_random_tr1+set}" = set; then :
27729 $as_echo_n "(cached) " >&6
27730 else
27732 if test -r /dev/random && test -r /dev/urandom; then
27733 ## For MSys environment the test above is detect as false-positive
27734 ## on mingw-targets. So disable it explicit for them.
27735 case ${target_os} in
27736 *mingw*) glibcxx_cv_random_tr1=no ;;
27737 *) glibcxx_cv_random_tr1=yes ;;
27738 esac
27739 else
27740 glibcxx_cv_random_tr1=no;
27745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_random_tr1" >&5
27746 $as_echo "$glibcxx_cv_random_tr1" >&6; }
27748 if test x"$glibcxx_cv_random_tr1" = x"yes"; then
27750 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27756 # For TLS support.
27759 # Check whether --enable-tls was given.
27760 if test "${enable_tls+set}" = set; then :
27761 enableval=$enable_tls;
27762 case "$enableval" in
27763 yes|no) ;;
27764 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
27765 esac
27767 else
27768 enable_tls=yes
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
27773 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
27774 if test "${gcc_cv_have_tls+set}" = set; then :
27775 $as_echo_n "(cached) " >&6
27776 else
27778 if test "$cross_compiling" = yes; then :
27779 if test x$gcc_no_link = xyes; then
27780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27783 /* end confdefs.h. */
27784 __thread int a; int b; int main() { return a = b; }
27785 _ACEOF
27786 if ac_fn_c_try_link "$LINENO"; then :
27787 chktls_save_LDFLAGS="$LDFLAGS"
27788 case $host in
27789 *-*-linux*)
27790 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
27792 esac
27793 chktls_save_CFLAGS="$CFLAGS"
27794 CFLAGS="-fPIC $CFLAGS"
27795 if test x$gcc_no_link = xyes; then
27796 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27799 /* end confdefs.h. */
27800 int f() { return 0; }
27801 _ACEOF
27802 if ac_fn_c_try_link "$LINENO"; then :
27803 if test x$gcc_no_link = xyes; then
27804 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27807 /* end confdefs.h. */
27808 __thread int a; int b; int f() { return a = b; }
27809 _ACEOF
27810 if ac_fn_c_try_link "$LINENO"; then :
27811 gcc_cv_have_tls=yes
27812 else
27813 gcc_cv_have_tls=no
27815 rm -f core conftest.err conftest.$ac_objext \
27816 conftest$ac_exeext conftest.$ac_ext
27817 else
27818 gcc_cv_have_tls=yes
27820 rm -f core conftest.err conftest.$ac_objext \
27821 conftest$ac_exeext conftest.$ac_ext
27822 CFLAGS="$chktls_save_CFLAGS"
27823 LDFLAGS="$chktls_save_LDFLAGS"
27824 else
27825 gcc_cv_have_tls=no
27827 rm -f core conftest.err conftest.$ac_objext \
27828 conftest$ac_exeext conftest.$ac_ext
27831 else
27832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27833 /* end confdefs.h. */
27834 __thread int a; int b; int main() { return a = b; }
27835 _ACEOF
27836 if ac_fn_c_try_run "$LINENO"; then :
27837 chktls_save_LDFLAGS="$LDFLAGS"
27838 LDFLAGS="-static $LDFLAGS"
27839 if test x$gcc_no_link = xyes; then
27840 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27843 /* end confdefs.h. */
27844 int main() { return 0; }
27845 _ACEOF
27846 if ac_fn_c_try_link "$LINENO"; then :
27847 if test "$cross_compiling" = yes; then :
27848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27850 as_fn_error "cannot run test program while cross compiling
27851 See \`config.log' for more details." "$LINENO" 5; }
27852 else
27853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27854 /* end confdefs.h. */
27855 __thread int a; int b; int main() { return a = b; }
27856 _ACEOF
27857 if ac_fn_c_try_run "$LINENO"; then :
27858 gcc_cv_have_tls=yes
27859 else
27860 gcc_cv_have_tls=no
27862 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27863 conftest.$ac_objext conftest.beam conftest.$ac_ext
27866 else
27867 gcc_cv_have_tls=yes
27869 rm -f core conftest.err conftest.$ac_objext \
27870 conftest$ac_exeext conftest.$ac_ext
27871 LDFLAGS="$chktls_save_LDFLAGS"
27872 if test $gcc_cv_have_tls = yes; then
27873 chktls_save_CFLAGS="$CFLAGS"
27874 thread_CFLAGS=failed
27875 for flag in '' '-pthread' '-lpthread'; do
27876 CFLAGS="$flag $chktls_save_CFLAGS"
27877 if test x$gcc_no_link = xyes; then
27878 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
27880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27881 /* end confdefs.h. */
27882 #include <pthread.h>
27883 void *g(void *d) { return NULL; }
27885 main ()
27887 pthread_t t; pthread_create(&t,NULL,g,NULL);
27889 return 0;
27891 _ACEOF
27892 if ac_fn_c_try_link "$LINENO"; then :
27893 thread_CFLAGS="$flag"
27895 rm -f core conftest.err conftest.$ac_objext \
27896 conftest$ac_exeext conftest.$ac_ext
27897 if test "X$thread_CFLAGS" != Xfailed; then
27898 break
27900 done
27901 CFLAGS="$chktls_save_CFLAGS"
27902 if test "X$thread_CFLAGS" != Xfailed; then
27903 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
27904 if test "$cross_compiling" = yes; then :
27905 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
27906 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
27907 as_fn_error "cannot run test program while cross compiling
27908 See \`config.log' for more details." "$LINENO" 5; }
27909 else
27910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27911 /* end confdefs.h. */
27912 #include <pthread.h>
27913 __thread int a;
27914 static int *volatile a_in_other_thread;
27915 static void *
27916 thread_func (void *arg)
27918 a_in_other_thread = &a;
27919 return (void *)0;
27922 main ()
27924 pthread_t thread;
27925 void *thread_retval;
27926 int *volatile a_in_main_thread;
27927 a_in_main_thread = &a;
27928 if (pthread_create (&thread, (pthread_attr_t *)0,
27929 thread_func, (void *)0))
27930 return 0;
27931 if (pthread_join (thread, &thread_retval))
27932 return 0;
27933 return (a_in_other_thread == a_in_main_thread);
27935 return 0;
27937 _ACEOF
27938 if ac_fn_c_try_run "$LINENO"; then :
27939 gcc_cv_have_tls=yes
27940 else
27941 gcc_cv_have_tls=no
27943 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27944 conftest.$ac_objext conftest.beam conftest.$ac_ext
27947 CFLAGS="$chktls_save_CFLAGS"
27950 else
27951 gcc_cv_have_tls=no
27953 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
27954 conftest.$ac_objext conftest.beam conftest.$ac_ext
27958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
27959 $as_echo "$gcc_cv_have_tls" >&6; }
27960 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
27962 $as_echo "#define HAVE_TLS 1" >>confdefs.h
27966 for ac_func in __cxa_thread_atexit_impl
27967 do :
27968 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
27969 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
27970 cat >>confdefs.h <<_ACEOF
27971 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
27972 _ACEOF
27975 done
27977 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
27978 do :
27979 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
27980 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
27981 eval as_val=\$$as_ac_var
27982 if test "x$as_val" = x""yes; then :
27983 cat >>confdefs.h <<_ACEOF
27984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
27985 _ACEOF
27988 done
27991 # For iconv support.
27993 if test "X$prefix" = "XNONE"; then
27994 acl_final_prefix="$ac_default_prefix"
27995 else
27996 acl_final_prefix="$prefix"
27998 if test "X$exec_prefix" = "XNONE"; then
27999 acl_final_exec_prefix='${prefix}'
28000 else
28001 acl_final_exec_prefix="$exec_prefix"
28003 acl_save_prefix="$prefix"
28004 prefix="$acl_final_prefix"
28005 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28006 prefix="$acl_save_prefix"
28009 # Check whether --with-gnu-ld was given.
28010 if test "${with_gnu_ld+set}" = set; then :
28011 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28012 else
28013 with_gnu_ld=no
28016 # Prepare PATH_SEPARATOR.
28017 # The user is always right.
28018 if test "${PATH_SEPARATOR+set}" != set; then
28019 echo "#! /bin/sh" >conf$$.sh
28020 echo "exit 0" >>conf$$.sh
28021 chmod +x conf$$.sh
28022 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28023 PATH_SEPARATOR=';'
28024 else
28025 PATH_SEPARATOR=:
28027 rm -f conf$$.sh
28029 ac_prog=ld
28030 if test "$GCC" = yes; then
28031 # Check if gcc -print-prog-name=ld gives a path.
28032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28033 $as_echo_n "checking for ld used by GCC... " >&6; }
28034 case $host in
28035 *-*-mingw*)
28036 # gcc leaves a trailing carriage return which upsets mingw
28037 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28039 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28040 esac
28041 case $ac_prog in
28042 # Accept absolute paths.
28043 [\\/]* | [A-Za-z]:[\\/]*)
28044 re_direlt='/[^/][^/]*/\.\./'
28045 # Canonicalize the path of ld
28046 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28047 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28048 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28049 done
28050 test -z "$LD" && LD="$ac_prog"
28053 # If it fails, then pretend we aren't using GCC.
28054 ac_prog=ld
28057 # If it is relative, then search for the first ld in PATH.
28058 with_gnu_ld=unknown
28060 esac
28061 elif test "$with_gnu_ld" = yes; then
28062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28063 $as_echo_n "checking for GNU ld... " >&6; }
28064 else
28065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28066 $as_echo_n "checking for non-GNU ld... " >&6; }
28068 if test "${acl_cv_path_LD+set}" = set; then :
28069 $as_echo_n "(cached) " >&6
28070 else
28071 if test -z "$LD"; then
28072 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28073 for ac_dir in $PATH; do
28074 test -z "$ac_dir" && ac_dir=.
28075 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28076 acl_cv_path_LD="$ac_dir/$ac_prog"
28077 # Check to see if the program is GNU ld. I'd rather use --version,
28078 # but apparently some GNU ld's only accept -v.
28079 # Break only if it was the GNU/non-GNU ld that we prefer.
28080 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28081 test "$with_gnu_ld" != no && break
28082 else
28083 test "$with_gnu_ld" != yes && break
28086 done
28087 IFS="$ac_save_ifs"
28088 else
28089 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28093 LD="$acl_cv_path_LD"
28094 if test -n "$LD"; then
28095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28096 $as_echo "$LD" >&6; }
28097 else
28098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28099 $as_echo "no" >&6; }
28101 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
28102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28103 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28104 if test "${acl_cv_prog_gnu_ld+set}" = set; then :
28105 $as_echo_n "(cached) " >&6
28106 else
28107 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28108 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28109 acl_cv_prog_gnu_ld=yes
28110 else
28111 acl_cv_prog_gnu_ld=no
28114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28115 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28116 with_gnu_ld=$acl_cv_prog_gnu_ld
28120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28121 $as_echo_n "checking for shared library run path origin... " >&6; }
28122 if test "${acl_cv_rpath+set}" = set; then :
28123 $as_echo_n "(cached) " >&6
28124 else
28126 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28127 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28128 . ./conftest.sh
28129 rm -f ./conftest.sh
28130 acl_cv_rpath=done
28133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28134 $as_echo "$acl_cv_rpath" >&6; }
28135 wl="$acl_cv_wl"
28136 libext="$acl_cv_libext"
28137 shlibext="$acl_cv_shlibext"
28138 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28139 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28140 hardcode_direct="$acl_cv_hardcode_direct"
28141 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28142 # Check whether --enable-rpath was given.
28143 if test "${enable_rpath+set}" = set; then :
28144 enableval=$enable_rpath; :
28145 else
28146 enable_rpath=yes
28156 use_additional=yes
28158 acl_save_prefix="$prefix"
28159 prefix="$acl_final_prefix"
28160 acl_save_exec_prefix="$exec_prefix"
28161 exec_prefix="$acl_final_exec_prefix"
28163 eval additional_includedir=\"$includedir\"
28164 eval additional_libdir=\"$libdir\"
28166 exec_prefix="$acl_save_exec_prefix"
28167 prefix="$acl_save_prefix"
28170 # Check whether --with-libiconv-prefix was given.
28171 if test "${with_libiconv_prefix+set}" = set; then :
28172 withval=$with_libiconv_prefix;
28173 if test "X$withval" = "Xno"; then
28174 use_additional=no
28175 else
28176 if test "X$withval" = "X"; then
28178 acl_save_prefix="$prefix"
28179 prefix="$acl_final_prefix"
28180 acl_save_exec_prefix="$exec_prefix"
28181 exec_prefix="$acl_final_exec_prefix"
28183 eval additional_includedir=\"$includedir\"
28184 eval additional_libdir=\"$libdir\"
28186 exec_prefix="$acl_save_exec_prefix"
28187 prefix="$acl_save_prefix"
28189 else
28190 additional_includedir="$withval/include"
28191 additional_libdir="$withval/lib"
28197 LIBICONV=
28198 LTLIBICONV=
28199 INCICONV=
28200 rpathdirs=
28201 ltrpathdirs=
28202 names_already_handled=
28203 names_next_round='iconv '
28204 while test -n "$names_next_round"; do
28205 names_this_round="$names_next_round"
28206 names_next_round=
28207 for name in $names_this_round; do
28208 already_handled=
28209 for n in $names_already_handled; do
28210 if test "$n" = "$name"; then
28211 already_handled=yes
28212 break
28214 done
28215 if test -z "$already_handled"; then
28216 names_already_handled="$names_already_handled $name"
28217 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28218 eval value=\"\$HAVE_LIB$uppername\"
28219 if test -n "$value"; then
28220 if test "$value" = yes; then
28221 eval value=\"\$LIB$uppername\"
28222 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28223 eval value=\"\$LTLIB$uppername\"
28224 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28225 else
28228 else
28229 found_dir=
28230 found_la=
28231 found_so=
28232 found_a=
28233 if test $use_additional = yes; then
28234 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28235 found_dir="$additional_libdir"
28236 found_so="$additional_libdir/lib$name.$shlibext"
28237 if test -f "$additional_libdir/lib$name.la"; then
28238 found_la="$additional_libdir/lib$name.la"
28240 else
28241 if test -f "$additional_libdir/lib$name.$libext"; then
28242 found_dir="$additional_libdir"
28243 found_a="$additional_libdir/lib$name.$libext"
28244 if test -f "$additional_libdir/lib$name.la"; then
28245 found_la="$additional_libdir/lib$name.la"
28250 if test "X$found_dir" = "X"; then
28251 for x in $LDFLAGS $LTLIBICONV; do
28253 acl_save_prefix="$prefix"
28254 prefix="$acl_final_prefix"
28255 acl_save_exec_prefix="$exec_prefix"
28256 exec_prefix="$acl_final_exec_prefix"
28257 eval x=\"$x\"
28258 exec_prefix="$acl_save_exec_prefix"
28259 prefix="$acl_save_prefix"
28261 case "$x" in
28262 -L*)
28263 dir=`echo "X$x" | sed -e 's/^X-L//'`
28264 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28265 found_dir="$dir"
28266 found_so="$dir/lib$name.$shlibext"
28267 if test -f "$dir/lib$name.la"; then
28268 found_la="$dir/lib$name.la"
28270 else
28271 if test -f "$dir/lib$name.$libext"; then
28272 found_dir="$dir"
28273 found_a="$dir/lib$name.$libext"
28274 if test -f "$dir/lib$name.la"; then
28275 found_la="$dir/lib$name.la"
28280 esac
28281 if test "X$found_dir" != "X"; then
28282 break
28284 done
28286 if test "X$found_dir" != "X"; then
28287 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28288 if test "X$found_so" != "X"; then
28289 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28290 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28291 else
28292 haveit=
28293 for x in $ltrpathdirs; do
28294 if test "X$x" = "X$found_dir"; then
28295 haveit=yes
28296 break
28298 done
28299 if test -z "$haveit"; then
28300 ltrpathdirs="$ltrpathdirs $found_dir"
28302 if test "$hardcode_direct" = yes; then
28303 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28304 else
28305 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28306 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28307 haveit=
28308 for x in $rpathdirs; do
28309 if test "X$x" = "X$found_dir"; then
28310 haveit=yes
28311 break
28313 done
28314 if test -z "$haveit"; then
28315 rpathdirs="$rpathdirs $found_dir"
28317 else
28318 haveit=
28319 for x in $LDFLAGS $LIBICONV; do
28321 acl_save_prefix="$prefix"
28322 prefix="$acl_final_prefix"
28323 acl_save_exec_prefix="$exec_prefix"
28324 exec_prefix="$acl_final_exec_prefix"
28325 eval x=\"$x\"
28326 exec_prefix="$acl_save_exec_prefix"
28327 prefix="$acl_save_prefix"
28329 if test "X$x" = "X-L$found_dir"; then
28330 haveit=yes
28331 break
28333 done
28334 if test -z "$haveit"; then
28335 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28337 if test "$hardcode_minus_L" != no; then
28338 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28339 else
28340 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28345 else
28346 if test "X$found_a" != "X"; then
28347 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28348 else
28349 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28352 additional_includedir=
28353 case "$found_dir" in
28354 */lib | */lib/)
28355 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28356 additional_includedir="$basedir/include"
28358 esac
28359 if test "X$additional_includedir" != "X"; then
28360 if test "X$additional_includedir" != "X/usr/include"; then
28361 haveit=
28362 if test "X$additional_includedir" = "X/usr/local/include"; then
28363 if test -n "$GCC"; then
28364 case $host_os in
28365 linux*) haveit=yes;;
28366 esac
28369 if test -z "$haveit"; then
28370 for x in $CPPFLAGS $INCICONV; do
28372 acl_save_prefix="$prefix"
28373 prefix="$acl_final_prefix"
28374 acl_save_exec_prefix="$exec_prefix"
28375 exec_prefix="$acl_final_exec_prefix"
28376 eval x=\"$x\"
28377 exec_prefix="$acl_save_exec_prefix"
28378 prefix="$acl_save_prefix"
28380 if test "X$x" = "X-I$additional_includedir"; then
28381 haveit=yes
28382 break
28384 done
28385 if test -z "$haveit"; then
28386 if test -d "$additional_includedir"; then
28387 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28393 if test -n "$found_la"; then
28394 save_libdir="$libdir"
28395 case "$found_la" in
28396 */* | *\\*) . "$found_la" ;;
28397 *) . "./$found_la" ;;
28398 esac
28399 libdir="$save_libdir"
28400 for dep in $dependency_libs; do
28401 case "$dep" in
28402 -L*)
28403 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28404 if test "X$additional_libdir" != "X/usr/lib"; then
28405 haveit=
28406 if test "X$additional_libdir" = "X/usr/local/lib"; then
28407 if test -n "$GCC"; then
28408 case $host_os in
28409 linux*) haveit=yes;;
28410 esac
28413 if test -z "$haveit"; then
28414 haveit=
28415 for x in $LDFLAGS $LIBICONV; do
28417 acl_save_prefix="$prefix"
28418 prefix="$acl_final_prefix"
28419 acl_save_exec_prefix="$exec_prefix"
28420 exec_prefix="$acl_final_exec_prefix"
28421 eval x=\"$x\"
28422 exec_prefix="$acl_save_exec_prefix"
28423 prefix="$acl_save_prefix"
28425 if test "X$x" = "X-L$additional_libdir"; then
28426 haveit=yes
28427 break
28429 done
28430 if test -z "$haveit"; then
28431 if test -d "$additional_libdir"; then
28432 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28435 haveit=
28436 for x in $LDFLAGS $LTLIBICONV; do
28438 acl_save_prefix="$prefix"
28439 prefix="$acl_final_prefix"
28440 acl_save_exec_prefix="$exec_prefix"
28441 exec_prefix="$acl_final_exec_prefix"
28442 eval x=\"$x\"
28443 exec_prefix="$acl_save_exec_prefix"
28444 prefix="$acl_save_prefix"
28446 if test "X$x" = "X-L$additional_libdir"; then
28447 haveit=yes
28448 break
28450 done
28451 if test -z "$haveit"; then
28452 if test -d "$additional_libdir"; then
28453 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28459 -R*)
28460 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28461 if test "$enable_rpath" != no; then
28462 haveit=
28463 for x in $rpathdirs; do
28464 if test "X$x" = "X$dir"; then
28465 haveit=yes
28466 break
28468 done
28469 if test -z "$haveit"; then
28470 rpathdirs="$rpathdirs $dir"
28472 haveit=
28473 for x in $ltrpathdirs; do
28474 if test "X$x" = "X$dir"; then
28475 haveit=yes
28476 break
28478 done
28479 if test -z "$haveit"; then
28480 ltrpathdirs="$ltrpathdirs $dir"
28484 -l*)
28485 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28487 *.la)
28488 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28491 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28492 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28494 esac
28495 done
28497 else
28498 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28499 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28503 done
28504 done
28505 if test "X$rpathdirs" != "X"; then
28506 if test -n "$hardcode_libdir_separator"; then
28507 alldirs=
28508 for found_dir in $rpathdirs; do
28509 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28510 done
28511 acl_save_libdir="$libdir"
28512 libdir="$alldirs"
28513 eval flag=\"$hardcode_libdir_flag_spec\"
28514 libdir="$acl_save_libdir"
28515 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28516 else
28517 for found_dir in $rpathdirs; do
28518 acl_save_libdir="$libdir"
28519 libdir="$found_dir"
28520 eval flag=\"$hardcode_libdir_flag_spec\"
28521 libdir="$acl_save_libdir"
28522 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28523 done
28526 if test "X$ltrpathdirs" != "X"; then
28527 for found_dir in $ltrpathdirs; do
28528 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28529 done
28538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28539 $as_echo_n "checking for iconv... " >&6; }
28540 if test "${am_cv_func_iconv+set}" = set; then :
28541 $as_echo_n "(cached) " >&6
28542 else
28544 am_cv_func_iconv="no, consider installing GNU libiconv"
28545 am_cv_lib_iconv=no
28546 am_save_CPPFLAGS="$CPPFLAGS"
28547 CPPFLAGS="$CPPFLAGS $INCICONV"
28548 if test x$gcc_no_link = xyes; then
28549 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28552 /* end confdefs.h. */
28553 #include <stdlib.h>
28554 #include <iconv.h>
28556 main ()
28558 iconv_t cd = iconv_open("","");
28559 iconv(cd,NULL,NULL,NULL,NULL);
28560 iconv_close(cd);
28562 return 0;
28564 _ACEOF
28565 if ac_fn_c_try_link "$LINENO"; then :
28566 am_cv_func_iconv=yes
28568 rm -f core conftest.err conftest.$ac_objext \
28569 conftest$ac_exeext conftest.$ac_ext
28570 CPPFLAGS="$am_save_CPPFLAGS"
28572 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28573 for _libs in .libs _libs; do
28574 am_save_CPPFLAGS="$CPPFLAGS"
28575 am_save_LIBS="$LIBS"
28576 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28577 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28578 if test x$gcc_no_link = xyes; then
28579 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28582 /* end confdefs.h. */
28583 #include <stdlib.h>
28584 #include <iconv.h>
28586 main ()
28588 iconv_t cd = iconv_open("","");
28589 iconv(cd,NULL,NULL,NULL,NULL);
28590 iconv_close(cd);
28592 return 0;
28594 _ACEOF
28595 if ac_fn_c_try_link "$LINENO"; then :
28596 INCICONV="-I../libiconv/include"
28597 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28598 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28599 am_cv_lib_iconv=yes
28600 am_cv_func_iconv=yes
28602 rm -f core conftest.err conftest.$ac_objext \
28603 conftest$ac_exeext conftest.$ac_ext
28604 CPPFLAGS="$am_save_CPPFLAGS"
28605 LIBS="$am_save_LIBS"
28606 if test "$am_cv_func_iconv" = "yes"; then
28607 break
28609 done
28612 if test "$am_cv_func_iconv" != yes; then
28613 am_save_CPPFLAGS="$CPPFLAGS"
28614 am_save_LIBS="$LIBS"
28615 CPPFLAGS="$LIBS $INCICONV"
28616 LIBS="$LIBS $LIBICONV"
28617 if test x$gcc_no_link = xyes; then
28618 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28621 /* end confdefs.h. */
28622 #include <stdlib.h>
28623 #include <iconv.h>
28625 main ()
28627 iconv_t cd = iconv_open("","");
28628 iconv(cd,NULL,NULL,NULL,NULL);
28629 iconv_close(cd);
28631 return 0;
28633 _ACEOF
28634 if ac_fn_c_try_link "$LINENO"; then :
28635 am_cv_lib_iconv=yes
28636 am_cv_func_iconv=yes
28638 rm -f core conftest.err conftest.$ac_objext \
28639 conftest$ac_exeext conftest.$ac_ext
28640 CPPFLAGS="$am_save_CPPFLAGS"
28641 LIBS="$am_save_LIBS"
28645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28646 $as_echo "$am_cv_func_iconv" >&6; }
28647 if test "$am_cv_func_iconv" = yes; then
28649 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28652 if test "$am_cv_lib_iconv" = yes; then
28654 for element in $INCICONV; do
28655 haveit=
28656 for x in $CPPFLAGS; do
28658 acl_save_prefix="$prefix"
28659 prefix="$acl_final_prefix"
28660 acl_save_exec_prefix="$exec_prefix"
28661 exec_prefix="$acl_final_exec_prefix"
28662 eval x=\"$x\"
28663 exec_prefix="$acl_save_exec_prefix"
28664 prefix="$acl_save_prefix"
28666 if test "X$x" = "X$element"; then
28667 haveit=yes
28668 break
28670 done
28671 if test -z "$haveit"; then
28672 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28674 done
28676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28677 $as_echo_n "checking how to link with libiconv... " >&6; }
28678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28679 $as_echo "$LIBICONV" >&6; }
28680 else
28681 LIBICONV=
28682 LTLIBICONV=
28687 if test "$am_cv_func_iconv" = yes; then
28688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28689 $as_echo_n "checking for iconv declaration... " >&6; }
28690 if test "${am_cv_proto_iconv+set}" = set; then :
28691 $as_echo_n "(cached) " >&6
28692 else
28694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28695 /* end confdefs.h. */
28697 #include <stdlib.h>
28698 #include <iconv.h>
28699 extern
28700 #ifdef __cplusplus
28702 #endif
28703 #if defined(__STDC__) || defined(__cplusplus)
28704 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
28705 #else
28706 size_t iconv();
28707 #endif
28710 main ()
28714 return 0;
28716 _ACEOF
28717 if ac_fn_c_try_compile "$LINENO"; then :
28718 am_cv_proto_iconv_arg1=""
28719 else
28720 am_cv_proto_iconv_arg1="const"
28722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28723 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);"
28726 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
28727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
28728 }$am_cv_proto_iconv" >&5
28729 $as_echo "${ac_t:-
28730 }$am_cv_proto_iconv" >&6; }
28732 cat >>confdefs.h <<_ACEOF
28733 #define ICONV_CONST $am_cv_proto_iconv_arg1
28734 _ACEOF
28739 else
28741 # This lets us hard-code the functionality we know we'll have in the cross
28742 # target environment. "Let" is a sugar-coated word placed on an especially
28743 # dull and tedious hack, actually.
28745 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
28746 # that involve linking, can't be used:
28747 # "cannot open sim-crt0.o"
28748 # "cannot open crt0.o"
28749 # etc. All this is because there currently exists no unified, consistent
28750 # way for top level CC information to be passed down to target directories:
28751 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
28752 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
28753 # crosses can be removed.
28755 # If Canadian cross, then don't pick up tools from the build directory.
28756 # Used only in GLIBCXX_EXPORT_INCLUDES.
28757 if test -n "$with_cross_host" &&
28758 test x"$build_alias" != x"$with_cross_host" &&
28759 test x"$build" != x"$target";
28760 then
28761 CANADIAN=yes
28762 else
28763 CANADIAN=no
28766 # Construct crosses by hand, eliminating bits that need ld...
28767 # GLIBCXX_CHECK_MATH_SUPPORT
28769 # First, test for "known" system libraries. We may be using newlib even
28770 # on a hosted environment.
28771 if test "x${with_newlib}" = "xyes"; then
28772 os_include_dir="os/newlib"
28773 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
28776 # GLIBCXX_CHECK_STDLIB_SUPPORT
28777 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
28780 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
28782 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
28784 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
28786 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
28788 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
28790 $as_echo "#define HAVE_COSF 1" >>confdefs.h
28792 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
28794 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
28796 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
28798 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
28800 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
28802 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
28804 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
28806 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
28808 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
28810 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
28812 $as_echo "#define HAVE_POWF 1" >>confdefs.h
28814 $as_echo "#define HAVE_SINF 1" >>confdefs.h
28816 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
28818 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
28820 $as_echo "#define HAVE_TANF 1" >>confdefs.h
28822 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
28825 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28827 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
28829 else
28831 # Base decisions on target environment.
28832 case "${host}" in
28833 arm*-*-symbianelf*)
28834 # This is a freestanding configuration; there is nothing to do here.
28837 mips*-sde-elf*)
28838 # These definitions are for the SDE C library rather than newlib.
28839 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28842 # All these tests are for C++; save the language and the compiler flags.
28843 # The CXXFLAGS thing is suspicious, but based on similar bits previously
28844 # found in GLIBCXX_CONFIGURE.
28846 ac_ext=cpp
28847 ac_cpp='$CXXCPP $CPPFLAGS'
28848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28852 ac_test_CXXFLAGS="${CXXFLAGS+set}"
28853 ac_save_CXXFLAGS="$CXXFLAGS"
28855 # Check for maintainer-mode bits.
28856 if test x"$USE_MAINTAINER_MODE" = xno; then
28857 WERROR=''
28858 else
28859 WERROR='-Werror'
28862 # Check for -ffunction-sections -fdata-sections
28863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
28864 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
28865 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
28866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28867 /* end confdefs.h. */
28868 int foo; void bar() { };
28870 main ()
28874 return 0;
28876 _ACEOF
28877 if ac_fn_cxx_try_compile "$LINENO"; then :
28878 ac_fdsections=yes
28879 else
28880 ac_fdsections=no
28882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28883 if test "$ac_test_CXXFLAGS" = set; then
28884 CXXFLAGS="$ac_save_CXXFLAGS"
28885 else
28886 # this is the suspicious part
28887 CXXFLAGS=''
28889 if test x"$ac_fdsections" = x"yes"; then
28890 SECTION_FLAGS='-ffunction-sections -fdata-sections'
28892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
28893 $as_echo "$ac_fdsections" >&6; }
28895 ac_ext=c
28896 ac_cpp='$CPP $CPPFLAGS'
28897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28905 # If we're not using GNU ld, then there's no point in even trying these
28906 # tests. Check for that first. We should have already tested for gld
28907 # by now (in libtool), but require it now just to be safe...
28908 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
28909 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
28913 # The name set by libtool depends on the version of libtool. Shame on us
28914 # for depending on an impl detail, but c'est la vie. Older versions used
28915 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
28916 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
28917 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
28918 # set (hence we're using an older libtool), then set it.
28919 if test x${with_gnu_ld+set} != xset; then
28920 if test x${ac_cv_prog_gnu_ld+set} != xset; then
28921 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
28922 with_gnu_ld=no
28923 else
28924 with_gnu_ld=$ac_cv_prog_gnu_ld
28928 # Start by getting the version number. I think the libtool test already
28929 # does some of this, but throws away the result.
28930 glibcxx_ld_is_gold=no
28931 if test x"$with_gnu_ld" = x"yes"; then
28932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
28933 $as_echo_n "checking for ld version... " >&6; }
28935 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
28936 glibcxx_ld_is_gold=yes
28938 ldver=`$LD --version 2>/dev/null |
28939 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'`
28941 glibcxx_gnu_ld_version=`echo $ldver | \
28942 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
28943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
28944 $as_echo "$glibcxx_gnu_ld_version" >&6; }
28947 # Set --gc-sections.
28948 glibcxx_have_gc_sections=no
28949 if test "$glibcxx_ld_is_gold" = "yes"; then
28950 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
28951 glibcxx_have_gc_sections=yes
28953 else
28954 glibcxx_gcsections_min_ld=21602
28955 if test x"$with_gnu_ld" = x"yes" &&
28956 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
28957 glibcxx_have_gc_sections=yes
28960 if test "$glibcxx_have_gc_sections" = "yes"; then
28961 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
28962 # NB: This flag only works reliably after 2.16.1. Configure tests
28963 # for this are difficult, so hard wire a value that should work.
28965 ac_test_CFLAGS="${CFLAGS+set}"
28966 ac_save_CFLAGS="$CFLAGS"
28967 CFLAGS='-Wl,--gc-sections'
28969 # Check for -Wl,--gc-sections
28970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
28971 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
28972 if test x$gcc_no_link = xyes; then
28973 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28976 /* end confdefs.h. */
28977 int one(void) { return 1; }
28978 int two(void) { return 2; }
28981 main ()
28983 two();
28985 return 0;
28987 _ACEOF
28988 if ac_fn_c_try_link "$LINENO"; then :
28989 ac_gcsections=yes
28990 else
28991 ac_gcsections=no
28993 rm -f core conftest.err conftest.$ac_objext \
28994 conftest$ac_exeext conftest.$ac_ext
28995 if test "$ac_gcsections" = "yes"; then
28996 rm -f conftest.c
28997 touch conftest.c
28998 if $CC -c conftest.c; then
28999 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29000 grep "Warning: gc-sections option ignored" > /dev/null; then
29001 ac_gcsections=no
29004 rm -f conftest.c conftest.o conftest
29006 if test "$ac_gcsections" = "yes"; then
29007 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29010 $as_echo "$ac_gcsections" >&6; }
29012 if test "$ac_test_CFLAGS" = set; then
29013 CFLAGS="$ac_save_CFLAGS"
29014 else
29015 # this is the suspicious part
29016 CFLAGS=''
29020 # Set -z,relro.
29021 # Note this is only for shared objects.
29022 ac_ld_relro=no
29023 if test x"$with_gnu_ld" = x"yes"; then
29024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29025 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29026 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29027 if test -n "$cxx_z_relo"; then
29028 OPT_LDFLAGS="-Wl,-z,relro"
29029 ac_ld_relro=yes
29031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29032 $as_echo "$ac_ld_relro" >&6; }
29035 # Set linker optimization flags.
29036 if test x"$with_gnu_ld" = x"yes"; then
29037 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29044 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29045 ac_save_CXXFLAGS="$CXXFLAGS"
29046 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29049 $as_echo_n "checking for sin in -lm... " >&6; }
29050 if test "${ac_cv_lib_m_sin+set}" = set; then :
29051 $as_echo_n "(cached) " >&6
29052 else
29053 ac_check_lib_save_LIBS=$LIBS
29054 LIBS="-lm $LIBS"
29055 if test x$gcc_no_link = xyes; then
29056 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29059 /* end confdefs.h. */
29061 /* Override any GCC internal prototype to avoid an error.
29062 Use char because int might match the return type of a GCC
29063 builtin and then its argument prototype would still apply. */
29064 #ifdef __cplusplus
29065 extern "C"
29066 #endif
29067 char sin ();
29069 main ()
29071 return sin ();
29073 return 0;
29075 _ACEOF
29076 if ac_fn_c_try_link "$LINENO"; then :
29077 ac_cv_lib_m_sin=yes
29078 else
29079 ac_cv_lib_m_sin=no
29081 rm -f core conftest.err conftest.$ac_objext \
29082 conftest$ac_exeext conftest.$ac_ext
29083 LIBS=$ac_check_lib_save_LIBS
29085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29086 $as_echo "$ac_cv_lib_m_sin" >&6; }
29087 if test "x$ac_cv_lib_m_sin" = x""yes; then :
29088 libm="-lm"
29091 ac_save_LIBS="$LIBS"
29092 LIBS="$LIBS $libm"
29096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29097 $as_echo_n "checking for isinf declaration... " >&6; }
29098 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29099 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
29100 $as_echo_n "(cached) " >&6
29101 else
29104 ac_ext=cpp
29105 ac_cpp='$CXXCPP $CPPFLAGS'
29106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29111 /* end confdefs.h. */
29112 #include <math.h>
29113 #ifdef HAVE_IEEEFP_H
29114 #include <ieeefp.h>
29115 #endif
29118 main ()
29120 isinf(0);
29122 return 0;
29124 _ACEOF
29125 if ac_fn_cxx_try_compile "$LINENO"; then :
29126 glibcxx_cv_func_isinf_use=yes
29127 else
29128 glibcxx_cv_func_isinf_use=no
29130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29131 ac_ext=c
29132 ac_cpp='$CPP $CPPFLAGS'
29133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29142 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29144 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29145 for ac_func in isinf
29146 do :
29147 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29148 if test "x$ac_cv_func_isinf" = x""yes; then :
29149 cat >>confdefs.h <<_ACEOF
29150 #define HAVE_ISINF 1
29151 _ACEOF
29154 done
29156 else
29158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29159 $as_echo_n "checking for _isinf declaration... " >&6; }
29160 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29161 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
29162 $as_echo_n "(cached) " >&6
29163 else
29166 ac_ext=cpp
29167 ac_cpp='$CXXCPP $CPPFLAGS'
29168 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29169 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29170 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29173 /* end confdefs.h. */
29174 #include <math.h>
29175 #ifdef HAVE_IEEEFP_H
29176 #include <ieeefp.h>
29177 #endif
29180 main ()
29182 _isinf(0);
29184 return 0;
29186 _ACEOF
29187 if ac_fn_cxx_try_compile "$LINENO"; then :
29188 glibcxx_cv_func__isinf_use=yes
29189 else
29190 glibcxx_cv_func__isinf_use=no
29192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29193 ac_ext=c
29194 ac_cpp='$CPP $CPPFLAGS'
29195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29204 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29206 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29207 for ac_func in _isinf
29208 do :
29209 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29210 if test "x$ac_cv_func__isinf" = x""yes; then :
29211 cat >>confdefs.h <<_ACEOF
29212 #define HAVE__ISINF 1
29213 _ACEOF
29216 done
29225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29226 $as_echo_n "checking for isnan declaration... " >&6; }
29227 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29228 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
29229 $as_echo_n "(cached) " >&6
29230 else
29233 ac_ext=cpp
29234 ac_cpp='$CXXCPP $CPPFLAGS'
29235 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29236 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29237 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29240 /* end confdefs.h. */
29241 #include <math.h>
29242 #ifdef HAVE_IEEEFP_H
29243 #include <ieeefp.h>
29244 #endif
29247 main ()
29249 isnan(0);
29251 return 0;
29253 _ACEOF
29254 if ac_fn_cxx_try_compile "$LINENO"; then :
29255 glibcxx_cv_func_isnan_use=yes
29256 else
29257 glibcxx_cv_func_isnan_use=no
29259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29260 ac_ext=c
29261 ac_cpp='$CPP $CPPFLAGS'
29262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29271 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29273 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29274 for ac_func in isnan
29275 do :
29276 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29277 if test "x$ac_cv_func_isnan" = x""yes; then :
29278 cat >>confdefs.h <<_ACEOF
29279 #define HAVE_ISNAN 1
29280 _ACEOF
29283 done
29285 else
29287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29288 $as_echo_n "checking for _isnan declaration... " >&6; }
29289 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29290 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
29291 $as_echo_n "(cached) " >&6
29292 else
29295 ac_ext=cpp
29296 ac_cpp='$CXXCPP $CPPFLAGS'
29297 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29298 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29299 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29302 /* end confdefs.h. */
29303 #include <math.h>
29304 #ifdef HAVE_IEEEFP_H
29305 #include <ieeefp.h>
29306 #endif
29309 main ()
29311 _isnan(0);
29313 return 0;
29315 _ACEOF
29316 if ac_fn_cxx_try_compile "$LINENO"; then :
29317 glibcxx_cv_func__isnan_use=yes
29318 else
29319 glibcxx_cv_func__isnan_use=no
29321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29322 ac_ext=c
29323 ac_cpp='$CPP $CPPFLAGS'
29324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29333 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29335 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29336 for ac_func in _isnan
29337 do :
29338 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29339 if test "x$ac_cv_func__isnan" = x""yes; then :
29340 cat >>confdefs.h <<_ACEOF
29341 #define HAVE__ISNAN 1
29342 _ACEOF
29345 done
29354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29355 $as_echo_n "checking for finite declaration... " >&6; }
29356 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29357 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
29358 $as_echo_n "(cached) " >&6
29359 else
29362 ac_ext=cpp
29363 ac_cpp='$CXXCPP $CPPFLAGS'
29364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29369 /* end confdefs.h. */
29370 #include <math.h>
29371 #ifdef HAVE_IEEEFP_H
29372 #include <ieeefp.h>
29373 #endif
29376 main ()
29378 finite(0);
29380 return 0;
29382 _ACEOF
29383 if ac_fn_cxx_try_compile "$LINENO"; then :
29384 glibcxx_cv_func_finite_use=yes
29385 else
29386 glibcxx_cv_func_finite_use=no
29388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29389 ac_ext=c
29390 ac_cpp='$CPP $CPPFLAGS'
29391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29400 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29402 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29403 for ac_func in finite
29404 do :
29405 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29406 if test "x$ac_cv_func_finite" = x""yes; then :
29407 cat >>confdefs.h <<_ACEOF
29408 #define HAVE_FINITE 1
29409 _ACEOF
29412 done
29414 else
29416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29417 $as_echo_n "checking for _finite declaration... " >&6; }
29418 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29419 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
29420 $as_echo_n "(cached) " >&6
29421 else
29424 ac_ext=cpp
29425 ac_cpp='$CXXCPP $CPPFLAGS'
29426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29431 /* end confdefs.h. */
29432 #include <math.h>
29433 #ifdef HAVE_IEEEFP_H
29434 #include <ieeefp.h>
29435 #endif
29438 main ()
29440 _finite(0);
29442 return 0;
29444 _ACEOF
29445 if ac_fn_cxx_try_compile "$LINENO"; then :
29446 glibcxx_cv_func__finite_use=yes
29447 else
29448 glibcxx_cv_func__finite_use=no
29450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29451 ac_ext=c
29452 ac_cpp='$CPP $CPPFLAGS'
29453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29462 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29464 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29465 for ac_func in _finite
29466 do :
29467 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29468 if test "x$ac_cv_func__finite" = x""yes; then :
29469 cat >>confdefs.h <<_ACEOF
29470 #define HAVE__FINITE 1
29471 _ACEOF
29474 done
29483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29484 $as_echo_n "checking for sincos declaration... " >&6; }
29485 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29486 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
29487 $as_echo_n "(cached) " >&6
29488 else
29491 ac_ext=cpp
29492 ac_cpp='$CXXCPP $CPPFLAGS'
29493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29498 /* end confdefs.h. */
29499 #include <math.h>
29501 main ()
29503 sincos(0, 0, 0);
29505 return 0;
29507 _ACEOF
29508 if ac_fn_cxx_try_compile "$LINENO"; then :
29509 glibcxx_cv_func_sincos_use=yes
29510 else
29511 glibcxx_cv_func_sincos_use=no
29513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29514 ac_ext=c
29515 ac_cpp='$CPP $CPPFLAGS'
29516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29525 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29527 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29528 for ac_func in sincos
29529 do :
29530 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29531 if test "x$ac_cv_func_sincos" = x""yes; then :
29532 cat >>confdefs.h <<_ACEOF
29533 #define HAVE_SINCOS 1
29534 _ACEOF
29537 done
29539 else
29541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29542 $as_echo_n "checking for _sincos declaration... " >&6; }
29543 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29544 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
29545 $as_echo_n "(cached) " >&6
29546 else
29549 ac_ext=cpp
29550 ac_cpp='$CXXCPP $CPPFLAGS'
29551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29556 /* end confdefs.h. */
29557 #include <math.h>
29559 main ()
29561 _sincos(0, 0, 0);
29563 return 0;
29565 _ACEOF
29566 if ac_fn_cxx_try_compile "$LINENO"; then :
29567 glibcxx_cv_func__sincos_use=yes
29568 else
29569 glibcxx_cv_func__sincos_use=no
29571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29572 ac_ext=c
29573 ac_cpp='$CPP $CPPFLAGS'
29574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29583 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29585 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29586 for ac_func in _sincos
29587 do :
29588 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29589 if test "x$ac_cv_func__sincos" = x""yes; then :
29590 cat >>confdefs.h <<_ACEOF
29591 #define HAVE__SINCOS 1
29592 _ACEOF
29595 done
29604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29605 $as_echo_n "checking for fpclass declaration... " >&6; }
29606 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29607 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
29608 $as_echo_n "(cached) " >&6
29609 else
29612 ac_ext=cpp
29613 ac_cpp='$CXXCPP $CPPFLAGS'
29614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29619 /* end confdefs.h. */
29620 #include <math.h>
29621 #ifdef HAVE_IEEEFP_H
29622 #include <ieeefp.h>
29623 #endif
29626 main ()
29628 fpclass(0);
29630 return 0;
29632 _ACEOF
29633 if ac_fn_cxx_try_compile "$LINENO"; then :
29634 glibcxx_cv_func_fpclass_use=yes
29635 else
29636 glibcxx_cv_func_fpclass_use=no
29638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29639 ac_ext=c
29640 ac_cpp='$CPP $CPPFLAGS'
29641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
29650 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
29652 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
29653 for ac_func in fpclass
29654 do :
29655 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
29656 if test "x$ac_cv_func_fpclass" = x""yes; then :
29657 cat >>confdefs.h <<_ACEOF
29658 #define HAVE_FPCLASS 1
29659 _ACEOF
29662 done
29664 else
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
29667 $as_echo_n "checking for _fpclass declaration... " >&6; }
29668 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
29669 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
29670 $as_echo_n "(cached) " >&6
29671 else
29674 ac_ext=cpp
29675 ac_cpp='$CXXCPP $CPPFLAGS'
29676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29681 /* end confdefs.h. */
29682 #include <math.h>
29683 #ifdef HAVE_IEEEFP_H
29684 #include <ieeefp.h>
29685 #endif
29688 main ()
29690 _fpclass(0);
29692 return 0;
29694 _ACEOF
29695 if ac_fn_cxx_try_compile "$LINENO"; then :
29696 glibcxx_cv_func__fpclass_use=yes
29697 else
29698 glibcxx_cv_func__fpclass_use=no
29700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29701 ac_ext=c
29702 ac_cpp='$CPP $CPPFLAGS'
29703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
29712 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
29714 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
29715 for ac_func in _fpclass
29716 do :
29717 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
29718 if test "x$ac_cv_func__fpclass" = x""yes; then :
29719 cat >>confdefs.h <<_ACEOF
29720 #define HAVE__FPCLASS 1
29721 _ACEOF
29724 done
29733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
29734 $as_echo_n "checking for qfpclass declaration... " >&6; }
29735 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
29736 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
29737 $as_echo_n "(cached) " >&6
29738 else
29741 ac_ext=cpp
29742 ac_cpp='$CXXCPP $CPPFLAGS'
29743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29748 /* end confdefs.h. */
29749 #include <math.h>
29750 #ifdef HAVE_IEEEFP_H
29751 #include <ieeefp.h>
29752 #endif
29755 main ()
29757 qfpclass(0);
29759 return 0;
29761 _ACEOF
29762 if ac_fn_cxx_try_compile "$LINENO"; then :
29763 glibcxx_cv_func_qfpclass_use=yes
29764 else
29765 glibcxx_cv_func_qfpclass_use=no
29767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29768 ac_ext=c
29769 ac_cpp='$CPP $CPPFLAGS'
29770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
29779 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
29781 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
29782 for ac_func in qfpclass
29783 do :
29784 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
29785 if test "x$ac_cv_func_qfpclass" = x""yes; then :
29786 cat >>confdefs.h <<_ACEOF
29787 #define HAVE_QFPCLASS 1
29788 _ACEOF
29791 done
29793 else
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
29796 $as_echo_n "checking for _qfpclass declaration... " >&6; }
29797 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
29798 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
29799 $as_echo_n "(cached) " >&6
29800 else
29803 ac_ext=cpp
29804 ac_cpp='$CXXCPP $CPPFLAGS'
29805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29810 /* end confdefs.h. */
29811 #include <math.h>
29812 #ifdef HAVE_IEEEFP_H
29813 #include <ieeefp.h>
29814 #endif
29817 main ()
29819 _qfpclass(0);
29821 return 0;
29823 _ACEOF
29824 if ac_fn_cxx_try_compile "$LINENO"; then :
29825 glibcxx_cv_func__qfpclass_use=yes
29826 else
29827 glibcxx_cv_func__qfpclass_use=no
29829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29830 ac_ext=c
29831 ac_cpp='$CPP $CPPFLAGS'
29832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
29841 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
29843 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
29844 for ac_func in _qfpclass
29845 do :
29846 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
29847 if test "x$ac_cv_func__qfpclass" = x""yes; then :
29848 cat >>confdefs.h <<_ACEOF
29849 #define HAVE__QFPCLASS 1
29850 _ACEOF
29853 done
29862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
29863 $as_echo_n "checking for hypot declaration... " >&6; }
29864 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
29865 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
29866 $as_echo_n "(cached) " >&6
29867 else
29870 ac_ext=cpp
29871 ac_cpp='$CXXCPP $CPPFLAGS'
29872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29877 /* end confdefs.h. */
29878 #include <math.h>
29880 main ()
29882 hypot(0, 0);
29884 return 0;
29886 _ACEOF
29887 if ac_fn_cxx_try_compile "$LINENO"; then :
29888 glibcxx_cv_func_hypot_use=yes
29889 else
29890 glibcxx_cv_func_hypot_use=no
29892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29893 ac_ext=c
29894 ac_cpp='$CPP $CPPFLAGS'
29895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
29904 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
29906 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
29907 for ac_func in hypot
29908 do :
29909 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
29910 if test "x$ac_cv_func_hypot" = x""yes; then :
29911 cat >>confdefs.h <<_ACEOF
29912 #define HAVE_HYPOT 1
29913 _ACEOF
29916 done
29918 else
29920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
29921 $as_echo_n "checking for _hypot declaration... " >&6; }
29922 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
29923 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
29924 $as_echo_n "(cached) " >&6
29925 else
29928 ac_ext=cpp
29929 ac_cpp='$CXXCPP $CPPFLAGS'
29930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29935 /* end confdefs.h. */
29936 #include <math.h>
29938 main ()
29940 _hypot(0, 0);
29942 return 0;
29944 _ACEOF
29945 if ac_fn_cxx_try_compile "$LINENO"; then :
29946 glibcxx_cv_func__hypot_use=yes
29947 else
29948 glibcxx_cv_func__hypot_use=no
29950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29951 ac_ext=c
29952 ac_cpp='$CPP $CPPFLAGS'
29953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
29962 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
29964 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
29965 for ac_func in _hypot
29966 do :
29967 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
29968 if test "x$ac_cv_func__hypot" = x""yes; then :
29969 cat >>confdefs.h <<_ACEOF
29970 #define HAVE__HYPOT 1
29971 _ACEOF
29974 done
29983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
29984 $as_echo_n "checking for float trig functions... " >&6; }
29985 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
29986 $as_echo_n "(cached) " >&6
29987 else
29990 ac_ext=cpp
29991 ac_cpp='$CXXCPP $CPPFLAGS'
29992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29997 /* end confdefs.h. */
29998 #include <math.h>
30000 main ()
30002 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30004 return 0;
30006 _ACEOF
30007 if ac_fn_cxx_try_compile "$LINENO"; then :
30008 glibcxx_cv_func_float_trig_use=yes
30009 else
30010 glibcxx_cv_func_float_trig_use=no
30012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30013 ac_ext=c
30014 ac_cpp='$CPP $CPPFLAGS'
30015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30022 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30023 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30024 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30025 do :
30026 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30027 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30028 eval as_val=\$$as_ac_var
30029 if test "x$as_val" = x""yes; then :
30030 cat >>confdefs.h <<_ACEOF
30031 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30032 _ACEOF
30035 done
30037 else
30038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30039 $as_echo_n "checking for _float trig functions... " >&6; }
30040 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
30041 $as_echo_n "(cached) " >&6
30042 else
30045 ac_ext=cpp
30046 ac_cpp='$CXXCPP $CPPFLAGS'
30047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30052 /* end confdefs.h. */
30053 #include <math.h>
30055 main ()
30057 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30059 return 0;
30061 _ACEOF
30062 if ac_fn_cxx_try_compile "$LINENO"; then :
30063 glibcxx_cv_func__float_trig_use=yes
30064 else
30065 glibcxx_cv_func__float_trig_use=no
30067 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30068 ac_ext=c
30069 ac_cpp='$CPP $CPPFLAGS'
30070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30077 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30078 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30079 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30080 do :
30081 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30082 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30083 eval as_val=\$$as_ac_var
30084 if test "x$as_val" = x""yes; then :
30085 cat >>confdefs.h <<_ACEOF
30086 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30087 _ACEOF
30090 done
30099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30100 $as_echo_n "checking for float round functions... " >&6; }
30101 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
30102 $as_echo_n "(cached) " >&6
30103 else
30106 ac_ext=cpp
30107 ac_cpp='$CXXCPP $CPPFLAGS'
30108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30113 /* end confdefs.h. */
30114 #include <math.h>
30116 main ()
30118 ceilf (0); floorf (0);
30120 return 0;
30122 _ACEOF
30123 if ac_fn_cxx_try_compile "$LINENO"; then :
30124 glibcxx_cv_func_float_round_use=yes
30125 else
30126 glibcxx_cv_func_float_round_use=no
30128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30129 ac_ext=c
30130 ac_cpp='$CPP $CPPFLAGS'
30131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30138 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30139 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30140 for ac_func in ceilf floorf
30141 do :
30142 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30143 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30144 eval as_val=\$$as_ac_var
30145 if test "x$as_val" = x""yes; then :
30146 cat >>confdefs.h <<_ACEOF
30147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30148 _ACEOF
30151 done
30153 else
30154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30155 $as_echo_n "checking for _float round functions... " >&6; }
30156 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
30157 $as_echo_n "(cached) " >&6
30158 else
30161 ac_ext=cpp
30162 ac_cpp='$CXXCPP $CPPFLAGS'
30163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30168 /* end confdefs.h. */
30169 #include <math.h>
30171 main ()
30173 _ceilf (0); _floorf (0);
30175 return 0;
30177 _ACEOF
30178 if ac_fn_cxx_try_compile "$LINENO"; then :
30179 glibcxx_cv_func__float_round_use=yes
30180 else
30181 glibcxx_cv_func__float_round_use=no
30183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30184 ac_ext=c
30185 ac_cpp='$CPP $CPPFLAGS'
30186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30193 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30194 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30195 for ac_func in _ceilf _floorf
30196 do :
30197 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30198 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30199 eval as_val=\$$as_ac_var
30200 if test "x$as_val" = x""yes; then :
30201 cat >>confdefs.h <<_ACEOF
30202 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30203 _ACEOF
30206 done
30216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30217 $as_echo_n "checking for expf declaration... " >&6; }
30218 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30219 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
30220 $as_echo_n "(cached) " >&6
30221 else
30224 ac_ext=cpp
30225 ac_cpp='$CXXCPP $CPPFLAGS'
30226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30231 /* end confdefs.h. */
30232 #include <math.h>
30233 #ifdef HAVE_IEEEFP_H
30234 #include <ieeefp.h>
30235 #endif
30238 main ()
30240 expf(0);
30242 return 0;
30244 _ACEOF
30245 if ac_fn_cxx_try_compile "$LINENO"; then :
30246 glibcxx_cv_func_expf_use=yes
30247 else
30248 glibcxx_cv_func_expf_use=no
30250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30251 ac_ext=c
30252 ac_cpp='$CPP $CPPFLAGS'
30253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30262 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30264 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30265 for ac_func in expf
30266 do :
30267 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30268 if test "x$ac_cv_func_expf" = x""yes; then :
30269 cat >>confdefs.h <<_ACEOF
30270 #define HAVE_EXPF 1
30271 _ACEOF
30274 done
30276 else
30278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30279 $as_echo_n "checking for _expf declaration... " >&6; }
30280 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30281 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
30282 $as_echo_n "(cached) " >&6
30283 else
30286 ac_ext=cpp
30287 ac_cpp='$CXXCPP $CPPFLAGS'
30288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30293 /* end confdefs.h. */
30294 #include <math.h>
30295 #ifdef HAVE_IEEEFP_H
30296 #include <ieeefp.h>
30297 #endif
30300 main ()
30302 _expf(0);
30304 return 0;
30306 _ACEOF
30307 if ac_fn_cxx_try_compile "$LINENO"; then :
30308 glibcxx_cv_func__expf_use=yes
30309 else
30310 glibcxx_cv_func__expf_use=no
30312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30313 ac_ext=c
30314 ac_cpp='$CPP $CPPFLAGS'
30315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30324 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30326 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30327 for ac_func in _expf
30328 do :
30329 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30330 if test "x$ac_cv_func__expf" = x""yes; then :
30331 cat >>confdefs.h <<_ACEOF
30332 #define HAVE__EXPF 1
30333 _ACEOF
30336 done
30345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30346 $as_echo_n "checking for isnanf declaration... " >&6; }
30347 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30348 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
30349 $as_echo_n "(cached) " >&6
30350 else
30353 ac_ext=cpp
30354 ac_cpp='$CXXCPP $CPPFLAGS'
30355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30360 /* end confdefs.h. */
30361 #include <math.h>
30362 #ifdef HAVE_IEEEFP_H
30363 #include <ieeefp.h>
30364 #endif
30367 main ()
30369 isnanf(0);
30371 return 0;
30373 _ACEOF
30374 if ac_fn_cxx_try_compile "$LINENO"; then :
30375 glibcxx_cv_func_isnanf_use=yes
30376 else
30377 glibcxx_cv_func_isnanf_use=no
30379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30380 ac_ext=c
30381 ac_cpp='$CPP $CPPFLAGS'
30382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30391 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30393 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30394 for ac_func in isnanf
30395 do :
30396 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30397 if test "x$ac_cv_func_isnanf" = x""yes; then :
30398 cat >>confdefs.h <<_ACEOF
30399 #define HAVE_ISNANF 1
30400 _ACEOF
30403 done
30405 else
30407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30408 $as_echo_n "checking for _isnanf declaration... " >&6; }
30409 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30410 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
30411 $as_echo_n "(cached) " >&6
30412 else
30415 ac_ext=cpp
30416 ac_cpp='$CXXCPP $CPPFLAGS'
30417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30422 /* end confdefs.h. */
30423 #include <math.h>
30424 #ifdef HAVE_IEEEFP_H
30425 #include <ieeefp.h>
30426 #endif
30429 main ()
30431 _isnanf(0);
30433 return 0;
30435 _ACEOF
30436 if ac_fn_cxx_try_compile "$LINENO"; then :
30437 glibcxx_cv_func__isnanf_use=yes
30438 else
30439 glibcxx_cv_func__isnanf_use=no
30441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30442 ac_ext=c
30443 ac_cpp='$CPP $CPPFLAGS'
30444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30453 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30455 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30456 for ac_func in _isnanf
30457 do :
30458 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30459 if test "x$ac_cv_func__isnanf" = x""yes; then :
30460 cat >>confdefs.h <<_ACEOF
30461 #define HAVE__ISNANF 1
30462 _ACEOF
30465 done
30474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30475 $as_echo_n "checking for isinff declaration... " >&6; }
30476 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30477 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
30478 $as_echo_n "(cached) " >&6
30479 else
30482 ac_ext=cpp
30483 ac_cpp='$CXXCPP $CPPFLAGS'
30484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30489 /* end confdefs.h. */
30490 #include <math.h>
30491 #ifdef HAVE_IEEEFP_H
30492 #include <ieeefp.h>
30493 #endif
30496 main ()
30498 isinff(0);
30500 return 0;
30502 _ACEOF
30503 if ac_fn_cxx_try_compile "$LINENO"; then :
30504 glibcxx_cv_func_isinff_use=yes
30505 else
30506 glibcxx_cv_func_isinff_use=no
30508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30509 ac_ext=c
30510 ac_cpp='$CPP $CPPFLAGS'
30511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30520 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30522 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30523 for ac_func in isinff
30524 do :
30525 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30526 if test "x$ac_cv_func_isinff" = x""yes; then :
30527 cat >>confdefs.h <<_ACEOF
30528 #define HAVE_ISINFF 1
30529 _ACEOF
30532 done
30534 else
30536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30537 $as_echo_n "checking for _isinff declaration... " >&6; }
30538 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30539 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
30540 $as_echo_n "(cached) " >&6
30541 else
30544 ac_ext=cpp
30545 ac_cpp='$CXXCPP $CPPFLAGS'
30546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30551 /* end confdefs.h. */
30552 #include <math.h>
30553 #ifdef HAVE_IEEEFP_H
30554 #include <ieeefp.h>
30555 #endif
30558 main ()
30560 _isinff(0);
30562 return 0;
30564 _ACEOF
30565 if ac_fn_cxx_try_compile "$LINENO"; then :
30566 glibcxx_cv_func__isinff_use=yes
30567 else
30568 glibcxx_cv_func__isinff_use=no
30570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30571 ac_ext=c
30572 ac_cpp='$CPP $CPPFLAGS'
30573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30582 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30584 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30585 for ac_func in _isinff
30586 do :
30587 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30588 if test "x$ac_cv_func__isinff" = x""yes; then :
30589 cat >>confdefs.h <<_ACEOF
30590 #define HAVE__ISINFF 1
30591 _ACEOF
30594 done
30603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30604 $as_echo_n "checking for atan2f declaration... " >&6; }
30605 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30606 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
30607 $as_echo_n "(cached) " >&6
30608 else
30611 ac_ext=cpp
30612 ac_cpp='$CXXCPP $CPPFLAGS'
30613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30618 /* end confdefs.h. */
30619 #include <math.h>
30621 main ()
30623 atan2f(0, 0);
30625 return 0;
30627 _ACEOF
30628 if ac_fn_cxx_try_compile "$LINENO"; then :
30629 glibcxx_cv_func_atan2f_use=yes
30630 else
30631 glibcxx_cv_func_atan2f_use=no
30633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30634 ac_ext=c
30635 ac_cpp='$CPP $CPPFLAGS'
30636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
30645 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
30647 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
30648 for ac_func in atan2f
30649 do :
30650 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
30651 if test "x$ac_cv_func_atan2f" = x""yes; then :
30652 cat >>confdefs.h <<_ACEOF
30653 #define HAVE_ATAN2F 1
30654 _ACEOF
30657 done
30659 else
30661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
30662 $as_echo_n "checking for _atan2f declaration... " >&6; }
30663 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
30664 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
30665 $as_echo_n "(cached) " >&6
30666 else
30669 ac_ext=cpp
30670 ac_cpp='$CXXCPP $CPPFLAGS'
30671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30676 /* end confdefs.h. */
30677 #include <math.h>
30679 main ()
30681 _atan2f(0, 0);
30683 return 0;
30685 _ACEOF
30686 if ac_fn_cxx_try_compile "$LINENO"; then :
30687 glibcxx_cv_func__atan2f_use=yes
30688 else
30689 glibcxx_cv_func__atan2f_use=no
30691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30692 ac_ext=c
30693 ac_cpp='$CPP $CPPFLAGS'
30694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
30703 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
30705 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
30706 for ac_func in _atan2f
30707 do :
30708 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
30709 if test "x$ac_cv_func__atan2f" = x""yes; then :
30710 cat >>confdefs.h <<_ACEOF
30711 #define HAVE__ATAN2F 1
30712 _ACEOF
30715 done
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
30725 $as_echo_n "checking for fabsf declaration... " >&6; }
30726 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
30727 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
30728 $as_echo_n "(cached) " >&6
30729 else
30732 ac_ext=cpp
30733 ac_cpp='$CXXCPP $CPPFLAGS'
30734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30739 /* end confdefs.h. */
30740 #include <math.h>
30741 #ifdef HAVE_IEEEFP_H
30742 #include <ieeefp.h>
30743 #endif
30746 main ()
30748 fabsf(0);
30750 return 0;
30752 _ACEOF
30753 if ac_fn_cxx_try_compile "$LINENO"; then :
30754 glibcxx_cv_func_fabsf_use=yes
30755 else
30756 glibcxx_cv_func_fabsf_use=no
30758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30759 ac_ext=c
30760 ac_cpp='$CPP $CPPFLAGS'
30761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
30770 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
30772 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
30773 for ac_func in fabsf
30774 do :
30775 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
30776 if test "x$ac_cv_func_fabsf" = x""yes; then :
30777 cat >>confdefs.h <<_ACEOF
30778 #define HAVE_FABSF 1
30779 _ACEOF
30782 done
30784 else
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
30787 $as_echo_n "checking for _fabsf declaration... " >&6; }
30788 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
30789 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
30790 $as_echo_n "(cached) " >&6
30791 else
30794 ac_ext=cpp
30795 ac_cpp='$CXXCPP $CPPFLAGS'
30796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30801 /* end confdefs.h. */
30802 #include <math.h>
30803 #ifdef HAVE_IEEEFP_H
30804 #include <ieeefp.h>
30805 #endif
30808 main ()
30810 _fabsf(0);
30812 return 0;
30814 _ACEOF
30815 if ac_fn_cxx_try_compile "$LINENO"; then :
30816 glibcxx_cv_func__fabsf_use=yes
30817 else
30818 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
30832 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
30834 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
30835 for ac_func in _fabsf
30836 do :
30837 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
30838 if test "x$ac_cv_func__fabsf" = x""yes; then :
30839 cat >>confdefs.h <<_ACEOF
30840 #define HAVE__FABSF 1
30841 _ACEOF
30844 done
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
30854 $as_echo_n "checking for fmodf declaration... " >&6; }
30855 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
30856 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
30875 return 0;
30877 _ACEOF
30878 if ac_fn_cxx_try_compile "$LINENO"; then :
30879 glibcxx_cv_func_fmodf_use=yes
30880 else
30881 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
30895 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
30897 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
30898 for ac_func in fmodf
30899 do :
30900 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
30901 if test "x$ac_cv_func_fmodf" = x""yes; then :
30902 cat >>confdefs.h <<_ACEOF
30903 #define HAVE_FMODF 1
30904 _ACEOF
30907 done
30909 else
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
30912 $as_echo_n "checking for _fmodf declaration... " >&6; }
30913 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
30914 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
30933 return 0;
30935 _ACEOF
30936 if ac_fn_cxx_try_compile "$LINENO"; then :
30937 glibcxx_cv_func__fmodf_use=yes
30938 else
30939 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
30953 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
30955 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
30956 for ac_func in _fmodf
30957 do :
30958 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
30959 if test "x$ac_cv_func__fmodf" = x""yes; then :
30960 cat >>confdefs.h <<_ACEOF
30961 #define HAVE__FMODF 1
30962 _ACEOF
30965 done
30974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
30975 $as_echo_n "checking for frexpf declaration... " >&6; }
30976 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
30977 if test "${glibcxx_cv_func_frexpf_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>
30992 main ()
30994 frexpf(0, 0);
30996 return 0;
30998 _ACEOF
30999 if ac_fn_cxx_try_compile "$LINENO"; then :
31000 glibcxx_cv_func_frexpf_use=yes
31001 else
31002 glibcxx_cv_func_frexpf_use=no
31004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31005 ac_ext=c
31006 ac_cpp='$CPP $CPPFLAGS'
31007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31016 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31018 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31019 for ac_func in frexpf
31020 do :
31021 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31022 if test "x$ac_cv_func_frexpf" = x""yes; then :
31023 cat >>confdefs.h <<_ACEOF
31024 #define HAVE_FREXPF 1
31025 _ACEOF
31028 done
31030 else
31032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31033 $as_echo_n "checking for _frexpf declaration... " >&6; }
31034 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31035 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
31036 $as_echo_n "(cached) " >&6
31037 else
31040 ac_ext=cpp
31041 ac_cpp='$CXXCPP $CPPFLAGS'
31042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31047 /* end confdefs.h. */
31048 #include <math.h>
31050 main ()
31052 _frexpf(0, 0);
31054 return 0;
31056 _ACEOF
31057 if ac_fn_cxx_try_compile "$LINENO"; then :
31058 glibcxx_cv_func__frexpf_use=yes
31059 else
31060 glibcxx_cv_func__frexpf_use=no
31062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31063 ac_ext=c
31064 ac_cpp='$CPP $CPPFLAGS'
31065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31074 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31076 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31077 for ac_func in _frexpf
31078 do :
31079 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31080 if test "x$ac_cv_func__frexpf" = x""yes; then :
31081 cat >>confdefs.h <<_ACEOF
31082 #define HAVE__FREXPF 1
31083 _ACEOF
31086 done
31095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31096 $as_echo_n "checking for hypotf declaration... " >&6; }
31097 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31098 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
31099 $as_echo_n "(cached) " >&6
31100 else
31103 ac_ext=cpp
31104 ac_cpp='$CXXCPP $CPPFLAGS'
31105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31110 /* end confdefs.h. */
31111 #include <math.h>
31113 main ()
31115 hypotf(0, 0);
31117 return 0;
31119 _ACEOF
31120 if ac_fn_cxx_try_compile "$LINENO"; then :
31121 glibcxx_cv_func_hypotf_use=yes
31122 else
31123 glibcxx_cv_func_hypotf_use=no
31125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31126 ac_ext=c
31127 ac_cpp='$CPP $CPPFLAGS'
31128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31137 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31139 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31140 for ac_func in hypotf
31141 do :
31142 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31143 if test "x$ac_cv_func_hypotf" = x""yes; then :
31144 cat >>confdefs.h <<_ACEOF
31145 #define HAVE_HYPOTF 1
31146 _ACEOF
31149 done
31151 else
31153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31154 $as_echo_n "checking for _hypotf declaration... " >&6; }
31155 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31156 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
31157 $as_echo_n "(cached) " >&6
31158 else
31161 ac_ext=cpp
31162 ac_cpp='$CXXCPP $CPPFLAGS'
31163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31168 /* end confdefs.h. */
31169 #include <math.h>
31171 main ()
31173 _hypotf(0, 0);
31175 return 0;
31177 _ACEOF
31178 if ac_fn_cxx_try_compile "$LINENO"; then :
31179 glibcxx_cv_func__hypotf_use=yes
31180 else
31181 glibcxx_cv_func__hypotf_use=no
31183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31184 ac_ext=c
31185 ac_cpp='$CPP $CPPFLAGS'
31186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31195 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31197 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31198 for ac_func in _hypotf
31199 do :
31200 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31201 if test "x$ac_cv_func__hypotf" = x""yes; then :
31202 cat >>confdefs.h <<_ACEOF
31203 #define HAVE__HYPOTF 1
31204 _ACEOF
31207 done
31216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31217 $as_echo_n "checking for ldexpf declaration... " >&6; }
31218 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31219 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
31220 $as_echo_n "(cached) " >&6
31221 else
31224 ac_ext=cpp
31225 ac_cpp='$CXXCPP $CPPFLAGS'
31226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31231 /* end confdefs.h. */
31232 #include <math.h>
31234 main ()
31236 ldexpf(0, 0);
31238 return 0;
31240 _ACEOF
31241 if ac_fn_cxx_try_compile "$LINENO"; then :
31242 glibcxx_cv_func_ldexpf_use=yes
31243 else
31244 glibcxx_cv_func_ldexpf_use=no
31246 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31247 ac_ext=c
31248 ac_cpp='$CPP $CPPFLAGS'
31249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31258 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31260 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31261 for ac_func in ldexpf
31262 do :
31263 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31264 if test "x$ac_cv_func_ldexpf" = x""yes; then :
31265 cat >>confdefs.h <<_ACEOF
31266 #define HAVE_LDEXPF 1
31267 _ACEOF
31270 done
31272 else
31274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31275 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31276 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31277 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
31278 $as_echo_n "(cached) " >&6
31279 else
31282 ac_ext=cpp
31283 ac_cpp='$CXXCPP $CPPFLAGS'
31284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31289 /* end confdefs.h. */
31290 #include <math.h>
31292 main ()
31294 _ldexpf(0, 0);
31296 return 0;
31298 _ACEOF
31299 if ac_fn_cxx_try_compile "$LINENO"; then :
31300 glibcxx_cv_func__ldexpf_use=yes
31301 else
31302 glibcxx_cv_func__ldexpf_use=no
31304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31305 ac_ext=c
31306 ac_cpp='$CPP $CPPFLAGS'
31307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31316 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31318 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31319 for ac_func in _ldexpf
31320 do :
31321 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31322 if test "x$ac_cv_func__ldexpf" = x""yes; then :
31323 cat >>confdefs.h <<_ACEOF
31324 #define HAVE__LDEXPF 1
31325 _ACEOF
31328 done
31337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31338 $as_echo_n "checking for logf declaration... " >&6; }
31339 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31340 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
31341 $as_echo_n "(cached) " >&6
31342 else
31345 ac_ext=cpp
31346 ac_cpp='$CXXCPP $CPPFLAGS'
31347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31352 /* end confdefs.h. */
31353 #include <math.h>
31354 #ifdef HAVE_IEEEFP_H
31355 #include <ieeefp.h>
31356 #endif
31359 main ()
31361 logf(0);
31363 return 0;
31365 _ACEOF
31366 if ac_fn_cxx_try_compile "$LINENO"; then :
31367 glibcxx_cv_func_logf_use=yes
31368 else
31369 glibcxx_cv_func_logf_use=no
31371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31372 ac_ext=c
31373 ac_cpp='$CPP $CPPFLAGS'
31374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31383 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31385 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31386 for ac_func in logf
31387 do :
31388 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31389 if test "x$ac_cv_func_logf" = x""yes; then :
31390 cat >>confdefs.h <<_ACEOF
31391 #define HAVE_LOGF 1
31392 _ACEOF
31395 done
31397 else
31399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31400 $as_echo_n "checking for _logf declaration... " >&6; }
31401 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31402 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
31403 $as_echo_n "(cached) " >&6
31404 else
31407 ac_ext=cpp
31408 ac_cpp='$CXXCPP $CPPFLAGS'
31409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31414 /* end confdefs.h. */
31415 #include <math.h>
31416 #ifdef HAVE_IEEEFP_H
31417 #include <ieeefp.h>
31418 #endif
31421 main ()
31423 _logf(0);
31425 return 0;
31427 _ACEOF
31428 if ac_fn_cxx_try_compile "$LINENO"; then :
31429 glibcxx_cv_func__logf_use=yes
31430 else
31431 glibcxx_cv_func__logf_use=no
31433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31434 ac_ext=c
31435 ac_cpp='$CPP $CPPFLAGS'
31436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31445 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31447 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31448 for ac_func in _logf
31449 do :
31450 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31451 if test "x$ac_cv_func__logf" = x""yes; then :
31452 cat >>confdefs.h <<_ACEOF
31453 #define HAVE__LOGF 1
31454 _ACEOF
31457 done
31466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31467 $as_echo_n "checking for log10f declaration... " >&6; }
31468 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31469 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
31470 $as_echo_n "(cached) " >&6
31471 else
31474 ac_ext=cpp
31475 ac_cpp='$CXXCPP $CPPFLAGS'
31476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31481 /* end confdefs.h. */
31482 #include <math.h>
31483 #ifdef HAVE_IEEEFP_H
31484 #include <ieeefp.h>
31485 #endif
31488 main ()
31490 log10f(0);
31492 return 0;
31494 _ACEOF
31495 if ac_fn_cxx_try_compile "$LINENO"; then :
31496 glibcxx_cv_func_log10f_use=yes
31497 else
31498 glibcxx_cv_func_log10f_use=no
31500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31501 ac_ext=c
31502 ac_cpp='$CPP $CPPFLAGS'
31503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31512 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31514 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31515 for ac_func in log10f
31516 do :
31517 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31518 if test "x$ac_cv_func_log10f" = x""yes; then :
31519 cat >>confdefs.h <<_ACEOF
31520 #define HAVE_LOG10F 1
31521 _ACEOF
31524 done
31526 else
31528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31529 $as_echo_n "checking for _log10f declaration... " >&6; }
31530 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31531 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
31532 $as_echo_n "(cached) " >&6
31533 else
31536 ac_ext=cpp
31537 ac_cpp='$CXXCPP $CPPFLAGS'
31538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31543 /* end confdefs.h. */
31544 #include <math.h>
31545 #ifdef HAVE_IEEEFP_H
31546 #include <ieeefp.h>
31547 #endif
31550 main ()
31552 _log10f(0);
31554 return 0;
31556 _ACEOF
31557 if ac_fn_cxx_try_compile "$LINENO"; then :
31558 glibcxx_cv_func__log10f_use=yes
31559 else
31560 glibcxx_cv_func__log10f_use=no
31562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31563 ac_ext=c
31564 ac_cpp='$CPP $CPPFLAGS'
31565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31574 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31576 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31577 for ac_func in _log10f
31578 do :
31579 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31580 if test "x$ac_cv_func__log10f" = x""yes; then :
31581 cat >>confdefs.h <<_ACEOF
31582 #define HAVE__LOG10F 1
31583 _ACEOF
31586 done
31595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31596 $as_echo_n "checking for modff declaration... " >&6; }
31597 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31598 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
31599 $as_echo_n "(cached) " >&6
31600 else
31603 ac_ext=cpp
31604 ac_cpp='$CXXCPP $CPPFLAGS'
31605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31610 /* end confdefs.h. */
31611 #include <math.h>
31613 main ()
31615 modff(0, 0);
31617 return 0;
31619 _ACEOF
31620 if ac_fn_cxx_try_compile "$LINENO"; then :
31621 glibcxx_cv_func_modff_use=yes
31622 else
31623 glibcxx_cv_func_modff_use=no
31625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31626 ac_ext=c
31627 ac_cpp='$CPP $CPPFLAGS'
31628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31637 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31639 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31640 for ac_func in modff
31641 do :
31642 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31643 if test "x$ac_cv_func_modff" = x""yes; then :
31644 cat >>confdefs.h <<_ACEOF
31645 #define HAVE_MODFF 1
31646 _ACEOF
31649 done
31651 else
31653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
31654 $as_echo_n "checking for _modff declaration... " >&6; }
31655 if test x${glibcxx_cv_func__modff_use+set} != xset; then
31656 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
31657 $as_echo_n "(cached) " >&6
31658 else
31661 ac_ext=cpp
31662 ac_cpp='$CXXCPP $CPPFLAGS'
31663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31668 /* end confdefs.h. */
31669 #include <math.h>
31671 main ()
31673 _modff(0, 0);
31675 return 0;
31677 _ACEOF
31678 if ac_fn_cxx_try_compile "$LINENO"; then :
31679 glibcxx_cv_func__modff_use=yes
31680 else
31681 glibcxx_cv_func__modff_use=no
31683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31684 ac_ext=c
31685 ac_cpp='$CPP $CPPFLAGS'
31686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
31695 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
31697 if test x$glibcxx_cv_func__modff_use = x"yes"; then
31698 for ac_func in _modff
31699 do :
31700 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
31701 if test "x$ac_cv_func__modff" = x""yes; then :
31702 cat >>confdefs.h <<_ACEOF
31703 #define HAVE__MODFF 1
31704 _ACEOF
31707 done
31716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
31717 $as_echo_n "checking for modf declaration... " >&6; }
31718 if test x${glibcxx_cv_func_modf_use+set} != xset; then
31719 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
31720 $as_echo_n "(cached) " >&6
31721 else
31724 ac_ext=cpp
31725 ac_cpp='$CXXCPP $CPPFLAGS'
31726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31731 /* end confdefs.h. */
31732 #include <math.h>
31734 main ()
31736 modf(0, 0);
31738 return 0;
31740 _ACEOF
31741 if ac_fn_cxx_try_compile "$LINENO"; then :
31742 glibcxx_cv_func_modf_use=yes
31743 else
31744 glibcxx_cv_func_modf_use=no
31746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31747 ac_ext=c
31748 ac_cpp='$CPP $CPPFLAGS'
31749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
31758 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
31760 if test x$glibcxx_cv_func_modf_use = x"yes"; then
31761 for ac_func in modf
31762 do :
31763 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
31764 if test "x$ac_cv_func_modf" = x""yes; then :
31765 cat >>confdefs.h <<_ACEOF
31766 #define HAVE_MODF 1
31767 _ACEOF
31770 done
31772 else
31774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
31775 $as_echo_n "checking for _modf declaration... " >&6; }
31776 if test x${glibcxx_cv_func__modf_use+set} != xset; then
31777 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
31778 $as_echo_n "(cached) " >&6
31779 else
31782 ac_ext=cpp
31783 ac_cpp='$CXXCPP $CPPFLAGS'
31784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31789 /* end confdefs.h. */
31790 #include <math.h>
31792 main ()
31794 _modf(0, 0);
31796 return 0;
31798 _ACEOF
31799 if ac_fn_cxx_try_compile "$LINENO"; then :
31800 glibcxx_cv_func__modf_use=yes
31801 else
31802 glibcxx_cv_func__modf_use=no
31804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31805 ac_ext=c
31806 ac_cpp='$CPP $CPPFLAGS'
31807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
31816 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
31818 if test x$glibcxx_cv_func__modf_use = x"yes"; then
31819 for ac_func in _modf
31820 do :
31821 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
31822 if test "x$ac_cv_func__modf" = x""yes; then :
31823 cat >>confdefs.h <<_ACEOF
31824 #define HAVE__MODF 1
31825 _ACEOF
31828 done
31837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
31838 $as_echo_n "checking for powf declaration... " >&6; }
31839 if test x${glibcxx_cv_func_powf_use+set} != xset; then
31840 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
31841 $as_echo_n "(cached) " >&6
31842 else
31845 ac_ext=cpp
31846 ac_cpp='$CXXCPP $CPPFLAGS'
31847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31852 /* end confdefs.h. */
31853 #include <math.h>
31855 main ()
31857 powf(0, 0);
31859 return 0;
31861 _ACEOF
31862 if ac_fn_cxx_try_compile "$LINENO"; then :
31863 glibcxx_cv_func_powf_use=yes
31864 else
31865 glibcxx_cv_func_powf_use=no
31867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31868 ac_ext=c
31869 ac_cpp='$CPP $CPPFLAGS'
31870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
31879 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
31881 if test x$glibcxx_cv_func_powf_use = x"yes"; then
31882 for ac_func in powf
31883 do :
31884 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
31885 if test "x$ac_cv_func_powf" = x""yes; then :
31886 cat >>confdefs.h <<_ACEOF
31887 #define HAVE_POWF 1
31888 _ACEOF
31891 done
31893 else
31895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
31896 $as_echo_n "checking for _powf declaration... " >&6; }
31897 if test x${glibcxx_cv_func__powf_use+set} != xset; then
31898 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
31899 $as_echo_n "(cached) " >&6
31900 else
31903 ac_ext=cpp
31904 ac_cpp='$CXXCPP $CPPFLAGS'
31905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31910 /* end confdefs.h. */
31911 #include <math.h>
31913 main ()
31915 _powf(0, 0);
31917 return 0;
31919 _ACEOF
31920 if ac_fn_cxx_try_compile "$LINENO"; then :
31921 glibcxx_cv_func__powf_use=yes
31922 else
31923 glibcxx_cv_func__powf_use=no
31925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31926 ac_ext=c
31927 ac_cpp='$CPP $CPPFLAGS'
31928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
31937 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
31939 if test x$glibcxx_cv_func__powf_use = x"yes"; then
31940 for ac_func in _powf
31941 do :
31942 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
31943 if test "x$ac_cv_func__powf" = x""yes; then :
31944 cat >>confdefs.h <<_ACEOF
31945 #define HAVE__POWF 1
31946 _ACEOF
31949 done
31958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
31959 $as_echo_n "checking for sqrtf declaration... " >&6; }
31960 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
31961 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
31962 $as_echo_n "(cached) " >&6
31963 else
31966 ac_ext=cpp
31967 ac_cpp='$CXXCPP $CPPFLAGS'
31968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31973 /* end confdefs.h. */
31974 #include <math.h>
31975 #ifdef HAVE_IEEEFP_H
31976 #include <ieeefp.h>
31977 #endif
31980 main ()
31982 sqrtf(0);
31984 return 0;
31986 _ACEOF
31987 if ac_fn_cxx_try_compile "$LINENO"; then :
31988 glibcxx_cv_func_sqrtf_use=yes
31989 else
31990 glibcxx_cv_func_sqrtf_use=no
31992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31993 ac_ext=c
31994 ac_cpp='$CPP $CPPFLAGS'
31995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32004 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32006 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32007 for ac_func in sqrtf
32008 do :
32009 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32010 if test "x$ac_cv_func_sqrtf" = x""yes; then :
32011 cat >>confdefs.h <<_ACEOF
32012 #define HAVE_SQRTF 1
32013 _ACEOF
32016 done
32018 else
32020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32021 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32022 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32023 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
32024 $as_echo_n "(cached) " >&6
32025 else
32028 ac_ext=cpp
32029 ac_cpp='$CXXCPP $CPPFLAGS'
32030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32035 /* end confdefs.h. */
32036 #include <math.h>
32037 #ifdef HAVE_IEEEFP_H
32038 #include <ieeefp.h>
32039 #endif
32042 main ()
32044 _sqrtf(0);
32046 return 0;
32048 _ACEOF
32049 if ac_fn_cxx_try_compile "$LINENO"; then :
32050 glibcxx_cv_func__sqrtf_use=yes
32051 else
32052 glibcxx_cv_func__sqrtf_use=no
32054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32055 ac_ext=c
32056 ac_cpp='$CPP $CPPFLAGS'
32057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32066 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32068 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32069 for ac_func in _sqrtf
32070 do :
32071 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32072 if test "x$ac_cv_func__sqrtf" = x""yes; then :
32073 cat >>confdefs.h <<_ACEOF
32074 #define HAVE__SQRTF 1
32075 _ACEOF
32078 done
32087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32088 $as_echo_n "checking for sincosf declaration... " >&6; }
32089 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32090 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
32091 $as_echo_n "(cached) " >&6
32092 else
32095 ac_ext=cpp
32096 ac_cpp='$CXXCPP $CPPFLAGS'
32097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32102 /* end confdefs.h. */
32103 #include <math.h>
32105 main ()
32107 sincosf(0, 0, 0);
32109 return 0;
32111 _ACEOF
32112 if ac_fn_cxx_try_compile "$LINENO"; then :
32113 glibcxx_cv_func_sincosf_use=yes
32114 else
32115 glibcxx_cv_func_sincosf_use=no
32117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32118 ac_ext=c
32119 ac_cpp='$CPP $CPPFLAGS'
32120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32129 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32131 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32132 for ac_func in sincosf
32133 do :
32134 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32135 if test "x$ac_cv_func_sincosf" = x""yes; then :
32136 cat >>confdefs.h <<_ACEOF
32137 #define HAVE_SINCOSF 1
32138 _ACEOF
32141 done
32143 else
32145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32146 $as_echo_n "checking for _sincosf declaration... " >&6; }
32147 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32148 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
32149 $as_echo_n "(cached) " >&6
32150 else
32153 ac_ext=cpp
32154 ac_cpp='$CXXCPP $CPPFLAGS'
32155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32160 /* end confdefs.h. */
32161 #include <math.h>
32163 main ()
32165 _sincosf(0, 0, 0);
32167 return 0;
32169 _ACEOF
32170 if ac_fn_cxx_try_compile "$LINENO"; then :
32171 glibcxx_cv_func__sincosf_use=yes
32172 else
32173 glibcxx_cv_func__sincosf_use=no
32175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32176 ac_ext=c
32177 ac_cpp='$CPP $CPPFLAGS'
32178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32187 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32189 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32190 for ac_func in _sincosf
32191 do :
32192 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32193 if test "x$ac_cv_func__sincosf" = x""yes; then :
32194 cat >>confdefs.h <<_ACEOF
32195 #define HAVE__SINCOSF 1
32196 _ACEOF
32199 done
32208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32209 $as_echo_n "checking for finitef declaration... " >&6; }
32210 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32211 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
32212 $as_echo_n "(cached) " >&6
32213 else
32216 ac_ext=cpp
32217 ac_cpp='$CXXCPP $CPPFLAGS'
32218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32223 /* end confdefs.h. */
32224 #include <math.h>
32225 #ifdef HAVE_IEEEFP_H
32226 #include <ieeefp.h>
32227 #endif
32230 main ()
32232 finitef(0);
32234 return 0;
32236 _ACEOF
32237 if ac_fn_cxx_try_compile "$LINENO"; then :
32238 glibcxx_cv_func_finitef_use=yes
32239 else
32240 glibcxx_cv_func_finitef_use=no
32242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32243 ac_ext=c
32244 ac_cpp='$CPP $CPPFLAGS'
32245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32254 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32256 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32257 for ac_func in finitef
32258 do :
32259 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32260 if test "x$ac_cv_func_finitef" = x""yes; then :
32261 cat >>confdefs.h <<_ACEOF
32262 #define HAVE_FINITEF 1
32263 _ACEOF
32266 done
32268 else
32270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32271 $as_echo_n "checking for _finitef declaration... " >&6; }
32272 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32273 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
32274 $as_echo_n "(cached) " >&6
32275 else
32278 ac_ext=cpp
32279 ac_cpp='$CXXCPP $CPPFLAGS'
32280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32285 /* end confdefs.h. */
32286 #include <math.h>
32287 #ifdef HAVE_IEEEFP_H
32288 #include <ieeefp.h>
32289 #endif
32292 main ()
32294 _finitef(0);
32296 return 0;
32298 _ACEOF
32299 if ac_fn_cxx_try_compile "$LINENO"; then :
32300 glibcxx_cv_func__finitef_use=yes
32301 else
32302 glibcxx_cv_func__finitef_use=no
32304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32305 ac_ext=c
32306 ac_cpp='$CPP $CPPFLAGS'
32307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32316 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32318 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32319 for ac_func in _finitef
32320 do :
32321 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32322 if test "x$ac_cv_func__finitef" = x""yes; then :
32323 cat >>confdefs.h <<_ACEOF
32324 #define HAVE__FINITEF 1
32325 _ACEOF
32328 done
32337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32338 $as_echo_n "checking for long double trig functions... " >&6; }
32339 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
32340 $as_echo_n "(cached) " >&6
32341 else
32344 ac_ext=cpp
32345 ac_cpp='$CXXCPP $CPPFLAGS'
32346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32351 /* end confdefs.h. */
32352 #include <math.h>
32354 main ()
32356 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32358 return 0;
32360 _ACEOF
32361 if ac_fn_cxx_try_compile "$LINENO"; then :
32362 glibcxx_cv_func_long_double_trig_use=yes
32363 else
32364 glibcxx_cv_func_long_double_trig_use=no
32366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32367 ac_ext=c
32368 ac_cpp='$CPP $CPPFLAGS'
32369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32376 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32377 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32378 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32379 do :
32380 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32381 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32382 eval as_val=\$$as_ac_var
32383 if test "x$as_val" = x""yes; then :
32384 cat >>confdefs.h <<_ACEOF
32385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32386 _ACEOF
32389 done
32391 else
32392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32393 $as_echo_n "checking for _long double trig functions... " >&6; }
32394 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
32395 $as_echo_n "(cached) " >&6
32396 else
32399 ac_ext=cpp
32400 ac_cpp='$CXXCPP $CPPFLAGS'
32401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32406 /* end confdefs.h. */
32407 #include <math.h>
32409 main ()
32411 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32413 return 0;
32415 _ACEOF
32416 if ac_fn_cxx_try_compile "$LINENO"; then :
32417 glibcxx_cv_func__long_double_trig_use=yes
32418 else
32419 glibcxx_cv_func__long_double_trig_use=no
32421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32422 ac_ext=c
32423 ac_cpp='$CPP $CPPFLAGS'
32424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32431 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32432 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32433 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32434 do :
32435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32437 eval as_val=\$$as_ac_var
32438 if test "x$as_val" = x""yes; then :
32439 cat >>confdefs.h <<_ACEOF
32440 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32441 _ACEOF
32444 done
32453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32454 $as_echo_n "checking for long double round functions... " >&6; }
32455 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
32456 $as_echo_n "(cached) " >&6
32457 else
32460 ac_ext=cpp
32461 ac_cpp='$CXXCPP $CPPFLAGS'
32462 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32463 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32464 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32467 /* end confdefs.h. */
32468 #include <math.h>
32470 main ()
32472 ceill (0); floorl (0);
32474 return 0;
32476 _ACEOF
32477 if ac_fn_cxx_try_compile "$LINENO"; then :
32478 glibcxx_cv_func_long_double_round_use=yes
32479 else
32480 glibcxx_cv_func_long_double_round_use=no
32482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32483 ac_ext=c
32484 ac_cpp='$CPP $CPPFLAGS'
32485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32492 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32493 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32494 for ac_func in ceill floorl
32495 do :
32496 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32497 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32498 eval as_val=\$$as_ac_var
32499 if test "x$as_val" = x""yes; then :
32500 cat >>confdefs.h <<_ACEOF
32501 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32502 _ACEOF
32505 done
32507 else
32508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32509 $as_echo_n "checking for _long double round functions... " >&6; }
32510 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
32511 $as_echo_n "(cached) " >&6
32512 else
32515 ac_ext=cpp
32516 ac_cpp='$CXXCPP $CPPFLAGS'
32517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32522 /* end confdefs.h. */
32523 #include <math.h>
32525 main ()
32527 _ceill (0); _floorl (0);
32529 return 0;
32531 _ACEOF
32532 if ac_fn_cxx_try_compile "$LINENO"; then :
32533 glibcxx_cv_func__long_double_round_use=yes
32534 else
32535 glibcxx_cv_func__long_double_round_use=no
32537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32538 ac_ext=c
32539 ac_cpp='$CPP $CPPFLAGS'
32540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32547 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32548 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32549 for ac_func in _ceill _floorl
32550 do :
32551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32553 eval as_val=\$$as_ac_var
32554 if test "x$as_val" = x""yes; then :
32555 cat >>confdefs.h <<_ACEOF
32556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32557 _ACEOF
32560 done
32570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32571 $as_echo_n "checking for isnanl declaration... " >&6; }
32572 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32573 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
32574 $as_echo_n "(cached) " >&6
32575 else
32578 ac_ext=cpp
32579 ac_cpp='$CXXCPP $CPPFLAGS'
32580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32585 /* end confdefs.h. */
32586 #include <math.h>
32587 #ifdef HAVE_IEEEFP_H
32588 #include <ieeefp.h>
32589 #endif
32592 main ()
32594 isnanl(0);
32596 return 0;
32598 _ACEOF
32599 if ac_fn_cxx_try_compile "$LINENO"; then :
32600 glibcxx_cv_func_isnanl_use=yes
32601 else
32602 glibcxx_cv_func_isnanl_use=no
32604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32605 ac_ext=c
32606 ac_cpp='$CPP $CPPFLAGS'
32607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32616 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32618 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32619 for ac_func in isnanl
32620 do :
32621 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32622 if test "x$ac_cv_func_isnanl" = x""yes; then :
32623 cat >>confdefs.h <<_ACEOF
32624 #define HAVE_ISNANL 1
32625 _ACEOF
32628 done
32630 else
32632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32633 $as_echo_n "checking for _isnanl declaration... " >&6; }
32634 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32635 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
32636 $as_echo_n "(cached) " >&6
32637 else
32640 ac_ext=cpp
32641 ac_cpp='$CXXCPP $CPPFLAGS'
32642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32647 /* end confdefs.h. */
32648 #include <math.h>
32649 #ifdef HAVE_IEEEFP_H
32650 #include <ieeefp.h>
32651 #endif
32654 main ()
32656 _isnanl(0);
32658 return 0;
32660 _ACEOF
32661 if ac_fn_cxx_try_compile "$LINENO"; then :
32662 glibcxx_cv_func__isnanl_use=yes
32663 else
32664 glibcxx_cv_func__isnanl_use=no
32666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32667 ac_ext=c
32668 ac_cpp='$CPP $CPPFLAGS'
32669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
32678 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
32680 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
32681 for ac_func in _isnanl
32682 do :
32683 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
32684 if test "x$ac_cv_func__isnanl" = x""yes; then :
32685 cat >>confdefs.h <<_ACEOF
32686 #define HAVE__ISNANL 1
32687 _ACEOF
32690 done
32699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
32700 $as_echo_n "checking for isinfl declaration... " >&6; }
32701 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
32702 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
32703 $as_echo_n "(cached) " >&6
32704 else
32707 ac_ext=cpp
32708 ac_cpp='$CXXCPP $CPPFLAGS'
32709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32714 /* end confdefs.h. */
32715 #include <math.h>
32716 #ifdef HAVE_IEEEFP_H
32717 #include <ieeefp.h>
32718 #endif
32721 main ()
32723 isinfl(0);
32725 return 0;
32727 _ACEOF
32728 if ac_fn_cxx_try_compile "$LINENO"; then :
32729 glibcxx_cv_func_isinfl_use=yes
32730 else
32731 glibcxx_cv_func_isinfl_use=no
32733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32734 ac_ext=c
32735 ac_cpp='$CPP $CPPFLAGS'
32736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
32745 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
32747 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
32748 for ac_func in isinfl
32749 do :
32750 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
32751 if test "x$ac_cv_func_isinfl" = x""yes; then :
32752 cat >>confdefs.h <<_ACEOF
32753 #define HAVE_ISINFL 1
32754 _ACEOF
32757 done
32759 else
32761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
32762 $as_echo_n "checking for _isinfl declaration... " >&6; }
32763 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
32764 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
32765 $as_echo_n "(cached) " >&6
32766 else
32769 ac_ext=cpp
32770 ac_cpp='$CXXCPP $CPPFLAGS'
32771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32776 /* end confdefs.h. */
32777 #include <math.h>
32778 #ifdef HAVE_IEEEFP_H
32779 #include <ieeefp.h>
32780 #endif
32783 main ()
32785 _isinfl(0);
32787 return 0;
32789 _ACEOF
32790 if ac_fn_cxx_try_compile "$LINENO"; then :
32791 glibcxx_cv_func__isinfl_use=yes
32792 else
32793 glibcxx_cv_func__isinfl_use=no
32795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32796 ac_ext=c
32797 ac_cpp='$CPP $CPPFLAGS'
32798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
32807 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
32809 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
32810 for ac_func in _isinfl
32811 do :
32812 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
32813 if test "x$ac_cv_func__isinfl" = x""yes; then :
32814 cat >>confdefs.h <<_ACEOF
32815 #define HAVE__ISINFL 1
32816 _ACEOF
32819 done
32828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
32829 $as_echo_n "checking for atan2l declaration... " >&6; }
32830 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
32831 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
32832 $as_echo_n "(cached) " >&6
32833 else
32836 ac_ext=cpp
32837 ac_cpp='$CXXCPP $CPPFLAGS'
32838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32843 /* end confdefs.h. */
32844 #include <math.h>
32846 main ()
32848 atan2l(0, 0);
32850 return 0;
32852 _ACEOF
32853 if ac_fn_cxx_try_compile "$LINENO"; then :
32854 glibcxx_cv_func_atan2l_use=yes
32855 else
32856 glibcxx_cv_func_atan2l_use=no
32858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32859 ac_ext=c
32860 ac_cpp='$CPP $CPPFLAGS'
32861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
32870 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
32872 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
32873 for ac_func in atan2l
32874 do :
32875 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
32876 if test "x$ac_cv_func_atan2l" = x""yes; then :
32877 cat >>confdefs.h <<_ACEOF
32878 #define HAVE_ATAN2L 1
32879 _ACEOF
32882 done
32884 else
32886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
32887 $as_echo_n "checking for _atan2l declaration... " >&6; }
32888 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
32889 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
32890 $as_echo_n "(cached) " >&6
32891 else
32894 ac_ext=cpp
32895 ac_cpp='$CXXCPP $CPPFLAGS'
32896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32901 /* end confdefs.h. */
32902 #include <math.h>
32904 main ()
32906 _atan2l(0, 0);
32908 return 0;
32910 _ACEOF
32911 if ac_fn_cxx_try_compile "$LINENO"; then :
32912 glibcxx_cv_func__atan2l_use=yes
32913 else
32914 glibcxx_cv_func__atan2l_use=no
32916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32917 ac_ext=c
32918 ac_cpp='$CPP $CPPFLAGS'
32919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
32928 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
32930 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
32931 for ac_func in _atan2l
32932 do :
32933 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
32934 if test "x$ac_cv_func__atan2l" = x""yes; then :
32935 cat >>confdefs.h <<_ACEOF
32936 #define HAVE__ATAN2L 1
32937 _ACEOF
32940 done
32949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
32950 $as_echo_n "checking for expl declaration... " >&6; }
32951 if test x${glibcxx_cv_func_expl_use+set} != xset; then
32952 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
32953 $as_echo_n "(cached) " >&6
32954 else
32957 ac_ext=cpp
32958 ac_cpp='$CXXCPP $CPPFLAGS'
32959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32964 /* end confdefs.h. */
32965 #include <math.h>
32966 #ifdef HAVE_IEEEFP_H
32967 #include <ieeefp.h>
32968 #endif
32971 main ()
32973 expl(0);
32975 return 0;
32977 _ACEOF
32978 if ac_fn_cxx_try_compile "$LINENO"; then :
32979 glibcxx_cv_func_expl_use=yes
32980 else
32981 glibcxx_cv_func_expl_use=no
32983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32984 ac_ext=c
32985 ac_cpp='$CPP $CPPFLAGS'
32986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
32995 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
32997 if test x$glibcxx_cv_func_expl_use = x"yes"; then
32998 for ac_func in expl
32999 do :
33000 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33001 if test "x$ac_cv_func_expl" = x""yes; then :
33002 cat >>confdefs.h <<_ACEOF
33003 #define HAVE_EXPL 1
33004 _ACEOF
33007 done
33009 else
33011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33012 $as_echo_n "checking for _expl declaration... " >&6; }
33013 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33014 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
33015 $as_echo_n "(cached) " >&6
33016 else
33019 ac_ext=cpp
33020 ac_cpp='$CXXCPP $CPPFLAGS'
33021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33026 /* end confdefs.h. */
33027 #include <math.h>
33028 #ifdef HAVE_IEEEFP_H
33029 #include <ieeefp.h>
33030 #endif
33033 main ()
33035 _expl(0);
33037 return 0;
33039 _ACEOF
33040 if ac_fn_cxx_try_compile "$LINENO"; then :
33041 glibcxx_cv_func__expl_use=yes
33042 else
33043 glibcxx_cv_func__expl_use=no
33045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33046 ac_ext=c
33047 ac_cpp='$CPP $CPPFLAGS'
33048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33057 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33059 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33060 for ac_func in _expl
33061 do :
33062 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33063 if test "x$ac_cv_func__expl" = x""yes; then :
33064 cat >>confdefs.h <<_ACEOF
33065 #define HAVE__EXPL 1
33066 _ACEOF
33069 done
33078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33079 $as_echo_n "checking for fabsl declaration... " >&6; }
33080 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33081 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
33082 $as_echo_n "(cached) " >&6
33083 else
33086 ac_ext=cpp
33087 ac_cpp='$CXXCPP $CPPFLAGS'
33088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33093 /* end confdefs.h. */
33094 #include <math.h>
33095 #ifdef HAVE_IEEEFP_H
33096 #include <ieeefp.h>
33097 #endif
33100 main ()
33102 fabsl(0);
33104 return 0;
33106 _ACEOF
33107 if ac_fn_cxx_try_compile "$LINENO"; then :
33108 glibcxx_cv_func_fabsl_use=yes
33109 else
33110 glibcxx_cv_func_fabsl_use=no
33112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33113 ac_ext=c
33114 ac_cpp='$CPP $CPPFLAGS'
33115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33124 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33126 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33127 for ac_func in fabsl
33128 do :
33129 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33130 if test "x$ac_cv_func_fabsl" = x""yes; then :
33131 cat >>confdefs.h <<_ACEOF
33132 #define HAVE_FABSL 1
33133 _ACEOF
33136 done
33138 else
33140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33141 $as_echo_n "checking for _fabsl declaration... " >&6; }
33142 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33143 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
33144 $as_echo_n "(cached) " >&6
33145 else
33148 ac_ext=cpp
33149 ac_cpp='$CXXCPP $CPPFLAGS'
33150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33155 /* end confdefs.h. */
33156 #include <math.h>
33157 #ifdef HAVE_IEEEFP_H
33158 #include <ieeefp.h>
33159 #endif
33162 main ()
33164 _fabsl(0);
33166 return 0;
33168 _ACEOF
33169 if ac_fn_cxx_try_compile "$LINENO"; then :
33170 glibcxx_cv_func__fabsl_use=yes
33171 else
33172 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
33186 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33188 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33189 for ac_func in _fabsl
33190 do :
33191 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33192 if test "x$ac_cv_func__fabsl" = x""yes; then :
33193 cat >>confdefs.h <<_ACEOF
33194 #define HAVE__FABSL 1
33195 _ACEOF
33198 done
33207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33208 $as_echo_n "checking for fmodl declaration... " >&6; }
33209 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33210 if test "${glibcxx_cv_func_fmodl_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>
33225 main ()
33227 fmodl(0, 0);
33229 return 0;
33231 _ACEOF
33232 if ac_fn_cxx_try_compile "$LINENO"; then :
33233 glibcxx_cv_func_fmodl_use=yes
33234 else
33235 glibcxx_cv_func_fmodl_use=no
33237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33238 ac_ext=c
33239 ac_cpp='$CPP $CPPFLAGS'
33240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33249 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33251 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33252 for ac_func in fmodl
33253 do :
33254 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33255 if test "x$ac_cv_func_fmodl" = x""yes; then :
33256 cat >>confdefs.h <<_ACEOF
33257 #define HAVE_FMODL 1
33258 _ACEOF
33261 done
33263 else
33265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33266 $as_echo_n "checking for _fmodl declaration... " >&6; }
33267 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33268 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
33269 $as_echo_n "(cached) " >&6
33270 else
33273 ac_ext=cpp
33274 ac_cpp='$CXXCPP $CPPFLAGS'
33275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33280 /* end confdefs.h. */
33281 #include <math.h>
33283 main ()
33285 _fmodl(0, 0);
33287 return 0;
33289 _ACEOF
33290 if ac_fn_cxx_try_compile "$LINENO"; then :
33291 glibcxx_cv_func__fmodl_use=yes
33292 else
33293 glibcxx_cv_func__fmodl_use=no
33295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33296 ac_ext=c
33297 ac_cpp='$CPP $CPPFLAGS'
33298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33307 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33309 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33310 for ac_func in _fmodl
33311 do :
33312 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33313 if test "x$ac_cv_func__fmodl" = x""yes; then :
33314 cat >>confdefs.h <<_ACEOF
33315 #define HAVE__FMODL 1
33316 _ACEOF
33319 done
33328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33329 $as_echo_n "checking for frexpl declaration... " >&6; }
33330 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33331 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
33332 $as_echo_n "(cached) " >&6
33333 else
33336 ac_ext=cpp
33337 ac_cpp='$CXXCPP $CPPFLAGS'
33338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33343 /* end confdefs.h. */
33344 #include <math.h>
33346 main ()
33348 frexpl(0, 0);
33350 return 0;
33352 _ACEOF
33353 if ac_fn_cxx_try_compile "$LINENO"; then :
33354 glibcxx_cv_func_frexpl_use=yes
33355 else
33356 glibcxx_cv_func_frexpl_use=no
33358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33359 ac_ext=c
33360 ac_cpp='$CPP $CPPFLAGS'
33361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33370 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33372 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33373 for ac_func in frexpl
33374 do :
33375 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33376 if test "x$ac_cv_func_frexpl" = x""yes; then :
33377 cat >>confdefs.h <<_ACEOF
33378 #define HAVE_FREXPL 1
33379 _ACEOF
33382 done
33384 else
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33387 $as_echo_n "checking for _frexpl declaration... " >&6; }
33388 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33389 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
33390 $as_echo_n "(cached) " >&6
33391 else
33394 ac_ext=cpp
33395 ac_cpp='$CXXCPP $CPPFLAGS'
33396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33401 /* end confdefs.h. */
33402 #include <math.h>
33404 main ()
33406 _frexpl(0, 0);
33408 return 0;
33410 _ACEOF
33411 if ac_fn_cxx_try_compile "$LINENO"; then :
33412 glibcxx_cv_func__frexpl_use=yes
33413 else
33414 glibcxx_cv_func__frexpl_use=no
33416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33417 ac_ext=c
33418 ac_cpp='$CPP $CPPFLAGS'
33419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33428 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33430 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33431 for ac_func in _frexpl
33432 do :
33433 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33434 if test "x$ac_cv_func__frexpl" = x""yes; then :
33435 cat >>confdefs.h <<_ACEOF
33436 #define HAVE__FREXPL 1
33437 _ACEOF
33440 done
33449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33450 $as_echo_n "checking for hypotl declaration... " >&6; }
33451 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33452 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
33453 $as_echo_n "(cached) " >&6
33454 else
33457 ac_ext=cpp
33458 ac_cpp='$CXXCPP $CPPFLAGS'
33459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33464 /* end confdefs.h. */
33465 #include <math.h>
33467 main ()
33469 hypotl(0, 0);
33471 return 0;
33473 _ACEOF
33474 if ac_fn_cxx_try_compile "$LINENO"; then :
33475 glibcxx_cv_func_hypotl_use=yes
33476 else
33477 glibcxx_cv_func_hypotl_use=no
33479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33480 ac_ext=c
33481 ac_cpp='$CPP $CPPFLAGS'
33482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33491 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33493 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33494 for ac_func in hypotl
33495 do :
33496 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33497 if test "x$ac_cv_func_hypotl" = x""yes; then :
33498 cat >>confdefs.h <<_ACEOF
33499 #define HAVE_HYPOTL 1
33500 _ACEOF
33503 done
33505 else
33507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33508 $as_echo_n "checking for _hypotl declaration... " >&6; }
33509 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33510 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
33511 $as_echo_n "(cached) " >&6
33512 else
33515 ac_ext=cpp
33516 ac_cpp='$CXXCPP $CPPFLAGS'
33517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33522 /* end confdefs.h. */
33523 #include <math.h>
33525 main ()
33527 _hypotl(0, 0);
33529 return 0;
33531 _ACEOF
33532 if ac_fn_cxx_try_compile "$LINENO"; then :
33533 glibcxx_cv_func__hypotl_use=yes
33534 else
33535 glibcxx_cv_func__hypotl_use=no
33537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33538 ac_ext=c
33539 ac_cpp='$CPP $CPPFLAGS'
33540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33549 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33551 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33552 for ac_func in _hypotl
33553 do :
33554 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33555 if test "x$ac_cv_func__hypotl" = x""yes; then :
33556 cat >>confdefs.h <<_ACEOF
33557 #define HAVE__HYPOTL 1
33558 _ACEOF
33561 done
33570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33571 $as_echo_n "checking for ldexpl declaration... " >&6; }
33572 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33573 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
33574 $as_echo_n "(cached) " >&6
33575 else
33578 ac_ext=cpp
33579 ac_cpp='$CXXCPP $CPPFLAGS'
33580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33585 /* end confdefs.h. */
33586 #include <math.h>
33588 main ()
33590 ldexpl(0, 0);
33592 return 0;
33594 _ACEOF
33595 if ac_fn_cxx_try_compile "$LINENO"; then :
33596 glibcxx_cv_func_ldexpl_use=yes
33597 else
33598 glibcxx_cv_func_ldexpl_use=no
33600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33601 ac_ext=c
33602 ac_cpp='$CPP $CPPFLAGS'
33603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33612 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33614 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33615 for ac_func in ldexpl
33616 do :
33617 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33618 if test "x$ac_cv_func_ldexpl" = x""yes; then :
33619 cat >>confdefs.h <<_ACEOF
33620 #define HAVE_LDEXPL 1
33621 _ACEOF
33624 done
33626 else
33628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33629 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33630 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33631 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
33632 $as_echo_n "(cached) " >&6
33633 else
33636 ac_ext=cpp
33637 ac_cpp='$CXXCPP $CPPFLAGS'
33638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33643 /* end confdefs.h. */
33644 #include <math.h>
33646 main ()
33648 _ldexpl(0, 0);
33650 return 0;
33652 _ACEOF
33653 if ac_fn_cxx_try_compile "$LINENO"; then :
33654 glibcxx_cv_func__ldexpl_use=yes
33655 else
33656 glibcxx_cv_func__ldexpl_use=no
33658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33659 ac_ext=c
33660 ac_cpp='$CPP $CPPFLAGS'
33661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
33670 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
33672 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
33673 for ac_func in _ldexpl
33674 do :
33675 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
33676 if test "x$ac_cv_func__ldexpl" = x""yes; then :
33677 cat >>confdefs.h <<_ACEOF
33678 #define HAVE__LDEXPL 1
33679 _ACEOF
33682 done
33691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
33692 $as_echo_n "checking for logl declaration... " >&6; }
33693 if test x${glibcxx_cv_func_logl_use+set} != xset; then
33694 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
33695 $as_echo_n "(cached) " >&6
33696 else
33699 ac_ext=cpp
33700 ac_cpp='$CXXCPP $CPPFLAGS'
33701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33706 /* end confdefs.h. */
33707 #include <math.h>
33708 #ifdef HAVE_IEEEFP_H
33709 #include <ieeefp.h>
33710 #endif
33713 main ()
33715 logl(0);
33717 return 0;
33719 _ACEOF
33720 if ac_fn_cxx_try_compile "$LINENO"; then :
33721 glibcxx_cv_func_logl_use=yes
33722 else
33723 glibcxx_cv_func_logl_use=no
33725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33726 ac_ext=c
33727 ac_cpp='$CPP $CPPFLAGS'
33728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
33737 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
33739 if test x$glibcxx_cv_func_logl_use = x"yes"; then
33740 for ac_func in logl
33741 do :
33742 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
33743 if test "x$ac_cv_func_logl" = x""yes; then :
33744 cat >>confdefs.h <<_ACEOF
33745 #define HAVE_LOGL 1
33746 _ACEOF
33749 done
33751 else
33753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
33754 $as_echo_n "checking for _logl declaration... " >&6; }
33755 if test x${glibcxx_cv_func__logl_use+set} != xset; then
33756 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
33757 $as_echo_n "(cached) " >&6
33758 else
33761 ac_ext=cpp
33762 ac_cpp='$CXXCPP $CPPFLAGS'
33763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33768 /* end confdefs.h. */
33769 #include <math.h>
33770 #ifdef HAVE_IEEEFP_H
33771 #include <ieeefp.h>
33772 #endif
33775 main ()
33777 _logl(0);
33779 return 0;
33781 _ACEOF
33782 if ac_fn_cxx_try_compile "$LINENO"; then :
33783 glibcxx_cv_func__logl_use=yes
33784 else
33785 glibcxx_cv_func__logl_use=no
33787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33788 ac_ext=c
33789 ac_cpp='$CPP $CPPFLAGS'
33790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
33799 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
33801 if test x$glibcxx_cv_func__logl_use = x"yes"; then
33802 for ac_func in _logl
33803 do :
33804 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
33805 if test "x$ac_cv_func__logl" = x""yes; then :
33806 cat >>confdefs.h <<_ACEOF
33807 #define HAVE__LOGL 1
33808 _ACEOF
33811 done
33820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
33821 $as_echo_n "checking for log10l declaration... " >&6; }
33822 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
33823 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
33824 $as_echo_n "(cached) " >&6
33825 else
33828 ac_ext=cpp
33829 ac_cpp='$CXXCPP $CPPFLAGS'
33830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33835 /* end confdefs.h. */
33836 #include <math.h>
33837 #ifdef HAVE_IEEEFP_H
33838 #include <ieeefp.h>
33839 #endif
33842 main ()
33844 log10l(0);
33846 return 0;
33848 _ACEOF
33849 if ac_fn_cxx_try_compile "$LINENO"; then :
33850 glibcxx_cv_func_log10l_use=yes
33851 else
33852 glibcxx_cv_func_log10l_use=no
33854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33855 ac_ext=c
33856 ac_cpp='$CPP $CPPFLAGS'
33857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
33866 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
33868 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
33869 for ac_func in log10l
33870 do :
33871 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
33872 if test "x$ac_cv_func_log10l" = x""yes; then :
33873 cat >>confdefs.h <<_ACEOF
33874 #define HAVE_LOG10L 1
33875 _ACEOF
33878 done
33880 else
33882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
33883 $as_echo_n "checking for _log10l declaration... " >&6; }
33884 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
33885 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
33886 $as_echo_n "(cached) " >&6
33887 else
33890 ac_ext=cpp
33891 ac_cpp='$CXXCPP $CPPFLAGS'
33892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33897 /* end confdefs.h. */
33898 #include <math.h>
33899 #ifdef HAVE_IEEEFP_H
33900 #include <ieeefp.h>
33901 #endif
33904 main ()
33906 _log10l(0);
33908 return 0;
33910 _ACEOF
33911 if ac_fn_cxx_try_compile "$LINENO"; then :
33912 glibcxx_cv_func__log10l_use=yes
33913 else
33914 glibcxx_cv_func__log10l_use=no
33916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33917 ac_ext=c
33918 ac_cpp='$CPP $CPPFLAGS'
33919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
33928 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
33930 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
33931 for ac_func in _log10l
33932 do :
33933 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
33934 if test "x$ac_cv_func__log10l" = x""yes; then :
33935 cat >>confdefs.h <<_ACEOF
33936 #define HAVE__LOG10L 1
33937 _ACEOF
33940 done
33949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
33950 $as_echo_n "checking for modfl declaration... " >&6; }
33951 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
33952 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
33953 $as_echo_n "(cached) " >&6
33954 else
33957 ac_ext=cpp
33958 ac_cpp='$CXXCPP $CPPFLAGS'
33959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33964 /* end confdefs.h. */
33965 #include <math.h>
33967 main ()
33969 modfl(0, 0);
33971 return 0;
33973 _ACEOF
33974 if ac_fn_cxx_try_compile "$LINENO"; then :
33975 glibcxx_cv_func_modfl_use=yes
33976 else
33977 glibcxx_cv_func_modfl_use=no
33979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33980 ac_ext=c
33981 ac_cpp='$CPP $CPPFLAGS'
33982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
33991 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
33993 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
33994 for ac_func in modfl
33995 do :
33996 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
33997 if test "x$ac_cv_func_modfl" = x""yes; then :
33998 cat >>confdefs.h <<_ACEOF
33999 #define HAVE_MODFL 1
34000 _ACEOF
34003 done
34005 else
34007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34008 $as_echo_n "checking for _modfl declaration... " >&6; }
34009 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34010 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
34011 $as_echo_n "(cached) " >&6
34012 else
34015 ac_ext=cpp
34016 ac_cpp='$CXXCPP $CPPFLAGS'
34017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34022 /* end confdefs.h. */
34023 #include <math.h>
34025 main ()
34027 _modfl(0, 0);
34029 return 0;
34031 _ACEOF
34032 if ac_fn_cxx_try_compile "$LINENO"; then :
34033 glibcxx_cv_func__modfl_use=yes
34034 else
34035 glibcxx_cv_func__modfl_use=no
34037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34038 ac_ext=c
34039 ac_cpp='$CPP $CPPFLAGS'
34040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34049 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34051 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34052 for ac_func in _modfl
34053 do :
34054 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34055 if test "x$ac_cv_func__modfl" = x""yes; then :
34056 cat >>confdefs.h <<_ACEOF
34057 #define HAVE__MODFL 1
34058 _ACEOF
34061 done
34070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34071 $as_echo_n "checking for powl declaration... " >&6; }
34072 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34073 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
34074 $as_echo_n "(cached) " >&6
34075 else
34078 ac_ext=cpp
34079 ac_cpp='$CXXCPP $CPPFLAGS'
34080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34085 /* end confdefs.h. */
34086 #include <math.h>
34088 main ()
34090 powl(0, 0);
34092 return 0;
34094 _ACEOF
34095 if ac_fn_cxx_try_compile "$LINENO"; then :
34096 glibcxx_cv_func_powl_use=yes
34097 else
34098 glibcxx_cv_func_powl_use=no
34100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34101 ac_ext=c
34102 ac_cpp='$CPP $CPPFLAGS'
34103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34112 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34114 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34115 for ac_func in powl
34116 do :
34117 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34118 if test "x$ac_cv_func_powl" = x""yes; then :
34119 cat >>confdefs.h <<_ACEOF
34120 #define HAVE_POWL 1
34121 _ACEOF
34124 done
34126 else
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34129 $as_echo_n "checking for _powl declaration... " >&6; }
34130 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34131 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
34132 $as_echo_n "(cached) " >&6
34133 else
34136 ac_ext=cpp
34137 ac_cpp='$CXXCPP $CPPFLAGS'
34138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34143 /* end confdefs.h. */
34144 #include <math.h>
34146 main ()
34148 _powl(0, 0);
34150 return 0;
34152 _ACEOF
34153 if ac_fn_cxx_try_compile "$LINENO"; then :
34154 glibcxx_cv_func__powl_use=yes
34155 else
34156 glibcxx_cv_func__powl_use=no
34158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34159 ac_ext=c
34160 ac_cpp='$CPP $CPPFLAGS'
34161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34170 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34172 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34173 for ac_func in _powl
34174 do :
34175 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34176 if test "x$ac_cv_func__powl" = x""yes; then :
34177 cat >>confdefs.h <<_ACEOF
34178 #define HAVE__POWL 1
34179 _ACEOF
34182 done
34191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34192 $as_echo_n "checking for sqrtl declaration... " >&6; }
34193 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34194 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
34195 $as_echo_n "(cached) " >&6
34196 else
34199 ac_ext=cpp
34200 ac_cpp='$CXXCPP $CPPFLAGS'
34201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34206 /* end confdefs.h. */
34207 #include <math.h>
34208 #ifdef HAVE_IEEEFP_H
34209 #include <ieeefp.h>
34210 #endif
34213 main ()
34215 sqrtl(0);
34217 return 0;
34219 _ACEOF
34220 if ac_fn_cxx_try_compile "$LINENO"; then :
34221 glibcxx_cv_func_sqrtl_use=yes
34222 else
34223 glibcxx_cv_func_sqrtl_use=no
34225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34226 ac_ext=c
34227 ac_cpp='$CPP $CPPFLAGS'
34228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34237 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34239 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34240 for ac_func in sqrtl
34241 do :
34242 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34243 if test "x$ac_cv_func_sqrtl" = x""yes; then :
34244 cat >>confdefs.h <<_ACEOF
34245 #define HAVE_SQRTL 1
34246 _ACEOF
34249 done
34251 else
34253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34254 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34255 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34256 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
34257 $as_echo_n "(cached) " >&6
34258 else
34261 ac_ext=cpp
34262 ac_cpp='$CXXCPP $CPPFLAGS'
34263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34268 /* end confdefs.h. */
34269 #include <math.h>
34270 #ifdef HAVE_IEEEFP_H
34271 #include <ieeefp.h>
34272 #endif
34275 main ()
34277 _sqrtl(0);
34279 return 0;
34281 _ACEOF
34282 if ac_fn_cxx_try_compile "$LINENO"; then :
34283 glibcxx_cv_func__sqrtl_use=yes
34284 else
34285 glibcxx_cv_func__sqrtl_use=no
34287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34288 ac_ext=c
34289 ac_cpp='$CPP $CPPFLAGS'
34290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34299 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34301 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34302 for ac_func in _sqrtl
34303 do :
34304 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34305 if test "x$ac_cv_func__sqrtl" = x""yes; then :
34306 cat >>confdefs.h <<_ACEOF
34307 #define HAVE__SQRTL 1
34308 _ACEOF
34311 done
34320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34321 $as_echo_n "checking for sincosl declaration... " >&6; }
34322 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34323 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
34324 $as_echo_n "(cached) " >&6
34325 else
34328 ac_ext=cpp
34329 ac_cpp='$CXXCPP $CPPFLAGS'
34330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34335 /* end confdefs.h. */
34336 #include <math.h>
34338 main ()
34340 sincosl(0, 0, 0);
34342 return 0;
34344 _ACEOF
34345 if ac_fn_cxx_try_compile "$LINENO"; then :
34346 glibcxx_cv_func_sincosl_use=yes
34347 else
34348 glibcxx_cv_func_sincosl_use=no
34350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34351 ac_ext=c
34352 ac_cpp='$CPP $CPPFLAGS'
34353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34362 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34364 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34365 for ac_func in sincosl
34366 do :
34367 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34368 if test "x$ac_cv_func_sincosl" = x""yes; then :
34369 cat >>confdefs.h <<_ACEOF
34370 #define HAVE_SINCOSL 1
34371 _ACEOF
34374 done
34376 else
34378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34379 $as_echo_n "checking for _sincosl declaration... " >&6; }
34380 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34381 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
34382 $as_echo_n "(cached) " >&6
34383 else
34386 ac_ext=cpp
34387 ac_cpp='$CXXCPP $CPPFLAGS'
34388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34393 /* end confdefs.h. */
34394 #include <math.h>
34396 main ()
34398 _sincosl(0, 0, 0);
34400 return 0;
34402 _ACEOF
34403 if ac_fn_cxx_try_compile "$LINENO"; then :
34404 glibcxx_cv_func__sincosl_use=yes
34405 else
34406 glibcxx_cv_func__sincosl_use=no
34408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34409 ac_ext=c
34410 ac_cpp='$CPP $CPPFLAGS'
34411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34420 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34422 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34423 for ac_func in _sincosl
34424 do :
34425 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34426 if test "x$ac_cv_func__sincosl" = x""yes; then :
34427 cat >>confdefs.h <<_ACEOF
34428 #define HAVE__SINCOSL 1
34429 _ACEOF
34432 done
34441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34442 $as_echo_n "checking for finitel declaration... " >&6; }
34443 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34444 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
34445 $as_echo_n "(cached) " >&6
34446 else
34449 ac_ext=cpp
34450 ac_cpp='$CXXCPP $CPPFLAGS'
34451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34456 /* end confdefs.h. */
34457 #include <math.h>
34458 #ifdef HAVE_IEEEFP_H
34459 #include <ieeefp.h>
34460 #endif
34463 main ()
34465 finitel(0);
34467 return 0;
34469 _ACEOF
34470 if ac_fn_cxx_try_compile "$LINENO"; then :
34471 glibcxx_cv_func_finitel_use=yes
34472 else
34473 glibcxx_cv_func_finitel_use=no
34475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34476 ac_ext=c
34477 ac_cpp='$CPP $CPPFLAGS'
34478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34487 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34489 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34490 for ac_func in finitel
34491 do :
34492 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34493 if test "x$ac_cv_func_finitel" = x""yes; then :
34494 cat >>confdefs.h <<_ACEOF
34495 #define HAVE_FINITEL 1
34496 _ACEOF
34499 done
34501 else
34503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34504 $as_echo_n "checking for _finitel declaration... " >&6; }
34505 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34506 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
34507 $as_echo_n "(cached) " >&6
34508 else
34511 ac_ext=cpp
34512 ac_cpp='$CXXCPP $CPPFLAGS'
34513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34518 /* end confdefs.h. */
34519 #include <math.h>
34520 #ifdef HAVE_IEEEFP_H
34521 #include <ieeefp.h>
34522 #endif
34525 main ()
34527 _finitel(0);
34529 return 0;
34531 _ACEOF
34532 if ac_fn_cxx_try_compile "$LINENO"; then :
34533 glibcxx_cv_func__finitel_use=yes
34534 else
34535 glibcxx_cv_func__finitel_use=no
34537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34538 ac_ext=c
34539 ac_cpp='$CPP $CPPFLAGS'
34540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34549 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34551 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34552 for ac_func in _finitel
34553 do :
34554 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34555 if test "x$ac_cv_func__finitel" = x""yes; then :
34556 cat >>confdefs.h <<_ACEOF
34557 #define HAVE__FINITEL 1
34558 _ACEOF
34561 done
34569 LIBS="$ac_save_LIBS"
34570 CXXFLAGS="$ac_save_CXXFLAGS"
34573 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34574 ac_save_CXXFLAGS="$CXXFLAGS"
34575 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34579 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34580 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34581 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
34582 $as_echo_n "(cached) " >&6
34583 else
34586 ac_ext=cpp
34587 ac_cpp='$CXXCPP $CPPFLAGS'
34588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34593 /* end confdefs.h. */
34594 #include <stdlib.h>
34596 main ()
34598 at_quick_exit(0);
34600 return 0;
34602 _ACEOF
34603 if ac_fn_cxx_try_compile "$LINENO"; then :
34604 glibcxx_cv_func_at_quick_exit_use=yes
34605 else
34606 glibcxx_cv_func_at_quick_exit_use=no
34608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34609 ac_ext=c
34610 ac_cpp='$CPP $CPPFLAGS'
34611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34620 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34621 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34622 for ac_func in at_quick_exit
34623 do :
34624 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34625 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
34626 cat >>confdefs.h <<_ACEOF
34627 #define HAVE_AT_QUICK_EXIT 1
34628 _ACEOF
34631 done
34636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34637 $as_echo_n "checking for quick_exit declaration... " >&6; }
34638 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34639 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
34640 $as_echo_n "(cached) " >&6
34641 else
34644 ac_ext=cpp
34645 ac_cpp='$CXXCPP $CPPFLAGS'
34646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34651 /* end confdefs.h. */
34652 #include <stdlib.h>
34654 main ()
34656 quick_exit(0);
34658 return 0;
34660 _ACEOF
34661 if ac_fn_cxx_try_compile "$LINENO"; then :
34662 glibcxx_cv_func_quick_exit_use=yes
34663 else
34664 glibcxx_cv_func_quick_exit_use=no
34666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34667 ac_ext=c
34668 ac_cpp='$CPP $CPPFLAGS'
34669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
34678 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
34679 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
34680 for ac_func in quick_exit
34681 do :
34682 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
34683 if test "x$ac_cv_func_quick_exit" = x""yes; then :
34684 cat >>confdefs.h <<_ACEOF
34685 #define HAVE_QUICK_EXIT 1
34686 _ACEOF
34689 done
34694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
34695 $as_echo_n "checking for strtold declaration... " >&6; }
34696 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
34697 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
34698 $as_echo_n "(cached) " >&6
34699 else
34702 ac_ext=cpp
34703 ac_cpp='$CXXCPP $CPPFLAGS'
34704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34709 /* end confdefs.h. */
34710 #include <stdlib.h>
34712 main ()
34714 strtold(0, 0);
34716 return 0;
34718 _ACEOF
34719 if ac_fn_cxx_try_compile "$LINENO"; then :
34720 glibcxx_cv_func_strtold_use=yes
34721 else
34722 glibcxx_cv_func_strtold_use=no
34724 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34725 ac_ext=c
34726 ac_cpp='$CPP $CPPFLAGS'
34727 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34728 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34729 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
34736 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
34737 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
34738 for ac_func in strtold
34739 do :
34740 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
34741 if test "x$ac_cv_func_strtold" = x""yes; then :
34742 cat >>confdefs.h <<_ACEOF
34743 #define HAVE_STRTOLD 1
34744 _ACEOF
34747 done
34754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
34755 $as_echo_n "checking for strtof declaration... " >&6; }
34756 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
34757 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
34758 $as_echo_n "(cached) " >&6
34759 else
34762 ac_ext=cpp
34763 ac_cpp='$CXXCPP $CPPFLAGS'
34764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34769 /* end confdefs.h. */
34770 #include <stdlib.h>
34772 main ()
34774 strtof(0, 0);
34776 return 0;
34778 _ACEOF
34779 if ac_fn_cxx_try_compile "$LINENO"; then :
34780 glibcxx_cv_func_strtof_use=yes
34781 else
34782 glibcxx_cv_func_strtof_use=no
34784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34785 ac_ext=c
34786 ac_cpp='$CPP $CPPFLAGS'
34787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
34796 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
34797 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
34798 for ac_func in strtof
34799 do :
34800 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
34801 if test "x$ac_cv_func_strtof" = x""yes; then :
34802 cat >>confdefs.h <<_ACEOF
34803 #define HAVE_STRTOF 1
34804 _ACEOF
34807 done
34814 CXXFLAGS="$ac_save_CXXFLAGS"
34817 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
34819 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
34821 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
34823 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
34826 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
34828 $as_echo "#define HAVE_MODF 1" >>confdefs.h
34830 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
34834 spu-*-elf*)
34836 # All these tests are for C++; save the language and the compiler flags.
34837 # The CXXFLAGS thing is suspicious, but based on similar bits previously
34838 # found in GLIBCXX_CONFIGURE.
34840 ac_ext=cpp
34841 ac_cpp='$CXXCPP $CPPFLAGS'
34842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34846 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34847 ac_save_CXXFLAGS="$CXXFLAGS"
34849 # Check for maintainer-mode bits.
34850 if test x"$USE_MAINTAINER_MODE" = xno; then
34851 WERROR=''
34852 else
34853 WERROR='-Werror'
34856 # Check for -ffunction-sections -fdata-sections
34857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
34858 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
34859 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
34860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34861 /* end confdefs.h. */
34862 int foo; void bar() { };
34864 main ()
34868 return 0;
34870 _ACEOF
34871 if ac_fn_cxx_try_compile "$LINENO"; then :
34872 ac_fdsections=yes
34873 else
34874 ac_fdsections=no
34876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34877 if test "$ac_test_CXXFLAGS" = set; then
34878 CXXFLAGS="$ac_save_CXXFLAGS"
34879 else
34880 # this is the suspicious part
34881 CXXFLAGS=''
34883 if test x"$ac_fdsections" = x"yes"; then
34884 SECTION_FLAGS='-ffunction-sections -fdata-sections'
34886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
34887 $as_echo "$ac_fdsections" >&6; }
34889 ac_ext=c
34890 ac_cpp='$CPP $CPPFLAGS'
34891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34899 # If we're not using GNU ld, then there's no point in even trying these
34900 # tests. Check for that first. We should have already tested for gld
34901 # by now (in libtool), but require it now just to be safe...
34902 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
34903 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
34907 # The name set by libtool depends on the version of libtool. Shame on us
34908 # for depending on an impl detail, but c'est la vie. Older versions used
34909 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
34910 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
34911 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
34912 # set (hence we're using an older libtool), then set it.
34913 if test x${with_gnu_ld+set} != xset; then
34914 if test x${ac_cv_prog_gnu_ld+set} != xset; then
34915 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
34916 with_gnu_ld=no
34917 else
34918 with_gnu_ld=$ac_cv_prog_gnu_ld
34922 # Start by getting the version number. I think the libtool test already
34923 # does some of this, but throws away the result.
34924 glibcxx_ld_is_gold=no
34925 if test x"$with_gnu_ld" = x"yes"; then
34926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
34927 $as_echo_n "checking for ld version... " >&6; }
34929 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
34930 glibcxx_ld_is_gold=yes
34932 ldver=`$LD --version 2>/dev/null |
34933 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'`
34935 glibcxx_gnu_ld_version=`echo $ldver | \
34936 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
34937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
34938 $as_echo "$glibcxx_gnu_ld_version" >&6; }
34941 # Set --gc-sections.
34942 glibcxx_have_gc_sections=no
34943 if test "$glibcxx_ld_is_gold" = "yes"; then
34944 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
34945 glibcxx_have_gc_sections=yes
34947 else
34948 glibcxx_gcsections_min_ld=21602
34949 if test x"$with_gnu_ld" = x"yes" &&
34950 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
34951 glibcxx_have_gc_sections=yes
34954 if test "$glibcxx_have_gc_sections" = "yes"; then
34955 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
34956 # NB: This flag only works reliably after 2.16.1. Configure tests
34957 # for this are difficult, so hard wire a value that should work.
34959 ac_test_CFLAGS="${CFLAGS+set}"
34960 ac_save_CFLAGS="$CFLAGS"
34961 CFLAGS='-Wl,--gc-sections'
34963 # Check for -Wl,--gc-sections
34964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
34965 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
34966 if test x$gcc_no_link = xyes; then
34967 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
34969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34970 /* end confdefs.h. */
34971 int one(void) { return 1; }
34972 int two(void) { return 2; }
34975 main ()
34977 two();
34979 return 0;
34981 _ACEOF
34982 if ac_fn_c_try_link "$LINENO"; then :
34983 ac_gcsections=yes
34984 else
34985 ac_gcsections=no
34987 rm -f core conftest.err conftest.$ac_objext \
34988 conftest$ac_exeext conftest.$ac_ext
34989 if test "$ac_gcsections" = "yes"; then
34990 rm -f conftest.c
34991 touch conftest.c
34992 if $CC -c conftest.c; then
34993 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
34994 grep "Warning: gc-sections option ignored" > /dev/null; then
34995 ac_gcsections=no
34998 rm -f conftest.c conftest.o conftest
35000 if test "$ac_gcsections" = "yes"; then
35001 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35004 $as_echo "$ac_gcsections" >&6; }
35006 if test "$ac_test_CFLAGS" = set; then
35007 CFLAGS="$ac_save_CFLAGS"
35008 else
35009 # this is the suspicious part
35010 CFLAGS=''
35014 # Set -z,relro.
35015 # Note this is only for shared objects.
35016 ac_ld_relro=no
35017 if test x"$with_gnu_ld" = x"yes"; then
35018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35019 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35020 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35021 if test -n "$cxx_z_relo"; then
35022 OPT_LDFLAGS="-Wl,-z,relro"
35023 ac_ld_relro=yes
35025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35026 $as_echo "$ac_ld_relro" >&6; }
35029 # Set linker optimization flags.
35030 if test x"$with_gnu_ld" = x"yes"; then
35031 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35038 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35039 ac_save_CXXFLAGS="$CXXFLAGS"
35040 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35043 $as_echo_n "checking for sin in -lm... " >&6; }
35044 if test "${ac_cv_lib_m_sin+set}" = set; then :
35045 $as_echo_n "(cached) " >&6
35046 else
35047 ac_check_lib_save_LIBS=$LIBS
35048 LIBS="-lm $LIBS"
35049 if test x$gcc_no_link = xyes; then
35050 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35053 /* end confdefs.h. */
35055 /* Override any GCC internal prototype to avoid an error.
35056 Use char because int might match the return type of a GCC
35057 builtin and then its argument prototype would still apply. */
35058 #ifdef __cplusplus
35059 extern "C"
35060 #endif
35061 char sin ();
35063 main ()
35065 return sin ();
35067 return 0;
35069 _ACEOF
35070 if ac_fn_c_try_link "$LINENO"; then :
35071 ac_cv_lib_m_sin=yes
35072 else
35073 ac_cv_lib_m_sin=no
35075 rm -f core conftest.err conftest.$ac_objext \
35076 conftest$ac_exeext conftest.$ac_ext
35077 LIBS=$ac_check_lib_save_LIBS
35079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35080 $as_echo "$ac_cv_lib_m_sin" >&6; }
35081 if test "x$ac_cv_lib_m_sin" = x""yes; then :
35082 libm="-lm"
35085 ac_save_LIBS="$LIBS"
35086 LIBS="$LIBS $libm"
35090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35091 $as_echo_n "checking for isinf declaration... " >&6; }
35092 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35093 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
35094 $as_echo_n "(cached) " >&6
35095 else
35098 ac_ext=cpp
35099 ac_cpp='$CXXCPP $CPPFLAGS'
35100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35105 /* end confdefs.h. */
35106 #include <math.h>
35107 #ifdef HAVE_IEEEFP_H
35108 #include <ieeefp.h>
35109 #endif
35112 main ()
35114 isinf(0);
35116 return 0;
35118 _ACEOF
35119 if ac_fn_cxx_try_compile "$LINENO"; then :
35120 glibcxx_cv_func_isinf_use=yes
35121 else
35122 glibcxx_cv_func_isinf_use=no
35124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35125 ac_ext=c
35126 ac_cpp='$CPP $CPPFLAGS'
35127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35136 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35138 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35139 for ac_func in isinf
35140 do :
35141 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35142 if test "x$ac_cv_func_isinf" = x""yes; then :
35143 cat >>confdefs.h <<_ACEOF
35144 #define HAVE_ISINF 1
35145 _ACEOF
35148 done
35150 else
35152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35153 $as_echo_n "checking for _isinf declaration... " >&6; }
35154 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35155 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
35156 $as_echo_n "(cached) " >&6
35157 else
35160 ac_ext=cpp
35161 ac_cpp='$CXXCPP $CPPFLAGS'
35162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35167 /* end confdefs.h. */
35168 #include <math.h>
35169 #ifdef HAVE_IEEEFP_H
35170 #include <ieeefp.h>
35171 #endif
35174 main ()
35176 _isinf(0);
35178 return 0;
35180 _ACEOF
35181 if ac_fn_cxx_try_compile "$LINENO"; then :
35182 glibcxx_cv_func__isinf_use=yes
35183 else
35184 glibcxx_cv_func__isinf_use=no
35186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35187 ac_ext=c
35188 ac_cpp='$CPP $CPPFLAGS'
35189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35198 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35200 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35201 for ac_func in _isinf
35202 do :
35203 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35204 if test "x$ac_cv_func__isinf" = x""yes; then :
35205 cat >>confdefs.h <<_ACEOF
35206 #define HAVE__ISINF 1
35207 _ACEOF
35210 done
35219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35220 $as_echo_n "checking for isnan declaration... " >&6; }
35221 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35222 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
35223 $as_echo_n "(cached) " >&6
35224 else
35227 ac_ext=cpp
35228 ac_cpp='$CXXCPP $CPPFLAGS'
35229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35234 /* end confdefs.h. */
35235 #include <math.h>
35236 #ifdef HAVE_IEEEFP_H
35237 #include <ieeefp.h>
35238 #endif
35241 main ()
35243 isnan(0);
35245 return 0;
35247 _ACEOF
35248 if ac_fn_cxx_try_compile "$LINENO"; then :
35249 glibcxx_cv_func_isnan_use=yes
35250 else
35251 glibcxx_cv_func_isnan_use=no
35253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35254 ac_ext=c
35255 ac_cpp='$CPP $CPPFLAGS'
35256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35265 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35267 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35268 for ac_func in isnan
35269 do :
35270 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35271 if test "x$ac_cv_func_isnan" = x""yes; then :
35272 cat >>confdefs.h <<_ACEOF
35273 #define HAVE_ISNAN 1
35274 _ACEOF
35277 done
35279 else
35281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35282 $as_echo_n "checking for _isnan declaration... " >&6; }
35283 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35284 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
35285 $as_echo_n "(cached) " >&6
35286 else
35289 ac_ext=cpp
35290 ac_cpp='$CXXCPP $CPPFLAGS'
35291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35296 /* end confdefs.h. */
35297 #include <math.h>
35298 #ifdef HAVE_IEEEFP_H
35299 #include <ieeefp.h>
35300 #endif
35303 main ()
35305 _isnan(0);
35307 return 0;
35309 _ACEOF
35310 if ac_fn_cxx_try_compile "$LINENO"; then :
35311 glibcxx_cv_func__isnan_use=yes
35312 else
35313 glibcxx_cv_func__isnan_use=no
35315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35316 ac_ext=c
35317 ac_cpp='$CPP $CPPFLAGS'
35318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35327 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35329 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35330 for ac_func in _isnan
35331 do :
35332 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35333 if test "x$ac_cv_func__isnan" = x""yes; then :
35334 cat >>confdefs.h <<_ACEOF
35335 #define HAVE__ISNAN 1
35336 _ACEOF
35339 done
35348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35349 $as_echo_n "checking for finite declaration... " >&6; }
35350 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35351 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
35352 $as_echo_n "(cached) " >&6
35353 else
35356 ac_ext=cpp
35357 ac_cpp='$CXXCPP $CPPFLAGS'
35358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35363 /* end confdefs.h. */
35364 #include <math.h>
35365 #ifdef HAVE_IEEEFP_H
35366 #include <ieeefp.h>
35367 #endif
35370 main ()
35372 finite(0);
35374 return 0;
35376 _ACEOF
35377 if ac_fn_cxx_try_compile "$LINENO"; then :
35378 glibcxx_cv_func_finite_use=yes
35379 else
35380 glibcxx_cv_func_finite_use=no
35382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35383 ac_ext=c
35384 ac_cpp='$CPP $CPPFLAGS'
35385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35394 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35396 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35397 for ac_func in finite
35398 do :
35399 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35400 if test "x$ac_cv_func_finite" = x""yes; then :
35401 cat >>confdefs.h <<_ACEOF
35402 #define HAVE_FINITE 1
35403 _ACEOF
35406 done
35408 else
35410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35411 $as_echo_n "checking for _finite declaration... " >&6; }
35412 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35413 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
35414 $as_echo_n "(cached) " >&6
35415 else
35418 ac_ext=cpp
35419 ac_cpp='$CXXCPP $CPPFLAGS'
35420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35425 /* end confdefs.h. */
35426 #include <math.h>
35427 #ifdef HAVE_IEEEFP_H
35428 #include <ieeefp.h>
35429 #endif
35432 main ()
35434 _finite(0);
35436 return 0;
35438 _ACEOF
35439 if ac_fn_cxx_try_compile "$LINENO"; then :
35440 glibcxx_cv_func__finite_use=yes
35441 else
35442 glibcxx_cv_func__finite_use=no
35444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35445 ac_ext=c
35446 ac_cpp='$CPP $CPPFLAGS'
35447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35456 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35458 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35459 for ac_func in _finite
35460 do :
35461 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35462 if test "x$ac_cv_func__finite" = x""yes; then :
35463 cat >>confdefs.h <<_ACEOF
35464 #define HAVE__FINITE 1
35465 _ACEOF
35468 done
35477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35478 $as_echo_n "checking for sincos declaration... " >&6; }
35479 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35480 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
35481 $as_echo_n "(cached) " >&6
35482 else
35485 ac_ext=cpp
35486 ac_cpp='$CXXCPP $CPPFLAGS'
35487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35492 /* end confdefs.h. */
35493 #include <math.h>
35495 main ()
35497 sincos(0, 0, 0);
35499 return 0;
35501 _ACEOF
35502 if ac_fn_cxx_try_compile "$LINENO"; then :
35503 glibcxx_cv_func_sincos_use=yes
35504 else
35505 glibcxx_cv_func_sincos_use=no
35507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35508 ac_ext=c
35509 ac_cpp='$CPP $CPPFLAGS'
35510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35519 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35521 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35522 for ac_func in sincos
35523 do :
35524 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35525 if test "x$ac_cv_func_sincos" = x""yes; then :
35526 cat >>confdefs.h <<_ACEOF
35527 #define HAVE_SINCOS 1
35528 _ACEOF
35531 done
35533 else
35535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35536 $as_echo_n "checking for _sincos declaration... " >&6; }
35537 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35538 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
35539 $as_echo_n "(cached) " >&6
35540 else
35543 ac_ext=cpp
35544 ac_cpp='$CXXCPP $CPPFLAGS'
35545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35550 /* end confdefs.h. */
35551 #include <math.h>
35553 main ()
35555 _sincos(0, 0, 0);
35557 return 0;
35559 _ACEOF
35560 if ac_fn_cxx_try_compile "$LINENO"; then :
35561 glibcxx_cv_func__sincos_use=yes
35562 else
35563 glibcxx_cv_func__sincos_use=no
35565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35566 ac_ext=c
35567 ac_cpp='$CPP $CPPFLAGS'
35568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35577 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35579 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35580 for ac_func in _sincos
35581 do :
35582 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35583 if test "x$ac_cv_func__sincos" = x""yes; then :
35584 cat >>confdefs.h <<_ACEOF
35585 #define HAVE__SINCOS 1
35586 _ACEOF
35589 done
35598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35599 $as_echo_n "checking for fpclass declaration... " >&6; }
35600 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35601 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
35602 $as_echo_n "(cached) " >&6
35603 else
35606 ac_ext=cpp
35607 ac_cpp='$CXXCPP $CPPFLAGS'
35608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35613 /* end confdefs.h. */
35614 #include <math.h>
35615 #ifdef HAVE_IEEEFP_H
35616 #include <ieeefp.h>
35617 #endif
35620 main ()
35622 fpclass(0);
35624 return 0;
35626 _ACEOF
35627 if ac_fn_cxx_try_compile "$LINENO"; then :
35628 glibcxx_cv_func_fpclass_use=yes
35629 else
35630 glibcxx_cv_func_fpclass_use=no
35632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35633 ac_ext=c
35634 ac_cpp='$CPP $CPPFLAGS'
35635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35644 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35646 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35647 for ac_func in fpclass
35648 do :
35649 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35650 if test "x$ac_cv_func_fpclass" = x""yes; then :
35651 cat >>confdefs.h <<_ACEOF
35652 #define HAVE_FPCLASS 1
35653 _ACEOF
35656 done
35658 else
35660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35661 $as_echo_n "checking for _fpclass declaration... " >&6; }
35662 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35663 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
35664 $as_echo_n "(cached) " >&6
35665 else
35668 ac_ext=cpp
35669 ac_cpp='$CXXCPP $CPPFLAGS'
35670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35675 /* end confdefs.h. */
35676 #include <math.h>
35677 #ifdef HAVE_IEEEFP_H
35678 #include <ieeefp.h>
35679 #endif
35682 main ()
35684 _fpclass(0);
35686 return 0;
35688 _ACEOF
35689 if ac_fn_cxx_try_compile "$LINENO"; then :
35690 glibcxx_cv_func__fpclass_use=yes
35691 else
35692 glibcxx_cv_func__fpclass_use=no
35694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35695 ac_ext=c
35696 ac_cpp='$CPP $CPPFLAGS'
35697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
35706 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
35708 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
35709 for ac_func in _fpclass
35710 do :
35711 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
35712 if test "x$ac_cv_func__fpclass" = x""yes; then :
35713 cat >>confdefs.h <<_ACEOF
35714 #define HAVE__FPCLASS 1
35715 _ACEOF
35718 done
35727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
35728 $as_echo_n "checking for qfpclass declaration... " >&6; }
35729 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
35730 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
35731 $as_echo_n "(cached) " >&6
35732 else
35735 ac_ext=cpp
35736 ac_cpp='$CXXCPP $CPPFLAGS'
35737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35742 /* end confdefs.h. */
35743 #include <math.h>
35744 #ifdef HAVE_IEEEFP_H
35745 #include <ieeefp.h>
35746 #endif
35749 main ()
35751 qfpclass(0);
35753 return 0;
35755 _ACEOF
35756 if ac_fn_cxx_try_compile "$LINENO"; then :
35757 glibcxx_cv_func_qfpclass_use=yes
35758 else
35759 glibcxx_cv_func_qfpclass_use=no
35761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35762 ac_ext=c
35763 ac_cpp='$CPP $CPPFLAGS'
35764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
35773 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
35775 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
35776 for ac_func in qfpclass
35777 do :
35778 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
35779 if test "x$ac_cv_func_qfpclass" = x""yes; then :
35780 cat >>confdefs.h <<_ACEOF
35781 #define HAVE_QFPCLASS 1
35782 _ACEOF
35785 done
35787 else
35789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
35790 $as_echo_n "checking for _qfpclass declaration... " >&6; }
35791 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
35792 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
35793 $as_echo_n "(cached) " >&6
35794 else
35797 ac_ext=cpp
35798 ac_cpp='$CXXCPP $CPPFLAGS'
35799 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35800 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35801 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35804 /* end confdefs.h. */
35805 #include <math.h>
35806 #ifdef HAVE_IEEEFP_H
35807 #include <ieeefp.h>
35808 #endif
35811 main ()
35813 _qfpclass(0);
35815 return 0;
35817 _ACEOF
35818 if ac_fn_cxx_try_compile "$LINENO"; then :
35819 glibcxx_cv_func__qfpclass_use=yes
35820 else
35821 glibcxx_cv_func__qfpclass_use=no
35823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35824 ac_ext=c
35825 ac_cpp='$CPP $CPPFLAGS'
35826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
35835 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
35837 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
35838 for ac_func in _qfpclass
35839 do :
35840 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
35841 if test "x$ac_cv_func__qfpclass" = x""yes; then :
35842 cat >>confdefs.h <<_ACEOF
35843 #define HAVE__QFPCLASS 1
35844 _ACEOF
35847 done
35856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
35857 $as_echo_n "checking for hypot declaration... " >&6; }
35858 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
35859 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
35860 $as_echo_n "(cached) " >&6
35861 else
35864 ac_ext=cpp
35865 ac_cpp='$CXXCPP $CPPFLAGS'
35866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35871 /* end confdefs.h. */
35872 #include <math.h>
35874 main ()
35876 hypot(0, 0);
35878 return 0;
35880 _ACEOF
35881 if ac_fn_cxx_try_compile "$LINENO"; then :
35882 glibcxx_cv_func_hypot_use=yes
35883 else
35884 glibcxx_cv_func_hypot_use=no
35886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35887 ac_ext=c
35888 ac_cpp='$CPP $CPPFLAGS'
35889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
35898 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
35900 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
35901 for ac_func in hypot
35902 do :
35903 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
35904 if test "x$ac_cv_func_hypot" = x""yes; then :
35905 cat >>confdefs.h <<_ACEOF
35906 #define HAVE_HYPOT 1
35907 _ACEOF
35910 done
35912 else
35914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
35915 $as_echo_n "checking for _hypot declaration... " >&6; }
35916 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
35917 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
35918 $as_echo_n "(cached) " >&6
35919 else
35922 ac_ext=cpp
35923 ac_cpp='$CXXCPP $CPPFLAGS'
35924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35929 /* end confdefs.h. */
35930 #include <math.h>
35932 main ()
35934 _hypot(0, 0);
35936 return 0;
35938 _ACEOF
35939 if ac_fn_cxx_try_compile "$LINENO"; then :
35940 glibcxx_cv_func__hypot_use=yes
35941 else
35942 glibcxx_cv_func__hypot_use=no
35944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35945 ac_ext=c
35946 ac_cpp='$CPP $CPPFLAGS'
35947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
35956 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
35958 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
35959 for ac_func in _hypot
35960 do :
35961 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
35962 if test "x$ac_cv_func__hypot" = x""yes; then :
35963 cat >>confdefs.h <<_ACEOF
35964 #define HAVE__HYPOT 1
35965 _ACEOF
35968 done
35977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
35978 $as_echo_n "checking for float trig functions... " >&6; }
35979 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
35980 $as_echo_n "(cached) " >&6
35981 else
35984 ac_ext=cpp
35985 ac_cpp='$CXXCPP $CPPFLAGS'
35986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35991 /* end confdefs.h. */
35992 #include <math.h>
35994 main ()
35996 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
35998 return 0;
36000 _ACEOF
36001 if ac_fn_cxx_try_compile "$LINENO"; then :
36002 glibcxx_cv_func_float_trig_use=yes
36003 else
36004 glibcxx_cv_func_float_trig_use=no
36006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36007 ac_ext=c
36008 ac_cpp='$CPP $CPPFLAGS'
36009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36016 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36017 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36018 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36019 do :
36020 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36021 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36022 eval as_val=\$$as_ac_var
36023 if test "x$as_val" = x""yes; then :
36024 cat >>confdefs.h <<_ACEOF
36025 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36026 _ACEOF
36029 done
36031 else
36032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36033 $as_echo_n "checking for _float trig functions... " >&6; }
36034 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
36035 $as_echo_n "(cached) " >&6
36036 else
36039 ac_ext=cpp
36040 ac_cpp='$CXXCPP $CPPFLAGS'
36041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36046 /* end confdefs.h. */
36047 #include <math.h>
36049 main ()
36051 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36053 return 0;
36055 _ACEOF
36056 if ac_fn_cxx_try_compile "$LINENO"; then :
36057 glibcxx_cv_func__float_trig_use=yes
36058 else
36059 glibcxx_cv_func__float_trig_use=no
36061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36062 ac_ext=c
36063 ac_cpp='$CPP $CPPFLAGS'
36064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36071 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36072 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36073 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36074 do :
36075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36077 eval as_val=\$$as_ac_var
36078 if test "x$as_val" = x""yes; then :
36079 cat >>confdefs.h <<_ACEOF
36080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36081 _ACEOF
36084 done
36093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36094 $as_echo_n "checking for float round functions... " >&6; }
36095 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
36096 $as_echo_n "(cached) " >&6
36097 else
36100 ac_ext=cpp
36101 ac_cpp='$CXXCPP $CPPFLAGS'
36102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36107 /* end confdefs.h. */
36108 #include <math.h>
36110 main ()
36112 ceilf (0); floorf (0);
36114 return 0;
36116 _ACEOF
36117 if ac_fn_cxx_try_compile "$LINENO"; then :
36118 glibcxx_cv_func_float_round_use=yes
36119 else
36120 glibcxx_cv_func_float_round_use=no
36122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36123 ac_ext=c
36124 ac_cpp='$CPP $CPPFLAGS'
36125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36132 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36133 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36134 for ac_func in ceilf floorf
36135 do :
36136 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36137 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36138 eval as_val=\$$as_ac_var
36139 if test "x$as_val" = x""yes; then :
36140 cat >>confdefs.h <<_ACEOF
36141 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36142 _ACEOF
36145 done
36147 else
36148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36149 $as_echo_n "checking for _float round functions... " >&6; }
36150 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
36151 $as_echo_n "(cached) " >&6
36152 else
36155 ac_ext=cpp
36156 ac_cpp='$CXXCPP $CPPFLAGS'
36157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36162 /* end confdefs.h. */
36163 #include <math.h>
36165 main ()
36167 _ceilf (0); _floorf (0);
36169 return 0;
36171 _ACEOF
36172 if ac_fn_cxx_try_compile "$LINENO"; then :
36173 glibcxx_cv_func__float_round_use=yes
36174 else
36175 glibcxx_cv_func__float_round_use=no
36177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36178 ac_ext=c
36179 ac_cpp='$CPP $CPPFLAGS'
36180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36187 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36188 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36189 for ac_func in _ceilf _floorf
36190 do :
36191 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36192 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36193 eval as_val=\$$as_ac_var
36194 if test "x$as_val" = x""yes; then :
36195 cat >>confdefs.h <<_ACEOF
36196 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36197 _ACEOF
36200 done
36210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36211 $as_echo_n "checking for expf declaration... " >&6; }
36212 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36213 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
36214 $as_echo_n "(cached) " >&6
36215 else
36218 ac_ext=cpp
36219 ac_cpp='$CXXCPP $CPPFLAGS'
36220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36225 /* end confdefs.h. */
36226 #include <math.h>
36227 #ifdef HAVE_IEEEFP_H
36228 #include <ieeefp.h>
36229 #endif
36232 main ()
36234 expf(0);
36236 return 0;
36238 _ACEOF
36239 if ac_fn_cxx_try_compile "$LINENO"; then :
36240 glibcxx_cv_func_expf_use=yes
36241 else
36242 glibcxx_cv_func_expf_use=no
36244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36245 ac_ext=c
36246 ac_cpp='$CPP $CPPFLAGS'
36247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36256 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36258 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36259 for ac_func in expf
36260 do :
36261 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36262 if test "x$ac_cv_func_expf" = x""yes; then :
36263 cat >>confdefs.h <<_ACEOF
36264 #define HAVE_EXPF 1
36265 _ACEOF
36268 done
36270 else
36272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36273 $as_echo_n "checking for _expf declaration... " >&6; }
36274 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36275 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
36276 $as_echo_n "(cached) " >&6
36277 else
36280 ac_ext=cpp
36281 ac_cpp='$CXXCPP $CPPFLAGS'
36282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36287 /* end confdefs.h. */
36288 #include <math.h>
36289 #ifdef HAVE_IEEEFP_H
36290 #include <ieeefp.h>
36291 #endif
36294 main ()
36296 _expf(0);
36298 return 0;
36300 _ACEOF
36301 if ac_fn_cxx_try_compile "$LINENO"; then :
36302 glibcxx_cv_func__expf_use=yes
36303 else
36304 glibcxx_cv_func__expf_use=no
36306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36307 ac_ext=c
36308 ac_cpp='$CPP $CPPFLAGS'
36309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36318 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36320 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36321 for ac_func in _expf
36322 do :
36323 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36324 if test "x$ac_cv_func__expf" = x""yes; then :
36325 cat >>confdefs.h <<_ACEOF
36326 #define HAVE__EXPF 1
36327 _ACEOF
36330 done
36339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36340 $as_echo_n "checking for isnanf declaration... " >&6; }
36341 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36342 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
36343 $as_echo_n "(cached) " >&6
36344 else
36347 ac_ext=cpp
36348 ac_cpp='$CXXCPP $CPPFLAGS'
36349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36354 /* end confdefs.h. */
36355 #include <math.h>
36356 #ifdef HAVE_IEEEFP_H
36357 #include <ieeefp.h>
36358 #endif
36361 main ()
36363 isnanf(0);
36365 return 0;
36367 _ACEOF
36368 if ac_fn_cxx_try_compile "$LINENO"; then :
36369 glibcxx_cv_func_isnanf_use=yes
36370 else
36371 glibcxx_cv_func_isnanf_use=no
36373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36374 ac_ext=c
36375 ac_cpp='$CPP $CPPFLAGS'
36376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36385 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36387 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36388 for ac_func in isnanf
36389 do :
36390 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36391 if test "x$ac_cv_func_isnanf" = x""yes; then :
36392 cat >>confdefs.h <<_ACEOF
36393 #define HAVE_ISNANF 1
36394 _ACEOF
36397 done
36399 else
36401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36402 $as_echo_n "checking for _isnanf declaration... " >&6; }
36403 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36404 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
36405 $as_echo_n "(cached) " >&6
36406 else
36409 ac_ext=cpp
36410 ac_cpp='$CXXCPP $CPPFLAGS'
36411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36416 /* end confdefs.h. */
36417 #include <math.h>
36418 #ifdef HAVE_IEEEFP_H
36419 #include <ieeefp.h>
36420 #endif
36423 main ()
36425 _isnanf(0);
36427 return 0;
36429 _ACEOF
36430 if ac_fn_cxx_try_compile "$LINENO"; then :
36431 glibcxx_cv_func__isnanf_use=yes
36432 else
36433 glibcxx_cv_func__isnanf_use=no
36435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36436 ac_ext=c
36437 ac_cpp='$CPP $CPPFLAGS'
36438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36447 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36449 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36450 for ac_func in _isnanf
36451 do :
36452 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36453 if test "x$ac_cv_func__isnanf" = x""yes; then :
36454 cat >>confdefs.h <<_ACEOF
36455 #define HAVE__ISNANF 1
36456 _ACEOF
36459 done
36468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36469 $as_echo_n "checking for isinff declaration... " >&6; }
36470 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36471 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
36472 $as_echo_n "(cached) " >&6
36473 else
36476 ac_ext=cpp
36477 ac_cpp='$CXXCPP $CPPFLAGS'
36478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36483 /* end confdefs.h. */
36484 #include <math.h>
36485 #ifdef HAVE_IEEEFP_H
36486 #include <ieeefp.h>
36487 #endif
36490 main ()
36492 isinff(0);
36494 return 0;
36496 _ACEOF
36497 if ac_fn_cxx_try_compile "$LINENO"; then :
36498 glibcxx_cv_func_isinff_use=yes
36499 else
36500 glibcxx_cv_func_isinff_use=no
36502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36503 ac_ext=c
36504 ac_cpp='$CPP $CPPFLAGS'
36505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36514 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36516 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36517 for ac_func in isinff
36518 do :
36519 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36520 if test "x$ac_cv_func_isinff" = x""yes; then :
36521 cat >>confdefs.h <<_ACEOF
36522 #define HAVE_ISINFF 1
36523 _ACEOF
36526 done
36528 else
36530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36531 $as_echo_n "checking for _isinff declaration... " >&6; }
36532 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36533 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
36534 $as_echo_n "(cached) " >&6
36535 else
36538 ac_ext=cpp
36539 ac_cpp='$CXXCPP $CPPFLAGS'
36540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36545 /* end confdefs.h. */
36546 #include <math.h>
36547 #ifdef HAVE_IEEEFP_H
36548 #include <ieeefp.h>
36549 #endif
36552 main ()
36554 _isinff(0);
36556 return 0;
36558 _ACEOF
36559 if ac_fn_cxx_try_compile "$LINENO"; then :
36560 glibcxx_cv_func__isinff_use=yes
36561 else
36562 glibcxx_cv_func__isinff_use=no
36564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36565 ac_ext=c
36566 ac_cpp='$CPP $CPPFLAGS'
36567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36576 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36578 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36579 for ac_func in _isinff
36580 do :
36581 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36582 if test "x$ac_cv_func__isinff" = x""yes; then :
36583 cat >>confdefs.h <<_ACEOF
36584 #define HAVE__ISINFF 1
36585 _ACEOF
36588 done
36597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36598 $as_echo_n "checking for atan2f declaration... " >&6; }
36599 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36600 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
36601 $as_echo_n "(cached) " >&6
36602 else
36605 ac_ext=cpp
36606 ac_cpp='$CXXCPP $CPPFLAGS'
36607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36612 /* end confdefs.h. */
36613 #include <math.h>
36615 main ()
36617 atan2f(0, 0);
36619 return 0;
36621 _ACEOF
36622 if ac_fn_cxx_try_compile "$LINENO"; then :
36623 glibcxx_cv_func_atan2f_use=yes
36624 else
36625 glibcxx_cv_func_atan2f_use=no
36627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36628 ac_ext=c
36629 ac_cpp='$CPP $CPPFLAGS'
36630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36639 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36641 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36642 for ac_func in atan2f
36643 do :
36644 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36645 if test "x$ac_cv_func_atan2f" = x""yes; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define HAVE_ATAN2F 1
36648 _ACEOF
36651 done
36653 else
36655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36656 $as_echo_n "checking for _atan2f declaration... " >&6; }
36657 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36658 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
36659 $as_echo_n "(cached) " >&6
36660 else
36663 ac_ext=cpp
36664 ac_cpp='$CXXCPP $CPPFLAGS'
36665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36670 /* end confdefs.h. */
36671 #include <math.h>
36673 main ()
36675 _atan2f(0, 0);
36677 return 0;
36679 _ACEOF
36680 if ac_fn_cxx_try_compile "$LINENO"; then :
36681 glibcxx_cv_func__atan2f_use=yes
36682 else
36683 glibcxx_cv_func__atan2f_use=no
36685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36686 ac_ext=c
36687 ac_cpp='$CPP $CPPFLAGS'
36688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36697 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36699 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36700 for ac_func in _atan2f
36701 do :
36702 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36703 if test "x$ac_cv_func__atan2f" = x""yes; then :
36704 cat >>confdefs.h <<_ACEOF
36705 #define HAVE__ATAN2F 1
36706 _ACEOF
36709 done
36718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
36719 $as_echo_n "checking for fabsf declaration... " >&6; }
36720 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
36721 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
36722 $as_echo_n "(cached) " >&6
36723 else
36726 ac_ext=cpp
36727 ac_cpp='$CXXCPP $CPPFLAGS'
36728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36733 /* end confdefs.h. */
36734 #include <math.h>
36735 #ifdef HAVE_IEEEFP_H
36736 #include <ieeefp.h>
36737 #endif
36740 main ()
36742 fabsf(0);
36744 return 0;
36746 _ACEOF
36747 if ac_fn_cxx_try_compile "$LINENO"; then :
36748 glibcxx_cv_func_fabsf_use=yes
36749 else
36750 glibcxx_cv_func_fabsf_use=no
36752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36753 ac_ext=c
36754 ac_cpp='$CPP $CPPFLAGS'
36755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
36764 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
36766 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
36767 for ac_func in fabsf
36768 do :
36769 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
36770 if test "x$ac_cv_func_fabsf" = x""yes; then :
36771 cat >>confdefs.h <<_ACEOF
36772 #define HAVE_FABSF 1
36773 _ACEOF
36776 done
36778 else
36780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
36781 $as_echo_n "checking for _fabsf declaration... " >&6; }
36782 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
36783 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
36784 $as_echo_n "(cached) " >&6
36785 else
36788 ac_ext=cpp
36789 ac_cpp='$CXXCPP $CPPFLAGS'
36790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36795 /* end confdefs.h. */
36796 #include <math.h>
36797 #ifdef HAVE_IEEEFP_H
36798 #include <ieeefp.h>
36799 #endif
36802 main ()
36804 _fabsf(0);
36806 return 0;
36808 _ACEOF
36809 if ac_fn_cxx_try_compile "$LINENO"; then :
36810 glibcxx_cv_func__fabsf_use=yes
36811 else
36812 glibcxx_cv_func__fabsf_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__fabsf_use" >&5
36826 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
36828 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
36829 for ac_func in _fabsf
36830 do :
36831 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
36832 if test "x$ac_cv_func__fabsf" = x""yes; then :
36833 cat >>confdefs.h <<_ACEOF
36834 #define HAVE__FABSF 1
36835 _ACEOF
36838 done
36847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
36848 $as_echo_n "checking for fmodf declaration... " >&6; }
36849 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
36850 if test "${glibcxx_cv_func_fmodf_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 fmodf(0, 0);
36869 return 0;
36871 _ACEOF
36872 if ac_fn_cxx_try_compile "$LINENO"; then :
36873 glibcxx_cv_func_fmodf_use=yes
36874 else
36875 glibcxx_cv_func_fmodf_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_fmodf_use" >&5
36889 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
36891 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
36892 for ac_func in fmodf
36893 do :
36894 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
36895 if test "x$ac_cv_func_fmodf" = x""yes; then :
36896 cat >>confdefs.h <<_ACEOF
36897 #define HAVE_FMODF 1
36898 _ACEOF
36901 done
36903 else
36905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
36906 $as_echo_n "checking for _fmodf declaration... " >&6; }
36907 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
36908 if test "${glibcxx_cv_func__fmodf_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 _fmodf(0, 0);
36927 return 0;
36929 _ACEOF
36930 if ac_fn_cxx_try_compile "$LINENO"; then :
36931 glibcxx_cv_func__fmodf_use=yes
36932 else
36933 glibcxx_cv_func__fmodf_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__fmodf_use" >&5
36947 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
36949 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
36950 for ac_func in _fmodf
36951 do :
36952 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
36953 if test "x$ac_cv_func__fmodf" = x""yes; then :
36954 cat >>confdefs.h <<_ACEOF
36955 #define HAVE__FMODF 1
36956 _ACEOF
36959 done
36968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
36969 $as_echo_n "checking for frexpf declaration... " >&6; }
36970 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
36971 if test "${glibcxx_cv_func_frexpf_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>
36986 main ()
36988 frexpf(0, 0);
36990 return 0;
36992 _ACEOF
36993 if ac_fn_cxx_try_compile "$LINENO"; then :
36994 glibcxx_cv_func_frexpf_use=yes
36995 else
36996 glibcxx_cv_func_frexpf_use=no
36998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36999 ac_ext=c
37000 ac_cpp='$CPP $CPPFLAGS'
37001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37010 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37012 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37013 for ac_func in frexpf
37014 do :
37015 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37016 if test "x$ac_cv_func_frexpf" = x""yes; then :
37017 cat >>confdefs.h <<_ACEOF
37018 #define HAVE_FREXPF 1
37019 _ACEOF
37022 done
37024 else
37026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37027 $as_echo_n "checking for _frexpf declaration... " >&6; }
37028 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37029 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
37030 $as_echo_n "(cached) " >&6
37031 else
37034 ac_ext=cpp
37035 ac_cpp='$CXXCPP $CPPFLAGS'
37036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37041 /* end confdefs.h. */
37042 #include <math.h>
37044 main ()
37046 _frexpf(0, 0);
37048 return 0;
37050 _ACEOF
37051 if ac_fn_cxx_try_compile "$LINENO"; then :
37052 glibcxx_cv_func__frexpf_use=yes
37053 else
37054 glibcxx_cv_func__frexpf_use=no
37056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37057 ac_ext=c
37058 ac_cpp='$CPP $CPPFLAGS'
37059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37068 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37070 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37071 for ac_func in _frexpf
37072 do :
37073 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37074 if test "x$ac_cv_func__frexpf" = x""yes; then :
37075 cat >>confdefs.h <<_ACEOF
37076 #define HAVE__FREXPF 1
37077 _ACEOF
37080 done
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37090 $as_echo_n "checking for hypotf declaration... " >&6; }
37091 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37092 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
37093 $as_echo_n "(cached) " >&6
37094 else
37097 ac_ext=cpp
37098 ac_cpp='$CXXCPP $CPPFLAGS'
37099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37104 /* end confdefs.h. */
37105 #include <math.h>
37107 main ()
37109 hypotf(0, 0);
37111 return 0;
37113 _ACEOF
37114 if ac_fn_cxx_try_compile "$LINENO"; then :
37115 glibcxx_cv_func_hypotf_use=yes
37116 else
37117 glibcxx_cv_func_hypotf_use=no
37119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37120 ac_ext=c
37121 ac_cpp='$CPP $CPPFLAGS'
37122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37131 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37133 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37134 for ac_func in hypotf
37135 do :
37136 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37137 if test "x$ac_cv_func_hypotf" = x""yes; then :
37138 cat >>confdefs.h <<_ACEOF
37139 #define HAVE_HYPOTF 1
37140 _ACEOF
37143 done
37145 else
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37148 $as_echo_n "checking for _hypotf declaration... " >&6; }
37149 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37150 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
37151 $as_echo_n "(cached) " >&6
37152 else
37155 ac_ext=cpp
37156 ac_cpp='$CXXCPP $CPPFLAGS'
37157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37162 /* end confdefs.h. */
37163 #include <math.h>
37165 main ()
37167 _hypotf(0, 0);
37169 return 0;
37171 _ACEOF
37172 if ac_fn_cxx_try_compile "$LINENO"; then :
37173 glibcxx_cv_func__hypotf_use=yes
37174 else
37175 glibcxx_cv_func__hypotf_use=no
37177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37178 ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37189 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37191 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37192 for ac_func in _hypotf
37193 do :
37194 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37195 if test "x$ac_cv_func__hypotf" = x""yes; then :
37196 cat >>confdefs.h <<_ACEOF
37197 #define HAVE__HYPOTF 1
37198 _ACEOF
37201 done
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37211 $as_echo_n "checking for ldexpf declaration... " >&6; }
37212 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37213 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
37214 $as_echo_n "(cached) " >&6
37215 else
37218 ac_ext=cpp
37219 ac_cpp='$CXXCPP $CPPFLAGS'
37220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37225 /* end confdefs.h. */
37226 #include <math.h>
37228 main ()
37230 ldexpf(0, 0);
37232 return 0;
37234 _ACEOF
37235 if ac_fn_cxx_try_compile "$LINENO"; then :
37236 glibcxx_cv_func_ldexpf_use=yes
37237 else
37238 glibcxx_cv_func_ldexpf_use=no
37240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37241 ac_ext=c
37242 ac_cpp='$CPP $CPPFLAGS'
37243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37252 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37254 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37255 for ac_func in ldexpf
37256 do :
37257 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37258 if test "x$ac_cv_func_ldexpf" = x""yes; then :
37259 cat >>confdefs.h <<_ACEOF
37260 #define HAVE_LDEXPF 1
37261 _ACEOF
37264 done
37266 else
37268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37269 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37270 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37271 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
37272 $as_echo_n "(cached) " >&6
37273 else
37276 ac_ext=cpp
37277 ac_cpp='$CXXCPP $CPPFLAGS'
37278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37283 /* end confdefs.h. */
37284 #include <math.h>
37286 main ()
37288 _ldexpf(0, 0);
37290 return 0;
37292 _ACEOF
37293 if ac_fn_cxx_try_compile "$LINENO"; then :
37294 glibcxx_cv_func__ldexpf_use=yes
37295 else
37296 glibcxx_cv_func__ldexpf_use=no
37298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37299 ac_ext=c
37300 ac_cpp='$CPP $CPPFLAGS'
37301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37310 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37312 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37313 for ac_func in _ldexpf
37314 do :
37315 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37316 if test "x$ac_cv_func__ldexpf" = x""yes; then :
37317 cat >>confdefs.h <<_ACEOF
37318 #define HAVE__LDEXPF 1
37319 _ACEOF
37322 done
37331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37332 $as_echo_n "checking for logf declaration... " >&6; }
37333 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37334 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
37335 $as_echo_n "(cached) " >&6
37336 else
37339 ac_ext=cpp
37340 ac_cpp='$CXXCPP $CPPFLAGS'
37341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37346 /* end confdefs.h. */
37347 #include <math.h>
37348 #ifdef HAVE_IEEEFP_H
37349 #include <ieeefp.h>
37350 #endif
37353 main ()
37355 logf(0);
37357 return 0;
37359 _ACEOF
37360 if ac_fn_cxx_try_compile "$LINENO"; then :
37361 glibcxx_cv_func_logf_use=yes
37362 else
37363 glibcxx_cv_func_logf_use=no
37365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37366 ac_ext=c
37367 ac_cpp='$CPP $CPPFLAGS'
37368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37377 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37379 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37380 for ac_func in logf
37381 do :
37382 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37383 if test "x$ac_cv_func_logf" = x""yes; then :
37384 cat >>confdefs.h <<_ACEOF
37385 #define HAVE_LOGF 1
37386 _ACEOF
37389 done
37391 else
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37394 $as_echo_n "checking for _logf declaration... " >&6; }
37395 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37396 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
37397 $as_echo_n "(cached) " >&6
37398 else
37401 ac_ext=cpp
37402 ac_cpp='$CXXCPP $CPPFLAGS'
37403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37408 /* end confdefs.h. */
37409 #include <math.h>
37410 #ifdef HAVE_IEEEFP_H
37411 #include <ieeefp.h>
37412 #endif
37415 main ()
37417 _logf(0);
37419 return 0;
37421 _ACEOF
37422 if ac_fn_cxx_try_compile "$LINENO"; then :
37423 glibcxx_cv_func__logf_use=yes
37424 else
37425 glibcxx_cv_func__logf_use=no
37427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37428 ac_ext=c
37429 ac_cpp='$CPP $CPPFLAGS'
37430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37439 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37441 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37442 for ac_func in _logf
37443 do :
37444 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37445 if test "x$ac_cv_func__logf" = x""yes; then :
37446 cat >>confdefs.h <<_ACEOF
37447 #define HAVE__LOGF 1
37448 _ACEOF
37451 done
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37461 $as_echo_n "checking for log10f declaration... " >&6; }
37462 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37463 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37477 #ifdef HAVE_IEEEFP_H
37478 #include <ieeefp.h>
37479 #endif
37482 main ()
37484 log10f(0);
37486 return 0;
37488 _ACEOF
37489 if ac_fn_cxx_try_compile "$LINENO"; then :
37490 glibcxx_cv_func_log10f_use=yes
37491 else
37492 glibcxx_cv_func_log10f_use=no
37494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37495 ac_ext=c
37496 ac_cpp='$CPP $CPPFLAGS'
37497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37506 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37508 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37509 for ac_func in log10f
37510 do :
37511 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37512 if test "x$ac_cv_func_log10f" = x""yes; then :
37513 cat >>confdefs.h <<_ACEOF
37514 #define HAVE_LOG10F 1
37515 _ACEOF
37518 done
37520 else
37522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37523 $as_echo_n "checking for _log10f declaration... " >&6; }
37524 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37525 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
37526 $as_echo_n "(cached) " >&6
37527 else
37530 ac_ext=cpp
37531 ac_cpp='$CXXCPP $CPPFLAGS'
37532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37537 /* end confdefs.h. */
37538 #include <math.h>
37539 #ifdef HAVE_IEEEFP_H
37540 #include <ieeefp.h>
37541 #endif
37544 main ()
37546 _log10f(0);
37548 return 0;
37550 _ACEOF
37551 if ac_fn_cxx_try_compile "$LINENO"; then :
37552 glibcxx_cv_func__log10f_use=yes
37553 else
37554 glibcxx_cv_func__log10f_use=no
37556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37557 ac_ext=c
37558 ac_cpp='$CPP $CPPFLAGS'
37559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37568 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37570 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37571 for ac_func in _log10f
37572 do :
37573 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37574 if test "x$ac_cv_func__log10f" = x""yes; then :
37575 cat >>confdefs.h <<_ACEOF
37576 #define HAVE__LOG10F 1
37577 _ACEOF
37580 done
37589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37590 $as_echo_n "checking for modff declaration... " >&6; }
37591 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37592 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
37593 $as_echo_n "(cached) " >&6
37594 else
37597 ac_ext=cpp
37598 ac_cpp='$CXXCPP $CPPFLAGS'
37599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37604 /* end confdefs.h. */
37605 #include <math.h>
37607 main ()
37609 modff(0, 0);
37611 return 0;
37613 _ACEOF
37614 if ac_fn_cxx_try_compile "$LINENO"; then :
37615 glibcxx_cv_func_modff_use=yes
37616 else
37617 glibcxx_cv_func_modff_use=no
37619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37620 ac_ext=c
37621 ac_cpp='$CPP $CPPFLAGS'
37622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37631 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37633 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37634 for ac_func in modff
37635 do :
37636 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37637 if test "x$ac_cv_func_modff" = x""yes; then :
37638 cat >>confdefs.h <<_ACEOF
37639 #define HAVE_MODFF 1
37640 _ACEOF
37643 done
37645 else
37647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37648 $as_echo_n "checking for _modff declaration... " >&6; }
37649 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37650 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
37651 $as_echo_n "(cached) " >&6
37652 else
37655 ac_ext=cpp
37656 ac_cpp='$CXXCPP $CPPFLAGS'
37657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37662 /* end confdefs.h. */
37663 #include <math.h>
37665 main ()
37667 _modff(0, 0);
37669 return 0;
37671 _ACEOF
37672 if ac_fn_cxx_try_compile "$LINENO"; then :
37673 glibcxx_cv_func__modff_use=yes
37674 else
37675 glibcxx_cv_func__modff_use=no
37677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37678 ac_ext=c
37679 ac_cpp='$CPP $CPPFLAGS'
37680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37689 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37691 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37692 for ac_func in _modff
37693 do :
37694 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37695 if test "x$ac_cv_func__modff" = x""yes; then :
37696 cat >>confdefs.h <<_ACEOF
37697 #define HAVE__MODFF 1
37698 _ACEOF
37701 done
37710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
37711 $as_echo_n "checking for modf declaration... " >&6; }
37712 if test x${glibcxx_cv_func_modf_use+set} != xset; then
37713 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
37714 $as_echo_n "(cached) " >&6
37715 else
37718 ac_ext=cpp
37719 ac_cpp='$CXXCPP $CPPFLAGS'
37720 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37721 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37722 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37725 /* end confdefs.h. */
37726 #include <math.h>
37728 main ()
37730 modf(0, 0);
37732 return 0;
37734 _ACEOF
37735 if ac_fn_cxx_try_compile "$LINENO"; then :
37736 glibcxx_cv_func_modf_use=yes
37737 else
37738 glibcxx_cv_func_modf_use=no
37740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37741 ac_ext=c
37742 ac_cpp='$CPP $CPPFLAGS'
37743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
37752 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
37754 if test x$glibcxx_cv_func_modf_use = x"yes"; then
37755 for ac_func in modf
37756 do :
37757 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
37758 if test "x$ac_cv_func_modf" = x""yes; then :
37759 cat >>confdefs.h <<_ACEOF
37760 #define HAVE_MODF 1
37761 _ACEOF
37764 done
37766 else
37768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
37769 $as_echo_n "checking for _modf declaration... " >&6; }
37770 if test x${glibcxx_cv_func__modf_use+set} != xset; then
37771 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
37772 $as_echo_n "(cached) " >&6
37773 else
37776 ac_ext=cpp
37777 ac_cpp='$CXXCPP $CPPFLAGS'
37778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37783 /* end confdefs.h. */
37784 #include <math.h>
37786 main ()
37788 _modf(0, 0);
37790 return 0;
37792 _ACEOF
37793 if ac_fn_cxx_try_compile "$LINENO"; then :
37794 glibcxx_cv_func__modf_use=yes
37795 else
37796 glibcxx_cv_func__modf_use=no
37798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37799 ac_ext=c
37800 ac_cpp='$CPP $CPPFLAGS'
37801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
37810 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
37812 if test x$glibcxx_cv_func__modf_use = x"yes"; then
37813 for ac_func in _modf
37814 do :
37815 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
37816 if test "x$ac_cv_func__modf" = x""yes; then :
37817 cat >>confdefs.h <<_ACEOF
37818 #define HAVE__MODF 1
37819 _ACEOF
37822 done
37831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
37832 $as_echo_n "checking for powf declaration... " >&6; }
37833 if test x${glibcxx_cv_func_powf_use+set} != xset; then
37834 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
37835 $as_echo_n "(cached) " >&6
37836 else
37839 ac_ext=cpp
37840 ac_cpp='$CXXCPP $CPPFLAGS'
37841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37846 /* end confdefs.h. */
37847 #include <math.h>
37849 main ()
37851 powf(0, 0);
37853 return 0;
37855 _ACEOF
37856 if ac_fn_cxx_try_compile "$LINENO"; then :
37857 glibcxx_cv_func_powf_use=yes
37858 else
37859 glibcxx_cv_func_powf_use=no
37861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37862 ac_ext=c
37863 ac_cpp='$CPP $CPPFLAGS'
37864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
37873 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
37875 if test x$glibcxx_cv_func_powf_use = x"yes"; then
37876 for ac_func in powf
37877 do :
37878 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
37879 if test "x$ac_cv_func_powf" = x""yes; then :
37880 cat >>confdefs.h <<_ACEOF
37881 #define HAVE_POWF 1
37882 _ACEOF
37885 done
37887 else
37889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
37890 $as_echo_n "checking for _powf declaration... " >&6; }
37891 if test x${glibcxx_cv_func__powf_use+set} != xset; then
37892 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
37893 $as_echo_n "(cached) " >&6
37894 else
37897 ac_ext=cpp
37898 ac_cpp='$CXXCPP $CPPFLAGS'
37899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37904 /* end confdefs.h. */
37905 #include <math.h>
37907 main ()
37909 _powf(0, 0);
37911 return 0;
37913 _ACEOF
37914 if ac_fn_cxx_try_compile "$LINENO"; then :
37915 glibcxx_cv_func__powf_use=yes
37916 else
37917 glibcxx_cv_func__powf_use=no
37919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37920 ac_ext=c
37921 ac_cpp='$CPP $CPPFLAGS'
37922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
37931 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
37933 if test x$glibcxx_cv_func__powf_use = x"yes"; then
37934 for ac_func in _powf
37935 do :
37936 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
37937 if test "x$ac_cv_func__powf" = x""yes; then :
37938 cat >>confdefs.h <<_ACEOF
37939 #define HAVE__POWF 1
37940 _ACEOF
37943 done
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
37953 $as_echo_n "checking for sqrtf declaration... " >&6; }
37954 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
37955 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
37956 $as_echo_n "(cached) " >&6
37957 else
37960 ac_ext=cpp
37961 ac_cpp='$CXXCPP $CPPFLAGS'
37962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37967 /* end confdefs.h. */
37968 #include <math.h>
37969 #ifdef HAVE_IEEEFP_H
37970 #include <ieeefp.h>
37971 #endif
37974 main ()
37976 sqrtf(0);
37978 return 0;
37980 _ACEOF
37981 if ac_fn_cxx_try_compile "$LINENO"; then :
37982 glibcxx_cv_func_sqrtf_use=yes
37983 else
37984 glibcxx_cv_func_sqrtf_use=no
37986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37987 ac_ext=c
37988 ac_cpp='$CPP $CPPFLAGS'
37989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
37998 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38000 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38001 for ac_func in sqrtf
38002 do :
38003 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38004 if test "x$ac_cv_func_sqrtf" = x""yes; then :
38005 cat >>confdefs.h <<_ACEOF
38006 #define HAVE_SQRTF 1
38007 _ACEOF
38010 done
38012 else
38014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38015 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38016 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38017 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
38018 $as_echo_n "(cached) " >&6
38019 else
38022 ac_ext=cpp
38023 ac_cpp='$CXXCPP $CPPFLAGS'
38024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38029 /* end confdefs.h. */
38030 #include <math.h>
38031 #ifdef HAVE_IEEEFP_H
38032 #include <ieeefp.h>
38033 #endif
38036 main ()
38038 _sqrtf(0);
38040 return 0;
38042 _ACEOF
38043 if ac_fn_cxx_try_compile "$LINENO"; then :
38044 glibcxx_cv_func__sqrtf_use=yes
38045 else
38046 glibcxx_cv_func__sqrtf_use=no
38048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38049 ac_ext=c
38050 ac_cpp='$CPP $CPPFLAGS'
38051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38060 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38062 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38063 for ac_func in _sqrtf
38064 do :
38065 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38066 if test "x$ac_cv_func__sqrtf" = x""yes; then :
38067 cat >>confdefs.h <<_ACEOF
38068 #define HAVE__SQRTF 1
38069 _ACEOF
38072 done
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38082 $as_echo_n "checking for sincosf declaration... " >&6; }
38083 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38084 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
38085 $as_echo_n "(cached) " >&6
38086 else
38089 ac_ext=cpp
38090 ac_cpp='$CXXCPP $CPPFLAGS'
38091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38096 /* end confdefs.h. */
38097 #include <math.h>
38099 main ()
38101 sincosf(0, 0, 0);
38103 return 0;
38105 _ACEOF
38106 if ac_fn_cxx_try_compile "$LINENO"; then :
38107 glibcxx_cv_func_sincosf_use=yes
38108 else
38109 glibcxx_cv_func_sincosf_use=no
38111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 ac_ext=c
38113 ac_cpp='$CPP $CPPFLAGS'
38114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38123 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38125 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38126 for ac_func in sincosf
38127 do :
38128 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38129 if test "x$ac_cv_func_sincosf" = x""yes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE_SINCOSF 1
38132 _ACEOF
38135 done
38137 else
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38140 $as_echo_n "checking for _sincosf declaration... " >&6; }
38141 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38142 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
38143 $as_echo_n "(cached) " >&6
38144 else
38147 ac_ext=cpp
38148 ac_cpp='$CXXCPP $CPPFLAGS'
38149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38154 /* end confdefs.h. */
38155 #include <math.h>
38157 main ()
38159 _sincosf(0, 0, 0);
38161 return 0;
38163 _ACEOF
38164 if ac_fn_cxx_try_compile "$LINENO"; then :
38165 glibcxx_cv_func__sincosf_use=yes
38166 else
38167 glibcxx_cv_func__sincosf_use=no
38169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38170 ac_ext=c
38171 ac_cpp='$CPP $CPPFLAGS'
38172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38181 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38183 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38184 for ac_func in _sincosf
38185 do :
38186 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38187 if test "x$ac_cv_func__sincosf" = x""yes; then :
38188 cat >>confdefs.h <<_ACEOF
38189 #define HAVE__SINCOSF 1
38190 _ACEOF
38193 done
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38203 $as_echo_n "checking for finitef declaration... " >&6; }
38204 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38205 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
38206 $as_echo_n "(cached) " >&6
38207 else
38210 ac_ext=cpp
38211 ac_cpp='$CXXCPP $CPPFLAGS'
38212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38217 /* end confdefs.h. */
38218 #include <math.h>
38219 #ifdef HAVE_IEEEFP_H
38220 #include <ieeefp.h>
38221 #endif
38224 main ()
38226 finitef(0);
38228 return 0;
38230 _ACEOF
38231 if ac_fn_cxx_try_compile "$LINENO"; then :
38232 glibcxx_cv_func_finitef_use=yes
38233 else
38234 glibcxx_cv_func_finitef_use=no
38236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38237 ac_ext=c
38238 ac_cpp='$CPP $CPPFLAGS'
38239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38248 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38250 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38251 for ac_func in finitef
38252 do :
38253 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38254 if test "x$ac_cv_func_finitef" = x""yes; then :
38255 cat >>confdefs.h <<_ACEOF
38256 #define HAVE_FINITEF 1
38257 _ACEOF
38260 done
38262 else
38264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38265 $as_echo_n "checking for _finitef declaration... " >&6; }
38266 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38267 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
38268 $as_echo_n "(cached) " >&6
38269 else
38272 ac_ext=cpp
38273 ac_cpp='$CXXCPP $CPPFLAGS'
38274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38279 /* end confdefs.h. */
38280 #include <math.h>
38281 #ifdef HAVE_IEEEFP_H
38282 #include <ieeefp.h>
38283 #endif
38286 main ()
38288 _finitef(0);
38290 return 0;
38292 _ACEOF
38293 if ac_fn_cxx_try_compile "$LINENO"; then :
38294 glibcxx_cv_func__finitef_use=yes
38295 else
38296 glibcxx_cv_func__finitef_use=no
38298 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38299 ac_ext=c
38300 ac_cpp='$CPP $CPPFLAGS'
38301 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38302 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38303 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38310 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38312 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38313 for ac_func in _finitef
38314 do :
38315 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38316 if test "x$ac_cv_func__finitef" = x""yes; then :
38317 cat >>confdefs.h <<_ACEOF
38318 #define HAVE__FINITEF 1
38319 _ACEOF
38322 done
38331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38332 $as_echo_n "checking for long double trig functions... " >&6; }
38333 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
38334 $as_echo_n "(cached) " >&6
38335 else
38338 ac_ext=cpp
38339 ac_cpp='$CXXCPP $CPPFLAGS'
38340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38345 /* end confdefs.h. */
38346 #include <math.h>
38348 main ()
38350 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38352 return 0;
38354 _ACEOF
38355 if ac_fn_cxx_try_compile "$LINENO"; then :
38356 glibcxx_cv_func_long_double_trig_use=yes
38357 else
38358 glibcxx_cv_func_long_double_trig_use=no
38360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38361 ac_ext=c
38362 ac_cpp='$CPP $CPPFLAGS'
38363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38370 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38371 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38372 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38373 do :
38374 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38375 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38376 eval as_val=\$$as_ac_var
38377 if test "x$as_val" = x""yes; then :
38378 cat >>confdefs.h <<_ACEOF
38379 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38380 _ACEOF
38383 done
38385 else
38386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38387 $as_echo_n "checking for _long double trig functions... " >&6; }
38388 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
38389 $as_echo_n "(cached) " >&6
38390 else
38393 ac_ext=cpp
38394 ac_cpp='$CXXCPP $CPPFLAGS'
38395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38400 /* end confdefs.h. */
38401 #include <math.h>
38403 main ()
38405 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38407 return 0;
38409 _ACEOF
38410 if ac_fn_cxx_try_compile "$LINENO"; then :
38411 glibcxx_cv_func__long_double_trig_use=yes
38412 else
38413 glibcxx_cv_func__long_double_trig_use=no
38415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38416 ac_ext=c
38417 ac_cpp='$CPP $CPPFLAGS'
38418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38425 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38426 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38427 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38428 do :
38429 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38430 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38431 eval as_val=\$$as_ac_var
38432 if test "x$as_val" = x""yes; then :
38433 cat >>confdefs.h <<_ACEOF
38434 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38435 _ACEOF
38438 done
38447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38448 $as_echo_n "checking for long double round functions... " >&6; }
38449 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
38450 $as_echo_n "(cached) " >&6
38451 else
38454 ac_ext=cpp
38455 ac_cpp='$CXXCPP $CPPFLAGS'
38456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38461 /* end confdefs.h. */
38462 #include <math.h>
38464 main ()
38466 ceill (0); floorl (0);
38468 return 0;
38470 _ACEOF
38471 if ac_fn_cxx_try_compile "$LINENO"; then :
38472 glibcxx_cv_func_long_double_round_use=yes
38473 else
38474 glibcxx_cv_func_long_double_round_use=no
38476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38477 ac_ext=c
38478 ac_cpp='$CPP $CPPFLAGS'
38479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38486 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38487 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38488 for ac_func in ceill floorl
38489 do :
38490 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38491 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38492 eval as_val=\$$as_ac_var
38493 if test "x$as_val" = x""yes; then :
38494 cat >>confdefs.h <<_ACEOF
38495 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38496 _ACEOF
38499 done
38501 else
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38503 $as_echo_n "checking for _long double round functions... " >&6; }
38504 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
38505 $as_echo_n "(cached) " >&6
38506 else
38509 ac_ext=cpp
38510 ac_cpp='$CXXCPP $CPPFLAGS'
38511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38516 /* end confdefs.h. */
38517 #include <math.h>
38519 main ()
38521 _ceill (0); _floorl (0);
38523 return 0;
38525 _ACEOF
38526 if ac_fn_cxx_try_compile "$LINENO"; then :
38527 glibcxx_cv_func__long_double_round_use=yes
38528 else
38529 glibcxx_cv_func__long_double_round_use=no
38531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38532 ac_ext=c
38533 ac_cpp='$CPP $CPPFLAGS'
38534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38541 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38542 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38543 for ac_func in _ceill _floorl
38544 do :
38545 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38546 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38547 eval as_val=\$$as_ac_var
38548 if test "x$as_val" = x""yes; then :
38549 cat >>confdefs.h <<_ACEOF
38550 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38551 _ACEOF
38554 done
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38565 $as_echo_n "checking for isnanl declaration... " >&6; }
38566 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38567 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
38568 $as_echo_n "(cached) " >&6
38569 else
38572 ac_ext=cpp
38573 ac_cpp='$CXXCPP $CPPFLAGS'
38574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38579 /* end confdefs.h. */
38580 #include <math.h>
38581 #ifdef HAVE_IEEEFP_H
38582 #include <ieeefp.h>
38583 #endif
38586 main ()
38588 isnanl(0);
38590 return 0;
38592 _ACEOF
38593 if ac_fn_cxx_try_compile "$LINENO"; then :
38594 glibcxx_cv_func_isnanl_use=yes
38595 else
38596 glibcxx_cv_func_isnanl_use=no
38598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38599 ac_ext=c
38600 ac_cpp='$CPP $CPPFLAGS'
38601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38610 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38612 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38613 for ac_func in isnanl
38614 do :
38615 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38616 if test "x$ac_cv_func_isnanl" = x""yes; then :
38617 cat >>confdefs.h <<_ACEOF
38618 #define HAVE_ISNANL 1
38619 _ACEOF
38622 done
38624 else
38626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38627 $as_echo_n "checking for _isnanl declaration... " >&6; }
38628 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38629 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
38630 $as_echo_n "(cached) " >&6
38631 else
38634 ac_ext=cpp
38635 ac_cpp='$CXXCPP $CPPFLAGS'
38636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38641 /* end confdefs.h. */
38642 #include <math.h>
38643 #ifdef HAVE_IEEEFP_H
38644 #include <ieeefp.h>
38645 #endif
38648 main ()
38650 _isnanl(0);
38652 return 0;
38654 _ACEOF
38655 if ac_fn_cxx_try_compile "$LINENO"; then :
38656 glibcxx_cv_func__isnanl_use=yes
38657 else
38658 glibcxx_cv_func__isnanl_use=no
38660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38661 ac_ext=c
38662 ac_cpp='$CPP $CPPFLAGS'
38663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38672 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38674 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38675 for ac_func in _isnanl
38676 do :
38677 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38678 if test "x$ac_cv_func__isnanl" = x""yes; then :
38679 cat >>confdefs.h <<_ACEOF
38680 #define HAVE__ISNANL 1
38681 _ACEOF
38684 done
38693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38694 $as_echo_n "checking for isinfl declaration... " >&6; }
38695 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38696 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
38697 $as_echo_n "(cached) " >&6
38698 else
38701 ac_ext=cpp
38702 ac_cpp='$CXXCPP $CPPFLAGS'
38703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38708 /* end confdefs.h. */
38709 #include <math.h>
38710 #ifdef HAVE_IEEEFP_H
38711 #include <ieeefp.h>
38712 #endif
38715 main ()
38717 isinfl(0);
38719 return 0;
38721 _ACEOF
38722 if ac_fn_cxx_try_compile "$LINENO"; then :
38723 glibcxx_cv_func_isinfl_use=yes
38724 else
38725 glibcxx_cv_func_isinfl_use=no
38727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38728 ac_ext=c
38729 ac_cpp='$CPP $CPPFLAGS'
38730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
38739 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
38741 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
38742 for ac_func in isinfl
38743 do :
38744 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
38745 if test "x$ac_cv_func_isinfl" = x""yes; then :
38746 cat >>confdefs.h <<_ACEOF
38747 #define HAVE_ISINFL 1
38748 _ACEOF
38751 done
38753 else
38755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
38756 $as_echo_n "checking for _isinfl declaration... " >&6; }
38757 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
38758 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
38759 $as_echo_n "(cached) " >&6
38760 else
38763 ac_ext=cpp
38764 ac_cpp='$CXXCPP $CPPFLAGS'
38765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38770 /* end confdefs.h. */
38771 #include <math.h>
38772 #ifdef HAVE_IEEEFP_H
38773 #include <ieeefp.h>
38774 #endif
38777 main ()
38779 _isinfl(0);
38781 return 0;
38783 _ACEOF
38784 if ac_fn_cxx_try_compile "$LINENO"; then :
38785 glibcxx_cv_func__isinfl_use=yes
38786 else
38787 glibcxx_cv_func__isinfl_use=no
38789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38790 ac_ext=c
38791 ac_cpp='$CPP $CPPFLAGS'
38792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
38801 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
38803 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
38804 for ac_func in _isinfl
38805 do :
38806 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
38807 if test "x$ac_cv_func__isinfl" = x""yes; then :
38808 cat >>confdefs.h <<_ACEOF
38809 #define HAVE__ISINFL 1
38810 _ACEOF
38813 done
38822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
38823 $as_echo_n "checking for atan2l declaration... " >&6; }
38824 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
38825 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
38826 $as_echo_n "(cached) " >&6
38827 else
38830 ac_ext=cpp
38831 ac_cpp='$CXXCPP $CPPFLAGS'
38832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38837 /* end confdefs.h. */
38838 #include <math.h>
38840 main ()
38842 atan2l(0, 0);
38844 return 0;
38846 _ACEOF
38847 if ac_fn_cxx_try_compile "$LINENO"; then :
38848 glibcxx_cv_func_atan2l_use=yes
38849 else
38850 glibcxx_cv_func_atan2l_use=no
38852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38853 ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
38864 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
38866 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
38867 for ac_func in atan2l
38868 do :
38869 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
38870 if test "x$ac_cv_func_atan2l" = x""yes; then :
38871 cat >>confdefs.h <<_ACEOF
38872 #define HAVE_ATAN2L 1
38873 _ACEOF
38876 done
38878 else
38880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
38881 $as_echo_n "checking for _atan2l declaration... " >&6; }
38882 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
38883 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
38884 $as_echo_n "(cached) " >&6
38885 else
38888 ac_ext=cpp
38889 ac_cpp='$CXXCPP $CPPFLAGS'
38890 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38891 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38892 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38895 /* end confdefs.h. */
38896 #include <math.h>
38898 main ()
38900 _atan2l(0, 0);
38902 return 0;
38904 _ACEOF
38905 if ac_fn_cxx_try_compile "$LINENO"; then :
38906 glibcxx_cv_func__atan2l_use=yes
38907 else
38908 glibcxx_cv_func__atan2l_use=no
38910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38911 ac_ext=c
38912 ac_cpp='$CPP $CPPFLAGS'
38913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
38922 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
38924 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
38925 for ac_func in _atan2l
38926 do :
38927 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
38928 if test "x$ac_cv_func__atan2l" = x""yes; then :
38929 cat >>confdefs.h <<_ACEOF
38930 #define HAVE__ATAN2L 1
38931 _ACEOF
38934 done
38943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
38944 $as_echo_n "checking for expl declaration... " >&6; }
38945 if test x${glibcxx_cv_func_expl_use+set} != xset; then
38946 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
38947 $as_echo_n "(cached) " >&6
38948 else
38951 ac_ext=cpp
38952 ac_cpp='$CXXCPP $CPPFLAGS'
38953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38958 /* end confdefs.h. */
38959 #include <math.h>
38960 #ifdef HAVE_IEEEFP_H
38961 #include <ieeefp.h>
38962 #endif
38965 main ()
38967 expl(0);
38969 return 0;
38971 _ACEOF
38972 if ac_fn_cxx_try_compile "$LINENO"; then :
38973 glibcxx_cv_func_expl_use=yes
38974 else
38975 glibcxx_cv_func_expl_use=no
38977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38978 ac_ext=c
38979 ac_cpp='$CPP $CPPFLAGS'
38980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
38989 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
38991 if test x$glibcxx_cv_func_expl_use = x"yes"; then
38992 for ac_func in expl
38993 do :
38994 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
38995 if test "x$ac_cv_func_expl" = x""yes; then :
38996 cat >>confdefs.h <<_ACEOF
38997 #define HAVE_EXPL 1
38998 _ACEOF
39001 done
39003 else
39005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39006 $as_echo_n "checking for _expl declaration... " >&6; }
39007 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39008 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
39009 $as_echo_n "(cached) " >&6
39010 else
39013 ac_ext=cpp
39014 ac_cpp='$CXXCPP $CPPFLAGS'
39015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39020 /* end confdefs.h. */
39021 #include <math.h>
39022 #ifdef HAVE_IEEEFP_H
39023 #include <ieeefp.h>
39024 #endif
39027 main ()
39029 _expl(0);
39031 return 0;
39033 _ACEOF
39034 if ac_fn_cxx_try_compile "$LINENO"; then :
39035 glibcxx_cv_func__expl_use=yes
39036 else
39037 glibcxx_cv_func__expl_use=no
39039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39040 ac_ext=c
39041 ac_cpp='$CPP $CPPFLAGS'
39042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39051 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39053 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39054 for ac_func in _expl
39055 do :
39056 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39057 if test "x$ac_cv_func__expl" = x""yes; then :
39058 cat >>confdefs.h <<_ACEOF
39059 #define HAVE__EXPL 1
39060 _ACEOF
39063 done
39072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39073 $as_echo_n "checking for fabsl declaration... " >&6; }
39074 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39075 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
39076 $as_echo_n "(cached) " >&6
39077 else
39080 ac_ext=cpp
39081 ac_cpp='$CXXCPP $CPPFLAGS'
39082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39087 /* end confdefs.h. */
39088 #include <math.h>
39089 #ifdef HAVE_IEEEFP_H
39090 #include <ieeefp.h>
39091 #endif
39094 main ()
39096 fabsl(0);
39098 return 0;
39100 _ACEOF
39101 if ac_fn_cxx_try_compile "$LINENO"; then :
39102 glibcxx_cv_func_fabsl_use=yes
39103 else
39104 glibcxx_cv_func_fabsl_use=no
39106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39107 ac_ext=c
39108 ac_cpp='$CPP $CPPFLAGS'
39109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39118 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39120 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39121 for ac_func in fabsl
39122 do :
39123 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39124 if test "x$ac_cv_func_fabsl" = x""yes; then :
39125 cat >>confdefs.h <<_ACEOF
39126 #define HAVE_FABSL 1
39127 _ACEOF
39130 done
39132 else
39134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39135 $as_echo_n "checking for _fabsl declaration... " >&6; }
39136 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39137 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
39138 $as_echo_n "(cached) " >&6
39139 else
39142 ac_ext=cpp
39143 ac_cpp='$CXXCPP $CPPFLAGS'
39144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39149 /* end confdefs.h. */
39150 #include <math.h>
39151 #ifdef HAVE_IEEEFP_H
39152 #include <ieeefp.h>
39153 #endif
39156 main ()
39158 _fabsl(0);
39160 return 0;
39162 _ACEOF
39163 if ac_fn_cxx_try_compile "$LINENO"; then :
39164 glibcxx_cv_func__fabsl_use=yes
39165 else
39166 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
39180 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39182 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39183 for ac_func in _fabsl
39184 do :
39185 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39186 if test "x$ac_cv_func__fabsl" = x""yes; then :
39187 cat >>confdefs.h <<_ACEOF
39188 #define HAVE__FABSL 1
39189 _ACEOF
39192 done
39201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39202 $as_echo_n "checking for fmodl declaration... " >&6; }
39203 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39204 if test "${glibcxx_cv_func_fmodl_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>
39219 main ()
39221 fmodl(0, 0);
39223 return 0;
39225 _ACEOF
39226 if ac_fn_cxx_try_compile "$LINENO"; then :
39227 glibcxx_cv_func_fmodl_use=yes
39228 else
39229 glibcxx_cv_func_fmodl_use=no
39231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39232 ac_ext=c
39233 ac_cpp='$CPP $CPPFLAGS'
39234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39243 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39245 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39246 for ac_func in fmodl
39247 do :
39248 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39249 if test "x$ac_cv_func_fmodl" = x""yes; then :
39250 cat >>confdefs.h <<_ACEOF
39251 #define HAVE_FMODL 1
39252 _ACEOF
39255 done
39257 else
39259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39260 $as_echo_n "checking for _fmodl declaration... " >&6; }
39261 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39262 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
39263 $as_echo_n "(cached) " >&6
39264 else
39267 ac_ext=cpp
39268 ac_cpp='$CXXCPP $CPPFLAGS'
39269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39274 /* end confdefs.h. */
39275 #include <math.h>
39277 main ()
39279 _fmodl(0, 0);
39281 return 0;
39283 _ACEOF
39284 if ac_fn_cxx_try_compile "$LINENO"; then :
39285 glibcxx_cv_func__fmodl_use=yes
39286 else
39287 glibcxx_cv_func__fmodl_use=no
39289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39290 ac_ext=c
39291 ac_cpp='$CPP $CPPFLAGS'
39292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39301 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39303 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39304 for ac_func in _fmodl
39305 do :
39306 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39307 if test "x$ac_cv_func__fmodl" = x""yes; then :
39308 cat >>confdefs.h <<_ACEOF
39309 #define HAVE__FMODL 1
39310 _ACEOF
39313 done
39322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39323 $as_echo_n "checking for frexpl declaration... " >&6; }
39324 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39325 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
39326 $as_echo_n "(cached) " >&6
39327 else
39330 ac_ext=cpp
39331 ac_cpp='$CXXCPP $CPPFLAGS'
39332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39337 /* end confdefs.h. */
39338 #include <math.h>
39340 main ()
39342 frexpl(0, 0);
39344 return 0;
39346 _ACEOF
39347 if ac_fn_cxx_try_compile "$LINENO"; then :
39348 glibcxx_cv_func_frexpl_use=yes
39349 else
39350 glibcxx_cv_func_frexpl_use=no
39352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39353 ac_ext=c
39354 ac_cpp='$CPP $CPPFLAGS'
39355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39364 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39366 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39367 for ac_func in frexpl
39368 do :
39369 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39370 if test "x$ac_cv_func_frexpl" = x""yes; then :
39371 cat >>confdefs.h <<_ACEOF
39372 #define HAVE_FREXPL 1
39373 _ACEOF
39376 done
39378 else
39380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39381 $as_echo_n "checking for _frexpl declaration... " >&6; }
39382 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39383 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
39384 $as_echo_n "(cached) " >&6
39385 else
39388 ac_ext=cpp
39389 ac_cpp='$CXXCPP $CPPFLAGS'
39390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39395 /* end confdefs.h. */
39396 #include <math.h>
39398 main ()
39400 _frexpl(0, 0);
39402 return 0;
39404 _ACEOF
39405 if ac_fn_cxx_try_compile "$LINENO"; then :
39406 glibcxx_cv_func__frexpl_use=yes
39407 else
39408 glibcxx_cv_func__frexpl_use=no
39410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39411 ac_ext=c
39412 ac_cpp='$CPP $CPPFLAGS'
39413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39422 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39424 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39425 for ac_func in _frexpl
39426 do :
39427 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39428 if test "x$ac_cv_func__frexpl" = x""yes; then :
39429 cat >>confdefs.h <<_ACEOF
39430 #define HAVE__FREXPL 1
39431 _ACEOF
39434 done
39443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39444 $as_echo_n "checking for hypotl declaration... " >&6; }
39445 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39446 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
39447 $as_echo_n "(cached) " >&6
39448 else
39451 ac_ext=cpp
39452 ac_cpp='$CXXCPP $CPPFLAGS'
39453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39458 /* end confdefs.h. */
39459 #include <math.h>
39461 main ()
39463 hypotl(0, 0);
39465 return 0;
39467 _ACEOF
39468 if ac_fn_cxx_try_compile "$LINENO"; then :
39469 glibcxx_cv_func_hypotl_use=yes
39470 else
39471 glibcxx_cv_func_hypotl_use=no
39473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39474 ac_ext=c
39475 ac_cpp='$CPP $CPPFLAGS'
39476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39485 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39487 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39488 for ac_func in hypotl
39489 do :
39490 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39491 if test "x$ac_cv_func_hypotl" = x""yes; then :
39492 cat >>confdefs.h <<_ACEOF
39493 #define HAVE_HYPOTL 1
39494 _ACEOF
39497 done
39499 else
39501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39502 $as_echo_n "checking for _hypotl declaration... " >&6; }
39503 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39504 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
39505 $as_echo_n "(cached) " >&6
39506 else
39509 ac_ext=cpp
39510 ac_cpp='$CXXCPP $CPPFLAGS'
39511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39516 /* end confdefs.h. */
39517 #include <math.h>
39519 main ()
39521 _hypotl(0, 0);
39523 return 0;
39525 _ACEOF
39526 if ac_fn_cxx_try_compile "$LINENO"; then :
39527 glibcxx_cv_func__hypotl_use=yes
39528 else
39529 glibcxx_cv_func__hypotl_use=no
39531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39532 ac_ext=c
39533 ac_cpp='$CPP $CPPFLAGS'
39534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39543 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39545 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39546 for ac_func in _hypotl
39547 do :
39548 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39549 if test "x$ac_cv_func__hypotl" = x""yes; then :
39550 cat >>confdefs.h <<_ACEOF
39551 #define HAVE__HYPOTL 1
39552 _ACEOF
39555 done
39564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39565 $as_echo_n "checking for ldexpl declaration... " >&6; }
39566 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39567 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
39568 $as_echo_n "(cached) " >&6
39569 else
39572 ac_ext=cpp
39573 ac_cpp='$CXXCPP $CPPFLAGS'
39574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39579 /* end confdefs.h. */
39580 #include <math.h>
39582 main ()
39584 ldexpl(0, 0);
39586 return 0;
39588 _ACEOF
39589 if ac_fn_cxx_try_compile "$LINENO"; then :
39590 glibcxx_cv_func_ldexpl_use=yes
39591 else
39592 glibcxx_cv_func_ldexpl_use=no
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595 ac_ext=c
39596 ac_cpp='$CPP $CPPFLAGS'
39597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39606 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39608 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39609 for ac_func in ldexpl
39610 do :
39611 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39612 if test "x$ac_cv_func_ldexpl" = x""yes; then :
39613 cat >>confdefs.h <<_ACEOF
39614 #define HAVE_LDEXPL 1
39615 _ACEOF
39618 done
39620 else
39622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39623 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39624 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39625 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
39626 $as_echo_n "(cached) " >&6
39627 else
39630 ac_ext=cpp
39631 ac_cpp='$CXXCPP $CPPFLAGS'
39632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39637 /* end confdefs.h. */
39638 #include <math.h>
39640 main ()
39642 _ldexpl(0, 0);
39644 return 0;
39646 _ACEOF
39647 if ac_fn_cxx_try_compile "$LINENO"; then :
39648 glibcxx_cv_func__ldexpl_use=yes
39649 else
39650 glibcxx_cv_func__ldexpl_use=no
39652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39653 ac_ext=c
39654 ac_cpp='$CPP $CPPFLAGS'
39655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39664 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39666 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39667 for ac_func in _ldexpl
39668 do :
39669 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39670 if test "x$ac_cv_func__ldexpl" = x""yes; then :
39671 cat >>confdefs.h <<_ACEOF
39672 #define HAVE__LDEXPL 1
39673 _ACEOF
39676 done
39685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39686 $as_echo_n "checking for logl declaration... " >&6; }
39687 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39688 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
39689 $as_echo_n "(cached) " >&6
39690 else
39693 ac_ext=cpp
39694 ac_cpp='$CXXCPP $CPPFLAGS'
39695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39700 /* end confdefs.h. */
39701 #include <math.h>
39702 #ifdef HAVE_IEEEFP_H
39703 #include <ieeefp.h>
39704 #endif
39707 main ()
39709 logl(0);
39711 return 0;
39713 _ACEOF
39714 if ac_fn_cxx_try_compile "$LINENO"; then :
39715 glibcxx_cv_func_logl_use=yes
39716 else
39717 glibcxx_cv_func_logl_use=no
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39720 ac_ext=c
39721 ac_cpp='$CPP $CPPFLAGS'
39722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
39731 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
39733 if test x$glibcxx_cv_func_logl_use = x"yes"; then
39734 for ac_func in logl
39735 do :
39736 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
39737 if test "x$ac_cv_func_logl" = x""yes; then :
39738 cat >>confdefs.h <<_ACEOF
39739 #define HAVE_LOGL 1
39740 _ACEOF
39743 done
39745 else
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
39748 $as_echo_n "checking for _logl declaration... " >&6; }
39749 if test x${glibcxx_cv_func__logl_use+set} != xset; then
39750 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
39751 $as_echo_n "(cached) " >&6
39752 else
39755 ac_ext=cpp
39756 ac_cpp='$CXXCPP $CPPFLAGS'
39757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39762 /* end confdefs.h. */
39763 #include <math.h>
39764 #ifdef HAVE_IEEEFP_H
39765 #include <ieeefp.h>
39766 #endif
39769 main ()
39771 _logl(0);
39773 return 0;
39775 _ACEOF
39776 if ac_fn_cxx_try_compile "$LINENO"; then :
39777 glibcxx_cv_func__logl_use=yes
39778 else
39779 glibcxx_cv_func__logl_use=no
39781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39782 ac_ext=c
39783 ac_cpp='$CPP $CPPFLAGS'
39784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
39793 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
39795 if test x$glibcxx_cv_func__logl_use = x"yes"; then
39796 for ac_func in _logl
39797 do :
39798 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
39799 if test "x$ac_cv_func__logl" = x""yes; then :
39800 cat >>confdefs.h <<_ACEOF
39801 #define HAVE__LOGL 1
39802 _ACEOF
39805 done
39814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
39815 $as_echo_n "checking for log10l declaration... " >&6; }
39816 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
39817 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
39818 $as_echo_n "(cached) " >&6
39819 else
39822 ac_ext=cpp
39823 ac_cpp='$CXXCPP $CPPFLAGS'
39824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39829 /* end confdefs.h. */
39830 #include <math.h>
39831 #ifdef HAVE_IEEEFP_H
39832 #include <ieeefp.h>
39833 #endif
39836 main ()
39838 log10l(0);
39840 return 0;
39842 _ACEOF
39843 if ac_fn_cxx_try_compile "$LINENO"; then :
39844 glibcxx_cv_func_log10l_use=yes
39845 else
39846 glibcxx_cv_func_log10l_use=no
39848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39849 ac_ext=c
39850 ac_cpp='$CPP $CPPFLAGS'
39851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
39860 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
39862 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
39863 for ac_func in log10l
39864 do :
39865 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
39866 if test "x$ac_cv_func_log10l" = x""yes; then :
39867 cat >>confdefs.h <<_ACEOF
39868 #define HAVE_LOG10L 1
39869 _ACEOF
39872 done
39874 else
39876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
39877 $as_echo_n "checking for _log10l declaration... " >&6; }
39878 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
39879 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
39880 $as_echo_n "(cached) " >&6
39881 else
39884 ac_ext=cpp
39885 ac_cpp='$CXXCPP $CPPFLAGS'
39886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39891 /* end confdefs.h. */
39892 #include <math.h>
39893 #ifdef HAVE_IEEEFP_H
39894 #include <ieeefp.h>
39895 #endif
39898 main ()
39900 _log10l(0);
39902 return 0;
39904 _ACEOF
39905 if ac_fn_cxx_try_compile "$LINENO"; then :
39906 glibcxx_cv_func__log10l_use=yes
39907 else
39908 glibcxx_cv_func__log10l_use=no
39910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39911 ac_ext=c
39912 ac_cpp='$CPP $CPPFLAGS'
39913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
39922 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
39924 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
39925 for ac_func in _log10l
39926 do :
39927 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
39928 if test "x$ac_cv_func__log10l" = x""yes; then :
39929 cat >>confdefs.h <<_ACEOF
39930 #define HAVE__LOG10L 1
39931 _ACEOF
39934 done
39943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
39944 $as_echo_n "checking for modfl declaration... " >&6; }
39945 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
39946 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
39947 $as_echo_n "(cached) " >&6
39948 else
39951 ac_ext=cpp
39952 ac_cpp='$CXXCPP $CPPFLAGS'
39953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39958 /* end confdefs.h. */
39959 #include <math.h>
39961 main ()
39963 modfl(0, 0);
39965 return 0;
39967 _ACEOF
39968 if ac_fn_cxx_try_compile "$LINENO"; then :
39969 glibcxx_cv_func_modfl_use=yes
39970 else
39971 glibcxx_cv_func_modfl_use=no
39973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39974 ac_ext=c
39975 ac_cpp='$CPP $CPPFLAGS'
39976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
39985 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
39987 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
39988 for ac_func in modfl
39989 do :
39990 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
39991 if test "x$ac_cv_func_modfl" = x""yes; then :
39992 cat >>confdefs.h <<_ACEOF
39993 #define HAVE_MODFL 1
39994 _ACEOF
39997 done
39999 else
40001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40002 $as_echo_n "checking for _modfl declaration... " >&6; }
40003 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40004 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
40005 $as_echo_n "(cached) " >&6
40006 else
40009 ac_ext=cpp
40010 ac_cpp='$CXXCPP $CPPFLAGS'
40011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40016 /* end confdefs.h. */
40017 #include <math.h>
40019 main ()
40021 _modfl(0, 0);
40023 return 0;
40025 _ACEOF
40026 if ac_fn_cxx_try_compile "$LINENO"; then :
40027 glibcxx_cv_func__modfl_use=yes
40028 else
40029 glibcxx_cv_func__modfl_use=no
40031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40032 ac_ext=c
40033 ac_cpp='$CPP $CPPFLAGS'
40034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40043 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40045 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40046 for ac_func in _modfl
40047 do :
40048 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40049 if test "x$ac_cv_func__modfl" = x""yes; then :
40050 cat >>confdefs.h <<_ACEOF
40051 #define HAVE__MODFL 1
40052 _ACEOF
40055 done
40064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40065 $as_echo_n "checking for powl declaration... " >&6; }
40066 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40067 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
40068 $as_echo_n "(cached) " >&6
40069 else
40072 ac_ext=cpp
40073 ac_cpp='$CXXCPP $CPPFLAGS'
40074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40079 /* end confdefs.h. */
40080 #include <math.h>
40082 main ()
40084 powl(0, 0);
40086 return 0;
40088 _ACEOF
40089 if ac_fn_cxx_try_compile "$LINENO"; then :
40090 glibcxx_cv_func_powl_use=yes
40091 else
40092 glibcxx_cv_func_powl_use=no
40094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40095 ac_ext=c
40096 ac_cpp='$CPP $CPPFLAGS'
40097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40106 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40108 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40109 for ac_func in powl
40110 do :
40111 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40112 if test "x$ac_cv_func_powl" = x""yes; then :
40113 cat >>confdefs.h <<_ACEOF
40114 #define HAVE_POWL 1
40115 _ACEOF
40118 done
40120 else
40122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40123 $as_echo_n "checking for _powl declaration... " >&6; }
40124 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40125 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
40126 $as_echo_n "(cached) " >&6
40127 else
40130 ac_ext=cpp
40131 ac_cpp='$CXXCPP $CPPFLAGS'
40132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40137 /* end confdefs.h. */
40138 #include <math.h>
40140 main ()
40142 _powl(0, 0);
40144 return 0;
40146 _ACEOF
40147 if ac_fn_cxx_try_compile "$LINENO"; then :
40148 glibcxx_cv_func__powl_use=yes
40149 else
40150 glibcxx_cv_func__powl_use=no
40152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40153 ac_ext=c
40154 ac_cpp='$CPP $CPPFLAGS'
40155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40164 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40166 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40167 for ac_func in _powl
40168 do :
40169 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40170 if test "x$ac_cv_func__powl" = x""yes; then :
40171 cat >>confdefs.h <<_ACEOF
40172 #define HAVE__POWL 1
40173 _ACEOF
40176 done
40185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40186 $as_echo_n "checking for sqrtl declaration... " >&6; }
40187 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40188 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
40189 $as_echo_n "(cached) " >&6
40190 else
40193 ac_ext=cpp
40194 ac_cpp='$CXXCPP $CPPFLAGS'
40195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40200 /* end confdefs.h. */
40201 #include <math.h>
40202 #ifdef HAVE_IEEEFP_H
40203 #include <ieeefp.h>
40204 #endif
40207 main ()
40209 sqrtl(0);
40211 return 0;
40213 _ACEOF
40214 if ac_fn_cxx_try_compile "$LINENO"; then :
40215 glibcxx_cv_func_sqrtl_use=yes
40216 else
40217 glibcxx_cv_func_sqrtl_use=no
40219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40220 ac_ext=c
40221 ac_cpp='$CPP $CPPFLAGS'
40222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40231 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40233 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40234 for ac_func in sqrtl
40235 do :
40236 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40237 if test "x$ac_cv_func_sqrtl" = x""yes; then :
40238 cat >>confdefs.h <<_ACEOF
40239 #define HAVE_SQRTL 1
40240 _ACEOF
40243 done
40245 else
40247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40248 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40249 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40250 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
40251 $as_echo_n "(cached) " >&6
40252 else
40255 ac_ext=cpp
40256 ac_cpp='$CXXCPP $CPPFLAGS'
40257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40262 /* end confdefs.h. */
40263 #include <math.h>
40264 #ifdef HAVE_IEEEFP_H
40265 #include <ieeefp.h>
40266 #endif
40269 main ()
40271 _sqrtl(0);
40273 return 0;
40275 _ACEOF
40276 if ac_fn_cxx_try_compile "$LINENO"; then :
40277 glibcxx_cv_func__sqrtl_use=yes
40278 else
40279 glibcxx_cv_func__sqrtl_use=no
40281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40282 ac_ext=c
40283 ac_cpp='$CPP $CPPFLAGS'
40284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40293 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40295 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40296 for ac_func in _sqrtl
40297 do :
40298 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40299 if test "x$ac_cv_func__sqrtl" = x""yes; then :
40300 cat >>confdefs.h <<_ACEOF
40301 #define HAVE__SQRTL 1
40302 _ACEOF
40305 done
40314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40315 $as_echo_n "checking for sincosl declaration... " >&6; }
40316 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40317 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
40318 $as_echo_n "(cached) " >&6
40319 else
40322 ac_ext=cpp
40323 ac_cpp='$CXXCPP $CPPFLAGS'
40324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40329 /* end confdefs.h. */
40330 #include <math.h>
40332 main ()
40334 sincosl(0, 0, 0);
40336 return 0;
40338 _ACEOF
40339 if ac_fn_cxx_try_compile "$LINENO"; then :
40340 glibcxx_cv_func_sincosl_use=yes
40341 else
40342 glibcxx_cv_func_sincosl_use=no
40344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40345 ac_ext=c
40346 ac_cpp='$CPP $CPPFLAGS'
40347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40356 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40358 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40359 for ac_func in sincosl
40360 do :
40361 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40362 if test "x$ac_cv_func_sincosl" = x""yes; then :
40363 cat >>confdefs.h <<_ACEOF
40364 #define HAVE_SINCOSL 1
40365 _ACEOF
40368 done
40370 else
40372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40373 $as_echo_n "checking for _sincosl declaration... " >&6; }
40374 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40375 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
40376 $as_echo_n "(cached) " >&6
40377 else
40380 ac_ext=cpp
40381 ac_cpp='$CXXCPP $CPPFLAGS'
40382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40387 /* end confdefs.h. */
40388 #include <math.h>
40390 main ()
40392 _sincosl(0, 0, 0);
40394 return 0;
40396 _ACEOF
40397 if ac_fn_cxx_try_compile "$LINENO"; then :
40398 glibcxx_cv_func__sincosl_use=yes
40399 else
40400 glibcxx_cv_func__sincosl_use=no
40402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40403 ac_ext=c
40404 ac_cpp='$CPP $CPPFLAGS'
40405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40414 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40416 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40417 for ac_func in _sincosl
40418 do :
40419 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40420 if test "x$ac_cv_func__sincosl" = x""yes; then :
40421 cat >>confdefs.h <<_ACEOF
40422 #define HAVE__SINCOSL 1
40423 _ACEOF
40426 done
40435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40436 $as_echo_n "checking for finitel declaration... " >&6; }
40437 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40438 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
40439 $as_echo_n "(cached) " >&6
40440 else
40443 ac_ext=cpp
40444 ac_cpp='$CXXCPP $CPPFLAGS'
40445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40450 /* end confdefs.h. */
40451 #include <math.h>
40452 #ifdef HAVE_IEEEFP_H
40453 #include <ieeefp.h>
40454 #endif
40457 main ()
40459 finitel(0);
40461 return 0;
40463 _ACEOF
40464 if ac_fn_cxx_try_compile "$LINENO"; then :
40465 glibcxx_cv_func_finitel_use=yes
40466 else
40467 glibcxx_cv_func_finitel_use=no
40469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40470 ac_ext=c
40471 ac_cpp='$CPP $CPPFLAGS'
40472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40481 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40483 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40484 for ac_func in finitel
40485 do :
40486 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40487 if test "x$ac_cv_func_finitel" = x""yes; then :
40488 cat >>confdefs.h <<_ACEOF
40489 #define HAVE_FINITEL 1
40490 _ACEOF
40493 done
40495 else
40497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40498 $as_echo_n "checking for _finitel declaration... " >&6; }
40499 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40500 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
40501 $as_echo_n "(cached) " >&6
40502 else
40505 ac_ext=cpp
40506 ac_cpp='$CXXCPP $CPPFLAGS'
40507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40512 /* end confdefs.h. */
40513 #include <math.h>
40514 #ifdef HAVE_IEEEFP_H
40515 #include <ieeefp.h>
40516 #endif
40519 main ()
40521 _finitel(0);
40523 return 0;
40525 _ACEOF
40526 if ac_fn_cxx_try_compile "$LINENO"; then :
40527 glibcxx_cv_func__finitel_use=yes
40528 else
40529 glibcxx_cv_func__finitel_use=no
40531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40532 ac_ext=c
40533 ac_cpp='$CPP $CPPFLAGS'
40534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40543 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40545 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40546 for ac_func in _finitel
40547 do :
40548 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40549 if test "x$ac_cv_func__finitel" = x""yes; then :
40550 cat >>confdefs.h <<_ACEOF
40551 #define HAVE__FINITEL 1
40552 _ACEOF
40555 done
40563 LIBS="$ac_save_LIBS"
40564 CXXFLAGS="$ac_save_CXXFLAGS"
40567 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40568 ac_save_CXXFLAGS="$CXXFLAGS"
40569 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40573 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40574 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40575 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
40576 $as_echo_n "(cached) " >&6
40577 else
40580 ac_ext=cpp
40581 ac_cpp='$CXXCPP $CPPFLAGS'
40582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40587 /* end confdefs.h. */
40588 #include <stdlib.h>
40590 main ()
40592 at_quick_exit(0);
40594 return 0;
40596 _ACEOF
40597 if ac_fn_cxx_try_compile "$LINENO"; then :
40598 glibcxx_cv_func_at_quick_exit_use=yes
40599 else
40600 glibcxx_cv_func_at_quick_exit_use=no
40602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40603 ac_ext=c
40604 ac_cpp='$CPP $CPPFLAGS'
40605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40614 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40615 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40616 for ac_func in at_quick_exit
40617 do :
40618 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40619 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
40620 cat >>confdefs.h <<_ACEOF
40621 #define HAVE_AT_QUICK_EXIT 1
40622 _ACEOF
40625 done
40630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40631 $as_echo_n "checking for quick_exit declaration... " >&6; }
40632 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40633 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
40634 $as_echo_n "(cached) " >&6
40635 else
40638 ac_ext=cpp
40639 ac_cpp='$CXXCPP $CPPFLAGS'
40640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40645 /* end confdefs.h. */
40646 #include <stdlib.h>
40648 main ()
40650 quick_exit(0);
40652 return 0;
40654 _ACEOF
40655 if ac_fn_cxx_try_compile "$LINENO"; then :
40656 glibcxx_cv_func_quick_exit_use=yes
40657 else
40658 glibcxx_cv_func_quick_exit_use=no
40660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40661 ac_ext=c
40662 ac_cpp='$CPP $CPPFLAGS'
40663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40672 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40673 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40674 for ac_func in quick_exit
40675 do :
40676 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40677 if test "x$ac_cv_func_quick_exit" = x""yes; then :
40678 cat >>confdefs.h <<_ACEOF
40679 #define HAVE_QUICK_EXIT 1
40680 _ACEOF
40683 done
40688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40689 $as_echo_n "checking for strtold declaration... " >&6; }
40690 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40691 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
40692 $as_echo_n "(cached) " >&6
40693 else
40696 ac_ext=cpp
40697 ac_cpp='$CXXCPP $CPPFLAGS'
40698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40703 /* end confdefs.h. */
40704 #include <stdlib.h>
40706 main ()
40708 strtold(0, 0);
40710 return 0;
40712 _ACEOF
40713 if ac_fn_cxx_try_compile "$LINENO"; then :
40714 glibcxx_cv_func_strtold_use=yes
40715 else
40716 glibcxx_cv_func_strtold_use=no
40718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40719 ac_ext=c
40720 ac_cpp='$CPP $CPPFLAGS'
40721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
40730 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
40731 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
40732 for ac_func in strtold
40733 do :
40734 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
40735 if test "x$ac_cv_func_strtold" = x""yes; then :
40736 cat >>confdefs.h <<_ACEOF
40737 #define HAVE_STRTOLD 1
40738 _ACEOF
40741 done
40748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
40749 $as_echo_n "checking for strtof declaration... " >&6; }
40750 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
40751 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
40752 $as_echo_n "(cached) " >&6
40753 else
40756 ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h. */
40764 #include <stdlib.h>
40766 main ()
40768 strtof(0, 0);
40770 return 0;
40772 _ACEOF
40773 if ac_fn_cxx_try_compile "$LINENO"; then :
40774 glibcxx_cv_func_strtof_use=yes
40775 else
40776 glibcxx_cv_func_strtof_use=no
40778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40779 ac_ext=c
40780 ac_cpp='$CPP $CPPFLAGS'
40781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
40790 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
40791 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
40792 for ac_func in strtof
40793 do :
40794 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
40795 if test "x$ac_cv_func_strtof" = x""yes; then :
40796 cat >>confdefs.h <<_ACEOF
40797 #define HAVE_STRTOF 1
40798 _ACEOF
40801 done
40808 CXXFLAGS="$ac_save_CXXFLAGS"
40815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
40816 $as_echo_n "checking for iconv... " >&6; }
40817 if test "${am_cv_func_iconv+set}" = set; then :
40818 $as_echo_n "(cached) " >&6
40819 else
40821 am_cv_func_iconv="no, consider installing GNU libiconv"
40822 am_cv_lib_iconv=no
40823 am_save_CPPFLAGS="$CPPFLAGS"
40824 CPPFLAGS="$CPPFLAGS $INCICONV"
40825 if test x$gcc_no_link = xyes; then
40826 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40829 /* end confdefs.h. */
40830 #include <stdlib.h>
40831 #include <iconv.h>
40833 main ()
40835 iconv_t cd = iconv_open("","");
40836 iconv(cd,NULL,NULL,NULL,NULL);
40837 iconv_close(cd);
40839 return 0;
40841 _ACEOF
40842 if ac_fn_c_try_link "$LINENO"; then :
40843 am_cv_func_iconv=yes
40845 rm -f core conftest.err conftest.$ac_objext \
40846 conftest$ac_exeext conftest.$ac_ext
40847 CPPFLAGS="$am_save_CPPFLAGS"
40849 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
40850 for _libs in .libs _libs; do
40851 am_save_CPPFLAGS="$CPPFLAGS"
40852 am_save_LIBS="$LIBS"
40853 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
40854 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
40855 if test x$gcc_no_link = xyes; then
40856 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40859 /* end confdefs.h. */
40860 #include <stdlib.h>
40861 #include <iconv.h>
40863 main ()
40865 iconv_t cd = iconv_open("","");
40866 iconv(cd,NULL,NULL,NULL,NULL);
40867 iconv_close(cd);
40869 return 0;
40871 _ACEOF
40872 if ac_fn_c_try_link "$LINENO"; then :
40873 INCICONV="-I../libiconv/include"
40874 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
40875 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
40876 am_cv_lib_iconv=yes
40877 am_cv_func_iconv=yes
40879 rm -f core conftest.err conftest.$ac_objext \
40880 conftest$ac_exeext conftest.$ac_ext
40881 CPPFLAGS="$am_save_CPPFLAGS"
40882 LIBS="$am_save_LIBS"
40883 if test "$am_cv_func_iconv" = "yes"; then
40884 break
40886 done
40889 if test "$am_cv_func_iconv" != yes; then
40890 am_save_CPPFLAGS="$CPPFLAGS"
40891 am_save_LIBS="$LIBS"
40892 CPPFLAGS="$LIBS $INCICONV"
40893 LIBS="$LIBS $LIBICONV"
40894 if test x$gcc_no_link = xyes; then
40895 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
40897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40898 /* end confdefs.h. */
40899 #include <stdlib.h>
40900 #include <iconv.h>
40902 main ()
40904 iconv_t cd = iconv_open("","");
40905 iconv(cd,NULL,NULL,NULL,NULL);
40906 iconv_close(cd);
40908 return 0;
40910 _ACEOF
40911 if ac_fn_c_try_link "$LINENO"; then :
40912 am_cv_lib_iconv=yes
40913 am_cv_func_iconv=yes
40915 rm -f core conftest.err conftest.$ac_objext \
40916 conftest$ac_exeext conftest.$ac_ext
40917 CPPFLAGS="$am_save_CPPFLAGS"
40918 LIBS="$am_save_LIBS"
40922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
40923 $as_echo "$am_cv_func_iconv" >&6; }
40924 if test "$am_cv_func_iconv" = yes; then
40926 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
40929 if test "$am_cv_lib_iconv" = yes; then
40931 for element in $INCICONV; do
40932 haveit=
40933 for x in $CPPFLAGS; do
40935 acl_save_prefix="$prefix"
40936 prefix="$acl_final_prefix"
40937 acl_save_exec_prefix="$exec_prefix"
40938 exec_prefix="$acl_final_exec_prefix"
40939 eval x=\"$x\"
40940 exec_prefix="$acl_save_exec_prefix"
40941 prefix="$acl_save_prefix"
40943 if test "X$x" = "X$element"; then
40944 haveit=yes
40945 break
40947 done
40948 if test -z "$haveit"; then
40949 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
40951 done
40953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
40954 $as_echo_n "checking how to link with libiconv... " >&6; }
40955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
40956 $as_echo "$LIBICONV" >&6; }
40957 else
40958 LIBICONV=
40959 LTLIBICONV=
40964 if test "$am_cv_func_iconv" = yes; then
40965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
40966 $as_echo_n "checking for iconv declaration... " >&6; }
40967 if test "${am_cv_proto_iconv+set}" = set; then :
40968 $as_echo_n "(cached) " >&6
40969 else
40971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40972 /* end confdefs.h. */
40974 #include <stdlib.h>
40975 #include <iconv.h>
40976 extern
40977 #ifdef __cplusplus
40979 #endif
40980 #if defined(__STDC__) || defined(__cplusplus)
40981 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
40982 #else
40983 size_t iconv();
40984 #endif
40987 main ()
40991 return 0;
40993 _ACEOF
40994 if ac_fn_c_try_compile "$LINENO"; then :
40995 am_cv_proto_iconv_arg1=""
40996 else
40997 am_cv_proto_iconv_arg1="const"
40999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41000 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);"
41003 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41005 }$am_cv_proto_iconv" >&5
41006 $as_echo "${ac_t:-
41007 }$am_cv_proto_iconv" >&6; }
41009 cat >>confdefs.h <<_ACEOF
41010 #define ICONV_CONST $am_cv_proto_iconv_arg1
41011 _ACEOF
41017 *-aix*)
41019 # If we're not using GNU ld, then there's no point in even trying these
41020 # tests. Check for that first. We should have already tested for gld
41021 # by now (in libtool), but require it now just to be safe...
41022 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41023 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41027 # The name set by libtool depends on the version of libtool. Shame on us
41028 # for depending on an impl detail, but c'est la vie. Older versions used
41029 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41030 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41031 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41032 # set (hence we're using an older libtool), then set it.
41033 if test x${with_gnu_ld+set} != xset; then
41034 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41035 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41036 with_gnu_ld=no
41037 else
41038 with_gnu_ld=$ac_cv_prog_gnu_ld
41042 # Start by getting the version number. I think the libtool test already
41043 # does some of this, but throws away the result.
41044 glibcxx_ld_is_gold=no
41045 if test x"$with_gnu_ld" = x"yes"; then
41046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41047 $as_echo_n "checking for ld version... " >&6; }
41049 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41050 glibcxx_ld_is_gold=yes
41052 ldver=`$LD --version 2>/dev/null |
41053 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'`
41055 glibcxx_gnu_ld_version=`echo $ldver | \
41056 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41058 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41061 # Set --gc-sections.
41062 glibcxx_have_gc_sections=no
41063 if test "$glibcxx_ld_is_gold" = "yes"; then
41064 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41065 glibcxx_have_gc_sections=yes
41067 else
41068 glibcxx_gcsections_min_ld=21602
41069 if test x"$with_gnu_ld" = x"yes" &&
41070 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41071 glibcxx_have_gc_sections=yes
41074 if test "$glibcxx_have_gc_sections" = "yes"; then
41075 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41076 # NB: This flag only works reliably after 2.16.1. Configure tests
41077 # for this are difficult, so hard wire a value that should work.
41079 ac_test_CFLAGS="${CFLAGS+set}"
41080 ac_save_CFLAGS="$CFLAGS"
41081 CFLAGS='-Wl,--gc-sections'
41083 # Check for -Wl,--gc-sections
41084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41085 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41086 if test x$gcc_no_link = xyes; then
41087 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41090 /* end confdefs.h. */
41091 int one(void) { return 1; }
41092 int two(void) { return 2; }
41095 main ()
41097 two();
41099 return 0;
41101 _ACEOF
41102 if ac_fn_c_try_link "$LINENO"; then :
41103 ac_gcsections=yes
41104 else
41105 ac_gcsections=no
41107 rm -f core conftest.err conftest.$ac_objext \
41108 conftest$ac_exeext conftest.$ac_ext
41109 if test "$ac_gcsections" = "yes"; then
41110 rm -f conftest.c
41111 touch conftest.c
41112 if $CC -c conftest.c; then
41113 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41114 grep "Warning: gc-sections option ignored" > /dev/null; then
41115 ac_gcsections=no
41118 rm -f conftest.c conftest.o conftest
41120 if test "$ac_gcsections" = "yes"; then
41121 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41124 $as_echo "$ac_gcsections" >&6; }
41126 if test "$ac_test_CFLAGS" = set; then
41127 CFLAGS="$ac_save_CFLAGS"
41128 else
41129 # this is the suspicious part
41130 CFLAGS=''
41134 # Set -z,relro.
41135 # Note this is only for shared objects.
41136 ac_ld_relro=no
41137 if test x"$with_gnu_ld" = x"yes"; then
41138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41139 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41140 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41141 if test -n "$cxx_z_relo"; then
41142 OPT_LDFLAGS="-Wl,-z,relro"
41143 ac_ld_relro=yes
41145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41146 $as_echo "$ac_ld_relro" >&6; }
41149 # Set linker optimization flags.
41150 if test x"$with_gnu_ld" = x"yes"; then
41151 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41158 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41159 ac_save_CXXFLAGS="$CXXFLAGS"
41160 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41163 $as_echo_n "checking for sin in -lm... " >&6; }
41164 if test "${ac_cv_lib_m_sin+set}" = set; then :
41165 $as_echo_n "(cached) " >&6
41166 else
41167 ac_check_lib_save_LIBS=$LIBS
41168 LIBS="-lm $LIBS"
41169 if test x$gcc_no_link = xyes; then
41170 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41173 /* end confdefs.h. */
41175 /* Override any GCC internal prototype to avoid an error.
41176 Use char because int might match the return type of a GCC
41177 builtin and then its argument prototype would still apply. */
41178 #ifdef __cplusplus
41179 extern "C"
41180 #endif
41181 char sin ();
41183 main ()
41185 return sin ();
41187 return 0;
41189 _ACEOF
41190 if ac_fn_c_try_link "$LINENO"; then :
41191 ac_cv_lib_m_sin=yes
41192 else
41193 ac_cv_lib_m_sin=no
41195 rm -f core conftest.err conftest.$ac_objext \
41196 conftest$ac_exeext conftest.$ac_ext
41197 LIBS=$ac_check_lib_save_LIBS
41199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41200 $as_echo "$ac_cv_lib_m_sin" >&6; }
41201 if test "x$ac_cv_lib_m_sin" = x""yes; then :
41202 libm="-lm"
41205 ac_save_LIBS="$LIBS"
41206 LIBS="$LIBS $libm"
41210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41211 $as_echo_n "checking for isinf declaration... " >&6; }
41212 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41213 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
41214 $as_echo_n "(cached) " >&6
41215 else
41218 ac_ext=cpp
41219 ac_cpp='$CXXCPP $CPPFLAGS'
41220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41225 /* end confdefs.h. */
41226 #include <math.h>
41227 #ifdef HAVE_IEEEFP_H
41228 #include <ieeefp.h>
41229 #endif
41232 main ()
41234 isinf(0);
41236 return 0;
41238 _ACEOF
41239 if ac_fn_cxx_try_compile "$LINENO"; then :
41240 glibcxx_cv_func_isinf_use=yes
41241 else
41242 glibcxx_cv_func_isinf_use=no
41244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41245 ac_ext=c
41246 ac_cpp='$CPP $CPPFLAGS'
41247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41256 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41258 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41259 for ac_func in isinf
41260 do :
41261 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41262 if test "x$ac_cv_func_isinf" = x""yes; then :
41263 cat >>confdefs.h <<_ACEOF
41264 #define HAVE_ISINF 1
41265 _ACEOF
41268 done
41270 else
41272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41273 $as_echo_n "checking for _isinf declaration... " >&6; }
41274 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41275 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
41276 $as_echo_n "(cached) " >&6
41277 else
41280 ac_ext=cpp
41281 ac_cpp='$CXXCPP $CPPFLAGS'
41282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41287 /* end confdefs.h. */
41288 #include <math.h>
41289 #ifdef HAVE_IEEEFP_H
41290 #include <ieeefp.h>
41291 #endif
41294 main ()
41296 _isinf(0);
41298 return 0;
41300 _ACEOF
41301 if ac_fn_cxx_try_compile "$LINENO"; then :
41302 glibcxx_cv_func__isinf_use=yes
41303 else
41304 glibcxx_cv_func__isinf_use=no
41306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41307 ac_ext=c
41308 ac_cpp='$CPP $CPPFLAGS'
41309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41318 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41320 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41321 for ac_func in _isinf
41322 do :
41323 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41324 if test "x$ac_cv_func__isinf" = x""yes; then :
41325 cat >>confdefs.h <<_ACEOF
41326 #define HAVE__ISINF 1
41327 _ACEOF
41330 done
41339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41340 $as_echo_n "checking for isnan declaration... " >&6; }
41341 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41342 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
41343 $as_echo_n "(cached) " >&6
41344 else
41347 ac_ext=cpp
41348 ac_cpp='$CXXCPP $CPPFLAGS'
41349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41354 /* end confdefs.h. */
41355 #include <math.h>
41356 #ifdef HAVE_IEEEFP_H
41357 #include <ieeefp.h>
41358 #endif
41361 main ()
41363 isnan(0);
41365 return 0;
41367 _ACEOF
41368 if ac_fn_cxx_try_compile "$LINENO"; then :
41369 glibcxx_cv_func_isnan_use=yes
41370 else
41371 glibcxx_cv_func_isnan_use=no
41373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41374 ac_ext=c
41375 ac_cpp='$CPP $CPPFLAGS'
41376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41385 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41387 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41388 for ac_func in isnan
41389 do :
41390 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41391 if test "x$ac_cv_func_isnan" = x""yes; then :
41392 cat >>confdefs.h <<_ACEOF
41393 #define HAVE_ISNAN 1
41394 _ACEOF
41397 done
41399 else
41401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41402 $as_echo_n "checking for _isnan declaration... " >&6; }
41403 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41404 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
41405 $as_echo_n "(cached) " >&6
41406 else
41409 ac_ext=cpp
41410 ac_cpp='$CXXCPP $CPPFLAGS'
41411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41416 /* end confdefs.h. */
41417 #include <math.h>
41418 #ifdef HAVE_IEEEFP_H
41419 #include <ieeefp.h>
41420 #endif
41423 main ()
41425 _isnan(0);
41427 return 0;
41429 _ACEOF
41430 if ac_fn_cxx_try_compile "$LINENO"; then :
41431 glibcxx_cv_func__isnan_use=yes
41432 else
41433 glibcxx_cv_func__isnan_use=no
41435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41436 ac_ext=c
41437 ac_cpp='$CPP $CPPFLAGS'
41438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41447 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41449 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41450 for ac_func in _isnan
41451 do :
41452 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41453 if test "x$ac_cv_func__isnan" = x""yes; then :
41454 cat >>confdefs.h <<_ACEOF
41455 #define HAVE__ISNAN 1
41456 _ACEOF
41459 done
41468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41469 $as_echo_n "checking for finite declaration... " >&6; }
41470 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41471 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
41472 $as_echo_n "(cached) " >&6
41473 else
41476 ac_ext=cpp
41477 ac_cpp='$CXXCPP $CPPFLAGS'
41478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41483 /* end confdefs.h. */
41484 #include <math.h>
41485 #ifdef HAVE_IEEEFP_H
41486 #include <ieeefp.h>
41487 #endif
41490 main ()
41492 finite(0);
41494 return 0;
41496 _ACEOF
41497 if ac_fn_cxx_try_compile "$LINENO"; then :
41498 glibcxx_cv_func_finite_use=yes
41499 else
41500 glibcxx_cv_func_finite_use=no
41502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41503 ac_ext=c
41504 ac_cpp='$CPP $CPPFLAGS'
41505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41514 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41516 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41517 for ac_func in finite
41518 do :
41519 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41520 if test "x$ac_cv_func_finite" = x""yes; then :
41521 cat >>confdefs.h <<_ACEOF
41522 #define HAVE_FINITE 1
41523 _ACEOF
41526 done
41528 else
41530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41531 $as_echo_n "checking for _finite declaration... " >&6; }
41532 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41533 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
41534 $as_echo_n "(cached) " >&6
41535 else
41538 ac_ext=cpp
41539 ac_cpp='$CXXCPP $CPPFLAGS'
41540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41545 /* end confdefs.h. */
41546 #include <math.h>
41547 #ifdef HAVE_IEEEFP_H
41548 #include <ieeefp.h>
41549 #endif
41552 main ()
41554 _finite(0);
41556 return 0;
41558 _ACEOF
41559 if ac_fn_cxx_try_compile "$LINENO"; then :
41560 glibcxx_cv_func__finite_use=yes
41561 else
41562 glibcxx_cv_func__finite_use=no
41564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41565 ac_ext=c
41566 ac_cpp='$CPP $CPPFLAGS'
41567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41576 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41578 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41579 for ac_func in _finite
41580 do :
41581 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41582 if test "x$ac_cv_func__finite" = x""yes; then :
41583 cat >>confdefs.h <<_ACEOF
41584 #define HAVE__FINITE 1
41585 _ACEOF
41588 done
41597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41598 $as_echo_n "checking for sincos declaration... " >&6; }
41599 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41600 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
41601 $as_echo_n "(cached) " >&6
41602 else
41605 ac_ext=cpp
41606 ac_cpp='$CXXCPP $CPPFLAGS'
41607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41612 /* end confdefs.h. */
41613 #include <math.h>
41615 main ()
41617 sincos(0, 0, 0);
41619 return 0;
41621 _ACEOF
41622 if ac_fn_cxx_try_compile "$LINENO"; then :
41623 glibcxx_cv_func_sincos_use=yes
41624 else
41625 glibcxx_cv_func_sincos_use=no
41627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41628 ac_ext=c
41629 ac_cpp='$CPP $CPPFLAGS'
41630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41639 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41641 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41642 for ac_func in sincos
41643 do :
41644 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41645 if test "x$ac_cv_func_sincos" = x""yes; then :
41646 cat >>confdefs.h <<_ACEOF
41647 #define HAVE_SINCOS 1
41648 _ACEOF
41651 done
41653 else
41655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41656 $as_echo_n "checking for _sincos declaration... " >&6; }
41657 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41658 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
41659 $as_echo_n "(cached) " >&6
41660 else
41663 ac_ext=cpp
41664 ac_cpp='$CXXCPP $CPPFLAGS'
41665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41670 /* end confdefs.h. */
41671 #include <math.h>
41673 main ()
41675 _sincos(0, 0, 0);
41677 return 0;
41679 _ACEOF
41680 if ac_fn_cxx_try_compile "$LINENO"; then :
41681 glibcxx_cv_func__sincos_use=yes
41682 else
41683 glibcxx_cv_func__sincos_use=no
41685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41686 ac_ext=c
41687 ac_cpp='$CPP $CPPFLAGS'
41688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41697 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41699 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41700 for ac_func in _sincos
41701 do :
41702 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41703 if test "x$ac_cv_func__sincos" = x""yes; then :
41704 cat >>confdefs.h <<_ACEOF
41705 #define HAVE__SINCOS 1
41706 _ACEOF
41709 done
41718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41719 $as_echo_n "checking for fpclass declaration... " >&6; }
41720 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41721 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
41722 $as_echo_n "(cached) " >&6
41723 else
41726 ac_ext=cpp
41727 ac_cpp='$CXXCPP $CPPFLAGS'
41728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41733 /* end confdefs.h. */
41734 #include <math.h>
41735 #ifdef HAVE_IEEEFP_H
41736 #include <ieeefp.h>
41737 #endif
41740 main ()
41742 fpclass(0);
41744 return 0;
41746 _ACEOF
41747 if ac_fn_cxx_try_compile "$LINENO"; then :
41748 glibcxx_cv_func_fpclass_use=yes
41749 else
41750 glibcxx_cv_func_fpclass_use=no
41752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41753 ac_ext=c
41754 ac_cpp='$CPP $CPPFLAGS'
41755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41764 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41766 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41767 for ac_func in fpclass
41768 do :
41769 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41770 if test "x$ac_cv_func_fpclass" = x""yes; then :
41771 cat >>confdefs.h <<_ACEOF
41772 #define HAVE_FPCLASS 1
41773 _ACEOF
41776 done
41778 else
41780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41781 $as_echo_n "checking for _fpclass declaration... " >&6; }
41782 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41783 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
41784 $as_echo_n "(cached) " >&6
41785 else
41788 ac_ext=cpp
41789 ac_cpp='$CXXCPP $CPPFLAGS'
41790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41795 /* end confdefs.h. */
41796 #include <math.h>
41797 #ifdef HAVE_IEEEFP_H
41798 #include <ieeefp.h>
41799 #endif
41802 main ()
41804 _fpclass(0);
41806 return 0;
41808 _ACEOF
41809 if ac_fn_cxx_try_compile "$LINENO"; then :
41810 glibcxx_cv_func__fpclass_use=yes
41811 else
41812 glibcxx_cv_func__fpclass_use=no
41814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41815 ac_ext=c
41816 ac_cpp='$CPP $CPPFLAGS'
41817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41826 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41828 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41829 for ac_func in _fpclass
41830 do :
41831 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41832 if test "x$ac_cv_func__fpclass" = x""yes; then :
41833 cat >>confdefs.h <<_ACEOF
41834 #define HAVE__FPCLASS 1
41835 _ACEOF
41838 done
41847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
41848 $as_echo_n "checking for qfpclass declaration... " >&6; }
41849 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
41850 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
41851 $as_echo_n "(cached) " >&6
41852 else
41855 ac_ext=cpp
41856 ac_cpp='$CXXCPP $CPPFLAGS'
41857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41862 /* end confdefs.h. */
41863 #include <math.h>
41864 #ifdef HAVE_IEEEFP_H
41865 #include <ieeefp.h>
41866 #endif
41869 main ()
41871 qfpclass(0);
41873 return 0;
41875 _ACEOF
41876 if ac_fn_cxx_try_compile "$LINENO"; then :
41877 glibcxx_cv_func_qfpclass_use=yes
41878 else
41879 glibcxx_cv_func_qfpclass_use=no
41881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41882 ac_ext=c
41883 ac_cpp='$CPP $CPPFLAGS'
41884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
41893 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
41895 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
41896 for ac_func in qfpclass
41897 do :
41898 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
41899 if test "x$ac_cv_func_qfpclass" = x""yes; then :
41900 cat >>confdefs.h <<_ACEOF
41901 #define HAVE_QFPCLASS 1
41902 _ACEOF
41905 done
41907 else
41909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
41910 $as_echo_n "checking for _qfpclass declaration... " >&6; }
41911 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
41912 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
41913 $as_echo_n "(cached) " >&6
41914 else
41917 ac_ext=cpp
41918 ac_cpp='$CXXCPP $CPPFLAGS'
41919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41924 /* end confdefs.h. */
41925 #include <math.h>
41926 #ifdef HAVE_IEEEFP_H
41927 #include <ieeefp.h>
41928 #endif
41931 main ()
41933 _qfpclass(0);
41935 return 0;
41937 _ACEOF
41938 if ac_fn_cxx_try_compile "$LINENO"; then :
41939 glibcxx_cv_func__qfpclass_use=yes
41940 else
41941 glibcxx_cv_func__qfpclass_use=no
41943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41944 ac_ext=c
41945 ac_cpp='$CPP $CPPFLAGS'
41946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
41955 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
41957 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
41958 for ac_func in _qfpclass
41959 do :
41960 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
41961 if test "x$ac_cv_func__qfpclass" = x""yes; then :
41962 cat >>confdefs.h <<_ACEOF
41963 #define HAVE__QFPCLASS 1
41964 _ACEOF
41967 done
41976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
41977 $as_echo_n "checking for hypot declaration... " >&6; }
41978 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
41979 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
41980 $as_echo_n "(cached) " >&6
41981 else
41984 ac_ext=cpp
41985 ac_cpp='$CXXCPP $CPPFLAGS'
41986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41991 /* end confdefs.h. */
41992 #include <math.h>
41994 main ()
41996 hypot(0, 0);
41998 return 0;
42000 _ACEOF
42001 if ac_fn_cxx_try_compile "$LINENO"; then :
42002 glibcxx_cv_func_hypot_use=yes
42003 else
42004 glibcxx_cv_func_hypot_use=no
42006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42007 ac_ext=c
42008 ac_cpp='$CPP $CPPFLAGS'
42009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42018 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42020 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42021 for ac_func in hypot
42022 do :
42023 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42024 if test "x$ac_cv_func_hypot" = x""yes; then :
42025 cat >>confdefs.h <<_ACEOF
42026 #define HAVE_HYPOT 1
42027 _ACEOF
42030 done
42032 else
42034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42035 $as_echo_n "checking for _hypot declaration... " >&6; }
42036 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42037 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
42038 $as_echo_n "(cached) " >&6
42039 else
42042 ac_ext=cpp
42043 ac_cpp='$CXXCPP $CPPFLAGS'
42044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42049 /* end confdefs.h. */
42050 #include <math.h>
42052 main ()
42054 _hypot(0, 0);
42056 return 0;
42058 _ACEOF
42059 if ac_fn_cxx_try_compile "$LINENO"; then :
42060 glibcxx_cv_func__hypot_use=yes
42061 else
42062 glibcxx_cv_func__hypot_use=no
42064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42065 ac_ext=c
42066 ac_cpp='$CPP $CPPFLAGS'
42067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42076 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42078 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42079 for ac_func in _hypot
42080 do :
42081 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42082 if test "x$ac_cv_func__hypot" = x""yes; then :
42083 cat >>confdefs.h <<_ACEOF
42084 #define HAVE__HYPOT 1
42085 _ACEOF
42088 done
42097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42098 $as_echo_n "checking for float trig functions... " >&6; }
42099 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
42100 $as_echo_n "(cached) " >&6
42101 else
42104 ac_ext=cpp
42105 ac_cpp='$CXXCPP $CPPFLAGS'
42106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42111 /* end confdefs.h. */
42112 #include <math.h>
42114 main ()
42116 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42118 return 0;
42120 _ACEOF
42121 if ac_fn_cxx_try_compile "$LINENO"; then :
42122 glibcxx_cv_func_float_trig_use=yes
42123 else
42124 glibcxx_cv_func_float_trig_use=no
42126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42127 ac_ext=c
42128 ac_cpp='$CPP $CPPFLAGS'
42129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42136 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42137 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42138 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42139 do :
42140 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42141 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42142 eval as_val=\$$as_ac_var
42143 if test "x$as_val" = x""yes; then :
42144 cat >>confdefs.h <<_ACEOF
42145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42146 _ACEOF
42149 done
42151 else
42152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42153 $as_echo_n "checking for _float trig functions... " >&6; }
42154 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
42155 $as_echo_n "(cached) " >&6
42156 else
42159 ac_ext=cpp
42160 ac_cpp='$CXXCPP $CPPFLAGS'
42161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42166 /* end confdefs.h. */
42167 #include <math.h>
42169 main ()
42171 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42173 return 0;
42175 _ACEOF
42176 if ac_fn_cxx_try_compile "$LINENO"; then :
42177 glibcxx_cv_func__float_trig_use=yes
42178 else
42179 glibcxx_cv_func__float_trig_use=no
42181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42182 ac_ext=c
42183 ac_cpp='$CPP $CPPFLAGS'
42184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42191 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42192 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42193 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42194 do :
42195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42197 eval as_val=\$$as_ac_var
42198 if test "x$as_val" = x""yes; then :
42199 cat >>confdefs.h <<_ACEOF
42200 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42201 _ACEOF
42204 done
42213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42214 $as_echo_n "checking for float round functions... " >&6; }
42215 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
42216 $as_echo_n "(cached) " >&6
42217 else
42220 ac_ext=cpp
42221 ac_cpp='$CXXCPP $CPPFLAGS'
42222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42227 /* end confdefs.h. */
42228 #include <math.h>
42230 main ()
42232 ceilf (0); floorf (0);
42234 return 0;
42236 _ACEOF
42237 if ac_fn_cxx_try_compile "$LINENO"; then :
42238 glibcxx_cv_func_float_round_use=yes
42239 else
42240 glibcxx_cv_func_float_round_use=no
42242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42243 ac_ext=c
42244 ac_cpp='$CPP $CPPFLAGS'
42245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42252 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42253 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42254 for ac_func in ceilf floorf
42255 do :
42256 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42257 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42258 eval as_val=\$$as_ac_var
42259 if test "x$as_val" = x""yes; then :
42260 cat >>confdefs.h <<_ACEOF
42261 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42262 _ACEOF
42265 done
42267 else
42268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42269 $as_echo_n "checking for _float round functions... " >&6; }
42270 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
42271 $as_echo_n "(cached) " >&6
42272 else
42275 ac_ext=cpp
42276 ac_cpp='$CXXCPP $CPPFLAGS'
42277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42282 /* end confdefs.h. */
42283 #include <math.h>
42285 main ()
42287 _ceilf (0); _floorf (0);
42289 return 0;
42291 _ACEOF
42292 if ac_fn_cxx_try_compile "$LINENO"; then :
42293 glibcxx_cv_func__float_round_use=yes
42294 else
42295 glibcxx_cv_func__float_round_use=no
42297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42298 ac_ext=c
42299 ac_cpp='$CPP $CPPFLAGS'
42300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42307 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42308 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42309 for ac_func in _ceilf _floorf
42310 do :
42311 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42312 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42313 eval as_val=\$$as_ac_var
42314 if test "x$as_val" = x""yes; then :
42315 cat >>confdefs.h <<_ACEOF
42316 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42317 _ACEOF
42320 done
42330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42331 $as_echo_n "checking for expf declaration... " >&6; }
42332 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42333 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
42334 $as_echo_n "(cached) " >&6
42335 else
42338 ac_ext=cpp
42339 ac_cpp='$CXXCPP $CPPFLAGS'
42340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42345 /* end confdefs.h. */
42346 #include <math.h>
42347 #ifdef HAVE_IEEEFP_H
42348 #include <ieeefp.h>
42349 #endif
42352 main ()
42354 expf(0);
42356 return 0;
42358 _ACEOF
42359 if ac_fn_cxx_try_compile "$LINENO"; then :
42360 glibcxx_cv_func_expf_use=yes
42361 else
42362 glibcxx_cv_func_expf_use=no
42364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42365 ac_ext=c
42366 ac_cpp='$CPP $CPPFLAGS'
42367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42376 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42378 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42379 for ac_func in expf
42380 do :
42381 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42382 if test "x$ac_cv_func_expf" = x""yes; then :
42383 cat >>confdefs.h <<_ACEOF
42384 #define HAVE_EXPF 1
42385 _ACEOF
42388 done
42390 else
42392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42393 $as_echo_n "checking for _expf declaration... " >&6; }
42394 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42395 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
42396 $as_echo_n "(cached) " >&6
42397 else
42400 ac_ext=cpp
42401 ac_cpp='$CXXCPP $CPPFLAGS'
42402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42407 /* end confdefs.h. */
42408 #include <math.h>
42409 #ifdef HAVE_IEEEFP_H
42410 #include <ieeefp.h>
42411 #endif
42414 main ()
42416 _expf(0);
42418 return 0;
42420 _ACEOF
42421 if ac_fn_cxx_try_compile "$LINENO"; then :
42422 glibcxx_cv_func__expf_use=yes
42423 else
42424 glibcxx_cv_func__expf_use=no
42426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42427 ac_ext=c
42428 ac_cpp='$CPP $CPPFLAGS'
42429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42438 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42440 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42441 for ac_func in _expf
42442 do :
42443 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42444 if test "x$ac_cv_func__expf" = x""yes; then :
42445 cat >>confdefs.h <<_ACEOF
42446 #define HAVE__EXPF 1
42447 _ACEOF
42450 done
42459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42460 $as_echo_n "checking for isnanf declaration... " >&6; }
42461 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42462 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
42463 $as_echo_n "(cached) " >&6
42464 else
42467 ac_ext=cpp
42468 ac_cpp='$CXXCPP $CPPFLAGS'
42469 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42470 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42471 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42474 /* end confdefs.h. */
42475 #include <math.h>
42476 #ifdef HAVE_IEEEFP_H
42477 #include <ieeefp.h>
42478 #endif
42481 main ()
42483 isnanf(0);
42485 return 0;
42487 _ACEOF
42488 if ac_fn_cxx_try_compile "$LINENO"; then :
42489 glibcxx_cv_func_isnanf_use=yes
42490 else
42491 glibcxx_cv_func_isnanf_use=no
42493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42494 ac_ext=c
42495 ac_cpp='$CPP $CPPFLAGS'
42496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42505 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42507 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42508 for ac_func in isnanf
42509 do :
42510 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42511 if test "x$ac_cv_func_isnanf" = x""yes; then :
42512 cat >>confdefs.h <<_ACEOF
42513 #define HAVE_ISNANF 1
42514 _ACEOF
42517 done
42519 else
42521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42522 $as_echo_n "checking for _isnanf declaration... " >&6; }
42523 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42524 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
42525 $as_echo_n "(cached) " >&6
42526 else
42529 ac_ext=cpp
42530 ac_cpp='$CXXCPP $CPPFLAGS'
42531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42536 /* end confdefs.h. */
42537 #include <math.h>
42538 #ifdef HAVE_IEEEFP_H
42539 #include <ieeefp.h>
42540 #endif
42543 main ()
42545 _isnanf(0);
42547 return 0;
42549 _ACEOF
42550 if ac_fn_cxx_try_compile "$LINENO"; then :
42551 glibcxx_cv_func__isnanf_use=yes
42552 else
42553 glibcxx_cv_func__isnanf_use=no
42555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42556 ac_ext=c
42557 ac_cpp='$CPP $CPPFLAGS'
42558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42567 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42569 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42570 for ac_func in _isnanf
42571 do :
42572 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42573 if test "x$ac_cv_func__isnanf" = x""yes; then :
42574 cat >>confdefs.h <<_ACEOF
42575 #define HAVE__ISNANF 1
42576 _ACEOF
42579 done
42588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42589 $as_echo_n "checking for isinff declaration... " >&6; }
42590 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42591 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
42592 $as_echo_n "(cached) " >&6
42593 else
42596 ac_ext=cpp
42597 ac_cpp='$CXXCPP $CPPFLAGS'
42598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42603 /* end confdefs.h. */
42604 #include <math.h>
42605 #ifdef HAVE_IEEEFP_H
42606 #include <ieeefp.h>
42607 #endif
42610 main ()
42612 isinff(0);
42614 return 0;
42616 _ACEOF
42617 if ac_fn_cxx_try_compile "$LINENO"; then :
42618 glibcxx_cv_func_isinff_use=yes
42619 else
42620 glibcxx_cv_func_isinff_use=no
42622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42623 ac_ext=c
42624 ac_cpp='$CPP $CPPFLAGS'
42625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42634 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42636 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42637 for ac_func in isinff
42638 do :
42639 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42640 if test "x$ac_cv_func_isinff" = x""yes; then :
42641 cat >>confdefs.h <<_ACEOF
42642 #define HAVE_ISINFF 1
42643 _ACEOF
42646 done
42648 else
42650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42651 $as_echo_n "checking for _isinff declaration... " >&6; }
42652 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42653 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
42654 $as_echo_n "(cached) " >&6
42655 else
42658 ac_ext=cpp
42659 ac_cpp='$CXXCPP $CPPFLAGS'
42660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42665 /* end confdefs.h. */
42666 #include <math.h>
42667 #ifdef HAVE_IEEEFP_H
42668 #include <ieeefp.h>
42669 #endif
42672 main ()
42674 _isinff(0);
42676 return 0;
42678 _ACEOF
42679 if ac_fn_cxx_try_compile "$LINENO"; then :
42680 glibcxx_cv_func__isinff_use=yes
42681 else
42682 glibcxx_cv_func__isinff_use=no
42684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42685 ac_ext=c
42686 ac_cpp='$CPP $CPPFLAGS'
42687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42696 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42698 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42699 for ac_func in _isinff
42700 do :
42701 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42702 if test "x$ac_cv_func__isinff" = x""yes; then :
42703 cat >>confdefs.h <<_ACEOF
42704 #define HAVE__ISINFF 1
42705 _ACEOF
42708 done
42717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42718 $as_echo_n "checking for atan2f declaration... " >&6; }
42719 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42720 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
42721 $as_echo_n "(cached) " >&6
42722 else
42725 ac_ext=cpp
42726 ac_cpp='$CXXCPP $CPPFLAGS'
42727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42732 /* end confdefs.h. */
42733 #include <math.h>
42735 main ()
42737 atan2f(0, 0);
42739 return 0;
42741 _ACEOF
42742 if ac_fn_cxx_try_compile "$LINENO"; then :
42743 glibcxx_cv_func_atan2f_use=yes
42744 else
42745 glibcxx_cv_func_atan2f_use=no
42747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42748 ac_ext=c
42749 ac_cpp='$CPP $CPPFLAGS'
42750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42759 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42761 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42762 for ac_func in atan2f
42763 do :
42764 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42765 if test "x$ac_cv_func_atan2f" = x""yes; then :
42766 cat >>confdefs.h <<_ACEOF
42767 #define HAVE_ATAN2F 1
42768 _ACEOF
42771 done
42773 else
42775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42776 $as_echo_n "checking for _atan2f declaration... " >&6; }
42777 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42778 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
42779 $as_echo_n "(cached) " >&6
42780 else
42783 ac_ext=cpp
42784 ac_cpp='$CXXCPP $CPPFLAGS'
42785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42790 /* end confdefs.h. */
42791 #include <math.h>
42793 main ()
42795 _atan2f(0, 0);
42797 return 0;
42799 _ACEOF
42800 if ac_fn_cxx_try_compile "$LINENO"; then :
42801 glibcxx_cv_func__atan2f_use=yes
42802 else
42803 glibcxx_cv_func__atan2f_use=no
42805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42806 ac_ext=c
42807 ac_cpp='$CPP $CPPFLAGS'
42808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42817 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42819 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42820 for ac_func in _atan2f
42821 do :
42822 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42823 if test "x$ac_cv_func__atan2f" = x""yes; then :
42824 cat >>confdefs.h <<_ACEOF
42825 #define HAVE__ATAN2F 1
42826 _ACEOF
42829 done
42838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
42839 $as_echo_n "checking for fabsf declaration... " >&6; }
42840 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
42841 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
42842 $as_echo_n "(cached) " >&6
42843 else
42846 ac_ext=cpp
42847 ac_cpp='$CXXCPP $CPPFLAGS'
42848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42853 /* end confdefs.h. */
42854 #include <math.h>
42855 #ifdef HAVE_IEEEFP_H
42856 #include <ieeefp.h>
42857 #endif
42860 main ()
42862 fabsf(0);
42864 return 0;
42866 _ACEOF
42867 if ac_fn_cxx_try_compile "$LINENO"; then :
42868 glibcxx_cv_func_fabsf_use=yes
42869 else
42870 glibcxx_cv_func_fabsf_use=no
42872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42873 ac_ext=c
42874 ac_cpp='$CPP $CPPFLAGS'
42875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
42884 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
42886 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
42887 for ac_func in fabsf
42888 do :
42889 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
42890 if test "x$ac_cv_func_fabsf" = x""yes; then :
42891 cat >>confdefs.h <<_ACEOF
42892 #define HAVE_FABSF 1
42893 _ACEOF
42896 done
42898 else
42900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
42901 $as_echo_n "checking for _fabsf declaration... " >&6; }
42902 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
42903 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
42904 $as_echo_n "(cached) " >&6
42905 else
42908 ac_ext=cpp
42909 ac_cpp='$CXXCPP $CPPFLAGS'
42910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42915 /* end confdefs.h. */
42916 #include <math.h>
42917 #ifdef HAVE_IEEEFP_H
42918 #include <ieeefp.h>
42919 #endif
42922 main ()
42924 _fabsf(0);
42926 return 0;
42928 _ACEOF
42929 if ac_fn_cxx_try_compile "$LINENO"; then :
42930 glibcxx_cv_func__fabsf_use=yes
42931 else
42932 glibcxx_cv_func__fabsf_use=no
42934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42935 ac_ext=c
42936 ac_cpp='$CPP $CPPFLAGS'
42937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
42946 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
42948 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
42949 for ac_func in _fabsf
42950 do :
42951 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
42952 if test "x$ac_cv_func__fabsf" = x""yes; then :
42953 cat >>confdefs.h <<_ACEOF
42954 #define HAVE__FABSF 1
42955 _ACEOF
42958 done
42967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
42968 $as_echo_n "checking for fmodf declaration... " >&6; }
42969 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
42970 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
42971 $as_echo_n "(cached) " >&6
42972 else
42975 ac_ext=cpp
42976 ac_cpp='$CXXCPP $CPPFLAGS'
42977 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42978 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42979 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42982 /* end confdefs.h. */
42983 #include <math.h>
42985 main ()
42987 fmodf(0, 0);
42989 return 0;
42991 _ACEOF
42992 if ac_fn_cxx_try_compile "$LINENO"; then :
42993 glibcxx_cv_func_fmodf_use=yes
42994 else
42995 glibcxx_cv_func_fmodf_use=no
42997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42998 ac_ext=c
42999 ac_cpp='$CPP $CPPFLAGS'
43000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43009 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43011 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43012 for ac_func in fmodf
43013 do :
43014 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43015 if test "x$ac_cv_func_fmodf" = x""yes; then :
43016 cat >>confdefs.h <<_ACEOF
43017 #define HAVE_FMODF 1
43018 _ACEOF
43021 done
43023 else
43025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43026 $as_echo_n "checking for _fmodf declaration... " >&6; }
43027 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43028 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
43029 $as_echo_n "(cached) " >&6
43030 else
43033 ac_ext=cpp
43034 ac_cpp='$CXXCPP $CPPFLAGS'
43035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43040 /* end confdefs.h. */
43041 #include <math.h>
43043 main ()
43045 _fmodf(0, 0);
43047 return 0;
43049 _ACEOF
43050 if ac_fn_cxx_try_compile "$LINENO"; then :
43051 glibcxx_cv_func__fmodf_use=yes
43052 else
43053 glibcxx_cv_func__fmodf_use=no
43055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43056 ac_ext=c
43057 ac_cpp='$CPP $CPPFLAGS'
43058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43067 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43069 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43070 for ac_func in _fmodf
43071 do :
43072 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43073 if test "x$ac_cv_func__fmodf" = x""yes; then :
43074 cat >>confdefs.h <<_ACEOF
43075 #define HAVE__FMODF 1
43076 _ACEOF
43079 done
43088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43089 $as_echo_n "checking for frexpf declaration... " >&6; }
43090 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43091 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
43092 $as_echo_n "(cached) " >&6
43093 else
43096 ac_ext=cpp
43097 ac_cpp='$CXXCPP $CPPFLAGS'
43098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43103 /* end confdefs.h. */
43104 #include <math.h>
43106 main ()
43108 frexpf(0, 0);
43110 return 0;
43112 _ACEOF
43113 if ac_fn_cxx_try_compile "$LINENO"; then :
43114 glibcxx_cv_func_frexpf_use=yes
43115 else
43116 glibcxx_cv_func_frexpf_use=no
43118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43119 ac_ext=c
43120 ac_cpp='$CPP $CPPFLAGS'
43121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43130 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43132 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43133 for ac_func in frexpf
43134 do :
43135 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43136 if test "x$ac_cv_func_frexpf" = x""yes; then :
43137 cat >>confdefs.h <<_ACEOF
43138 #define HAVE_FREXPF 1
43139 _ACEOF
43142 done
43144 else
43146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43147 $as_echo_n "checking for _frexpf declaration... " >&6; }
43148 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43149 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
43150 $as_echo_n "(cached) " >&6
43151 else
43154 ac_ext=cpp
43155 ac_cpp='$CXXCPP $CPPFLAGS'
43156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43161 /* end confdefs.h. */
43162 #include <math.h>
43164 main ()
43166 _frexpf(0, 0);
43168 return 0;
43170 _ACEOF
43171 if ac_fn_cxx_try_compile "$LINENO"; then :
43172 glibcxx_cv_func__frexpf_use=yes
43173 else
43174 glibcxx_cv_func__frexpf_use=no
43176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43177 ac_ext=c
43178 ac_cpp='$CPP $CPPFLAGS'
43179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43188 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43190 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43191 for ac_func in _frexpf
43192 do :
43193 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43194 if test "x$ac_cv_func__frexpf" = x""yes; then :
43195 cat >>confdefs.h <<_ACEOF
43196 #define HAVE__FREXPF 1
43197 _ACEOF
43200 done
43209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43210 $as_echo_n "checking for hypotf declaration... " >&6; }
43211 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43212 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
43213 $as_echo_n "(cached) " >&6
43214 else
43217 ac_ext=cpp
43218 ac_cpp='$CXXCPP $CPPFLAGS'
43219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43224 /* end confdefs.h. */
43225 #include <math.h>
43227 main ()
43229 hypotf(0, 0);
43231 return 0;
43233 _ACEOF
43234 if ac_fn_cxx_try_compile "$LINENO"; then :
43235 glibcxx_cv_func_hypotf_use=yes
43236 else
43237 glibcxx_cv_func_hypotf_use=no
43239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43240 ac_ext=c
43241 ac_cpp='$CPP $CPPFLAGS'
43242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43251 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43253 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43254 for ac_func in hypotf
43255 do :
43256 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43257 if test "x$ac_cv_func_hypotf" = x""yes; then :
43258 cat >>confdefs.h <<_ACEOF
43259 #define HAVE_HYPOTF 1
43260 _ACEOF
43263 done
43265 else
43267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43268 $as_echo_n "checking for _hypotf declaration... " >&6; }
43269 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43270 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
43271 $as_echo_n "(cached) " >&6
43272 else
43275 ac_ext=cpp
43276 ac_cpp='$CXXCPP $CPPFLAGS'
43277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43282 /* end confdefs.h. */
43283 #include <math.h>
43285 main ()
43287 _hypotf(0, 0);
43289 return 0;
43291 _ACEOF
43292 if ac_fn_cxx_try_compile "$LINENO"; then :
43293 glibcxx_cv_func__hypotf_use=yes
43294 else
43295 glibcxx_cv_func__hypotf_use=no
43297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43298 ac_ext=c
43299 ac_cpp='$CPP $CPPFLAGS'
43300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43309 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43311 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43312 for ac_func in _hypotf
43313 do :
43314 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43315 if test "x$ac_cv_func__hypotf" = x""yes; then :
43316 cat >>confdefs.h <<_ACEOF
43317 #define HAVE__HYPOTF 1
43318 _ACEOF
43321 done
43330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43331 $as_echo_n "checking for ldexpf declaration... " >&6; }
43332 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43333 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
43334 $as_echo_n "(cached) " >&6
43335 else
43338 ac_ext=cpp
43339 ac_cpp='$CXXCPP $CPPFLAGS'
43340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43345 /* end confdefs.h. */
43346 #include <math.h>
43348 main ()
43350 ldexpf(0, 0);
43352 return 0;
43354 _ACEOF
43355 if ac_fn_cxx_try_compile "$LINENO"; then :
43356 glibcxx_cv_func_ldexpf_use=yes
43357 else
43358 glibcxx_cv_func_ldexpf_use=no
43360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43361 ac_ext=c
43362 ac_cpp='$CPP $CPPFLAGS'
43363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43372 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43374 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43375 for ac_func in ldexpf
43376 do :
43377 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43378 if test "x$ac_cv_func_ldexpf" = x""yes; then :
43379 cat >>confdefs.h <<_ACEOF
43380 #define HAVE_LDEXPF 1
43381 _ACEOF
43384 done
43386 else
43388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43389 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43390 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43391 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
43392 $as_echo_n "(cached) " >&6
43393 else
43396 ac_ext=cpp
43397 ac_cpp='$CXXCPP $CPPFLAGS'
43398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43403 /* end confdefs.h. */
43404 #include <math.h>
43406 main ()
43408 _ldexpf(0, 0);
43410 return 0;
43412 _ACEOF
43413 if ac_fn_cxx_try_compile "$LINENO"; then :
43414 glibcxx_cv_func__ldexpf_use=yes
43415 else
43416 glibcxx_cv_func__ldexpf_use=no
43418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43419 ac_ext=c
43420 ac_cpp='$CPP $CPPFLAGS'
43421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43430 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43432 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43433 for ac_func in _ldexpf
43434 do :
43435 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43436 if test "x$ac_cv_func__ldexpf" = x""yes; then :
43437 cat >>confdefs.h <<_ACEOF
43438 #define HAVE__LDEXPF 1
43439 _ACEOF
43442 done
43451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43452 $as_echo_n "checking for logf declaration... " >&6; }
43453 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43454 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
43455 $as_echo_n "(cached) " >&6
43456 else
43459 ac_ext=cpp
43460 ac_cpp='$CXXCPP $CPPFLAGS'
43461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43466 /* end confdefs.h. */
43467 #include <math.h>
43468 #ifdef HAVE_IEEEFP_H
43469 #include <ieeefp.h>
43470 #endif
43473 main ()
43475 logf(0);
43477 return 0;
43479 _ACEOF
43480 if ac_fn_cxx_try_compile "$LINENO"; then :
43481 glibcxx_cv_func_logf_use=yes
43482 else
43483 glibcxx_cv_func_logf_use=no
43485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43486 ac_ext=c
43487 ac_cpp='$CPP $CPPFLAGS'
43488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43497 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43499 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43500 for ac_func in logf
43501 do :
43502 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43503 if test "x$ac_cv_func_logf" = x""yes; then :
43504 cat >>confdefs.h <<_ACEOF
43505 #define HAVE_LOGF 1
43506 _ACEOF
43509 done
43511 else
43513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43514 $as_echo_n "checking for _logf declaration... " >&6; }
43515 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43516 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
43517 $as_echo_n "(cached) " >&6
43518 else
43521 ac_ext=cpp
43522 ac_cpp='$CXXCPP $CPPFLAGS'
43523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43528 /* end confdefs.h. */
43529 #include <math.h>
43530 #ifdef HAVE_IEEEFP_H
43531 #include <ieeefp.h>
43532 #endif
43535 main ()
43537 _logf(0);
43539 return 0;
43541 _ACEOF
43542 if ac_fn_cxx_try_compile "$LINENO"; then :
43543 glibcxx_cv_func__logf_use=yes
43544 else
43545 glibcxx_cv_func__logf_use=no
43547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43548 ac_ext=c
43549 ac_cpp='$CPP $CPPFLAGS'
43550 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43551 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43552 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43559 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43561 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43562 for ac_func in _logf
43563 do :
43564 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43565 if test "x$ac_cv_func__logf" = x""yes; then :
43566 cat >>confdefs.h <<_ACEOF
43567 #define HAVE__LOGF 1
43568 _ACEOF
43571 done
43580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43581 $as_echo_n "checking for log10f declaration... " >&6; }
43582 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43583 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
43584 $as_echo_n "(cached) " >&6
43585 else
43588 ac_ext=cpp
43589 ac_cpp='$CXXCPP $CPPFLAGS'
43590 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43591 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43592 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43595 /* end confdefs.h. */
43596 #include <math.h>
43597 #ifdef HAVE_IEEEFP_H
43598 #include <ieeefp.h>
43599 #endif
43602 main ()
43604 log10f(0);
43606 return 0;
43608 _ACEOF
43609 if ac_fn_cxx_try_compile "$LINENO"; then :
43610 glibcxx_cv_func_log10f_use=yes
43611 else
43612 glibcxx_cv_func_log10f_use=no
43614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43615 ac_ext=c
43616 ac_cpp='$CPP $CPPFLAGS'
43617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43626 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43628 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43629 for ac_func in log10f
43630 do :
43631 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43632 if test "x$ac_cv_func_log10f" = x""yes; then :
43633 cat >>confdefs.h <<_ACEOF
43634 #define HAVE_LOG10F 1
43635 _ACEOF
43638 done
43640 else
43642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43643 $as_echo_n "checking for _log10f declaration... " >&6; }
43644 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43645 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
43646 $as_echo_n "(cached) " >&6
43647 else
43650 ac_ext=cpp
43651 ac_cpp='$CXXCPP $CPPFLAGS'
43652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43657 /* end confdefs.h. */
43658 #include <math.h>
43659 #ifdef HAVE_IEEEFP_H
43660 #include <ieeefp.h>
43661 #endif
43664 main ()
43666 _log10f(0);
43668 return 0;
43670 _ACEOF
43671 if ac_fn_cxx_try_compile "$LINENO"; then :
43672 glibcxx_cv_func__log10f_use=yes
43673 else
43674 glibcxx_cv_func__log10f_use=no
43676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43677 ac_ext=c
43678 ac_cpp='$CPP $CPPFLAGS'
43679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43688 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43690 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43691 for ac_func in _log10f
43692 do :
43693 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43694 if test "x$ac_cv_func__log10f" = x""yes; then :
43695 cat >>confdefs.h <<_ACEOF
43696 #define HAVE__LOG10F 1
43697 _ACEOF
43700 done
43709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43710 $as_echo_n "checking for modff declaration... " >&6; }
43711 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43712 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
43713 $as_echo_n "(cached) " >&6
43714 else
43717 ac_ext=cpp
43718 ac_cpp='$CXXCPP $CPPFLAGS'
43719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43724 /* end confdefs.h. */
43725 #include <math.h>
43727 main ()
43729 modff(0, 0);
43731 return 0;
43733 _ACEOF
43734 if ac_fn_cxx_try_compile "$LINENO"; then :
43735 glibcxx_cv_func_modff_use=yes
43736 else
43737 glibcxx_cv_func_modff_use=no
43739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43740 ac_ext=c
43741 ac_cpp='$CPP $CPPFLAGS'
43742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43751 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43753 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43754 for ac_func in modff
43755 do :
43756 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43757 if test "x$ac_cv_func_modff" = x""yes; then :
43758 cat >>confdefs.h <<_ACEOF
43759 #define HAVE_MODFF 1
43760 _ACEOF
43763 done
43765 else
43767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43768 $as_echo_n "checking for _modff declaration... " >&6; }
43769 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43770 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
43771 $as_echo_n "(cached) " >&6
43772 else
43775 ac_ext=cpp
43776 ac_cpp='$CXXCPP $CPPFLAGS'
43777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43782 /* end confdefs.h. */
43783 #include <math.h>
43785 main ()
43787 _modff(0, 0);
43789 return 0;
43791 _ACEOF
43792 if ac_fn_cxx_try_compile "$LINENO"; then :
43793 glibcxx_cv_func__modff_use=yes
43794 else
43795 glibcxx_cv_func__modff_use=no
43797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43798 ac_ext=c
43799 ac_cpp='$CPP $CPPFLAGS'
43800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43809 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43811 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43812 for ac_func in _modff
43813 do :
43814 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43815 if test "x$ac_cv_func__modff" = x""yes; then :
43816 cat >>confdefs.h <<_ACEOF
43817 #define HAVE__MODFF 1
43818 _ACEOF
43821 done
43830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43831 $as_echo_n "checking for modf declaration... " >&6; }
43832 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43833 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
43834 $as_echo_n "(cached) " >&6
43835 else
43838 ac_ext=cpp
43839 ac_cpp='$CXXCPP $CPPFLAGS'
43840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43845 /* end confdefs.h. */
43846 #include <math.h>
43848 main ()
43850 modf(0, 0);
43852 return 0;
43854 _ACEOF
43855 if ac_fn_cxx_try_compile "$LINENO"; then :
43856 glibcxx_cv_func_modf_use=yes
43857 else
43858 glibcxx_cv_func_modf_use=no
43860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43861 ac_ext=c
43862 ac_cpp='$CPP $CPPFLAGS'
43863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
43872 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
43874 if test x$glibcxx_cv_func_modf_use = x"yes"; then
43875 for ac_func in modf
43876 do :
43877 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
43878 if test "x$ac_cv_func_modf" = x""yes; then :
43879 cat >>confdefs.h <<_ACEOF
43880 #define HAVE_MODF 1
43881 _ACEOF
43884 done
43886 else
43888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
43889 $as_echo_n "checking for _modf declaration... " >&6; }
43890 if test x${glibcxx_cv_func__modf_use+set} != xset; then
43891 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
43892 $as_echo_n "(cached) " >&6
43893 else
43896 ac_ext=cpp
43897 ac_cpp='$CXXCPP $CPPFLAGS'
43898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43903 /* end confdefs.h. */
43904 #include <math.h>
43906 main ()
43908 _modf(0, 0);
43910 return 0;
43912 _ACEOF
43913 if ac_fn_cxx_try_compile "$LINENO"; then :
43914 glibcxx_cv_func__modf_use=yes
43915 else
43916 glibcxx_cv_func__modf_use=no
43918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43919 ac_ext=c
43920 ac_cpp='$CPP $CPPFLAGS'
43921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
43930 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
43932 if test x$glibcxx_cv_func__modf_use = x"yes"; then
43933 for ac_func in _modf
43934 do :
43935 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
43936 if test "x$ac_cv_func__modf" = x""yes; then :
43937 cat >>confdefs.h <<_ACEOF
43938 #define HAVE__MODF 1
43939 _ACEOF
43942 done
43951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
43952 $as_echo_n "checking for powf declaration... " >&6; }
43953 if test x${glibcxx_cv_func_powf_use+set} != xset; then
43954 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
43955 $as_echo_n "(cached) " >&6
43956 else
43959 ac_ext=cpp
43960 ac_cpp='$CXXCPP $CPPFLAGS'
43961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43966 /* end confdefs.h. */
43967 #include <math.h>
43969 main ()
43971 powf(0, 0);
43973 return 0;
43975 _ACEOF
43976 if ac_fn_cxx_try_compile "$LINENO"; then :
43977 glibcxx_cv_func_powf_use=yes
43978 else
43979 glibcxx_cv_func_powf_use=no
43981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43982 ac_ext=c
43983 ac_cpp='$CPP $CPPFLAGS'
43984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
43993 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
43995 if test x$glibcxx_cv_func_powf_use = x"yes"; then
43996 for ac_func in powf
43997 do :
43998 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
43999 if test "x$ac_cv_func_powf" = x""yes; then :
44000 cat >>confdefs.h <<_ACEOF
44001 #define HAVE_POWF 1
44002 _ACEOF
44005 done
44007 else
44009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44010 $as_echo_n "checking for _powf declaration... " >&6; }
44011 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44012 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
44013 $as_echo_n "(cached) " >&6
44014 else
44017 ac_ext=cpp
44018 ac_cpp='$CXXCPP $CPPFLAGS'
44019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44024 /* end confdefs.h. */
44025 #include <math.h>
44027 main ()
44029 _powf(0, 0);
44031 return 0;
44033 _ACEOF
44034 if ac_fn_cxx_try_compile "$LINENO"; then :
44035 glibcxx_cv_func__powf_use=yes
44036 else
44037 glibcxx_cv_func__powf_use=no
44039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44040 ac_ext=c
44041 ac_cpp='$CPP $CPPFLAGS'
44042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44051 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44053 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44054 for ac_func in _powf
44055 do :
44056 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44057 if test "x$ac_cv_func__powf" = x""yes; then :
44058 cat >>confdefs.h <<_ACEOF
44059 #define HAVE__POWF 1
44060 _ACEOF
44063 done
44072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44073 $as_echo_n "checking for sqrtf declaration... " >&6; }
44074 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44075 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
44076 $as_echo_n "(cached) " >&6
44077 else
44080 ac_ext=cpp
44081 ac_cpp='$CXXCPP $CPPFLAGS'
44082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44087 /* end confdefs.h. */
44088 #include <math.h>
44089 #ifdef HAVE_IEEEFP_H
44090 #include <ieeefp.h>
44091 #endif
44094 main ()
44096 sqrtf(0);
44098 return 0;
44100 _ACEOF
44101 if ac_fn_cxx_try_compile "$LINENO"; then :
44102 glibcxx_cv_func_sqrtf_use=yes
44103 else
44104 glibcxx_cv_func_sqrtf_use=no
44106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44107 ac_ext=c
44108 ac_cpp='$CPP $CPPFLAGS'
44109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44118 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44120 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44121 for ac_func in sqrtf
44122 do :
44123 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44124 if test "x$ac_cv_func_sqrtf" = x""yes; then :
44125 cat >>confdefs.h <<_ACEOF
44126 #define HAVE_SQRTF 1
44127 _ACEOF
44130 done
44132 else
44134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44135 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44136 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44137 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
44138 $as_echo_n "(cached) " >&6
44139 else
44142 ac_ext=cpp
44143 ac_cpp='$CXXCPP $CPPFLAGS'
44144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44149 /* end confdefs.h. */
44150 #include <math.h>
44151 #ifdef HAVE_IEEEFP_H
44152 #include <ieeefp.h>
44153 #endif
44156 main ()
44158 _sqrtf(0);
44160 return 0;
44162 _ACEOF
44163 if ac_fn_cxx_try_compile "$LINENO"; then :
44164 glibcxx_cv_func__sqrtf_use=yes
44165 else
44166 glibcxx_cv_func__sqrtf_use=no
44168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44169 ac_ext=c
44170 ac_cpp='$CPP $CPPFLAGS'
44171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44180 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44182 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44183 for ac_func in _sqrtf
44184 do :
44185 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44186 if test "x$ac_cv_func__sqrtf" = x""yes; then :
44187 cat >>confdefs.h <<_ACEOF
44188 #define HAVE__SQRTF 1
44189 _ACEOF
44192 done
44201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44202 $as_echo_n "checking for sincosf declaration... " >&6; }
44203 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44204 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
44205 $as_echo_n "(cached) " >&6
44206 else
44209 ac_ext=cpp
44210 ac_cpp='$CXXCPP $CPPFLAGS'
44211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44216 /* end confdefs.h. */
44217 #include <math.h>
44219 main ()
44221 sincosf(0, 0, 0);
44223 return 0;
44225 _ACEOF
44226 if ac_fn_cxx_try_compile "$LINENO"; then :
44227 glibcxx_cv_func_sincosf_use=yes
44228 else
44229 glibcxx_cv_func_sincosf_use=no
44231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44232 ac_ext=c
44233 ac_cpp='$CPP $CPPFLAGS'
44234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44243 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44245 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44246 for ac_func in sincosf
44247 do :
44248 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44249 if test "x$ac_cv_func_sincosf" = x""yes; then :
44250 cat >>confdefs.h <<_ACEOF
44251 #define HAVE_SINCOSF 1
44252 _ACEOF
44255 done
44257 else
44259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44260 $as_echo_n "checking for _sincosf declaration... " >&6; }
44261 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44262 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
44263 $as_echo_n "(cached) " >&6
44264 else
44267 ac_ext=cpp
44268 ac_cpp='$CXXCPP $CPPFLAGS'
44269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44274 /* end confdefs.h. */
44275 #include <math.h>
44277 main ()
44279 _sincosf(0, 0, 0);
44281 return 0;
44283 _ACEOF
44284 if ac_fn_cxx_try_compile "$LINENO"; then :
44285 glibcxx_cv_func__sincosf_use=yes
44286 else
44287 glibcxx_cv_func__sincosf_use=no
44289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44290 ac_ext=c
44291 ac_cpp='$CPP $CPPFLAGS'
44292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44301 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44303 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44304 for ac_func in _sincosf
44305 do :
44306 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44307 if test "x$ac_cv_func__sincosf" = x""yes; then :
44308 cat >>confdefs.h <<_ACEOF
44309 #define HAVE__SINCOSF 1
44310 _ACEOF
44313 done
44322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44323 $as_echo_n "checking for finitef declaration... " >&6; }
44324 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44325 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
44326 $as_echo_n "(cached) " >&6
44327 else
44330 ac_ext=cpp
44331 ac_cpp='$CXXCPP $CPPFLAGS'
44332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44337 /* end confdefs.h. */
44338 #include <math.h>
44339 #ifdef HAVE_IEEEFP_H
44340 #include <ieeefp.h>
44341 #endif
44344 main ()
44346 finitef(0);
44348 return 0;
44350 _ACEOF
44351 if ac_fn_cxx_try_compile "$LINENO"; then :
44352 glibcxx_cv_func_finitef_use=yes
44353 else
44354 glibcxx_cv_func_finitef_use=no
44356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44357 ac_ext=c
44358 ac_cpp='$CPP $CPPFLAGS'
44359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44368 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44370 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44371 for ac_func in finitef
44372 do :
44373 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44374 if test "x$ac_cv_func_finitef" = x""yes; then :
44375 cat >>confdefs.h <<_ACEOF
44376 #define HAVE_FINITEF 1
44377 _ACEOF
44380 done
44382 else
44384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44385 $as_echo_n "checking for _finitef declaration... " >&6; }
44386 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44387 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
44388 $as_echo_n "(cached) " >&6
44389 else
44392 ac_ext=cpp
44393 ac_cpp='$CXXCPP $CPPFLAGS'
44394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44399 /* end confdefs.h. */
44400 #include <math.h>
44401 #ifdef HAVE_IEEEFP_H
44402 #include <ieeefp.h>
44403 #endif
44406 main ()
44408 _finitef(0);
44410 return 0;
44412 _ACEOF
44413 if ac_fn_cxx_try_compile "$LINENO"; then :
44414 glibcxx_cv_func__finitef_use=yes
44415 else
44416 glibcxx_cv_func__finitef_use=no
44418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44419 ac_ext=c
44420 ac_cpp='$CPP $CPPFLAGS'
44421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44430 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44432 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44433 for ac_func in _finitef
44434 do :
44435 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44436 if test "x$ac_cv_func__finitef" = x""yes; then :
44437 cat >>confdefs.h <<_ACEOF
44438 #define HAVE__FINITEF 1
44439 _ACEOF
44442 done
44451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44452 $as_echo_n "checking for long double trig functions... " >&6; }
44453 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
44454 $as_echo_n "(cached) " >&6
44455 else
44458 ac_ext=cpp
44459 ac_cpp='$CXXCPP $CPPFLAGS'
44460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44465 /* end confdefs.h. */
44466 #include <math.h>
44468 main ()
44470 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44472 return 0;
44474 _ACEOF
44475 if ac_fn_cxx_try_compile "$LINENO"; then :
44476 glibcxx_cv_func_long_double_trig_use=yes
44477 else
44478 glibcxx_cv_func_long_double_trig_use=no
44480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44481 ac_ext=c
44482 ac_cpp='$CPP $CPPFLAGS'
44483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44490 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44491 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44492 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44493 do :
44494 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44495 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44496 eval as_val=\$$as_ac_var
44497 if test "x$as_val" = x""yes; then :
44498 cat >>confdefs.h <<_ACEOF
44499 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44500 _ACEOF
44503 done
44505 else
44506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44507 $as_echo_n "checking for _long double trig functions... " >&6; }
44508 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
44509 $as_echo_n "(cached) " >&6
44510 else
44513 ac_ext=cpp
44514 ac_cpp='$CXXCPP $CPPFLAGS'
44515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44520 /* end confdefs.h. */
44521 #include <math.h>
44523 main ()
44525 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44527 return 0;
44529 _ACEOF
44530 if ac_fn_cxx_try_compile "$LINENO"; then :
44531 glibcxx_cv_func__long_double_trig_use=yes
44532 else
44533 glibcxx_cv_func__long_double_trig_use=no
44535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44536 ac_ext=c
44537 ac_cpp='$CPP $CPPFLAGS'
44538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44545 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44546 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44547 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44548 do :
44549 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44550 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44551 eval as_val=\$$as_ac_var
44552 if test "x$as_val" = x""yes; then :
44553 cat >>confdefs.h <<_ACEOF
44554 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44555 _ACEOF
44558 done
44567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44568 $as_echo_n "checking for long double round functions... " >&6; }
44569 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
44570 $as_echo_n "(cached) " >&6
44571 else
44574 ac_ext=cpp
44575 ac_cpp='$CXXCPP $CPPFLAGS'
44576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44581 /* end confdefs.h. */
44582 #include <math.h>
44584 main ()
44586 ceill (0); floorl (0);
44588 return 0;
44590 _ACEOF
44591 if ac_fn_cxx_try_compile "$LINENO"; then :
44592 glibcxx_cv_func_long_double_round_use=yes
44593 else
44594 glibcxx_cv_func_long_double_round_use=no
44596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44597 ac_ext=c
44598 ac_cpp='$CPP $CPPFLAGS'
44599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44606 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44607 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44608 for ac_func in ceill floorl
44609 do :
44610 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44611 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44612 eval as_val=\$$as_ac_var
44613 if test "x$as_val" = x""yes; then :
44614 cat >>confdefs.h <<_ACEOF
44615 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44616 _ACEOF
44619 done
44621 else
44622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44623 $as_echo_n "checking for _long double round functions... " >&6; }
44624 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
44625 $as_echo_n "(cached) " >&6
44626 else
44629 ac_ext=cpp
44630 ac_cpp='$CXXCPP $CPPFLAGS'
44631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44636 /* end confdefs.h. */
44637 #include <math.h>
44639 main ()
44641 _ceill (0); _floorl (0);
44643 return 0;
44645 _ACEOF
44646 if ac_fn_cxx_try_compile "$LINENO"; then :
44647 glibcxx_cv_func__long_double_round_use=yes
44648 else
44649 glibcxx_cv_func__long_double_round_use=no
44651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44652 ac_ext=c
44653 ac_cpp='$CPP $CPPFLAGS'
44654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44661 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44662 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44663 for ac_func in _ceill _floorl
44664 do :
44665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44667 eval as_val=\$$as_ac_var
44668 if test "x$as_val" = x""yes; then :
44669 cat >>confdefs.h <<_ACEOF
44670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44671 _ACEOF
44674 done
44684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44685 $as_echo_n "checking for isnanl declaration... " >&6; }
44686 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44687 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
44688 $as_echo_n "(cached) " >&6
44689 else
44692 ac_ext=cpp
44693 ac_cpp='$CXXCPP $CPPFLAGS'
44694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44699 /* end confdefs.h. */
44700 #include <math.h>
44701 #ifdef HAVE_IEEEFP_H
44702 #include <ieeefp.h>
44703 #endif
44706 main ()
44708 isnanl(0);
44710 return 0;
44712 _ACEOF
44713 if ac_fn_cxx_try_compile "$LINENO"; then :
44714 glibcxx_cv_func_isnanl_use=yes
44715 else
44716 glibcxx_cv_func_isnanl_use=no
44718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44719 ac_ext=c
44720 ac_cpp='$CPP $CPPFLAGS'
44721 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44722 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44723 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44730 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44732 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44733 for ac_func in isnanl
44734 do :
44735 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44736 if test "x$ac_cv_func_isnanl" = x""yes; then :
44737 cat >>confdefs.h <<_ACEOF
44738 #define HAVE_ISNANL 1
44739 _ACEOF
44742 done
44744 else
44746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44747 $as_echo_n "checking for _isnanl declaration... " >&6; }
44748 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44749 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
44750 $as_echo_n "(cached) " >&6
44751 else
44754 ac_ext=cpp
44755 ac_cpp='$CXXCPP $CPPFLAGS'
44756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44761 /* end confdefs.h. */
44762 #include <math.h>
44763 #ifdef HAVE_IEEEFP_H
44764 #include <ieeefp.h>
44765 #endif
44768 main ()
44770 _isnanl(0);
44772 return 0;
44774 _ACEOF
44775 if ac_fn_cxx_try_compile "$LINENO"; then :
44776 glibcxx_cv_func__isnanl_use=yes
44777 else
44778 glibcxx_cv_func__isnanl_use=no
44780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44781 ac_ext=c
44782 ac_cpp='$CPP $CPPFLAGS'
44783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44792 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44794 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44795 for ac_func in _isnanl
44796 do :
44797 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44798 if test "x$ac_cv_func__isnanl" = x""yes; then :
44799 cat >>confdefs.h <<_ACEOF
44800 #define HAVE__ISNANL 1
44801 _ACEOF
44804 done
44813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44814 $as_echo_n "checking for isinfl declaration... " >&6; }
44815 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44816 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
44817 $as_echo_n "(cached) " >&6
44818 else
44821 ac_ext=cpp
44822 ac_cpp='$CXXCPP $CPPFLAGS'
44823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44828 /* end confdefs.h. */
44829 #include <math.h>
44830 #ifdef HAVE_IEEEFP_H
44831 #include <ieeefp.h>
44832 #endif
44835 main ()
44837 isinfl(0);
44839 return 0;
44841 _ACEOF
44842 if ac_fn_cxx_try_compile "$LINENO"; then :
44843 glibcxx_cv_func_isinfl_use=yes
44844 else
44845 glibcxx_cv_func_isinfl_use=no
44847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44848 ac_ext=c
44849 ac_cpp='$CPP $CPPFLAGS'
44850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
44859 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
44861 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
44862 for ac_func in isinfl
44863 do :
44864 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
44865 if test "x$ac_cv_func_isinfl" = x""yes; then :
44866 cat >>confdefs.h <<_ACEOF
44867 #define HAVE_ISINFL 1
44868 _ACEOF
44871 done
44873 else
44875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
44876 $as_echo_n "checking for _isinfl declaration... " >&6; }
44877 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
44878 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
44879 $as_echo_n "(cached) " >&6
44880 else
44883 ac_ext=cpp
44884 ac_cpp='$CXXCPP $CPPFLAGS'
44885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44890 /* end confdefs.h. */
44891 #include <math.h>
44892 #ifdef HAVE_IEEEFP_H
44893 #include <ieeefp.h>
44894 #endif
44897 main ()
44899 _isinfl(0);
44901 return 0;
44903 _ACEOF
44904 if ac_fn_cxx_try_compile "$LINENO"; then :
44905 glibcxx_cv_func__isinfl_use=yes
44906 else
44907 glibcxx_cv_func__isinfl_use=no
44909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44910 ac_ext=c
44911 ac_cpp='$CPP $CPPFLAGS'
44912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
44921 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
44923 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
44924 for ac_func in _isinfl
44925 do :
44926 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
44927 if test "x$ac_cv_func__isinfl" = x""yes; then :
44928 cat >>confdefs.h <<_ACEOF
44929 #define HAVE__ISINFL 1
44930 _ACEOF
44933 done
44942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
44943 $as_echo_n "checking for atan2l declaration... " >&6; }
44944 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
44945 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
44946 $as_echo_n "(cached) " >&6
44947 else
44950 ac_ext=cpp
44951 ac_cpp='$CXXCPP $CPPFLAGS'
44952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44957 /* end confdefs.h. */
44958 #include <math.h>
44960 main ()
44962 atan2l(0, 0);
44964 return 0;
44966 _ACEOF
44967 if ac_fn_cxx_try_compile "$LINENO"; then :
44968 glibcxx_cv_func_atan2l_use=yes
44969 else
44970 glibcxx_cv_func_atan2l_use=no
44972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44973 ac_ext=c
44974 ac_cpp='$CPP $CPPFLAGS'
44975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
44984 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
44986 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
44987 for ac_func in atan2l
44988 do :
44989 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
44990 if test "x$ac_cv_func_atan2l" = x""yes; then :
44991 cat >>confdefs.h <<_ACEOF
44992 #define HAVE_ATAN2L 1
44993 _ACEOF
44996 done
44998 else
45000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45001 $as_echo_n "checking for _atan2l declaration... " >&6; }
45002 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45003 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
45004 $as_echo_n "(cached) " >&6
45005 else
45008 ac_ext=cpp
45009 ac_cpp='$CXXCPP $CPPFLAGS'
45010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45015 /* end confdefs.h. */
45016 #include <math.h>
45018 main ()
45020 _atan2l(0, 0);
45022 return 0;
45024 _ACEOF
45025 if ac_fn_cxx_try_compile "$LINENO"; then :
45026 glibcxx_cv_func__atan2l_use=yes
45027 else
45028 glibcxx_cv_func__atan2l_use=no
45030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45031 ac_ext=c
45032 ac_cpp='$CPP $CPPFLAGS'
45033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45042 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45044 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45045 for ac_func in _atan2l
45046 do :
45047 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45048 if test "x$ac_cv_func__atan2l" = x""yes; then :
45049 cat >>confdefs.h <<_ACEOF
45050 #define HAVE__ATAN2L 1
45051 _ACEOF
45054 done
45063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45064 $as_echo_n "checking for expl declaration... " >&6; }
45065 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45066 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
45067 $as_echo_n "(cached) " >&6
45068 else
45071 ac_ext=cpp
45072 ac_cpp='$CXXCPP $CPPFLAGS'
45073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45078 /* end confdefs.h. */
45079 #include <math.h>
45080 #ifdef HAVE_IEEEFP_H
45081 #include <ieeefp.h>
45082 #endif
45085 main ()
45087 expl(0);
45089 return 0;
45091 _ACEOF
45092 if ac_fn_cxx_try_compile "$LINENO"; then :
45093 glibcxx_cv_func_expl_use=yes
45094 else
45095 glibcxx_cv_func_expl_use=no
45097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45098 ac_ext=c
45099 ac_cpp='$CPP $CPPFLAGS'
45100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45109 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45111 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45112 for ac_func in expl
45113 do :
45114 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45115 if test "x$ac_cv_func_expl" = x""yes; then :
45116 cat >>confdefs.h <<_ACEOF
45117 #define HAVE_EXPL 1
45118 _ACEOF
45121 done
45123 else
45125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45126 $as_echo_n "checking for _expl declaration... " >&6; }
45127 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45128 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
45129 $as_echo_n "(cached) " >&6
45130 else
45133 ac_ext=cpp
45134 ac_cpp='$CXXCPP $CPPFLAGS'
45135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45140 /* end confdefs.h. */
45141 #include <math.h>
45142 #ifdef HAVE_IEEEFP_H
45143 #include <ieeefp.h>
45144 #endif
45147 main ()
45149 _expl(0);
45151 return 0;
45153 _ACEOF
45154 if ac_fn_cxx_try_compile "$LINENO"; then :
45155 glibcxx_cv_func__expl_use=yes
45156 else
45157 glibcxx_cv_func__expl_use=no
45159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45160 ac_ext=c
45161 ac_cpp='$CPP $CPPFLAGS'
45162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45171 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45173 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45174 for ac_func in _expl
45175 do :
45176 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45177 if test "x$ac_cv_func__expl" = x""yes; then :
45178 cat >>confdefs.h <<_ACEOF
45179 #define HAVE__EXPL 1
45180 _ACEOF
45183 done
45192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45193 $as_echo_n "checking for fabsl declaration... " >&6; }
45194 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45195 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
45196 $as_echo_n "(cached) " >&6
45197 else
45200 ac_ext=cpp
45201 ac_cpp='$CXXCPP $CPPFLAGS'
45202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45207 /* end confdefs.h. */
45208 #include <math.h>
45209 #ifdef HAVE_IEEEFP_H
45210 #include <ieeefp.h>
45211 #endif
45214 main ()
45216 fabsl(0);
45218 return 0;
45220 _ACEOF
45221 if ac_fn_cxx_try_compile "$LINENO"; then :
45222 glibcxx_cv_func_fabsl_use=yes
45223 else
45224 glibcxx_cv_func_fabsl_use=no
45226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45227 ac_ext=c
45228 ac_cpp='$CPP $CPPFLAGS'
45229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45238 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45240 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45241 for ac_func in fabsl
45242 do :
45243 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45244 if test "x$ac_cv_func_fabsl" = x""yes; then :
45245 cat >>confdefs.h <<_ACEOF
45246 #define HAVE_FABSL 1
45247 _ACEOF
45250 done
45252 else
45254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45255 $as_echo_n "checking for _fabsl declaration... " >&6; }
45256 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45257 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
45258 $as_echo_n "(cached) " >&6
45259 else
45262 ac_ext=cpp
45263 ac_cpp='$CXXCPP $CPPFLAGS'
45264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45269 /* end confdefs.h. */
45270 #include <math.h>
45271 #ifdef HAVE_IEEEFP_H
45272 #include <ieeefp.h>
45273 #endif
45276 main ()
45278 _fabsl(0);
45280 return 0;
45282 _ACEOF
45283 if ac_fn_cxx_try_compile "$LINENO"; then :
45284 glibcxx_cv_func__fabsl_use=yes
45285 else
45286 glibcxx_cv_func__fabsl_use=no
45288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45289 ac_ext=c
45290 ac_cpp='$CPP $CPPFLAGS'
45291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45300 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45302 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45303 for ac_func in _fabsl
45304 do :
45305 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45306 if test "x$ac_cv_func__fabsl" = x""yes; then :
45307 cat >>confdefs.h <<_ACEOF
45308 #define HAVE__FABSL 1
45309 _ACEOF
45312 done
45321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45322 $as_echo_n "checking for fmodl declaration... " >&6; }
45323 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45324 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
45325 $as_echo_n "(cached) " >&6
45326 else
45329 ac_ext=cpp
45330 ac_cpp='$CXXCPP $CPPFLAGS'
45331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45336 /* end confdefs.h. */
45337 #include <math.h>
45339 main ()
45341 fmodl(0, 0);
45343 return 0;
45345 _ACEOF
45346 if ac_fn_cxx_try_compile "$LINENO"; then :
45347 glibcxx_cv_func_fmodl_use=yes
45348 else
45349 glibcxx_cv_func_fmodl_use=no
45351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45352 ac_ext=c
45353 ac_cpp='$CPP $CPPFLAGS'
45354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45363 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45365 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45366 for ac_func in fmodl
45367 do :
45368 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45369 if test "x$ac_cv_func_fmodl" = x""yes; then :
45370 cat >>confdefs.h <<_ACEOF
45371 #define HAVE_FMODL 1
45372 _ACEOF
45375 done
45377 else
45379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45380 $as_echo_n "checking for _fmodl declaration... " >&6; }
45381 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45382 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
45383 $as_echo_n "(cached) " >&6
45384 else
45387 ac_ext=cpp
45388 ac_cpp='$CXXCPP $CPPFLAGS'
45389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45394 /* end confdefs.h. */
45395 #include <math.h>
45397 main ()
45399 _fmodl(0, 0);
45401 return 0;
45403 _ACEOF
45404 if ac_fn_cxx_try_compile "$LINENO"; then :
45405 glibcxx_cv_func__fmodl_use=yes
45406 else
45407 glibcxx_cv_func__fmodl_use=no
45409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45410 ac_ext=c
45411 ac_cpp='$CPP $CPPFLAGS'
45412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45421 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45423 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45424 for ac_func in _fmodl
45425 do :
45426 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45427 if test "x$ac_cv_func__fmodl" = x""yes; then :
45428 cat >>confdefs.h <<_ACEOF
45429 #define HAVE__FMODL 1
45430 _ACEOF
45433 done
45442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45443 $as_echo_n "checking for frexpl declaration... " >&6; }
45444 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45445 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
45446 $as_echo_n "(cached) " >&6
45447 else
45450 ac_ext=cpp
45451 ac_cpp='$CXXCPP $CPPFLAGS'
45452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45457 /* end confdefs.h. */
45458 #include <math.h>
45460 main ()
45462 frexpl(0, 0);
45464 return 0;
45466 _ACEOF
45467 if ac_fn_cxx_try_compile "$LINENO"; then :
45468 glibcxx_cv_func_frexpl_use=yes
45469 else
45470 glibcxx_cv_func_frexpl_use=no
45472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45473 ac_ext=c
45474 ac_cpp='$CPP $CPPFLAGS'
45475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45484 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45486 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45487 for ac_func in frexpl
45488 do :
45489 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45490 if test "x$ac_cv_func_frexpl" = x""yes; then :
45491 cat >>confdefs.h <<_ACEOF
45492 #define HAVE_FREXPL 1
45493 _ACEOF
45496 done
45498 else
45500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45501 $as_echo_n "checking for _frexpl declaration... " >&6; }
45502 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45503 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
45504 $as_echo_n "(cached) " >&6
45505 else
45508 ac_ext=cpp
45509 ac_cpp='$CXXCPP $CPPFLAGS'
45510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45515 /* end confdefs.h. */
45516 #include <math.h>
45518 main ()
45520 _frexpl(0, 0);
45522 return 0;
45524 _ACEOF
45525 if ac_fn_cxx_try_compile "$LINENO"; then :
45526 glibcxx_cv_func__frexpl_use=yes
45527 else
45528 glibcxx_cv_func__frexpl_use=no
45530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45531 ac_ext=c
45532 ac_cpp='$CPP $CPPFLAGS'
45533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45542 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45544 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45545 for ac_func in _frexpl
45546 do :
45547 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45548 if test "x$ac_cv_func__frexpl" = x""yes; then :
45549 cat >>confdefs.h <<_ACEOF
45550 #define HAVE__FREXPL 1
45551 _ACEOF
45554 done
45563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45564 $as_echo_n "checking for hypotl declaration... " >&6; }
45565 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45566 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
45567 $as_echo_n "(cached) " >&6
45568 else
45571 ac_ext=cpp
45572 ac_cpp='$CXXCPP $CPPFLAGS'
45573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45578 /* end confdefs.h. */
45579 #include <math.h>
45581 main ()
45583 hypotl(0, 0);
45585 return 0;
45587 _ACEOF
45588 if ac_fn_cxx_try_compile "$LINENO"; then :
45589 glibcxx_cv_func_hypotl_use=yes
45590 else
45591 glibcxx_cv_func_hypotl_use=no
45593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45594 ac_ext=c
45595 ac_cpp='$CPP $CPPFLAGS'
45596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45605 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45607 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45608 for ac_func in hypotl
45609 do :
45610 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45611 if test "x$ac_cv_func_hypotl" = x""yes; then :
45612 cat >>confdefs.h <<_ACEOF
45613 #define HAVE_HYPOTL 1
45614 _ACEOF
45617 done
45619 else
45621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45622 $as_echo_n "checking for _hypotl declaration... " >&6; }
45623 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45624 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
45625 $as_echo_n "(cached) " >&6
45626 else
45629 ac_ext=cpp
45630 ac_cpp='$CXXCPP $CPPFLAGS'
45631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45636 /* end confdefs.h. */
45637 #include <math.h>
45639 main ()
45641 _hypotl(0, 0);
45643 return 0;
45645 _ACEOF
45646 if ac_fn_cxx_try_compile "$LINENO"; then :
45647 glibcxx_cv_func__hypotl_use=yes
45648 else
45649 glibcxx_cv_func__hypotl_use=no
45651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45652 ac_ext=c
45653 ac_cpp='$CPP $CPPFLAGS'
45654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45663 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45665 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45666 for ac_func in _hypotl
45667 do :
45668 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45669 if test "x$ac_cv_func__hypotl" = x""yes; then :
45670 cat >>confdefs.h <<_ACEOF
45671 #define HAVE__HYPOTL 1
45672 _ACEOF
45675 done
45684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45685 $as_echo_n "checking for ldexpl declaration... " >&6; }
45686 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45687 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
45688 $as_echo_n "(cached) " >&6
45689 else
45692 ac_ext=cpp
45693 ac_cpp='$CXXCPP $CPPFLAGS'
45694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45699 /* end confdefs.h. */
45700 #include <math.h>
45702 main ()
45704 ldexpl(0, 0);
45706 return 0;
45708 _ACEOF
45709 if ac_fn_cxx_try_compile "$LINENO"; then :
45710 glibcxx_cv_func_ldexpl_use=yes
45711 else
45712 glibcxx_cv_func_ldexpl_use=no
45714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45715 ac_ext=c
45716 ac_cpp='$CPP $CPPFLAGS'
45717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45726 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45728 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45729 for ac_func in ldexpl
45730 do :
45731 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45732 if test "x$ac_cv_func_ldexpl" = x""yes; then :
45733 cat >>confdefs.h <<_ACEOF
45734 #define HAVE_LDEXPL 1
45735 _ACEOF
45738 done
45740 else
45742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45743 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45744 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45745 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
45746 $as_echo_n "(cached) " >&6
45747 else
45750 ac_ext=cpp
45751 ac_cpp='$CXXCPP $CPPFLAGS'
45752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45757 /* end confdefs.h. */
45758 #include <math.h>
45760 main ()
45762 _ldexpl(0, 0);
45764 return 0;
45766 _ACEOF
45767 if ac_fn_cxx_try_compile "$LINENO"; then :
45768 glibcxx_cv_func__ldexpl_use=yes
45769 else
45770 glibcxx_cv_func__ldexpl_use=no
45772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45773 ac_ext=c
45774 ac_cpp='$CPP $CPPFLAGS'
45775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45784 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45786 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45787 for ac_func in _ldexpl
45788 do :
45789 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45790 if test "x$ac_cv_func__ldexpl" = x""yes; then :
45791 cat >>confdefs.h <<_ACEOF
45792 #define HAVE__LDEXPL 1
45793 _ACEOF
45796 done
45805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45806 $as_echo_n "checking for logl declaration... " >&6; }
45807 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45808 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
45809 $as_echo_n "(cached) " >&6
45810 else
45813 ac_ext=cpp
45814 ac_cpp='$CXXCPP $CPPFLAGS'
45815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45820 /* end confdefs.h. */
45821 #include <math.h>
45822 #ifdef HAVE_IEEEFP_H
45823 #include <ieeefp.h>
45824 #endif
45827 main ()
45829 logl(0);
45831 return 0;
45833 _ACEOF
45834 if ac_fn_cxx_try_compile "$LINENO"; then :
45835 glibcxx_cv_func_logl_use=yes
45836 else
45837 glibcxx_cv_func_logl_use=no
45839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45840 ac_ext=c
45841 ac_cpp='$CPP $CPPFLAGS'
45842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
45851 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
45853 if test x$glibcxx_cv_func_logl_use = x"yes"; then
45854 for ac_func in logl
45855 do :
45856 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
45857 if test "x$ac_cv_func_logl" = x""yes; then :
45858 cat >>confdefs.h <<_ACEOF
45859 #define HAVE_LOGL 1
45860 _ACEOF
45863 done
45865 else
45867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
45868 $as_echo_n "checking for _logl declaration... " >&6; }
45869 if test x${glibcxx_cv_func__logl_use+set} != xset; then
45870 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
45871 $as_echo_n "(cached) " >&6
45872 else
45875 ac_ext=cpp
45876 ac_cpp='$CXXCPP $CPPFLAGS'
45877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45882 /* end confdefs.h. */
45883 #include <math.h>
45884 #ifdef HAVE_IEEEFP_H
45885 #include <ieeefp.h>
45886 #endif
45889 main ()
45891 _logl(0);
45893 return 0;
45895 _ACEOF
45896 if ac_fn_cxx_try_compile "$LINENO"; then :
45897 glibcxx_cv_func__logl_use=yes
45898 else
45899 glibcxx_cv_func__logl_use=no
45901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45902 ac_ext=c
45903 ac_cpp='$CPP $CPPFLAGS'
45904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
45913 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
45915 if test x$glibcxx_cv_func__logl_use = x"yes"; then
45916 for ac_func in _logl
45917 do :
45918 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
45919 if test "x$ac_cv_func__logl" = x""yes; then :
45920 cat >>confdefs.h <<_ACEOF
45921 #define HAVE__LOGL 1
45922 _ACEOF
45925 done
45934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
45935 $as_echo_n "checking for log10l declaration... " >&6; }
45936 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
45937 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
45938 $as_echo_n "(cached) " >&6
45939 else
45942 ac_ext=cpp
45943 ac_cpp='$CXXCPP $CPPFLAGS'
45944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45949 /* end confdefs.h. */
45950 #include <math.h>
45951 #ifdef HAVE_IEEEFP_H
45952 #include <ieeefp.h>
45953 #endif
45956 main ()
45958 log10l(0);
45960 return 0;
45962 _ACEOF
45963 if ac_fn_cxx_try_compile "$LINENO"; then :
45964 glibcxx_cv_func_log10l_use=yes
45965 else
45966 glibcxx_cv_func_log10l_use=no
45968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45969 ac_ext=c
45970 ac_cpp='$CPP $CPPFLAGS'
45971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
45980 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
45982 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
45983 for ac_func in log10l
45984 do :
45985 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
45986 if test "x$ac_cv_func_log10l" = x""yes; then :
45987 cat >>confdefs.h <<_ACEOF
45988 #define HAVE_LOG10L 1
45989 _ACEOF
45992 done
45994 else
45996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
45997 $as_echo_n "checking for _log10l declaration... " >&6; }
45998 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
45999 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
46000 $as_echo_n "(cached) " >&6
46001 else
46004 ac_ext=cpp
46005 ac_cpp='$CXXCPP $CPPFLAGS'
46006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46011 /* end confdefs.h. */
46012 #include <math.h>
46013 #ifdef HAVE_IEEEFP_H
46014 #include <ieeefp.h>
46015 #endif
46018 main ()
46020 _log10l(0);
46022 return 0;
46024 _ACEOF
46025 if ac_fn_cxx_try_compile "$LINENO"; then :
46026 glibcxx_cv_func__log10l_use=yes
46027 else
46028 glibcxx_cv_func__log10l_use=no
46030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46031 ac_ext=c
46032 ac_cpp='$CPP $CPPFLAGS'
46033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46042 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46044 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46045 for ac_func in _log10l
46046 do :
46047 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46048 if test "x$ac_cv_func__log10l" = x""yes; then :
46049 cat >>confdefs.h <<_ACEOF
46050 #define HAVE__LOG10L 1
46051 _ACEOF
46054 done
46063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46064 $as_echo_n "checking for modfl declaration... " >&6; }
46065 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46066 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
46067 $as_echo_n "(cached) " >&6
46068 else
46071 ac_ext=cpp
46072 ac_cpp='$CXXCPP $CPPFLAGS'
46073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46078 /* end confdefs.h. */
46079 #include <math.h>
46081 main ()
46083 modfl(0, 0);
46085 return 0;
46087 _ACEOF
46088 if ac_fn_cxx_try_compile "$LINENO"; then :
46089 glibcxx_cv_func_modfl_use=yes
46090 else
46091 glibcxx_cv_func_modfl_use=no
46093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46094 ac_ext=c
46095 ac_cpp='$CPP $CPPFLAGS'
46096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46105 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46107 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46108 for ac_func in modfl
46109 do :
46110 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46111 if test "x$ac_cv_func_modfl" = x""yes; then :
46112 cat >>confdefs.h <<_ACEOF
46113 #define HAVE_MODFL 1
46114 _ACEOF
46117 done
46119 else
46121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46122 $as_echo_n "checking for _modfl declaration... " >&6; }
46123 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46124 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
46125 $as_echo_n "(cached) " >&6
46126 else
46129 ac_ext=cpp
46130 ac_cpp='$CXXCPP $CPPFLAGS'
46131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46136 /* end confdefs.h. */
46137 #include <math.h>
46139 main ()
46141 _modfl(0, 0);
46143 return 0;
46145 _ACEOF
46146 if ac_fn_cxx_try_compile "$LINENO"; then :
46147 glibcxx_cv_func__modfl_use=yes
46148 else
46149 glibcxx_cv_func__modfl_use=no
46151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46152 ac_ext=c
46153 ac_cpp='$CPP $CPPFLAGS'
46154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46163 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46165 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46166 for ac_func in _modfl
46167 do :
46168 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46169 if test "x$ac_cv_func__modfl" = x""yes; then :
46170 cat >>confdefs.h <<_ACEOF
46171 #define HAVE__MODFL 1
46172 _ACEOF
46175 done
46184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46185 $as_echo_n "checking for powl declaration... " >&6; }
46186 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46187 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
46188 $as_echo_n "(cached) " >&6
46189 else
46192 ac_ext=cpp
46193 ac_cpp='$CXXCPP $CPPFLAGS'
46194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46199 /* end confdefs.h. */
46200 #include <math.h>
46202 main ()
46204 powl(0, 0);
46206 return 0;
46208 _ACEOF
46209 if ac_fn_cxx_try_compile "$LINENO"; then :
46210 glibcxx_cv_func_powl_use=yes
46211 else
46212 glibcxx_cv_func_powl_use=no
46214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46215 ac_ext=c
46216 ac_cpp='$CPP $CPPFLAGS'
46217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46226 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46228 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46229 for ac_func in powl
46230 do :
46231 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46232 if test "x$ac_cv_func_powl" = x""yes; then :
46233 cat >>confdefs.h <<_ACEOF
46234 #define HAVE_POWL 1
46235 _ACEOF
46238 done
46240 else
46242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46243 $as_echo_n "checking for _powl declaration... " >&6; }
46244 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46245 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
46246 $as_echo_n "(cached) " >&6
46247 else
46250 ac_ext=cpp
46251 ac_cpp='$CXXCPP $CPPFLAGS'
46252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46257 /* end confdefs.h. */
46258 #include <math.h>
46260 main ()
46262 _powl(0, 0);
46264 return 0;
46266 _ACEOF
46267 if ac_fn_cxx_try_compile "$LINENO"; then :
46268 glibcxx_cv_func__powl_use=yes
46269 else
46270 glibcxx_cv_func__powl_use=no
46272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46273 ac_ext=c
46274 ac_cpp='$CPP $CPPFLAGS'
46275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46284 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46286 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46287 for ac_func in _powl
46288 do :
46289 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46290 if test "x$ac_cv_func__powl" = x""yes; then :
46291 cat >>confdefs.h <<_ACEOF
46292 #define HAVE__POWL 1
46293 _ACEOF
46296 done
46305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46306 $as_echo_n "checking for sqrtl declaration... " >&6; }
46307 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46308 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
46309 $as_echo_n "(cached) " >&6
46310 else
46313 ac_ext=cpp
46314 ac_cpp='$CXXCPP $CPPFLAGS'
46315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46320 /* end confdefs.h. */
46321 #include <math.h>
46322 #ifdef HAVE_IEEEFP_H
46323 #include <ieeefp.h>
46324 #endif
46327 main ()
46329 sqrtl(0);
46331 return 0;
46333 _ACEOF
46334 if ac_fn_cxx_try_compile "$LINENO"; then :
46335 glibcxx_cv_func_sqrtl_use=yes
46336 else
46337 glibcxx_cv_func_sqrtl_use=no
46339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46340 ac_ext=c
46341 ac_cpp='$CPP $CPPFLAGS'
46342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46351 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46353 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46354 for ac_func in sqrtl
46355 do :
46356 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46357 if test "x$ac_cv_func_sqrtl" = x""yes; then :
46358 cat >>confdefs.h <<_ACEOF
46359 #define HAVE_SQRTL 1
46360 _ACEOF
46363 done
46365 else
46367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46368 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46369 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46370 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
46371 $as_echo_n "(cached) " >&6
46372 else
46375 ac_ext=cpp
46376 ac_cpp='$CXXCPP $CPPFLAGS'
46377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46382 /* end confdefs.h. */
46383 #include <math.h>
46384 #ifdef HAVE_IEEEFP_H
46385 #include <ieeefp.h>
46386 #endif
46389 main ()
46391 _sqrtl(0);
46393 return 0;
46395 _ACEOF
46396 if ac_fn_cxx_try_compile "$LINENO"; then :
46397 glibcxx_cv_func__sqrtl_use=yes
46398 else
46399 glibcxx_cv_func__sqrtl_use=no
46401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46402 ac_ext=c
46403 ac_cpp='$CPP $CPPFLAGS'
46404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46413 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46415 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46416 for ac_func in _sqrtl
46417 do :
46418 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46419 if test "x$ac_cv_func__sqrtl" = x""yes; then :
46420 cat >>confdefs.h <<_ACEOF
46421 #define HAVE__SQRTL 1
46422 _ACEOF
46425 done
46434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46435 $as_echo_n "checking for sincosl declaration... " >&6; }
46436 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46437 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
46438 $as_echo_n "(cached) " >&6
46439 else
46442 ac_ext=cpp
46443 ac_cpp='$CXXCPP $CPPFLAGS'
46444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46449 /* end confdefs.h. */
46450 #include <math.h>
46452 main ()
46454 sincosl(0, 0, 0);
46456 return 0;
46458 _ACEOF
46459 if ac_fn_cxx_try_compile "$LINENO"; then :
46460 glibcxx_cv_func_sincosl_use=yes
46461 else
46462 glibcxx_cv_func_sincosl_use=no
46464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46465 ac_ext=c
46466 ac_cpp='$CPP $CPPFLAGS'
46467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46476 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46478 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46479 for ac_func in sincosl
46480 do :
46481 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46482 if test "x$ac_cv_func_sincosl" = x""yes; then :
46483 cat >>confdefs.h <<_ACEOF
46484 #define HAVE_SINCOSL 1
46485 _ACEOF
46488 done
46490 else
46492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46493 $as_echo_n "checking for _sincosl declaration... " >&6; }
46494 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46495 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
46496 $as_echo_n "(cached) " >&6
46497 else
46500 ac_ext=cpp
46501 ac_cpp='$CXXCPP $CPPFLAGS'
46502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46507 /* end confdefs.h. */
46508 #include <math.h>
46510 main ()
46512 _sincosl(0, 0, 0);
46514 return 0;
46516 _ACEOF
46517 if ac_fn_cxx_try_compile "$LINENO"; then :
46518 glibcxx_cv_func__sincosl_use=yes
46519 else
46520 glibcxx_cv_func__sincosl_use=no
46522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46523 ac_ext=c
46524 ac_cpp='$CPP $CPPFLAGS'
46525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46534 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46536 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46537 for ac_func in _sincosl
46538 do :
46539 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46540 if test "x$ac_cv_func__sincosl" = x""yes; then :
46541 cat >>confdefs.h <<_ACEOF
46542 #define HAVE__SINCOSL 1
46543 _ACEOF
46546 done
46555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46556 $as_echo_n "checking for finitel declaration... " >&6; }
46557 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46558 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
46559 $as_echo_n "(cached) " >&6
46560 else
46563 ac_ext=cpp
46564 ac_cpp='$CXXCPP $CPPFLAGS'
46565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46570 /* end confdefs.h. */
46571 #include <math.h>
46572 #ifdef HAVE_IEEEFP_H
46573 #include <ieeefp.h>
46574 #endif
46577 main ()
46579 finitel(0);
46581 return 0;
46583 _ACEOF
46584 if ac_fn_cxx_try_compile "$LINENO"; then :
46585 glibcxx_cv_func_finitel_use=yes
46586 else
46587 glibcxx_cv_func_finitel_use=no
46589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46590 ac_ext=c
46591 ac_cpp='$CPP $CPPFLAGS'
46592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46601 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46603 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46604 for ac_func in finitel
46605 do :
46606 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46607 if test "x$ac_cv_func_finitel" = x""yes; then :
46608 cat >>confdefs.h <<_ACEOF
46609 #define HAVE_FINITEL 1
46610 _ACEOF
46613 done
46615 else
46617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46618 $as_echo_n "checking for _finitel declaration... " >&6; }
46619 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46620 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
46621 $as_echo_n "(cached) " >&6
46622 else
46625 ac_ext=cpp
46626 ac_cpp='$CXXCPP $CPPFLAGS'
46627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46632 /* end confdefs.h. */
46633 #include <math.h>
46634 #ifdef HAVE_IEEEFP_H
46635 #include <ieeefp.h>
46636 #endif
46639 main ()
46641 _finitel(0);
46643 return 0;
46645 _ACEOF
46646 if ac_fn_cxx_try_compile "$LINENO"; then :
46647 glibcxx_cv_func__finitel_use=yes
46648 else
46649 glibcxx_cv_func__finitel_use=no
46651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46652 ac_ext=c
46653 ac_cpp='$CPP $CPPFLAGS'
46654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46663 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46665 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46666 for ac_func in _finitel
46667 do :
46668 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46669 if test "x$ac_cv_func__finitel" = x""yes; then :
46670 cat >>confdefs.h <<_ACEOF
46671 #define HAVE__FINITEL 1
46672 _ACEOF
46675 done
46683 LIBS="$ac_save_LIBS"
46684 CXXFLAGS="$ac_save_CXXFLAGS"
46687 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46688 ac_save_CXXFLAGS="$CXXFLAGS"
46689 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46693 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46694 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46695 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
46696 $as_echo_n "(cached) " >&6
46697 else
46700 ac_ext=cpp
46701 ac_cpp='$CXXCPP $CPPFLAGS'
46702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46707 /* end confdefs.h. */
46708 #include <stdlib.h>
46710 main ()
46712 at_quick_exit(0);
46714 return 0;
46716 _ACEOF
46717 if ac_fn_cxx_try_compile "$LINENO"; then :
46718 glibcxx_cv_func_at_quick_exit_use=yes
46719 else
46720 glibcxx_cv_func_at_quick_exit_use=no
46722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46723 ac_ext=c
46724 ac_cpp='$CPP $CPPFLAGS'
46725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46734 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46735 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46736 for ac_func in at_quick_exit
46737 do :
46738 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46739 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
46740 cat >>confdefs.h <<_ACEOF
46741 #define HAVE_AT_QUICK_EXIT 1
46742 _ACEOF
46745 done
46750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46751 $as_echo_n "checking for quick_exit declaration... " >&6; }
46752 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46753 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
46754 $as_echo_n "(cached) " >&6
46755 else
46758 ac_ext=cpp
46759 ac_cpp='$CXXCPP $CPPFLAGS'
46760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46765 /* end confdefs.h. */
46766 #include <stdlib.h>
46768 main ()
46770 quick_exit(0);
46772 return 0;
46774 _ACEOF
46775 if ac_fn_cxx_try_compile "$LINENO"; then :
46776 glibcxx_cv_func_quick_exit_use=yes
46777 else
46778 glibcxx_cv_func_quick_exit_use=no
46780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46781 ac_ext=c
46782 ac_cpp='$CPP $CPPFLAGS'
46783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46792 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46793 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46794 for ac_func in quick_exit
46795 do :
46796 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46797 if test "x$ac_cv_func_quick_exit" = x""yes; then :
46798 cat >>confdefs.h <<_ACEOF
46799 #define HAVE_QUICK_EXIT 1
46800 _ACEOF
46803 done
46808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46809 $as_echo_n "checking for strtold declaration... " >&6; }
46810 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46811 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
46812 $as_echo_n "(cached) " >&6
46813 else
46816 ac_ext=cpp
46817 ac_cpp='$CXXCPP $CPPFLAGS'
46818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46823 /* end confdefs.h. */
46824 #include <stdlib.h>
46826 main ()
46828 strtold(0, 0);
46830 return 0;
46832 _ACEOF
46833 if ac_fn_cxx_try_compile "$LINENO"; then :
46834 glibcxx_cv_func_strtold_use=yes
46835 else
46836 glibcxx_cv_func_strtold_use=no
46838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46839 ac_ext=c
46840 ac_cpp='$CPP $CPPFLAGS'
46841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
46850 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
46851 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
46852 for ac_func in strtold
46853 do :
46854 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
46855 if test "x$ac_cv_func_strtold" = x""yes; then :
46856 cat >>confdefs.h <<_ACEOF
46857 #define HAVE_STRTOLD 1
46858 _ACEOF
46861 done
46868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
46869 $as_echo_n "checking for strtof declaration... " >&6; }
46870 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
46871 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
46872 $as_echo_n "(cached) " >&6
46873 else
46876 ac_ext=cpp
46877 ac_cpp='$CXXCPP $CPPFLAGS'
46878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46883 /* end confdefs.h. */
46884 #include <stdlib.h>
46886 main ()
46888 strtof(0, 0);
46890 return 0;
46892 _ACEOF
46893 if ac_fn_cxx_try_compile "$LINENO"; then :
46894 glibcxx_cv_func_strtof_use=yes
46895 else
46896 glibcxx_cv_func_strtof_use=no
46898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46899 ac_ext=c
46900 ac_cpp='$CPP $CPPFLAGS'
46901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
46910 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
46911 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
46912 for ac_func in strtof
46913 do :
46914 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
46915 if test "x$ac_cv_func_strtof" = x""yes; then :
46916 cat >>confdefs.h <<_ACEOF
46917 #define HAVE_STRTOF 1
46918 _ACEOF
46921 done
46928 CXXFLAGS="$ac_save_CXXFLAGS"
46930 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
46932 # We don't yet support AIX's TLS ABI.
46933 #GCC_CHECK_TLS
46939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
46940 $as_echo_n "checking for iconv... " >&6; }
46941 if test "${am_cv_func_iconv+set}" = set; then :
46942 $as_echo_n "(cached) " >&6
46943 else
46945 am_cv_func_iconv="no, consider installing GNU libiconv"
46946 am_cv_lib_iconv=no
46947 am_save_CPPFLAGS="$CPPFLAGS"
46948 CPPFLAGS="$CPPFLAGS $INCICONV"
46949 if test x$gcc_no_link = xyes; then
46950 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46953 /* end confdefs.h. */
46954 #include <stdlib.h>
46955 #include <iconv.h>
46957 main ()
46959 iconv_t cd = iconv_open("","");
46960 iconv(cd,NULL,NULL,NULL,NULL);
46961 iconv_close(cd);
46963 return 0;
46965 _ACEOF
46966 if ac_fn_c_try_link "$LINENO"; then :
46967 am_cv_func_iconv=yes
46969 rm -f core conftest.err conftest.$ac_objext \
46970 conftest$ac_exeext conftest.$ac_ext
46971 CPPFLAGS="$am_save_CPPFLAGS"
46973 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
46974 for _libs in .libs _libs; do
46975 am_save_CPPFLAGS="$CPPFLAGS"
46976 am_save_LIBS="$LIBS"
46977 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
46978 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
46979 if test x$gcc_no_link = xyes; then
46980 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
46982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46983 /* end confdefs.h. */
46984 #include <stdlib.h>
46985 #include <iconv.h>
46987 main ()
46989 iconv_t cd = iconv_open("","");
46990 iconv(cd,NULL,NULL,NULL,NULL);
46991 iconv_close(cd);
46993 return 0;
46995 _ACEOF
46996 if ac_fn_c_try_link "$LINENO"; then :
46997 INCICONV="-I../libiconv/include"
46998 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
46999 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47000 am_cv_lib_iconv=yes
47001 am_cv_func_iconv=yes
47003 rm -f core conftest.err conftest.$ac_objext \
47004 conftest$ac_exeext conftest.$ac_ext
47005 CPPFLAGS="$am_save_CPPFLAGS"
47006 LIBS="$am_save_LIBS"
47007 if test "$am_cv_func_iconv" = "yes"; then
47008 break
47010 done
47013 if test "$am_cv_func_iconv" != yes; then
47014 am_save_CPPFLAGS="$CPPFLAGS"
47015 am_save_LIBS="$LIBS"
47016 CPPFLAGS="$LIBS $INCICONV"
47017 LIBS="$LIBS $LIBICONV"
47018 if test x$gcc_no_link = xyes; then
47019 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47022 /* end confdefs.h. */
47023 #include <stdlib.h>
47024 #include <iconv.h>
47026 main ()
47028 iconv_t cd = iconv_open("","");
47029 iconv(cd,NULL,NULL,NULL,NULL);
47030 iconv_close(cd);
47032 return 0;
47034 _ACEOF
47035 if ac_fn_c_try_link "$LINENO"; then :
47036 am_cv_lib_iconv=yes
47037 am_cv_func_iconv=yes
47039 rm -f core conftest.err conftest.$ac_objext \
47040 conftest$ac_exeext conftest.$ac_ext
47041 CPPFLAGS="$am_save_CPPFLAGS"
47042 LIBS="$am_save_LIBS"
47046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47047 $as_echo "$am_cv_func_iconv" >&6; }
47048 if test "$am_cv_func_iconv" = yes; then
47050 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47053 if test "$am_cv_lib_iconv" = yes; then
47055 for element in $INCICONV; do
47056 haveit=
47057 for x in $CPPFLAGS; do
47059 acl_save_prefix="$prefix"
47060 prefix="$acl_final_prefix"
47061 acl_save_exec_prefix="$exec_prefix"
47062 exec_prefix="$acl_final_exec_prefix"
47063 eval x=\"$x\"
47064 exec_prefix="$acl_save_exec_prefix"
47065 prefix="$acl_save_prefix"
47067 if test "X$x" = "X$element"; then
47068 haveit=yes
47069 break
47071 done
47072 if test -z "$haveit"; then
47073 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47075 done
47077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47078 $as_echo_n "checking how to link with libiconv... " >&6; }
47079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47080 $as_echo "$LIBICONV" >&6; }
47081 else
47082 LIBICONV=
47083 LTLIBICONV=
47088 if test "$am_cv_func_iconv" = yes; then
47089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47090 $as_echo_n "checking for iconv declaration... " >&6; }
47091 if test "${am_cv_proto_iconv+set}" = set; then :
47092 $as_echo_n "(cached) " >&6
47093 else
47095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47096 /* end confdefs.h. */
47098 #include <stdlib.h>
47099 #include <iconv.h>
47100 extern
47101 #ifdef __cplusplus
47103 #endif
47104 #if defined(__STDC__) || defined(__cplusplus)
47105 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47106 #else
47107 size_t iconv();
47108 #endif
47111 main ()
47115 return 0;
47117 _ACEOF
47118 if ac_fn_c_try_compile "$LINENO"; then :
47119 am_cv_proto_iconv_arg1=""
47120 else
47121 am_cv_proto_iconv_arg1="const"
47123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47124 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);"
47127 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47129 }$am_cv_proto_iconv" >&5
47130 $as_echo "${ac_t:-
47131 }$am_cv_proto_iconv" >&6; }
47133 cat >>confdefs.h <<_ACEOF
47134 #define ICONV_CONST $am_cv_proto_iconv_arg1
47135 _ACEOF
47141 *-darwin*)
47142 # Darwin versions vary, but the linker should work in a cross environment,
47143 # so we just check for all the features here.
47144 # Check for available headers.
47146 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47148 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47149 ac_save_CXXFLAGS="$CXXFLAGS"
47150 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47153 $as_echo_n "checking for sin in -lm... " >&6; }
47154 if test "${ac_cv_lib_m_sin+set}" = set; then :
47155 $as_echo_n "(cached) " >&6
47156 else
47157 ac_check_lib_save_LIBS=$LIBS
47158 LIBS="-lm $LIBS"
47159 if test x$gcc_no_link = xyes; then
47160 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47163 /* end confdefs.h. */
47165 /* Override any GCC internal prototype to avoid an error.
47166 Use char because int might match the return type of a GCC
47167 builtin and then its argument prototype would still apply. */
47168 #ifdef __cplusplus
47169 extern "C"
47170 #endif
47171 char sin ();
47173 main ()
47175 return sin ();
47177 return 0;
47179 _ACEOF
47180 if ac_fn_c_try_link "$LINENO"; then :
47181 ac_cv_lib_m_sin=yes
47182 else
47183 ac_cv_lib_m_sin=no
47185 rm -f core conftest.err conftest.$ac_objext \
47186 conftest$ac_exeext conftest.$ac_ext
47187 LIBS=$ac_check_lib_save_LIBS
47189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47190 $as_echo "$ac_cv_lib_m_sin" >&6; }
47191 if test "x$ac_cv_lib_m_sin" = x""yes; then :
47192 libm="-lm"
47195 ac_save_LIBS="$LIBS"
47196 LIBS="$LIBS $libm"
47200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47201 $as_echo_n "checking for isinf declaration... " >&6; }
47202 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47203 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
47204 $as_echo_n "(cached) " >&6
47205 else
47208 ac_ext=cpp
47209 ac_cpp='$CXXCPP $CPPFLAGS'
47210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47215 /* end confdefs.h. */
47216 #include <math.h>
47217 #ifdef HAVE_IEEEFP_H
47218 #include <ieeefp.h>
47219 #endif
47222 main ()
47224 isinf(0);
47226 return 0;
47228 _ACEOF
47229 if ac_fn_cxx_try_compile "$LINENO"; then :
47230 glibcxx_cv_func_isinf_use=yes
47231 else
47232 glibcxx_cv_func_isinf_use=no
47234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47235 ac_ext=c
47236 ac_cpp='$CPP $CPPFLAGS'
47237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47246 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47248 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47249 for ac_func in isinf
47250 do :
47251 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47252 if test "x$ac_cv_func_isinf" = x""yes; then :
47253 cat >>confdefs.h <<_ACEOF
47254 #define HAVE_ISINF 1
47255 _ACEOF
47258 done
47260 else
47262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47263 $as_echo_n "checking for _isinf declaration... " >&6; }
47264 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47265 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
47266 $as_echo_n "(cached) " >&6
47267 else
47270 ac_ext=cpp
47271 ac_cpp='$CXXCPP $CPPFLAGS'
47272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47277 /* end confdefs.h. */
47278 #include <math.h>
47279 #ifdef HAVE_IEEEFP_H
47280 #include <ieeefp.h>
47281 #endif
47284 main ()
47286 _isinf(0);
47288 return 0;
47290 _ACEOF
47291 if ac_fn_cxx_try_compile "$LINENO"; then :
47292 glibcxx_cv_func__isinf_use=yes
47293 else
47294 glibcxx_cv_func__isinf_use=no
47296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47297 ac_ext=c
47298 ac_cpp='$CPP $CPPFLAGS'
47299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47308 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47310 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47311 for ac_func in _isinf
47312 do :
47313 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47314 if test "x$ac_cv_func__isinf" = x""yes; then :
47315 cat >>confdefs.h <<_ACEOF
47316 #define HAVE__ISINF 1
47317 _ACEOF
47320 done
47329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47330 $as_echo_n "checking for isnan declaration... " >&6; }
47331 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47332 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
47333 $as_echo_n "(cached) " >&6
47334 else
47337 ac_ext=cpp
47338 ac_cpp='$CXXCPP $CPPFLAGS'
47339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47344 /* end confdefs.h. */
47345 #include <math.h>
47346 #ifdef HAVE_IEEEFP_H
47347 #include <ieeefp.h>
47348 #endif
47351 main ()
47353 isnan(0);
47355 return 0;
47357 _ACEOF
47358 if ac_fn_cxx_try_compile "$LINENO"; then :
47359 glibcxx_cv_func_isnan_use=yes
47360 else
47361 glibcxx_cv_func_isnan_use=no
47363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47364 ac_ext=c
47365 ac_cpp='$CPP $CPPFLAGS'
47366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47375 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47377 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47378 for ac_func in isnan
47379 do :
47380 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47381 if test "x$ac_cv_func_isnan" = x""yes; then :
47382 cat >>confdefs.h <<_ACEOF
47383 #define HAVE_ISNAN 1
47384 _ACEOF
47387 done
47389 else
47391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47392 $as_echo_n "checking for _isnan declaration... " >&6; }
47393 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47394 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
47395 $as_echo_n "(cached) " >&6
47396 else
47399 ac_ext=cpp
47400 ac_cpp='$CXXCPP $CPPFLAGS'
47401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47406 /* end confdefs.h. */
47407 #include <math.h>
47408 #ifdef HAVE_IEEEFP_H
47409 #include <ieeefp.h>
47410 #endif
47413 main ()
47415 _isnan(0);
47417 return 0;
47419 _ACEOF
47420 if ac_fn_cxx_try_compile "$LINENO"; then :
47421 glibcxx_cv_func__isnan_use=yes
47422 else
47423 glibcxx_cv_func__isnan_use=no
47425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47426 ac_ext=c
47427 ac_cpp='$CPP $CPPFLAGS'
47428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47437 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47439 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47440 for ac_func in _isnan
47441 do :
47442 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47443 if test "x$ac_cv_func__isnan" = x""yes; then :
47444 cat >>confdefs.h <<_ACEOF
47445 #define HAVE__ISNAN 1
47446 _ACEOF
47449 done
47458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47459 $as_echo_n "checking for finite declaration... " >&6; }
47460 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47461 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
47462 $as_echo_n "(cached) " >&6
47463 else
47466 ac_ext=cpp
47467 ac_cpp='$CXXCPP $CPPFLAGS'
47468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47473 /* end confdefs.h. */
47474 #include <math.h>
47475 #ifdef HAVE_IEEEFP_H
47476 #include <ieeefp.h>
47477 #endif
47480 main ()
47482 finite(0);
47484 return 0;
47486 _ACEOF
47487 if ac_fn_cxx_try_compile "$LINENO"; then :
47488 glibcxx_cv_func_finite_use=yes
47489 else
47490 glibcxx_cv_func_finite_use=no
47492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47493 ac_ext=c
47494 ac_cpp='$CPP $CPPFLAGS'
47495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47504 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47506 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47507 for ac_func in finite
47508 do :
47509 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47510 if test "x$ac_cv_func_finite" = x""yes; then :
47511 cat >>confdefs.h <<_ACEOF
47512 #define HAVE_FINITE 1
47513 _ACEOF
47516 done
47518 else
47520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
47521 $as_echo_n "checking for _finite declaration... " >&6; }
47522 if test x${glibcxx_cv_func__finite_use+set} != xset; then
47523 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
47524 $as_echo_n "(cached) " >&6
47525 else
47528 ac_ext=cpp
47529 ac_cpp='$CXXCPP $CPPFLAGS'
47530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47535 /* end confdefs.h. */
47536 #include <math.h>
47537 #ifdef HAVE_IEEEFP_H
47538 #include <ieeefp.h>
47539 #endif
47542 main ()
47544 _finite(0);
47546 return 0;
47548 _ACEOF
47549 if ac_fn_cxx_try_compile "$LINENO"; then :
47550 glibcxx_cv_func__finite_use=yes
47551 else
47552 glibcxx_cv_func__finite_use=no
47554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47555 ac_ext=c
47556 ac_cpp='$CPP $CPPFLAGS'
47557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
47566 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
47568 if test x$glibcxx_cv_func__finite_use = x"yes"; then
47569 for ac_func in _finite
47570 do :
47571 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
47572 if test "x$ac_cv_func__finite" = x""yes; then :
47573 cat >>confdefs.h <<_ACEOF
47574 #define HAVE__FINITE 1
47575 _ACEOF
47578 done
47587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
47588 $as_echo_n "checking for sincos declaration... " >&6; }
47589 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
47590 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
47591 $as_echo_n "(cached) " >&6
47592 else
47595 ac_ext=cpp
47596 ac_cpp='$CXXCPP $CPPFLAGS'
47597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47602 /* end confdefs.h. */
47603 #include <math.h>
47605 main ()
47607 sincos(0, 0, 0);
47609 return 0;
47611 _ACEOF
47612 if ac_fn_cxx_try_compile "$LINENO"; then :
47613 glibcxx_cv_func_sincos_use=yes
47614 else
47615 glibcxx_cv_func_sincos_use=no
47617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47618 ac_ext=c
47619 ac_cpp='$CPP $CPPFLAGS'
47620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
47629 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
47631 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
47632 for ac_func in sincos
47633 do :
47634 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
47635 if test "x$ac_cv_func_sincos" = x""yes; then :
47636 cat >>confdefs.h <<_ACEOF
47637 #define HAVE_SINCOS 1
47638 _ACEOF
47641 done
47643 else
47645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
47646 $as_echo_n "checking for _sincos declaration... " >&6; }
47647 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
47648 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
47649 $as_echo_n "(cached) " >&6
47650 else
47653 ac_ext=cpp
47654 ac_cpp='$CXXCPP $CPPFLAGS'
47655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47660 /* end confdefs.h. */
47661 #include <math.h>
47663 main ()
47665 _sincos(0, 0, 0);
47667 return 0;
47669 _ACEOF
47670 if ac_fn_cxx_try_compile "$LINENO"; then :
47671 glibcxx_cv_func__sincos_use=yes
47672 else
47673 glibcxx_cv_func__sincos_use=no
47675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47676 ac_ext=c
47677 ac_cpp='$CPP $CPPFLAGS'
47678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
47687 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
47689 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
47690 for ac_func in _sincos
47691 do :
47692 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
47693 if test "x$ac_cv_func__sincos" = x""yes; then :
47694 cat >>confdefs.h <<_ACEOF
47695 #define HAVE__SINCOS 1
47696 _ACEOF
47699 done
47708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
47709 $as_echo_n "checking for fpclass declaration... " >&6; }
47710 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
47711 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
47712 $as_echo_n "(cached) " >&6
47713 else
47716 ac_ext=cpp
47717 ac_cpp='$CXXCPP $CPPFLAGS'
47718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47723 /* end confdefs.h. */
47724 #include <math.h>
47725 #ifdef HAVE_IEEEFP_H
47726 #include <ieeefp.h>
47727 #endif
47730 main ()
47732 fpclass(0);
47734 return 0;
47736 _ACEOF
47737 if ac_fn_cxx_try_compile "$LINENO"; then :
47738 glibcxx_cv_func_fpclass_use=yes
47739 else
47740 glibcxx_cv_func_fpclass_use=no
47742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47743 ac_ext=c
47744 ac_cpp='$CPP $CPPFLAGS'
47745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
47754 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
47756 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
47757 for ac_func in fpclass
47758 do :
47759 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
47760 if test "x$ac_cv_func_fpclass" = x""yes; then :
47761 cat >>confdefs.h <<_ACEOF
47762 #define HAVE_FPCLASS 1
47763 _ACEOF
47766 done
47768 else
47770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
47771 $as_echo_n "checking for _fpclass declaration... " >&6; }
47772 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
47773 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
47774 $as_echo_n "(cached) " >&6
47775 else
47778 ac_ext=cpp
47779 ac_cpp='$CXXCPP $CPPFLAGS'
47780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47785 /* end confdefs.h. */
47786 #include <math.h>
47787 #ifdef HAVE_IEEEFP_H
47788 #include <ieeefp.h>
47789 #endif
47792 main ()
47794 _fpclass(0);
47796 return 0;
47798 _ACEOF
47799 if ac_fn_cxx_try_compile "$LINENO"; then :
47800 glibcxx_cv_func__fpclass_use=yes
47801 else
47802 glibcxx_cv_func__fpclass_use=no
47804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47805 ac_ext=c
47806 ac_cpp='$CPP $CPPFLAGS'
47807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
47816 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
47818 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
47819 for ac_func in _fpclass
47820 do :
47821 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
47822 if test "x$ac_cv_func__fpclass" = x""yes; then :
47823 cat >>confdefs.h <<_ACEOF
47824 #define HAVE__FPCLASS 1
47825 _ACEOF
47828 done
47837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
47838 $as_echo_n "checking for qfpclass declaration... " >&6; }
47839 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
47840 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
47841 $as_echo_n "(cached) " >&6
47842 else
47845 ac_ext=cpp
47846 ac_cpp='$CXXCPP $CPPFLAGS'
47847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47852 /* end confdefs.h. */
47853 #include <math.h>
47854 #ifdef HAVE_IEEEFP_H
47855 #include <ieeefp.h>
47856 #endif
47859 main ()
47861 qfpclass(0);
47863 return 0;
47865 _ACEOF
47866 if ac_fn_cxx_try_compile "$LINENO"; then :
47867 glibcxx_cv_func_qfpclass_use=yes
47868 else
47869 glibcxx_cv_func_qfpclass_use=no
47871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47872 ac_ext=c
47873 ac_cpp='$CPP $CPPFLAGS'
47874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
47883 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
47885 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
47886 for ac_func in qfpclass
47887 do :
47888 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
47889 if test "x$ac_cv_func_qfpclass" = x""yes; then :
47890 cat >>confdefs.h <<_ACEOF
47891 #define HAVE_QFPCLASS 1
47892 _ACEOF
47895 done
47897 else
47899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
47900 $as_echo_n "checking for _qfpclass declaration... " >&6; }
47901 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
47902 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
47903 $as_echo_n "(cached) " >&6
47904 else
47907 ac_ext=cpp
47908 ac_cpp='$CXXCPP $CPPFLAGS'
47909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47914 /* end confdefs.h. */
47915 #include <math.h>
47916 #ifdef HAVE_IEEEFP_H
47917 #include <ieeefp.h>
47918 #endif
47921 main ()
47923 _qfpclass(0);
47925 return 0;
47927 _ACEOF
47928 if ac_fn_cxx_try_compile "$LINENO"; then :
47929 glibcxx_cv_func__qfpclass_use=yes
47930 else
47931 glibcxx_cv_func__qfpclass_use=no
47933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47934 ac_ext=c
47935 ac_cpp='$CPP $CPPFLAGS'
47936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
47945 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
47947 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
47948 for ac_func in _qfpclass
47949 do :
47950 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
47951 if test "x$ac_cv_func__qfpclass" = x""yes; then :
47952 cat >>confdefs.h <<_ACEOF
47953 #define HAVE__QFPCLASS 1
47954 _ACEOF
47957 done
47966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
47967 $as_echo_n "checking for hypot declaration... " >&6; }
47968 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
47969 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
47970 $as_echo_n "(cached) " >&6
47971 else
47974 ac_ext=cpp
47975 ac_cpp='$CXXCPP $CPPFLAGS'
47976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47981 /* end confdefs.h. */
47982 #include <math.h>
47984 main ()
47986 hypot(0, 0);
47988 return 0;
47990 _ACEOF
47991 if ac_fn_cxx_try_compile "$LINENO"; then :
47992 glibcxx_cv_func_hypot_use=yes
47993 else
47994 glibcxx_cv_func_hypot_use=no
47996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47997 ac_ext=c
47998 ac_cpp='$CPP $CPPFLAGS'
47999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48008 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48010 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48011 for ac_func in hypot
48012 do :
48013 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48014 if test "x$ac_cv_func_hypot" = x""yes; then :
48015 cat >>confdefs.h <<_ACEOF
48016 #define HAVE_HYPOT 1
48017 _ACEOF
48020 done
48022 else
48024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48025 $as_echo_n "checking for _hypot declaration... " >&6; }
48026 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48027 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
48028 $as_echo_n "(cached) " >&6
48029 else
48032 ac_ext=cpp
48033 ac_cpp='$CXXCPP $CPPFLAGS'
48034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48039 /* end confdefs.h. */
48040 #include <math.h>
48042 main ()
48044 _hypot(0, 0);
48046 return 0;
48048 _ACEOF
48049 if ac_fn_cxx_try_compile "$LINENO"; then :
48050 glibcxx_cv_func__hypot_use=yes
48051 else
48052 glibcxx_cv_func__hypot_use=no
48054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48055 ac_ext=c
48056 ac_cpp='$CPP $CPPFLAGS'
48057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48066 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48068 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48069 for ac_func in _hypot
48070 do :
48071 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48072 if test "x$ac_cv_func__hypot" = x""yes; then :
48073 cat >>confdefs.h <<_ACEOF
48074 #define HAVE__HYPOT 1
48075 _ACEOF
48078 done
48087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48088 $as_echo_n "checking for float trig functions... " >&6; }
48089 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
48090 $as_echo_n "(cached) " >&6
48091 else
48094 ac_ext=cpp
48095 ac_cpp='$CXXCPP $CPPFLAGS'
48096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48101 /* end confdefs.h. */
48102 #include <math.h>
48104 main ()
48106 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48108 return 0;
48110 _ACEOF
48111 if ac_fn_cxx_try_compile "$LINENO"; then :
48112 glibcxx_cv_func_float_trig_use=yes
48113 else
48114 glibcxx_cv_func_float_trig_use=no
48116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48117 ac_ext=c
48118 ac_cpp='$CPP $CPPFLAGS'
48119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48126 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48127 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48128 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48129 do :
48130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48132 eval as_val=\$$as_ac_var
48133 if test "x$as_val" = x""yes; then :
48134 cat >>confdefs.h <<_ACEOF
48135 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48136 _ACEOF
48139 done
48141 else
48142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48143 $as_echo_n "checking for _float trig functions... " >&6; }
48144 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
48145 $as_echo_n "(cached) " >&6
48146 else
48149 ac_ext=cpp
48150 ac_cpp='$CXXCPP $CPPFLAGS'
48151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48156 /* end confdefs.h. */
48157 #include <math.h>
48159 main ()
48161 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48163 return 0;
48165 _ACEOF
48166 if ac_fn_cxx_try_compile "$LINENO"; then :
48167 glibcxx_cv_func__float_trig_use=yes
48168 else
48169 glibcxx_cv_func__float_trig_use=no
48171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48172 ac_ext=c
48173 ac_cpp='$CPP $CPPFLAGS'
48174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48181 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48182 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48183 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48184 do :
48185 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48186 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48187 eval as_val=\$$as_ac_var
48188 if test "x$as_val" = x""yes; then :
48189 cat >>confdefs.h <<_ACEOF
48190 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48191 _ACEOF
48194 done
48203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48204 $as_echo_n "checking for float round functions... " >&6; }
48205 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
48206 $as_echo_n "(cached) " >&6
48207 else
48210 ac_ext=cpp
48211 ac_cpp='$CXXCPP $CPPFLAGS'
48212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48217 /* end confdefs.h. */
48218 #include <math.h>
48220 main ()
48222 ceilf (0); floorf (0);
48224 return 0;
48226 _ACEOF
48227 if ac_fn_cxx_try_compile "$LINENO"; then :
48228 glibcxx_cv_func_float_round_use=yes
48229 else
48230 glibcxx_cv_func_float_round_use=no
48232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48233 ac_ext=c
48234 ac_cpp='$CPP $CPPFLAGS'
48235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48242 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48243 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48244 for ac_func in ceilf floorf
48245 do :
48246 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48247 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48248 eval as_val=\$$as_ac_var
48249 if test "x$as_val" = x""yes; then :
48250 cat >>confdefs.h <<_ACEOF
48251 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48252 _ACEOF
48255 done
48257 else
48258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48259 $as_echo_n "checking for _float round functions... " >&6; }
48260 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
48261 $as_echo_n "(cached) " >&6
48262 else
48265 ac_ext=cpp
48266 ac_cpp='$CXXCPP $CPPFLAGS'
48267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48272 /* end confdefs.h. */
48273 #include <math.h>
48275 main ()
48277 _ceilf (0); _floorf (0);
48279 return 0;
48281 _ACEOF
48282 if ac_fn_cxx_try_compile "$LINENO"; then :
48283 glibcxx_cv_func__float_round_use=yes
48284 else
48285 glibcxx_cv_func__float_round_use=no
48287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48288 ac_ext=c
48289 ac_cpp='$CPP $CPPFLAGS'
48290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48297 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48298 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48299 for ac_func in _ceilf _floorf
48300 do :
48301 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48302 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48303 eval as_val=\$$as_ac_var
48304 if test "x$as_val" = x""yes; then :
48305 cat >>confdefs.h <<_ACEOF
48306 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48307 _ACEOF
48310 done
48320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48321 $as_echo_n "checking for expf declaration... " >&6; }
48322 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48323 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
48324 $as_echo_n "(cached) " >&6
48325 else
48328 ac_ext=cpp
48329 ac_cpp='$CXXCPP $CPPFLAGS'
48330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48335 /* end confdefs.h. */
48336 #include <math.h>
48337 #ifdef HAVE_IEEEFP_H
48338 #include <ieeefp.h>
48339 #endif
48342 main ()
48344 expf(0);
48346 return 0;
48348 _ACEOF
48349 if ac_fn_cxx_try_compile "$LINENO"; then :
48350 glibcxx_cv_func_expf_use=yes
48351 else
48352 glibcxx_cv_func_expf_use=no
48354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48355 ac_ext=c
48356 ac_cpp='$CPP $CPPFLAGS'
48357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48366 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48368 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48369 for ac_func in expf
48370 do :
48371 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48372 if test "x$ac_cv_func_expf" = x""yes; then :
48373 cat >>confdefs.h <<_ACEOF
48374 #define HAVE_EXPF 1
48375 _ACEOF
48378 done
48380 else
48382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48383 $as_echo_n "checking for _expf declaration... " >&6; }
48384 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48385 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
48386 $as_echo_n "(cached) " >&6
48387 else
48390 ac_ext=cpp
48391 ac_cpp='$CXXCPP $CPPFLAGS'
48392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48397 /* end confdefs.h. */
48398 #include <math.h>
48399 #ifdef HAVE_IEEEFP_H
48400 #include <ieeefp.h>
48401 #endif
48404 main ()
48406 _expf(0);
48408 return 0;
48410 _ACEOF
48411 if ac_fn_cxx_try_compile "$LINENO"; then :
48412 glibcxx_cv_func__expf_use=yes
48413 else
48414 glibcxx_cv_func__expf_use=no
48416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48417 ac_ext=c
48418 ac_cpp='$CPP $CPPFLAGS'
48419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48428 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48430 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48431 for ac_func in _expf
48432 do :
48433 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48434 if test "x$ac_cv_func__expf" = x""yes; then :
48435 cat >>confdefs.h <<_ACEOF
48436 #define HAVE__EXPF 1
48437 _ACEOF
48440 done
48449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48450 $as_echo_n "checking for isnanf declaration... " >&6; }
48451 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48452 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
48453 $as_echo_n "(cached) " >&6
48454 else
48457 ac_ext=cpp
48458 ac_cpp='$CXXCPP $CPPFLAGS'
48459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48464 /* end confdefs.h. */
48465 #include <math.h>
48466 #ifdef HAVE_IEEEFP_H
48467 #include <ieeefp.h>
48468 #endif
48471 main ()
48473 isnanf(0);
48475 return 0;
48477 _ACEOF
48478 if ac_fn_cxx_try_compile "$LINENO"; then :
48479 glibcxx_cv_func_isnanf_use=yes
48480 else
48481 glibcxx_cv_func_isnanf_use=no
48483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48484 ac_ext=c
48485 ac_cpp='$CPP $CPPFLAGS'
48486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48495 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48497 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48498 for ac_func in isnanf
48499 do :
48500 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48501 if test "x$ac_cv_func_isnanf" = x""yes; then :
48502 cat >>confdefs.h <<_ACEOF
48503 #define HAVE_ISNANF 1
48504 _ACEOF
48507 done
48509 else
48511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48512 $as_echo_n "checking for _isnanf declaration... " >&6; }
48513 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48514 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
48515 $as_echo_n "(cached) " >&6
48516 else
48519 ac_ext=cpp
48520 ac_cpp='$CXXCPP $CPPFLAGS'
48521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48526 /* end confdefs.h. */
48527 #include <math.h>
48528 #ifdef HAVE_IEEEFP_H
48529 #include <ieeefp.h>
48530 #endif
48533 main ()
48535 _isnanf(0);
48537 return 0;
48539 _ACEOF
48540 if ac_fn_cxx_try_compile "$LINENO"; then :
48541 glibcxx_cv_func__isnanf_use=yes
48542 else
48543 glibcxx_cv_func__isnanf_use=no
48545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48546 ac_ext=c
48547 ac_cpp='$CPP $CPPFLAGS'
48548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
48557 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
48559 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
48560 for ac_func in _isnanf
48561 do :
48562 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
48563 if test "x$ac_cv_func__isnanf" = x""yes; then :
48564 cat >>confdefs.h <<_ACEOF
48565 #define HAVE__ISNANF 1
48566 _ACEOF
48569 done
48578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
48579 $as_echo_n "checking for isinff declaration... " >&6; }
48580 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
48581 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
48582 $as_echo_n "(cached) " >&6
48583 else
48586 ac_ext=cpp
48587 ac_cpp='$CXXCPP $CPPFLAGS'
48588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48593 /* end confdefs.h. */
48594 #include <math.h>
48595 #ifdef HAVE_IEEEFP_H
48596 #include <ieeefp.h>
48597 #endif
48600 main ()
48602 isinff(0);
48604 return 0;
48606 _ACEOF
48607 if ac_fn_cxx_try_compile "$LINENO"; then :
48608 glibcxx_cv_func_isinff_use=yes
48609 else
48610 glibcxx_cv_func_isinff_use=no
48612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48613 ac_ext=c
48614 ac_cpp='$CPP $CPPFLAGS'
48615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
48624 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
48626 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
48627 for ac_func in isinff
48628 do :
48629 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
48630 if test "x$ac_cv_func_isinff" = x""yes; then :
48631 cat >>confdefs.h <<_ACEOF
48632 #define HAVE_ISINFF 1
48633 _ACEOF
48636 done
48638 else
48640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
48641 $as_echo_n "checking for _isinff declaration... " >&6; }
48642 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
48643 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
48644 $as_echo_n "(cached) " >&6
48645 else
48648 ac_ext=cpp
48649 ac_cpp='$CXXCPP $CPPFLAGS'
48650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48655 /* end confdefs.h. */
48656 #include <math.h>
48657 #ifdef HAVE_IEEEFP_H
48658 #include <ieeefp.h>
48659 #endif
48662 main ()
48664 _isinff(0);
48666 return 0;
48668 _ACEOF
48669 if ac_fn_cxx_try_compile "$LINENO"; then :
48670 glibcxx_cv_func__isinff_use=yes
48671 else
48672 glibcxx_cv_func__isinff_use=no
48674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48675 ac_ext=c
48676 ac_cpp='$CPP $CPPFLAGS'
48677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
48686 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
48688 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
48689 for ac_func in _isinff
48690 do :
48691 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
48692 if test "x$ac_cv_func__isinff" = x""yes; then :
48693 cat >>confdefs.h <<_ACEOF
48694 #define HAVE__ISINFF 1
48695 _ACEOF
48698 done
48707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
48708 $as_echo_n "checking for atan2f declaration... " >&6; }
48709 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
48710 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
48711 $as_echo_n "(cached) " >&6
48712 else
48715 ac_ext=cpp
48716 ac_cpp='$CXXCPP $CPPFLAGS'
48717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48722 /* end confdefs.h. */
48723 #include <math.h>
48725 main ()
48727 atan2f(0, 0);
48729 return 0;
48731 _ACEOF
48732 if ac_fn_cxx_try_compile "$LINENO"; then :
48733 glibcxx_cv_func_atan2f_use=yes
48734 else
48735 glibcxx_cv_func_atan2f_use=no
48737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48738 ac_ext=c
48739 ac_cpp='$CPP $CPPFLAGS'
48740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
48749 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
48751 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
48752 for ac_func in atan2f
48753 do :
48754 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
48755 if test "x$ac_cv_func_atan2f" = x""yes; then :
48756 cat >>confdefs.h <<_ACEOF
48757 #define HAVE_ATAN2F 1
48758 _ACEOF
48761 done
48763 else
48765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
48766 $as_echo_n "checking for _atan2f declaration... " >&6; }
48767 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
48768 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
48769 $as_echo_n "(cached) " >&6
48770 else
48773 ac_ext=cpp
48774 ac_cpp='$CXXCPP $CPPFLAGS'
48775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48780 /* end confdefs.h. */
48781 #include <math.h>
48783 main ()
48785 _atan2f(0, 0);
48787 return 0;
48789 _ACEOF
48790 if ac_fn_cxx_try_compile "$LINENO"; then :
48791 glibcxx_cv_func__atan2f_use=yes
48792 else
48793 glibcxx_cv_func__atan2f_use=no
48795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48796 ac_ext=c
48797 ac_cpp='$CPP $CPPFLAGS'
48798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
48807 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
48809 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
48810 for ac_func in _atan2f
48811 do :
48812 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
48813 if test "x$ac_cv_func__atan2f" = x""yes; then :
48814 cat >>confdefs.h <<_ACEOF
48815 #define HAVE__ATAN2F 1
48816 _ACEOF
48819 done
48828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
48829 $as_echo_n "checking for fabsf declaration... " >&6; }
48830 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
48831 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
48832 $as_echo_n "(cached) " >&6
48833 else
48836 ac_ext=cpp
48837 ac_cpp='$CXXCPP $CPPFLAGS'
48838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48843 /* end confdefs.h. */
48844 #include <math.h>
48845 #ifdef HAVE_IEEEFP_H
48846 #include <ieeefp.h>
48847 #endif
48850 main ()
48852 fabsf(0);
48854 return 0;
48856 _ACEOF
48857 if ac_fn_cxx_try_compile "$LINENO"; then :
48858 glibcxx_cv_func_fabsf_use=yes
48859 else
48860 glibcxx_cv_func_fabsf_use=no
48862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48863 ac_ext=c
48864 ac_cpp='$CPP $CPPFLAGS'
48865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
48874 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
48876 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
48877 for ac_func in fabsf
48878 do :
48879 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
48880 if test "x$ac_cv_func_fabsf" = x""yes; then :
48881 cat >>confdefs.h <<_ACEOF
48882 #define HAVE_FABSF 1
48883 _ACEOF
48886 done
48888 else
48890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
48891 $as_echo_n "checking for _fabsf declaration... " >&6; }
48892 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
48893 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
48894 $as_echo_n "(cached) " >&6
48895 else
48898 ac_ext=cpp
48899 ac_cpp='$CXXCPP $CPPFLAGS'
48900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48905 /* end confdefs.h. */
48906 #include <math.h>
48907 #ifdef HAVE_IEEEFP_H
48908 #include <ieeefp.h>
48909 #endif
48912 main ()
48914 _fabsf(0);
48916 return 0;
48918 _ACEOF
48919 if ac_fn_cxx_try_compile "$LINENO"; then :
48920 glibcxx_cv_func__fabsf_use=yes
48921 else
48922 glibcxx_cv_func__fabsf_use=no
48924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48925 ac_ext=c
48926 ac_cpp='$CPP $CPPFLAGS'
48927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
48936 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
48938 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
48939 for ac_func in _fabsf
48940 do :
48941 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
48942 if test "x$ac_cv_func__fabsf" = x""yes; then :
48943 cat >>confdefs.h <<_ACEOF
48944 #define HAVE__FABSF 1
48945 _ACEOF
48948 done
48957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
48958 $as_echo_n "checking for fmodf declaration... " >&6; }
48959 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
48960 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
48961 $as_echo_n "(cached) " >&6
48962 else
48965 ac_ext=cpp
48966 ac_cpp='$CXXCPP $CPPFLAGS'
48967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48972 /* end confdefs.h. */
48973 #include <math.h>
48975 main ()
48977 fmodf(0, 0);
48979 return 0;
48981 _ACEOF
48982 if ac_fn_cxx_try_compile "$LINENO"; then :
48983 glibcxx_cv_func_fmodf_use=yes
48984 else
48985 glibcxx_cv_func_fmodf_use=no
48987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48988 ac_ext=c
48989 ac_cpp='$CPP $CPPFLAGS'
48990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
48999 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49001 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49002 for ac_func in fmodf
49003 do :
49004 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49005 if test "x$ac_cv_func_fmodf" = x""yes; then :
49006 cat >>confdefs.h <<_ACEOF
49007 #define HAVE_FMODF 1
49008 _ACEOF
49011 done
49013 else
49015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49016 $as_echo_n "checking for _fmodf declaration... " >&6; }
49017 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49018 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
49019 $as_echo_n "(cached) " >&6
49020 else
49023 ac_ext=cpp
49024 ac_cpp='$CXXCPP $CPPFLAGS'
49025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49030 /* end confdefs.h. */
49031 #include <math.h>
49033 main ()
49035 _fmodf(0, 0);
49037 return 0;
49039 _ACEOF
49040 if ac_fn_cxx_try_compile "$LINENO"; then :
49041 glibcxx_cv_func__fmodf_use=yes
49042 else
49043 glibcxx_cv_func__fmodf_use=no
49045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49046 ac_ext=c
49047 ac_cpp='$CPP $CPPFLAGS'
49048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49057 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49059 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49060 for ac_func in _fmodf
49061 do :
49062 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49063 if test "x$ac_cv_func__fmodf" = x""yes; then :
49064 cat >>confdefs.h <<_ACEOF
49065 #define HAVE__FMODF 1
49066 _ACEOF
49069 done
49078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49079 $as_echo_n "checking for frexpf declaration... " >&6; }
49080 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49081 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
49082 $as_echo_n "(cached) " >&6
49083 else
49086 ac_ext=cpp
49087 ac_cpp='$CXXCPP $CPPFLAGS'
49088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49093 /* end confdefs.h. */
49094 #include <math.h>
49096 main ()
49098 frexpf(0, 0);
49100 return 0;
49102 _ACEOF
49103 if ac_fn_cxx_try_compile "$LINENO"; then :
49104 glibcxx_cv_func_frexpf_use=yes
49105 else
49106 glibcxx_cv_func_frexpf_use=no
49108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49109 ac_ext=c
49110 ac_cpp='$CPP $CPPFLAGS'
49111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49120 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49122 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49123 for ac_func in frexpf
49124 do :
49125 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49126 if test "x$ac_cv_func_frexpf" = x""yes; then :
49127 cat >>confdefs.h <<_ACEOF
49128 #define HAVE_FREXPF 1
49129 _ACEOF
49132 done
49134 else
49136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49137 $as_echo_n "checking for _frexpf declaration... " >&6; }
49138 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49139 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
49140 $as_echo_n "(cached) " >&6
49141 else
49144 ac_ext=cpp
49145 ac_cpp='$CXXCPP $CPPFLAGS'
49146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49151 /* end confdefs.h. */
49152 #include <math.h>
49154 main ()
49156 _frexpf(0, 0);
49158 return 0;
49160 _ACEOF
49161 if ac_fn_cxx_try_compile "$LINENO"; then :
49162 glibcxx_cv_func__frexpf_use=yes
49163 else
49164 glibcxx_cv_func__frexpf_use=no
49166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49167 ac_ext=c
49168 ac_cpp='$CPP $CPPFLAGS'
49169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49178 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49180 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49181 for ac_func in _frexpf
49182 do :
49183 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49184 if test "x$ac_cv_func__frexpf" = x""yes; then :
49185 cat >>confdefs.h <<_ACEOF
49186 #define HAVE__FREXPF 1
49187 _ACEOF
49190 done
49199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49200 $as_echo_n "checking for hypotf declaration... " >&6; }
49201 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49202 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
49203 $as_echo_n "(cached) " >&6
49204 else
49207 ac_ext=cpp
49208 ac_cpp='$CXXCPP $CPPFLAGS'
49209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49214 /* end confdefs.h. */
49215 #include <math.h>
49217 main ()
49219 hypotf(0, 0);
49221 return 0;
49223 _ACEOF
49224 if ac_fn_cxx_try_compile "$LINENO"; then :
49225 glibcxx_cv_func_hypotf_use=yes
49226 else
49227 glibcxx_cv_func_hypotf_use=no
49229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49230 ac_ext=c
49231 ac_cpp='$CPP $CPPFLAGS'
49232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49241 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49243 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49244 for ac_func in hypotf
49245 do :
49246 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49247 if test "x$ac_cv_func_hypotf" = x""yes; then :
49248 cat >>confdefs.h <<_ACEOF
49249 #define HAVE_HYPOTF 1
49250 _ACEOF
49253 done
49255 else
49257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49258 $as_echo_n "checking for _hypotf declaration... " >&6; }
49259 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49260 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
49261 $as_echo_n "(cached) " >&6
49262 else
49265 ac_ext=cpp
49266 ac_cpp='$CXXCPP $CPPFLAGS'
49267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49272 /* end confdefs.h. */
49273 #include <math.h>
49275 main ()
49277 _hypotf(0, 0);
49279 return 0;
49281 _ACEOF
49282 if ac_fn_cxx_try_compile "$LINENO"; then :
49283 glibcxx_cv_func__hypotf_use=yes
49284 else
49285 glibcxx_cv_func__hypotf_use=no
49287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49288 ac_ext=c
49289 ac_cpp='$CPP $CPPFLAGS'
49290 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49291 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49292 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49299 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49301 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49302 for ac_func in _hypotf
49303 do :
49304 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49305 if test "x$ac_cv_func__hypotf" = x""yes; then :
49306 cat >>confdefs.h <<_ACEOF
49307 #define HAVE__HYPOTF 1
49308 _ACEOF
49311 done
49320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49321 $as_echo_n "checking for ldexpf declaration... " >&6; }
49322 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49323 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
49324 $as_echo_n "(cached) " >&6
49325 else
49328 ac_ext=cpp
49329 ac_cpp='$CXXCPP $CPPFLAGS'
49330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49335 /* end confdefs.h. */
49336 #include <math.h>
49338 main ()
49340 ldexpf(0, 0);
49342 return 0;
49344 _ACEOF
49345 if ac_fn_cxx_try_compile "$LINENO"; then :
49346 glibcxx_cv_func_ldexpf_use=yes
49347 else
49348 glibcxx_cv_func_ldexpf_use=no
49350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49351 ac_ext=c
49352 ac_cpp='$CPP $CPPFLAGS'
49353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49362 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49364 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49365 for ac_func in ldexpf
49366 do :
49367 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49368 if test "x$ac_cv_func_ldexpf" = x""yes; then :
49369 cat >>confdefs.h <<_ACEOF
49370 #define HAVE_LDEXPF 1
49371 _ACEOF
49374 done
49376 else
49378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49379 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49380 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49381 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
49382 $as_echo_n "(cached) " >&6
49383 else
49386 ac_ext=cpp
49387 ac_cpp='$CXXCPP $CPPFLAGS'
49388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49393 /* end confdefs.h. */
49394 #include <math.h>
49396 main ()
49398 _ldexpf(0, 0);
49400 return 0;
49402 _ACEOF
49403 if ac_fn_cxx_try_compile "$LINENO"; then :
49404 glibcxx_cv_func__ldexpf_use=yes
49405 else
49406 glibcxx_cv_func__ldexpf_use=no
49408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49409 ac_ext=c
49410 ac_cpp='$CPP $CPPFLAGS'
49411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49420 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49422 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49423 for ac_func in _ldexpf
49424 do :
49425 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49426 if test "x$ac_cv_func__ldexpf" = x""yes; then :
49427 cat >>confdefs.h <<_ACEOF
49428 #define HAVE__LDEXPF 1
49429 _ACEOF
49432 done
49441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49442 $as_echo_n "checking for logf declaration... " >&6; }
49443 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49444 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
49445 $as_echo_n "(cached) " >&6
49446 else
49449 ac_ext=cpp
49450 ac_cpp='$CXXCPP $CPPFLAGS'
49451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49456 /* end confdefs.h. */
49457 #include <math.h>
49458 #ifdef HAVE_IEEEFP_H
49459 #include <ieeefp.h>
49460 #endif
49463 main ()
49465 logf(0);
49467 return 0;
49469 _ACEOF
49470 if ac_fn_cxx_try_compile "$LINENO"; then :
49471 glibcxx_cv_func_logf_use=yes
49472 else
49473 glibcxx_cv_func_logf_use=no
49475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49476 ac_ext=c
49477 ac_cpp='$CPP $CPPFLAGS'
49478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49487 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49489 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49490 for ac_func in logf
49491 do :
49492 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49493 if test "x$ac_cv_func_logf" = x""yes; then :
49494 cat >>confdefs.h <<_ACEOF
49495 #define HAVE_LOGF 1
49496 _ACEOF
49499 done
49501 else
49503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49504 $as_echo_n "checking for _logf declaration... " >&6; }
49505 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49506 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
49507 $as_echo_n "(cached) " >&6
49508 else
49511 ac_ext=cpp
49512 ac_cpp='$CXXCPP $CPPFLAGS'
49513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49518 /* end confdefs.h. */
49519 #include <math.h>
49520 #ifdef HAVE_IEEEFP_H
49521 #include <ieeefp.h>
49522 #endif
49525 main ()
49527 _logf(0);
49529 return 0;
49531 _ACEOF
49532 if ac_fn_cxx_try_compile "$LINENO"; then :
49533 glibcxx_cv_func__logf_use=yes
49534 else
49535 glibcxx_cv_func__logf_use=no
49537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49538 ac_ext=c
49539 ac_cpp='$CPP $CPPFLAGS'
49540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
49549 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
49551 if test x$glibcxx_cv_func__logf_use = x"yes"; then
49552 for ac_func in _logf
49553 do :
49554 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
49555 if test "x$ac_cv_func__logf" = x""yes; then :
49556 cat >>confdefs.h <<_ACEOF
49557 #define HAVE__LOGF 1
49558 _ACEOF
49561 done
49570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
49571 $as_echo_n "checking for log10f declaration... " >&6; }
49572 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
49573 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
49574 $as_echo_n "(cached) " >&6
49575 else
49578 ac_ext=cpp
49579 ac_cpp='$CXXCPP $CPPFLAGS'
49580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49585 /* end confdefs.h. */
49586 #include <math.h>
49587 #ifdef HAVE_IEEEFP_H
49588 #include <ieeefp.h>
49589 #endif
49592 main ()
49594 log10f(0);
49596 return 0;
49598 _ACEOF
49599 if ac_fn_cxx_try_compile "$LINENO"; then :
49600 glibcxx_cv_func_log10f_use=yes
49601 else
49602 glibcxx_cv_func_log10f_use=no
49604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49605 ac_ext=c
49606 ac_cpp='$CPP $CPPFLAGS'
49607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
49616 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
49618 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
49619 for ac_func in log10f
49620 do :
49621 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
49622 if test "x$ac_cv_func_log10f" = x""yes; then :
49623 cat >>confdefs.h <<_ACEOF
49624 #define HAVE_LOG10F 1
49625 _ACEOF
49628 done
49630 else
49632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
49633 $as_echo_n "checking for _log10f declaration... " >&6; }
49634 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
49635 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
49636 $as_echo_n "(cached) " >&6
49637 else
49640 ac_ext=cpp
49641 ac_cpp='$CXXCPP $CPPFLAGS'
49642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49647 /* end confdefs.h. */
49648 #include <math.h>
49649 #ifdef HAVE_IEEEFP_H
49650 #include <ieeefp.h>
49651 #endif
49654 main ()
49656 _log10f(0);
49658 return 0;
49660 _ACEOF
49661 if ac_fn_cxx_try_compile "$LINENO"; then :
49662 glibcxx_cv_func__log10f_use=yes
49663 else
49664 glibcxx_cv_func__log10f_use=no
49666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49667 ac_ext=c
49668 ac_cpp='$CPP $CPPFLAGS'
49669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
49678 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
49680 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
49681 for ac_func in _log10f
49682 do :
49683 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
49684 if test "x$ac_cv_func__log10f" = x""yes; then :
49685 cat >>confdefs.h <<_ACEOF
49686 #define HAVE__LOG10F 1
49687 _ACEOF
49690 done
49699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
49700 $as_echo_n "checking for modff declaration... " >&6; }
49701 if test x${glibcxx_cv_func_modff_use+set} != xset; then
49702 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
49703 $as_echo_n "(cached) " >&6
49704 else
49707 ac_ext=cpp
49708 ac_cpp='$CXXCPP $CPPFLAGS'
49709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49714 /* end confdefs.h. */
49715 #include <math.h>
49717 main ()
49719 modff(0, 0);
49721 return 0;
49723 _ACEOF
49724 if ac_fn_cxx_try_compile "$LINENO"; then :
49725 glibcxx_cv_func_modff_use=yes
49726 else
49727 glibcxx_cv_func_modff_use=no
49729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49730 ac_ext=c
49731 ac_cpp='$CPP $CPPFLAGS'
49732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
49741 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
49743 if test x$glibcxx_cv_func_modff_use = x"yes"; then
49744 for ac_func in modff
49745 do :
49746 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
49747 if test "x$ac_cv_func_modff" = x""yes; then :
49748 cat >>confdefs.h <<_ACEOF
49749 #define HAVE_MODFF 1
49750 _ACEOF
49753 done
49755 else
49757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
49758 $as_echo_n "checking for _modff declaration... " >&6; }
49759 if test x${glibcxx_cv_func__modff_use+set} != xset; then
49760 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
49761 $as_echo_n "(cached) " >&6
49762 else
49765 ac_ext=cpp
49766 ac_cpp='$CXXCPP $CPPFLAGS'
49767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49772 /* end confdefs.h. */
49773 #include <math.h>
49775 main ()
49777 _modff(0, 0);
49779 return 0;
49781 _ACEOF
49782 if ac_fn_cxx_try_compile "$LINENO"; then :
49783 glibcxx_cv_func__modff_use=yes
49784 else
49785 glibcxx_cv_func__modff_use=no
49787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49788 ac_ext=c
49789 ac_cpp='$CPP $CPPFLAGS'
49790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
49799 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
49801 if test x$glibcxx_cv_func__modff_use = x"yes"; then
49802 for ac_func in _modff
49803 do :
49804 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
49805 if test "x$ac_cv_func__modff" = x""yes; then :
49806 cat >>confdefs.h <<_ACEOF
49807 #define HAVE__MODFF 1
49808 _ACEOF
49811 done
49820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
49821 $as_echo_n "checking for modf declaration... " >&6; }
49822 if test x${glibcxx_cv_func_modf_use+set} != xset; then
49823 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
49824 $as_echo_n "(cached) " >&6
49825 else
49828 ac_ext=cpp
49829 ac_cpp='$CXXCPP $CPPFLAGS'
49830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49835 /* end confdefs.h. */
49836 #include <math.h>
49838 main ()
49840 modf(0, 0);
49842 return 0;
49844 _ACEOF
49845 if ac_fn_cxx_try_compile "$LINENO"; then :
49846 glibcxx_cv_func_modf_use=yes
49847 else
49848 glibcxx_cv_func_modf_use=no
49850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49851 ac_ext=c
49852 ac_cpp='$CPP $CPPFLAGS'
49853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
49862 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
49864 if test x$glibcxx_cv_func_modf_use = x"yes"; then
49865 for ac_func in modf
49866 do :
49867 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
49868 if test "x$ac_cv_func_modf" = x""yes; then :
49869 cat >>confdefs.h <<_ACEOF
49870 #define HAVE_MODF 1
49871 _ACEOF
49874 done
49876 else
49878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
49879 $as_echo_n "checking for _modf declaration... " >&6; }
49880 if test x${glibcxx_cv_func__modf_use+set} != xset; then
49881 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
49882 $as_echo_n "(cached) " >&6
49883 else
49886 ac_ext=cpp
49887 ac_cpp='$CXXCPP $CPPFLAGS'
49888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49893 /* end confdefs.h. */
49894 #include <math.h>
49896 main ()
49898 _modf(0, 0);
49900 return 0;
49902 _ACEOF
49903 if ac_fn_cxx_try_compile "$LINENO"; then :
49904 glibcxx_cv_func__modf_use=yes
49905 else
49906 glibcxx_cv_func__modf_use=no
49908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49909 ac_ext=c
49910 ac_cpp='$CPP $CPPFLAGS'
49911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
49920 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
49922 if test x$glibcxx_cv_func__modf_use = x"yes"; then
49923 for ac_func in _modf
49924 do :
49925 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
49926 if test "x$ac_cv_func__modf" = x""yes; then :
49927 cat >>confdefs.h <<_ACEOF
49928 #define HAVE__MODF 1
49929 _ACEOF
49932 done
49941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
49942 $as_echo_n "checking for powf declaration... " >&6; }
49943 if test x${glibcxx_cv_func_powf_use+set} != xset; then
49944 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
49945 $as_echo_n "(cached) " >&6
49946 else
49949 ac_ext=cpp
49950 ac_cpp='$CXXCPP $CPPFLAGS'
49951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49956 /* end confdefs.h. */
49957 #include <math.h>
49959 main ()
49961 powf(0, 0);
49963 return 0;
49965 _ACEOF
49966 if ac_fn_cxx_try_compile "$LINENO"; then :
49967 glibcxx_cv_func_powf_use=yes
49968 else
49969 glibcxx_cv_func_powf_use=no
49971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49972 ac_ext=c
49973 ac_cpp='$CPP $CPPFLAGS'
49974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
49983 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
49985 if test x$glibcxx_cv_func_powf_use = x"yes"; then
49986 for ac_func in powf
49987 do :
49988 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
49989 if test "x$ac_cv_func_powf" = x""yes; then :
49990 cat >>confdefs.h <<_ACEOF
49991 #define HAVE_POWF 1
49992 _ACEOF
49995 done
49997 else
49999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50000 $as_echo_n "checking for _powf declaration... " >&6; }
50001 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50002 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
50003 $as_echo_n "(cached) " >&6
50004 else
50007 ac_ext=cpp
50008 ac_cpp='$CXXCPP $CPPFLAGS'
50009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50014 /* end confdefs.h. */
50015 #include <math.h>
50017 main ()
50019 _powf(0, 0);
50021 return 0;
50023 _ACEOF
50024 if ac_fn_cxx_try_compile "$LINENO"; then :
50025 glibcxx_cv_func__powf_use=yes
50026 else
50027 glibcxx_cv_func__powf_use=no
50029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50030 ac_ext=c
50031 ac_cpp='$CPP $CPPFLAGS'
50032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50041 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50043 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50044 for ac_func in _powf
50045 do :
50046 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50047 if test "x$ac_cv_func__powf" = x""yes; then :
50048 cat >>confdefs.h <<_ACEOF
50049 #define HAVE__POWF 1
50050 _ACEOF
50053 done
50062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50063 $as_echo_n "checking for sqrtf declaration... " >&6; }
50064 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50065 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
50066 $as_echo_n "(cached) " >&6
50067 else
50070 ac_ext=cpp
50071 ac_cpp='$CXXCPP $CPPFLAGS'
50072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50077 /* end confdefs.h. */
50078 #include <math.h>
50079 #ifdef HAVE_IEEEFP_H
50080 #include <ieeefp.h>
50081 #endif
50084 main ()
50086 sqrtf(0);
50088 return 0;
50090 _ACEOF
50091 if ac_fn_cxx_try_compile "$LINENO"; then :
50092 glibcxx_cv_func_sqrtf_use=yes
50093 else
50094 glibcxx_cv_func_sqrtf_use=no
50096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50097 ac_ext=c
50098 ac_cpp='$CPP $CPPFLAGS'
50099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50108 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50110 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50111 for ac_func in sqrtf
50112 do :
50113 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50114 if test "x$ac_cv_func_sqrtf" = x""yes; then :
50115 cat >>confdefs.h <<_ACEOF
50116 #define HAVE_SQRTF 1
50117 _ACEOF
50120 done
50122 else
50124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50125 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50126 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50127 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
50128 $as_echo_n "(cached) " >&6
50129 else
50132 ac_ext=cpp
50133 ac_cpp='$CXXCPP $CPPFLAGS'
50134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50139 /* end confdefs.h. */
50140 #include <math.h>
50141 #ifdef HAVE_IEEEFP_H
50142 #include <ieeefp.h>
50143 #endif
50146 main ()
50148 _sqrtf(0);
50150 return 0;
50152 _ACEOF
50153 if ac_fn_cxx_try_compile "$LINENO"; then :
50154 glibcxx_cv_func__sqrtf_use=yes
50155 else
50156 glibcxx_cv_func__sqrtf_use=no
50158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50159 ac_ext=c
50160 ac_cpp='$CPP $CPPFLAGS'
50161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50170 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50172 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50173 for ac_func in _sqrtf
50174 do :
50175 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50176 if test "x$ac_cv_func__sqrtf" = x""yes; then :
50177 cat >>confdefs.h <<_ACEOF
50178 #define HAVE__SQRTF 1
50179 _ACEOF
50182 done
50191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50192 $as_echo_n "checking for sincosf declaration... " >&6; }
50193 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50194 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
50195 $as_echo_n "(cached) " >&6
50196 else
50199 ac_ext=cpp
50200 ac_cpp='$CXXCPP $CPPFLAGS'
50201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50206 /* end confdefs.h. */
50207 #include <math.h>
50209 main ()
50211 sincosf(0, 0, 0);
50213 return 0;
50215 _ACEOF
50216 if ac_fn_cxx_try_compile "$LINENO"; then :
50217 glibcxx_cv_func_sincosf_use=yes
50218 else
50219 glibcxx_cv_func_sincosf_use=no
50221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50222 ac_ext=c
50223 ac_cpp='$CPP $CPPFLAGS'
50224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50233 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50235 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50236 for ac_func in sincosf
50237 do :
50238 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50239 if test "x$ac_cv_func_sincosf" = x""yes; then :
50240 cat >>confdefs.h <<_ACEOF
50241 #define HAVE_SINCOSF 1
50242 _ACEOF
50245 done
50247 else
50249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50250 $as_echo_n "checking for _sincosf declaration... " >&6; }
50251 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50252 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
50253 $as_echo_n "(cached) " >&6
50254 else
50257 ac_ext=cpp
50258 ac_cpp='$CXXCPP $CPPFLAGS'
50259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50264 /* end confdefs.h. */
50265 #include <math.h>
50267 main ()
50269 _sincosf(0, 0, 0);
50271 return 0;
50273 _ACEOF
50274 if ac_fn_cxx_try_compile "$LINENO"; then :
50275 glibcxx_cv_func__sincosf_use=yes
50276 else
50277 glibcxx_cv_func__sincosf_use=no
50279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50280 ac_ext=c
50281 ac_cpp='$CPP $CPPFLAGS'
50282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50291 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50293 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50294 for ac_func in _sincosf
50295 do :
50296 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50297 if test "x$ac_cv_func__sincosf" = x""yes; then :
50298 cat >>confdefs.h <<_ACEOF
50299 #define HAVE__SINCOSF 1
50300 _ACEOF
50303 done
50312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50313 $as_echo_n "checking for finitef declaration... " >&6; }
50314 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50315 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
50316 $as_echo_n "(cached) " >&6
50317 else
50320 ac_ext=cpp
50321 ac_cpp='$CXXCPP $CPPFLAGS'
50322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50327 /* end confdefs.h. */
50328 #include <math.h>
50329 #ifdef HAVE_IEEEFP_H
50330 #include <ieeefp.h>
50331 #endif
50334 main ()
50336 finitef(0);
50338 return 0;
50340 _ACEOF
50341 if ac_fn_cxx_try_compile "$LINENO"; then :
50342 glibcxx_cv_func_finitef_use=yes
50343 else
50344 glibcxx_cv_func_finitef_use=no
50346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50347 ac_ext=c
50348 ac_cpp='$CPP $CPPFLAGS'
50349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50358 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50360 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50361 for ac_func in finitef
50362 do :
50363 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50364 if test "x$ac_cv_func_finitef" = x""yes; then :
50365 cat >>confdefs.h <<_ACEOF
50366 #define HAVE_FINITEF 1
50367 _ACEOF
50370 done
50372 else
50374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50375 $as_echo_n "checking for _finitef declaration... " >&6; }
50376 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50377 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
50378 $as_echo_n "(cached) " >&6
50379 else
50382 ac_ext=cpp
50383 ac_cpp='$CXXCPP $CPPFLAGS'
50384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50389 /* end confdefs.h. */
50390 #include <math.h>
50391 #ifdef HAVE_IEEEFP_H
50392 #include <ieeefp.h>
50393 #endif
50396 main ()
50398 _finitef(0);
50400 return 0;
50402 _ACEOF
50403 if ac_fn_cxx_try_compile "$LINENO"; then :
50404 glibcxx_cv_func__finitef_use=yes
50405 else
50406 glibcxx_cv_func__finitef_use=no
50408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50409 ac_ext=c
50410 ac_cpp='$CPP $CPPFLAGS'
50411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50420 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50422 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50423 for ac_func in _finitef
50424 do :
50425 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50426 if test "x$ac_cv_func__finitef" = x""yes; then :
50427 cat >>confdefs.h <<_ACEOF
50428 #define HAVE__FINITEF 1
50429 _ACEOF
50432 done
50441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50442 $as_echo_n "checking for long double trig functions... " >&6; }
50443 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
50444 $as_echo_n "(cached) " >&6
50445 else
50448 ac_ext=cpp
50449 ac_cpp='$CXXCPP $CPPFLAGS'
50450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50455 /* end confdefs.h. */
50456 #include <math.h>
50458 main ()
50460 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50462 return 0;
50464 _ACEOF
50465 if ac_fn_cxx_try_compile "$LINENO"; then :
50466 glibcxx_cv_func_long_double_trig_use=yes
50467 else
50468 glibcxx_cv_func_long_double_trig_use=no
50470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50471 ac_ext=c
50472 ac_cpp='$CPP $CPPFLAGS'
50473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50480 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50481 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50482 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50483 do :
50484 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50485 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50486 eval as_val=\$$as_ac_var
50487 if test "x$as_val" = x""yes; then :
50488 cat >>confdefs.h <<_ACEOF
50489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50490 _ACEOF
50493 done
50495 else
50496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50497 $as_echo_n "checking for _long double trig functions... " >&6; }
50498 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
50499 $as_echo_n "(cached) " >&6
50500 else
50503 ac_ext=cpp
50504 ac_cpp='$CXXCPP $CPPFLAGS'
50505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50510 /* end confdefs.h. */
50511 #include <math.h>
50513 main ()
50515 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50517 return 0;
50519 _ACEOF
50520 if ac_fn_cxx_try_compile "$LINENO"; then :
50521 glibcxx_cv_func__long_double_trig_use=yes
50522 else
50523 glibcxx_cv_func__long_double_trig_use=no
50525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50526 ac_ext=c
50527 ac_cpp='$CPP $CPPFLAGS'
50528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
50535 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
50536 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
50537 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
50538 do :
50539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50541 eval as_val=\$$as_ac_var
50542 if test "x$as_val" = x""yes; then :
50543 cat >>confdefs.h <<_ACEOF
50544 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50545 _ACEOF
50548 done
50557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
50558 $as_echo_n "checking for long double round functions... " >&6; }
50559 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
50560 $as_echo_n "(cached) " >&6
50561 else
50564 ac_ext=cpp
50565 ac_cpp='$CXXCPP $CPPFLAGS'
50566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50571 /* end confdefs.h. */
50572 #include <math.h>
50574 main ()
50576 ceill (0); floorl (0);
50578 return 0;
50580 _ACEOF
50581 if ac_fn_cxx_try_compile "$LINENO"; then :
50582 glibcxx_cv_func_long_double_round_use=yes
50583 else
50584 glibcxx_cv_func_long_double_round_use=no
50586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50587 ac_ext=c
50588 ac_cpp='$CPP $CPPFLAGS'
50589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
50596 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
50597 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
50598 for ac_func in ceill floorl
50599 do :
50600 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50601 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50602 eval as_val=\$$as_ac_var
50603 if test "x$as_val" = x""yes; then :
50604 cat >>confdefs.h <<_ACEOF
50605 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50606 _ACEOF
50609 done
50611 else
50612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
50613 $as_echo_n "checking for _long double round functions... " >&6; }
50614 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
50615 $as_echo_n "(cached) " >&6
50616 else
50619 ac_ext=cpp
50620 ac_cpp='$CXXCPP $CPPFLAGS'
50621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50626 /* end confdefs.h. */
50627 #include <math.h>
50629 main ()
50631 _ceill (0); _floorl (0);
50633 return 0;
50635 _ACEOF
50636 if ac_fn_cxx_try_compile "$LINENO"; then :
50637 glibcxx_cv_func__long_double_round_use=yes
50638 else
50639 glibcxx_cv_func__long_double_round_use=no
50641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50642 ac_ext=c
50643 ac_cpp='$CPP $CPPFLAGS'
50644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
50651 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
50652 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
50653 for ac_func in _ceill _floorl
50654 do :
50655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50657 eval as_val=\$$as_ac_var
50658 if test "x$as_val" = x""yes; then :
50659 cat >>confdefs.h <<_ACEOF
50660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50661 _ACEOF
50664 done
50674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
50675 $as_echo_n "checking for isnanl declaration... " >&6; }
50676 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
50677 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
50678 $as_echo_n "(cached) " >&6
50679 else
50682 ac_ext=cpp
50683 ac_cpp='$CXXCPP $CPPFLAGS'
50684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50689 /* end confdefs.h. */
50690 #include <math.h>
50691 #ifdef HAVE_IEEEFP_H
50692 #include <ieeefp.h>
50693 #endif
50696 main ()
50698 isnanl(0);
50700 return 0;
50702 _ACEOF
50703 if ac_fn_cxx_try_compile "$LINENO"; then :
50704 glibcxx_cv_func_isnanl_use=yes
50705 else
50706 glibcxx_cv_func_isnanl_use=no
50708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50709 ac_ext=c
50710 ac_cpp='$CPP $CPPFLAGS'
50711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
50720 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
50722 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
50723 for ac_func in isnanl
50724 do :
50725 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
50726 if test "x$ac_cv_func_isnanl" = x""yes; then :
50727 cat >>confdefs.h <<_ACEOF
50728 #define HAVE_ISNANL 1
50729 _ACEOF
50732 done
50734 else
50736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
50737 $as_echo_n "checking for _isnanl declaration... " >&6; }
50738 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
50739 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
50740 $as_echo_n "(cached) " >&6
50741 else
50744 ac_ext=cpp
50745 ac_cpp='$CXXCPP $CPPFLAGS'
50746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50751 /* end confdefs.h. */
50752 #include <math.h>
50753 #ifdef HAVE_IEEEFP_H
50754 #include <ieeefp.h>
50755 #endif
50758 main ()
50760 _isnanl(0);
50762 return 0;
50764 _ACEOF
50765 if ac_fn_cxx_try_compile "$LINENO"; then :
50766 glibcxx_cv_func__isnanl_use=yes
50767 else
50768 glibcxx_cv_func__isnanl_use=no
50770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50771 ac_ext=c
50772 ac_cpp='$CPP $CPPFLAGS'
50773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
50782 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
50784 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
50785 for ac_func in _isnanl
50786 do :
50787 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
50788 if test "x$ac_cv_func__isnanl" = x""yes; then :
50789 cat >>confdefs.h <<_ACEOF
50790 #define HAVE__ISNANL 1
50791 _ACEOF
50794 done
50803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
50804 $as_echo_n "checking for isinfl declaration... " >&6; }
50805 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
50806 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
50807 $as_echo_n "(cached) " >&6
50808 else
50811 ac_ext=cpp
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50819 #include <math.h>
50820 #ifdef HAVE_IEEEFP_H
50821 #include <ieeefp.h>
50822 #endif
50825 main ()
50827 isinfl(0);
50829 return 0;
50831 _ACEOF
50832 if ac_fn_cxx_try_compile "$LINENO"; then :
50833 glibcxx_cv_func_isinfl_use=yes
50834 else
50835 glibcxx_cv_func_isinfl_use=no
50837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50838 ac_ext=c
50839 ac_cpp='$CPP $CPPFLAGS'
50840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
50849 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
50851 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
50852 for ac_func in isinfl
50853 do :
50854 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
50855 if test "x$ac_cv_func_isinfl" = x""yes; then :
50856 cat >>confdefs.h <<_ACEOF
50857 #define HAVE_ISINFL 1
50858 _ACEOF
50861 done
50863 else
50865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
50866 $as_echo_n "checking for _isinfl declaration... " >&6; }
50867 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
50868 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
50869 $as_echo_n "(cached) " >&6
50870 else
50873 ac_ext=cpp
50874 ac_cpp='$CXXCPP $CPPFLAGS'
50875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50880 /* end confdefs.h. */
50881 #include <math.h>
50882 #ifdef HAVE_IEEEFP_H
50883 #include <ieeefp.h>
50884 #endif
50887 main ()
50889 _isinfl(0);
50891 return 0;
50893 _ACEOF
50894 if ac_fn_cxx_try_compile "$LINENO"; then :
50895 glibcxx_cv_func__isinfl_use=yes
50896 else
50897 glibcxx_cv_func__isinfl_use=no
50899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50900 ac_ext=c
50901 ac_cpp='$CPP $CPPFLAGS'
50902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
50911 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
50913 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
50914 for ac_func in _isinfl
50915 do :
50916 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
50917 if test "x$ac_cv_func__isinfl" = x""yes; then :
50918 cat >>confdefs.h <<_ACEOF
50919 #define HAVE__ISINFL 1
50920 _ACEOF
50923 done
50932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
50933 $as_echo_n "checking for atan2l declaration... " >&6; }
50934 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
50935 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
50936 $as_echo_n "(cached) " >&6
50937 else
50940 ac_ext=cpp
50941 ac_cpp='$CXXCPP $CPPFLAGS'
50942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50947 /* end confdefs.h. */
50948 #include <math.h>
50950 main ()
50952 atan2l(0, 0);
50954 return 0;
50956 _ACEOF
50957 if ac_fn_cxx_try_compile "$LINENO"; then :
50958 glibcxx_cv_func_atan2l_use=yes
50959 else
50960 glibcxx_cv_func_atan2l_use=no
50962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50963 ac_ext=c
50964 ac_cpp='$CPP $CPPFLAGS'
50965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
50974 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
50976 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
50977 for ac_func in atan2l
50978 do :
50979 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
50980 if test "x$ac_cv_func_atan2l" = x""yes; then :
50981 cat >>confdefs.h <<_ACEOF
50982 #define HAVE_ATAN2L 1
50983 _ACEOF
50986 done
50988 else
50990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
50991 $as_echo_n "checking for _atan2l declaration... " >&6; }
50992 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
50993 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
50994 $as_echo_n "(cached) " >&6
50995 else
50998 ac_ext=cpp
50999 ac_cpp='$CXXCPP $CPPFLAGS'
51000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51005 /* end confdefs.h. */
51006 #include <math.h>
51008 main ()
51010 _atan2l(0, 0);
51012 return 0;
51014 _ACEOF
51015 if ac_fn_cxx_try_compile "$LINENO"; then :
51016 glibcxx_cv_func__atan2l_use=yes
51017 else
51018 glibcxx_cv_func__atan2l_use=no
51020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51021 ac_ext=c
51022 ac_cpp='$CPP $CPPFLAGS'
51023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51032 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51034 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51035 for ac_func in _atan2l
51036 do :
51037 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51038 if test "x$ac_cv_func__atan2l" = x""yes; then :
51039 cat >>confdefs.h <<_ACEOF
51040 #define HAVE__ATAN2L 1
51041 _ACEOF
51044 done
51053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51054 $as_echo_n "checking for expl declaration... " >&6; }
51055 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51056 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
51057 $as_echo_n "(cached) " >&6
51058 else
51061 ac_ext=cpp
51062 ac_cpp='$CXXCPP $CPPFLAGS'
51063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51068 /* end confdefs.h. */
51069 #include <math.h>
51070 #ifdef HAVE_IEEEFP_H
51071 #include <ieeefp.h>
51072 #endif
51075 main ()
51077 expl(0);
51079 return 0;
51081 _ACEOF
51082 if ac_fn_cxx_try_compile "$LINENO"; then :
51083 glibcxx_cv_func_expl_use=yes
51084 else
51085 glibcxx_cv_func_expl_use=no
51087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51088 ac_ext=c
51089 ac_cpp='$CPP $CPPFLAGS'
51090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51099 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51101 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51102 for ac_func in expl
51103 do :
51104 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51105 if test "x$ac_cv_func_expl" = x""yes; then :
51106 cat >>confdefs.h <<_ACEOF
51107 #define HAVE_EXPL 1
51108 _ACEOF
51111 done
51113 else
51115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51116 $as_echo_n "checking for _expl declaration... " >&6; }
51117 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51118 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
51119 $as_echo_n "(cached) " >&6
51120 else
51123 ac_ext=cpp
51124 ac_cpp='$CXXCPP $CPPFLAGS'
51125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51130 /* end confdefs.h. */
51131 #include <math.h>
51132 #ifdef HAVE_IEEEFP_H
51133 #include <ieeefp.h>
51134 #endif
51137 main ()
51139 _expl(0);
51141 return 0;
51143 _ACEOF
51144 if ac_fn_cxx_try_compile "$LINENO"; then :
51145 glibcxx_cv_func__expl_use=yes
51146 else
51147 glibcxx_cv_func__expl_use=no
51149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51150 ac_ext=c
51151 ac_cpp='$CPP $CPPFLAGS'
51152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51161 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51163 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51164 for ac_func in _expl
51165 do :
51166 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51167 if test "x$ac_cv_func__expl" = x""yes; then :
51168 cat >>confdefs.h <<_ACEOF
51169 #define HAVE__EXPL 1
51170 _ACEOF
51173 done
51182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51183 $as_echo_n "checking for fabsl declaration... " >&6; }
51184 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51185 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
51186 $as_echo_n "(cached) " >&6
51187 else
51190 ac_ext=cpp
51191 ac_cpp='$CXXCPP $CPPFLAGS'
51192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51197 /* end confdefs.h. */
51198 #include <math.h>
51199 #ifdef HAVE_IEEEFP_H
51200 #include <ieeefp.h>
51201 #endif
51204 main ()
51206 fabsl(0);
51208 return 0;
51210 _ACEOF
51211 if ac_fn_cxx_try_compile "$LINENO"; then :
51212 glibcxx_cv_func_fabsl_use=yes
51213 else
51214 glibcxx_cv_func_fabsl_use=no
51216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51217 ac_ext=c
51218 ac_cpp='$CPP $CPPFLAGS'
51219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51228 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51230 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51231 for ac_func in fabsl
51232 do :
51233 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51234 if test "x$ac_cv_func_fabsl" = x""yes; then :
51235 cat >>confdefs.h <<_ACEOF
51236 #define HAVE_FABSL 1
51237 _ACEOF
51240 done
51242 else
51244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51245 $as_echo_n "checking for _fabsl declaration... " >&6; }
51246 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51247 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
51248 $as_echo_n "(cached) " >&6
51249 else
51252 ac_ext=cpp
51253 ac_cpp='$CXXCPP $CPPFLAGS'
51254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51259 /* end confdefs.h. */
51260 #include <math.h>
51261 #ifdef HAVE_IEEEFP_H
51262 #include <ieeefp.h>
51263 #endif
51266 main ()
51268 _fabsl(0);
51270 return 0;
51272 _ACEOF
51273 if ac_fn_cxx_try_compile "$LINENO"; then :
51274 glibcxx_cv_func__fabsl_use=yes
51275 else
51276 glibcxx_cv_func__fabsl_use=no
51278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51279 ac_ext=c
51280 ac_cpp='$CPP $CPPFLAGS'
51281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51290 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51292 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51293 for ac_func in _fabsl
51294 do :
51295 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51296 if test "x$ac_cv_func__fabsl" = x""yes; then :
51297 cat >>confdefs.h <<_ACEOF
51298 #define HAVE__FABSL 1
51299 _ACEOF
51302 done
51311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51312 $as_echo_n "checking for fmodl declaration... " >&6; }
51313 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51314 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
51315 $as_echo_n "(cached) " >&6
51316 else
51319 ac_ext=cpp
51320 ac_cpp='$CXXCPP $CPPFLAGS'
51321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51326 /* end confdefs.h. */
51327 #include <math.h>
51329 main ()
51331 fmodl(0, 0);
51333 return 0;
51335 _ACEOF
51336 if ac_fn_cxx_try_compile "$LINENO"; then :
51337 glibcxx_cv_func_fmodl_use=yes
51338 else
51339 glibcxx_cv_func_fmodl_use=no
51341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51342 ac_ext=c
51343 ac_cpp='$CPP $CPPFLAGS'
51344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51353 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51355 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51356 for ac_func in fmodl
51357 do :
51358 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51359 if test "x$ac_cv_func_fmodl" = x""yes; then :
51360 cat >>confdefs.h <<_ACEOF
51361 #define HAVE_FMODL 1
51362 _ACEOF
51365 done
51367 else
51369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51370 $as_echo_n "checking for _fmodl declaration... " >&6; }
51371 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51372 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
51373 $as_echo_n "(cached) " >&6
51374 else
51377 ac_ext=cpp
51378 ac_cpp='$CXXCPP $CPPFLAGS'
51379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51384 /* end confdefs.h. */
51385 #include <math.h>
51387 main ()
51389 _fmodl(0, 0);
51391 return 0;
51393 _ACEOF
51394 if ac_fn_cxx_try_compile "$LINENO"; then :
51395 glibcxx_cv_func__fmodl_use=yes
51396 else
51397 glibcxx_cv_func__fmodl_use=no
51399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51400 ac_ext=c
51401 ac_cpp='$CPP $CPPFLAGS'
51402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51411 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51413 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51414 for ac_func in _fmodl
51415 do :
51416 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51417 if test "x$ac_cv_func__fmodl" = x""yes; then :
51418 cat >>confdefs.h <<_ACEOF
51419 #define HAVE__FMODL 1
51420 _ACEOF
51423 done
51432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51433 $as_echo_n "checking for frexpl declaration... " >&6; }
51434 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51435 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
51436 $as_echo_n "(cached) " >&6
51437 else
51440 ac_ext=cpp
51441 ac_cpp='$CXXCPP $CPPFLAGS'
51442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51447 /* end confdefs.h. */
51448 #include <math.h>
51450 main ()
51452 frexpl(0, 0);
51454 return 0;
51456 _ACEOF
51457 if ac_fn_cxx_try_compile "$LINENO"; then :
51458 glibcxx_cv_func_frexpl_use=yes
51459 else
51460 glibcxx_cv_func_frexpl_use=no
51462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51463 ac_ext=c
51464 ac_cpp='$CPP $CPPFLAGS'
51465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51474 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51476 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51477 for ac_func in frexpl
51478 do :
51479 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51480 if test "x$ac_cv_func_frexpl" = x""yes; then :
51481 cat >>confdefs.h <<_ACEOF
51482 #define HAVE_FREXPL 1
51483 _ACEOF
51486 done
51488 else
51490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51491 $as_echo_n "checking for _frexpl declaration... " >&6; }
51492 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51493 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
51494 $as_echo_n "(cached) " >&6
51495 else
51498 ac_ext=cpp
51499 ac_cpp='$CXXCPP $CPPFLAGS'
51500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51505 /* end confdefs.h. */
51506 #include <math.h>
51508 main ()
51510 _frexpl(0, 0);
51512 return 0;
51514 _ACEOF
51515 if ac_fn_cxx_try_compile "$LINENO"; then :
51516 glibcxx_cv_func__frexpl_use=yes
51517 else
51518 glibcxx_cv_func__frexpl_use=no
51520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51521 ac_ext=c
51522 ac_cpp='$CPP $CPPFLAGS'
51523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
51532 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
51534 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
51535 for ac_func in _frexpl
51536 do :
51537 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
51538 if test "x$ac_cv_func__frexpl" = x""yes; then :
51539 cat >>confdefs.h <<_ACEOF
51540 #define HAVE__FREXPL 1
51541 _ACEOF
51544 done
51553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
51554 $as_echo_n "checking for hypotl declaration... " >&6; }
51555 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
51556 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
51557 $as_echo_n "(cached) " >&6
51558 else
51561 ac_ext=cpp
51562 ac_cpp='$CXXCPP $CPPFLAGS'
51563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51568 /* end confdefs.h. */
51569 #include <math.h>
51571 main ()
51573 hypotl(0, 0);
51575 return 0;
51577 _ACEOF
51578 if ac_fn_cxx_try_compile "$LINENO"; then :
51579 glibcxx_cv_func_hypotl_use=yes
51580 else
51581 glibcxx_cv_func_hypotl_use=no
51583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51584 ac_ext=c
51585 ac_cpp='$CPP $CPPFLAGS'
51586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
51595 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
51597 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
51598 for ac_func in hypotl
51599 do :
51600 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
51601 if test "x$ac_cv_func_hypotl" = x""yes; then :
51602 cat >>confdefs.h <<_ACEOF
51603 #define HAVE_HYPOTL 1
51604 _ACEOF
51607 done
51609 else
51611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
51612 $as_echo_n "checking for _hypotl declaration... " >&6; }
51613 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
51614 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
51615 $as_echo_n "(cached) " >&6
51616 else
51619 ac_ext=cpp
51620 ac_cpp='$CXXCPP $CPPFLAGS'
51621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51626 /* end confdefs.h. */
51627 #include <math.h>
51629 main ()
51631 _hypotl(0, 0);
51633 return 0;
51635 _ACEOF
51636 if ac_fn_cxx_try_compile "$LINENO"; then :
51637 glibcxx_cv_func__hypotl_use=yes
51638 else
51639 glibcxx_cv_func__hypotl_use=no
51641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51642 ac_ext=c
51643 ac_cpp='$CPP $CPPFLAGS'
51644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
51653 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
51655 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
51656 for ac_func in _hypotl
51657 do :
51658 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
51659 if test "x$ac_cv_func__hypotl" = x""yes; then :
51660 cat >>confdefs.h <<_ACEOF
51661 #define HAVE__HYPOTL 1
51662 _ACEOF
51665 done
51674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
51675 $as_echo_n "checking for ldexpl declaration... " >&6; }
51676 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
51677 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
51678 $as_echo_n "(cached) " >&6
51679 else
51682 ac_ext=cpp
51683 ac_cpp='$CXXCPP $CPPFLAGS'
51684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51689 /* end confdefs.h. */
51690 #include <math.h>
51692 main ()
51694 ldexpl(0, 0);
51696 return 0;
51698 _ACEOF
51699 if ac_fn_cxx_try_compile "$LINENO"; then :
51700 glibcxx_cv_func_ldexpl_use=yes
51701 else
51702 glibcxx_cv_func_ldexpl_use=no
51704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51705 ac_ext=c
51706 ac_cpp='$CPP $CPPFLAGS'
51707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
51716 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
51718 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
51719 for ac_func in ldexpl
51720 do :
51721 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
51722 if test "x$ac_cv_func_ldexpl" = x""yes; then :
51723 cat >>confdefs.h <<_ACEOF
51724 #define HAVE_LDEXPL 1
51725 _ACEOF
51728 done
51730 else
51732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
51733 $as_echo_n "checking for _ldexpl declaration... " >&6; }
51734 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
51735 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
51736 $as_echo_n "(cached) " >&6
51737 else
51740 ac_ext=cpp
51741 ac_cpp='$CXXCPP $CPPFLAGS'
51742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51747 /* end confdefs.h. */
51748 #include <math.h>
51750 main ()
51752 _ldexpl(0, 0);
51754 return 0;
51756 _ACEOF
51757 if ac_fn_cxx_try_compile "$LINENO"; then :
51758 glibcxx_cv_func__ldexpl_use=yes
51759 else
51760 glibcxx_cv_func__ldexpl_use=no
51762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51763 ac_ext=c
51764 ac_cpp='$CPP $CPPFLAGS'
51765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
51774 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
51776 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
51777 for ac_func in _ldexpl
51778 do :
51779 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
51780 if test "x$ac_cv_func__ldexpl" = x""yes; then :
51781 cat >>confdefs.h <<_ACEOF
51782 #define HAVE__LDEXPL 1
51783 _ACEOF
51786 done
51795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
51796 $as_echo_n "checking for logl declaration... " >&6; }
51797 if test x${glibcxx_cv_func_logl_use+set} != xset; then
51798 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
51799 $as_echo_n "(cached) " >&6
51800 else
51803 ac_ext=cpp
51804 ac_cpp='$CXXCPP $CPPFLAGS'
51805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51810 /* end confdefs.h. */
51811 #include <math.h>
51812 #ifdef HAVE_IEEEFP_H
51813 #include <ieeefp.h>
51814 #endif
51817 main ()
51819 logl(0);
51821 return 0;
51823 _ACEOF
51824 if ac_fn_cxx_try_compile "$LINENO"; then :
51825 glibcxx_cv_func_logl_use=yes
51826 else
51827 glibcxx_cv_func_logl_use=no
51829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51830 ac_ext=c
51831 ac_cpp='$CPP $CPPFLAGS'
51832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
51841 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
51843 if test x$glibcxx_cv_func_logl_use = x"yes"; then
51844 for ac_func in logl
51845 do :
51846 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
51847 if test "x$ac_cv_func_logl" = x""yes; then :
51848 cat >>confdefs.h <<_ACEOF
51849 #define HAVE_LOGL 1
51850 _ACEOF
51853 done
51855 else
51857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
51858 $as_echo_n "checking for _logl declaration... " >&6; }
51859 if test x${glibcxx_cv_func__logl_use+set} != xset; then
51860 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
51861 $as_echo_n "(cached) " >&6
51862 else
51865 ac_ext=cpp
51866 ac_cpp='$CXXCPP $CPPFLAGS'
51867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51872 /* end confdefs.h. */
51873 #include <math.h>
51874 #ifdef HAVE_IEEEFP_H
51875 #include <ieeefp.h>
51876 #endif
51879 main ()
51881 _logl(0);
51883 return 0;
51885 _ACEOF
51886 if ac_fn_cxx_try_compile "$LINENO"; then :
51887 glibcxx_cv_func__logl_use=yes
51888 else
51889 glibcxx_cv_func__logl_use=no
51891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51892 ac_ext=c
51893 ac_cpp='$CPP $CPPFLAGS'
51894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
51903 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
51905 if test x$glibcxx_cv_func__logl_use = x"yes"; then
51906 for ac_func in _logl
51907 do :
51908 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
51909 if test "x$ac_cv_func__logl" = x""yes; then :
51910 cat >>confdefs.h <<_ACEOF
51911 #define HAVE__LOGL 1
51912 _ACEOF
51915 done
51924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
51925 $as_echo_n "checking for log10l declaration... " >&6; }
51926 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
51927 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
51928 $as_echo_n "(cached) " >&6
51929 else
51932 ac_ext=cpp
51933 ac_cpp='$CXXCPP $CPPFLAGS'
51934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51939 /* end confdefs.h. */
51940 #include <math.h>
51941 #ifdef HAVE_IEEEFP_H
51942 #include <ieeefp.h>
51943 #endif
51946 main ()
51948 log10l(0);
51950 return 0;
51952 _ACEOF
51953 if ac_fn_cxx_try_compile "$LINENO"; then :
51954 glibcxx_cv_func_log10l_use=yes
51955 else
51956 glibcxx_cv_func_log10l_use=no
51958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51959 ac_ext=c
51960 ac_cpp='$CPP $CPPFLAGS'
51961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
51970 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
51972 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
51973 for ac_func in log10l
51974 do :
51975 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
51976 if test "x$ac_cv_func_log10l" = x""yes; then :
51977 cat >>confdefs.h <<_ACEOF
51978 #define HAVE_LOG10L 1
51979 _ACEOF
51982 done
51984 else
51986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
51987 $as_echo_n "checking for _log10l declaration... " >&6; }
51988 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
51989 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
51990 $as_echo_n "(cached) " >&6
51991 else
51994 ac_ext=cpp
51995 ac_cpp='$CXXCPP $CPPFLAGS'
51996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52001 /* end confdefs.h. */
52002 #include <math.h>
52003 #ifdef HAVE_IEEEFP_H
52004 #include <ieeefp.h>
52005 #endif
52008 main ()
52010 _log10l(0);
52012 return 0;
52014 _ACEOF
52015 if ac_fn_cxx_try_compile "$LINENO"; then :
52016 glibcxx_cv_func__log10l_use=yes
52017 else
52018 glibcxx_cv_func__log10l_use=no
52020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52021 ac_ext=c
52022 ac_cpp='$CPP $CPPFLAGS'
52023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52032 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52034 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52035 for ac_func in _log10l
52036 do :
52037 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52038 if test "x$ac_cv_func__log10l" = x""yes; then :
52039 cat >>confdefs.h <<_ACEOF
52040 #define HAVE__LOG10L 1
52041 _ACEOF
52044 done
52053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52054 $as_echo_n "checking for modfl declaration... " >&6; }
52055 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52056 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
52057 $as_echo_n "(cached) " >&6
52058 else
52061 ac_ext=cpp
52062 ac_cpp='$CXXCPP $CPPFLAGS'
52063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52068 /* end confdefs.h. */
52069 #include <math.h>
52071 main ()
52073 modfl(0, 0);
52075 return 0;
52077 _ACEOF
52078 if ac_fn_cxx_try_compile "$LINENO"; then :
52079 glibcxx_cv_func_modfl_use=yes
52080 else
52081 glibcxx_cv_func_modfl_use=no
52083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52084 ac_ext=c
52085 ac_cpp='$CPP $CPPFLAGS'
52086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52095 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52097 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52098 for ac_func in modfl
52099 do :
52100 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52101 if test "x$ac_cv_func_modfl" = x""yes; then :
52102 cat >>confdefs.h <<_ACEOF
52103 #define HAVE_MODFL 1
52104 _ACEOF
52107 done
52109 else
52111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52112 $as_echo_n "checking for _modfl declaration... " >&6; }
52113 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52114 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
52115 $as_echo_n "(cached) " >&6
52116 else
52119 ac_ext=cpp
52120 ac_cpp='$CXXCPP $CPPFLAGS'
52121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52126 /* end confdefs.h. */
52127 #include <math.h>
52129 main ()
52131 _modfl(0, 0);
52133 return 0;
52135 _ACEOF
52136 if ac_fn_cxx_try_compile "$LINENO"; then :
52137 glibcxx_cv_func__modfl_use=yes
52138 else
52139 glibcxx_cv_func__modfl_use=no
52141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52142 ac_ext=c
52143 ac_cpp='$CPP $CPPFLAGS'
52144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52153 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52155 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52156 for ac_func in _modfl
52157 do :
52158 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52159 if test "x$ac_cv_func__modfl" = x""yes; then :
52160 cat >>confdefs.h <<_ACEOF
52161 #define HAVE__MODFL 1
52162 _ACEOF
52165 done
52174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52175 $as_echo_n "checking for powl declaration... " >&6; }
52176 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52177 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
52178 $as_echo_n "(cached) " >&6
52179 else
52182 ac_ext=cpp
52183 ac_cpp='$CXXCPP $CPPFLAGS'
52184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52189 /* end confdefs.h. */
52190 #include <math.h>
52192 main ()
52194 powl(0, 0);
52196 return 0;
52198 _ACEOF
52199 if ac_fn_cxx_try_compile "$LINENO"; then :
52200 glibcxx_cv_func_powl_use=yes
52201 else
52202 glibcxx_cv_func_powl_use=no
52204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52205 ac_ext=c
52206 ac_cpp='$CPP $CPPFLAGS'
52207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52216 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52218 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52219 for ac_func in powl
52220 do :
52221 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52222 if test "x$ac_cv_func_powl" = x""yes; then :
52223 cat >>confdefs.h <<_ACEOF
52224 #define HAVE_POWL 1
52225 _ACEOF
52228 done
52230 else
52232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52233 $as_echo_n "checking for _powl declaration... " >&6; }
52234 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52235 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
52236 $as_echo_n "(cached) " >&6
52237 else
52240 ac_ext=cpp
52241 ac_cpp='$CXXCPP $CPPFLAGS'
52242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52247 /* end confdefs.h. */
52248 #include <math.h>
52250 main ()
52252 _powl(0, 0);
52254 return 0;
52256 _ACEOF
52257 if ac_fn_cxx_try_compile "$LINENO"; then :
52258 glibcxx_cv_func__powl_use=yes
52259 else
52260 glibcxx_cv_func__powl_use=no
52262 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52263 ac_ext=c
52264 ac_cpp='$CPP $CPPFLAGS'
52265 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52266 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52267 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52274 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52276 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52277 for ac_func in _powl
52278 do :
52279 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52280 if test "x$ac_cv_func__powl" = x""yes; then :
52281 cat >>confdefs.h <<_ACEOF
52282 #define HAVE__POWL 1
52283 _ACEOF
52286 done
52295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52296 $as_echo_n "checking for sqrtl declaration... " >&6; }
52297 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52298 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
52299 $as_echo_n "(cached) " >&6
52300 else
52303 ac_ext=cpp
52304 ac_cpp='$CXXCPP $CPPFLAGS'
52305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52310 /* end confdefs.h. */
52311 #include <math.h>
52312 #ifdef HAVE_IEEEFP_H
52313 #include <ieeefp.h>
52314 #endif
52317 main ()
52319 sqrtl(0);
52321 return 0;
52323 _ACEOF
52324 if ac_fn_cxx_try_compile "$LINENO"; then :
52325 glibcxx_cv_func_sqrtl_use=yes
52326 else
52327 glibcxx_cv_func_sqrtl_use=no
52329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52330 ac_ext=c
52331 ac_cpp='$CPP $CPPFLAGS'
52332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52341 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52343 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52344 for ac_func in sqrtl
52345 do :
52346 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52347 if test "x$ac_cv_func_sqrtl" = x""yes; then :
52348 cat >>confdefs.h <<_ACEOF
52349 #define HAVE_SQRTL 1
52350 _ACEOF
52353 done
52355 else
52357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52358 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52359 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52360 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
52361 $as_echo_n "(cached) " >&6
52362 else
52365 ac_ext=cpp
52366 ac_cpp='$CXXCPP $CPPFLAGS'
52367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52372 /* end confdefs.h. */
52373 #include <math.h>
52374 #ifdef HAVE_IEEEFP_H
52375 #include <ieeefp.h>
52376 #endif
52379 main ()
52381 _sqrtl(0);
52383 return 0;
52385 _ACEOF
52386 if ac_fn_cxx_try_compile "$LINENO"; then :
52387 glibcxx_cv_func__sqrtl_use=yes
52388 else
52389 glibcxx_cv_func__sqrtl_use=no
52391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52392 ac_ext=c
52393 ac_cpp='$CPP $CPPFLAGS'
52394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52403 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52405 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52406 for ac_func in _sqrtl
52407 do :
52408 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52409 if test "x$ac_cv_func__sqrtl" = x""yes; then :
52410 cat >>confdefs.h <<_ACEOF
52411 #define HAVE__SQRTL 1
52412 _ACEOF
52415 done
52424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52425 $as_echo_n "checking for sincosl declaration... " >&6; }
52426 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52427 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
52428 $as_echo_n "(cached) " >&6
52429 else
52432 ac_ext=cpp
52433 ac_cpp='$CXXCPP $CPPFLAGS'
52434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52439 /* end confdefs.h. */
52440 #include <math.h>
52442 main ()
52444 sincosl(0, 0, 0);
52446 return 0;
52448 _ACEOF
52449 if ac_fn_cxx_try_compile "$LINENO"; then :
52450 glibcxx_cv_func_sincosl_use=yes
52451 else
52452 glibcxx_cv_func_sincosl_use=no
52454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52455 ac_ext=c
52456 ac_cpp='$CPP $CPPFLAGS'
52457 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52458 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52459 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52466 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52468 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52469 for ac_func in sincosl
52470 do :
52471 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52472 if test "x$ac_cv_func_sincosl" = x""yes; then :
52473 cat >>confdefs.h <<_ACEOF
52474 #define HAVE_SINCOSL 1
52475 _ACEOF
52478 done
52480 else
52482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52483 $as_echo_n "checking for _sincosl declaration... " >&6; }
52484 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52485 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
52486 $as_echo_n "(cached) " >&6
52487 else
52490 ac_ext=cpp
52491 ac_cpp='$CXXCPP $CPPFLAGS'
52492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52497 /* end confdefs.h. */
52498 #include <math.h>
52500 main ()
52502 _sincosl(0, 0, 0);
52504 return 0;
52506 _ACEOF
52507 if ac_fn_cxx_try_compile "$LINENO"; then :
52508 glibcxx_cv_func__sincosl_use=yes
52509 else
52510 glibcxx_cv_func__sincosl_use=no
52512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52513 ac_ext=c
52514 ac_cpp='$CPP $CPPFLAGS'
52515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52524 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52526 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
52527 for ac_func in _sincosl
52528 do :
52529 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
52530 if test "x$ac_cv_func__sincosl" = x""yes; then :
52531 cat >>confdefs.h <<_ACEOF
52532 #define HAVE__SINCOSL 1
52533 _ACEOF
52536 done
52545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
52546 $as_echo_n "checking for finitel declaration... " >&6; }
52547 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
52548 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
52549 $as_echo_n "(cached) " >&6
52550 else
52553 ac_ext=cpp
52554 ac_cpp='$CXXCPP $CPPFLAGS'
52555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52560 /* end confdefs.h. */
52561 #include <math.h>
52562 #ifdef HAVE_IEEEFP_H
52563 #include <ieeefp.h>
52564 #endif
52567 main ()
52569 finitel(0);
52571 return 0;
52573 _ACEOF
52574 if ac_fn_cxx_try_compile "$LINENO"; then :
52575 glibcxx_cv_func_finitel_use=yes
52576 else
52577 glibcxx_cv_func_finitel_use=no
52579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52580 ac_ext=c
52581 ac_cpp='$CPP $CPPFLAGS'
52582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
52591 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
52593 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
52594 for ac_func in finitel
52595 do :
52596 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
52597 if test "x$ac_cv_func_finitel" = x""yes; then :
52598 cat >>confdefs.h <<_ACEOF
52599 #define HAVE_FINITEL 1
52600 _ACEOF
52603 done
52605 else
52607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
52608 $as_echo_n "checking for _finitel declaration... " >&6; }
52609 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
52610 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
52611 $as_echo_n "(cached) " >&6
52612 else
52615 ac_ext=cpp
52616 ac_cpp='$CXXCPP $CPPFLAGS'
52617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52622 /* end confdefs.h. */
52623 #include <math.h>
52624 #ifdef HAVE_IEEEFP_H
52625 #include <ieeefp.h>
52626 #endif
52629 main ()
52631 _finitel(0);
52633 return 0;
52635 _ACEOF
52636 if ac_fn_cxx_try_compile "$LINENO"; then :
52637 glibcxx_cv_func__finitel_use=yes
52638 else
52639 glibcxx_cv_func__finitel_use=no
52641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52642 ac_ext=c
52643 ac_cpp='$CPP $CPPFLAGS'
52644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
52653 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
52655 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
52656 for ac_func in _finitel
52657 do :
52658 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
52659 if test "x$ac_cv_func__finitel" = x""yes; then :
52660 cat >>confdefs.h <<_ACEOF
52661 #define HAVE__FINITEL 1
52662 _ACEOF
52665 done
52673 LIBS="$ac_save_LIBS"
52674 CXXFLAGS="$ac_save_CXXFLAGS"
52677 ac_test_CXXFLAGS="${CXXFLAGS+set}"
52678 ac_save_CXXFLAGS="$CXXFLAGS"
52679 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
52682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
52683 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
52684 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
52685 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
52686 $as_echo_n "(cached) " >&6
52687 else
52690 ac_ext=cpp
52691 ac_cpp='$CXXCPP $CPPFLAGS'
52692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52697 /* end confdefs.h. */
52698 #include <stdlib.h>
52700 main ()
52702 at_quick_exit(0);
52704 return 0;
52706 _ACEOF
52707 if ac_fn_cxx_try_compile "$LINENO"; then :
52708 glibcxx_cv_func_at_quick_exit_use=yes
52709 else
52710 glibcxx_cv_func_at_quick_exit_use=no
52712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52713 ac_ext=c
52714 ac_cpp='$CPP $CPPFLAGS'
52715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
52724 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
52725 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
52726 for ac_func in at_quick_exit
52727 do :
52728 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
52729 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
52730 cat >>confdefs.h <<_ACEOF
52731 #define HAVE_AT_QUICK_EXIT 1
52732 _ACEOF
52735 done
52740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
52741 $as_echo_n "checking for quick_exit declaration... " >&6; }
52742 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
52743 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
52744 $as_echo_n "(cached) " >&6
52745 else
52748 ac_ext=cpp
52749 ac_cpp='$CXXCPP $CPPFLAGS'
52750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52755 /* end confdefs.h. */
52756 #include <stdlib.h>
52758 main ()
52760 quick_exit(0);
52762 return 0;
52764 _ACEOF
52765 if ac_fn_cxx_try_compile "$LINENO"; then :
52766 glibcxx_cv_func_quick_exit_use=yes
52767 else
52768 glibcxx_cv_func_quick_exit_use=no
52770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52771 ac_ext=c
52772 ac_cpp='$CPP $CPPFLAGS'
52773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
52782 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
52783 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
52784 for ac_func in quick_exit
52785 do :
52786 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
52787 if test "x$ac_cv_func_quick_exit" = x""yes; then :
52788 cat >>confdefs.h <<_ACEOF
52789 #define HAVE_QUICK_EXIT 1
52790 _ACEOF
52793 done
52798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
52799 $as_echo_n "checking for strtold declaration... " >&6; }
52800 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
52801 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
52802 $as_echo_n "(cached) " >&6
52803 else
52806 ac_ext=cpp
52807 ac_cpp='$CXXCPP $CPPFLAGS'
52808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52813 /* end confdefs.h. */
52814 #include <stdlib.h>
52816 main ()
52818 strtold(0, 0);
52820 return 0;
52822 _ACEOF
52823 if ac_fn_cxx_try_compile "$LINENO"; then :
52824 glibcxx_cv_func_strtold_use=yes
52825 else
52826 glibcxx_cv_func_strtold_use=no
52828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52829 ac_ext=c
52830 ac_cpp='$CPP $CPPFLAGS'
52831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
52840 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
52841 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
52842 for ac_func in strtold
52843 do :
52844 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
52845 if test "x$ac_cv_func_strtold" = x""yes; then :
52846 cat >>confdefs.h <<_ACEOF
52847 #define HAVE_STRTOLD 1
52848 _ACEOF
52851 done
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
52859 $as_echo_n "checking for strtof declaration... " >&6; }
52860 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
52861 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
52862 $as_echo_n "(cached) " >&6
52863 else
52866 ac_ext=cpp
52867 ac_cpp='$CXXCPP $CPPFLAGS'
52868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52873 /* end confdefs.h. */
52874 #include <stdlib.h>
52876 main ()
52878 strtof(0, 0);
52880 return 0;
52882 _ACEOF
52883 if ac_fn_cxx_try_compile "$LINENO"; then :
52884 glibcxx_cv_func_strtof_use=yes
52885 else
52886 glibcxx_cv_func_strtof_use=no
52888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52889 ac_ext=c
52890 ac_cpp='$CPP $CPPFLAGS'
52891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
52900 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
52901 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
52902 for ac_func in strtof
52903 do :
52904 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
52905 if test "x$ac_cv_func_strtof" = x""yes; then :
52906 cat >>confdefs.h <<_ACEOF
52907 #define HAVE_STRTOF 1
52908 _ACEOF
52911 done
52918 CXXFLAGS="$ac_save_CXXFLAGS"
52922 *djgpp)
52923 # GLIBCXX_CHECK_MATH_SUPPORT
52924 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
52926 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
52928 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
52930 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
52932 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
52936 *-freebsd*)
52937 SECTION_FLAGS='-ffunction-sections -fdata-sections'
52940 # If we're not using GNU ld, then there's no point in even trying these
52941 # tests. Check for that first. We should have already tested for gld
52942 # by now (in libtool), but require it now just to be safe...
52943 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
52944 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
52948 # The name set by libtool depends on the version of libtool. Shame on us
52949 # for depending on an impl detail, but c'est la vie. Older versions used
52950 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
52951 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
52952 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
52953 # set (hence we're using an older libtool), then set it.
52954 if test x${with_gnu_ld+set} != xset; then
52955 if test x${ac_cv_prog_gnu_ld+set} != xset; then
52956 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
52957 with_gnu_ld=no
52958 else
52959 with_gnu_ld=$ac_cv_prog_gnu_ld
52963 # Start by getting the version number. I think the libtool test already
52964 # does some of this, but throws away the result.
52965 glibcxx_ld_is_gold=no
52966 if test x"$with_gnu_ld" = x"yes"; then
52967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
52968 $as_echo_n "checking for ld version... " >&6; }
52970 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
52971 glibcxx_ld_is_gold=yes
52973 ldver=`$LD --version 2>/dev/null |
52974 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'`
52976 glibcxx_gnu_ld_version=`echo $ldver | \
52977 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
52978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
52979 $as_echo "$glibcxx_gnu_ld_version" >&6; }
52982 # Set --gc-sections.
52983 glibcxx_have_gc_sections=no
52984 if test "$glibcxx_ld_is_gold" = "yes"; then
52985 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
52986 glibcxx_have_gc_sections=yes
52988 else
52989 glibcxx_gcsections_min_ld=21602
52990 if test x"$with_gnu_ld" = x"yes" &&
52991 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
52992 glibcxx_have_gc_sections=yes
52995 if test "$glibcxx_have_gc_sections" = "yes"; then
52996 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
52997 # NB: This flag only works reliably after 2.16.1. Configure tests
52998 # for this are difficult, so hard wire a value that should work.
53000 ac_test_CFLAGS="${CFLAGS+set}"
53001 ac_save_CFLAGS="$CFLAGS"
53002 CFLAGS='-Wl,--gc-sections'
53004 # Check for -Wl,--gc-sections
53005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53006 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53007 if test x$gcc_no_link = xyes; then
53008 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53011 /* end confdefs.h. */
53012 int one(void) { return 1; }
53013 int two(void) { return 2; }
53016 main ()
53018 two();
53020 return 0;
53022 _ACEOF
53023 if ac_fn_c_try_link "$LINENO"; then :
53024 ac_gcsections=yes
53025 else
53026 ac_gcsections=no
53028 rm -f core conftest.err conftest.$ac_objext \
53029 conftest$ac_exeext conftest.$ac_ext
53030 if test "$ac_gcsections" = "yes"; then
53031 rm -f conftest.c
53032 touch conftest.c
53033 if $CC -c conftest.c; then
53034 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53035 grep "Warning: gc-sections option ignored" > /dev/null; then
53036 ac_gcsections=no
53039 rm -f conftest.c conftest.o conftest
53041 if test "$ac_gcsections" = "yes"; then
53042 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53045 $as_echo "$ac_gcsections" >&6; }
53047 if test "$ac_test_CFLAGS" = set; then
53048 CFLAGS="$ac_save_CFLAGS"
53049 else
53050 # this is the suspicious part
53051 CFLAGS=''
53055 # Set -z,relro.
53056 # Note this is only for shared objects.
53057 ac_ld_relro=no
53058 if test x"$with_gnu_ld" = x"yes"; then
53059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53060 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53061 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53062 if test -n "$cxx_z_relo"; then
53063 OPT_LDFLAGS="-Wl,-z,relro"
53064 ac_ld_relro=yes
53066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53067 $as_echo "$ac_ld_relro" >&6; }
53070 # Set linker optimization flags.
53071 if test x"$with_gnu_ld" = x"yes"; then
53072 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53078 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53080 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53082 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53084 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53086 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53088 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53090 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53092 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53094 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53097 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53099 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53101 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53103 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53105 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53107 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53109 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53111 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53113 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53115 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53117 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53119 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53121 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53123 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53125 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53127 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53129 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53131 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53133 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53135 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53137 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53139 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53141 if test x"long_double_math_on_this_cpu" = x"yes"; then
53142 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53144 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53146 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53150 *-hpux*)
53151 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53154 # If we're not using GNU ld, then there's no point in even trying these
53155 # tests. Check for that first. We should have already tested for gld
53156 # by now (in libtool), but require it now just to be safe...
53157 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53158 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53162 # The name set by libtool depends on the version of libtool. Shame on us
53163 # for depending on an impl detail, but c'est la vie. Older versions used
53164 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53165 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53166 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53167 # set (hence we're using an older libtool), then set it.
53168 if test x${with_gnu_ld+set} != xset; then
53169 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53170 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53171 with_gnu_ld=no
53172 else
53173 with_gnu_ld=$ac_cv_prog_gnu_ld
53177 # Start by getting the version number. I think the libtool test already
53178 # does some of this, but throws away the result.
53179 glibcxx_ld_is_gold=no
53180 if test x"$with_gnu_ld" = x"yes"; then
53181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53182 $as_echo_n "checking for ld version... " >&6; }
53184 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53185 glibcxx_ld_is_gold=yes
53187 ldver=`$LD --version 2>/dev/null |
53188 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'`
53190 glibcxx_gnu_ld_version=`echo $ldver | \
53191 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53193 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53196 # Set --gc-sections.
53197 glibcxx_have_gc_sections=no
53198 if test "$glibcxx_ld_is_gold" = "yes"; then
53199 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53200 glibcxx_have_gc_sections=yes
53202 else
53203 glibcxx_gcsections_min_ld=21602
53204 if test x"$with_gnu_ld" = x"yes" &&
53205 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53206 glibcxx_have_gc_sections=yes
53209 if test "$glibcxx_have_gc_sections" = "yes"; then
53210 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53211 # NB: This flag only works reliably after 2.16.1. Configure tests
53212 # for this are difficult, so hard wire a value that should work.
53214 ac_test_CFLAGS="${CFLAGS+set}"
53215 ac_save_CFLAGS="$CFLAGS"
53216 CFLAGS='-Wl,--gc-sections'
53218 # Check for -Wl,--gc-sections
53219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53220 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53221 if test x$gcc_no_link = xyes; then
53222 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53225 /* end confdefs.h. */
53226 int one(void) { return 1; }
53227 int two(void) { return 2; }
53230 main ()
53232 two();
53234 return 0;
53236 _ACEOF
53237 if ac_fn_c_try_link "$LINENO"; then :
53238 ac_gcsections=yes
53239 else
53240 ac_gcsections=no
53242 rm -f core conftest.err conftest.$ac_objext \
53243 conftest$ac_exeext conftest.$ac_ext
53244 if test "$ac_gcsections" = "yes"; then
53245 rm -f conftest.c
53246 touch conftest.c
53247 if $CC -c conftest.c; then
53248 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53249 grep "Warning: gc-sections option ignored" > /dev/null; then
53250 ac_gcsections=no
53253 rm -f conftest.c conftest.o conftest
53255 if test "$ac_gcsections" = "yes"; then
53256 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53259 $as_echo "$ac_gcsections" >&6; }
53261 if test "$ac_test_CFLAGS" = set; then
53262 CFLAGS="$ac_save_CFLAGS"
53263 else
53264 # this is the suspicious part
53265 CFLAGS=''
53269 # Set -z,relro.
53270 # Note this is only for shared objects.
53271 ac_ld_relro=no
53272 if test x"$with_gnu_ld" = x"yes"; then
53273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53274 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53275 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53276 if test -n "$cxx_z_relo"; then
53277 OPT_LDFLAGS="-Wl,-z,relro"
53278 ac_ld_relro=yes
53280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53281 $as_echo "$ac_ld_relro" >&6; }
53284 # Set linker optimization flags.
53285 if test x"$with_gnu_ld" = x"yes"; then
53286 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53293 # GLIBCXX_CHECK_MATH_SUPPORT
53294 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53296 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53298 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53300 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53302 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53304 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53306 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53308 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53310 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53312 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53314 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53316 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53318 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53320 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53322 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53324 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53326 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53328 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53330 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53332 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53334 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53337 # GLIBCXX_CHECK_STDLIB_SUPPORT
53338 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53343 # Check whether --enable-tls was given.
53344 if test "${enable_tls+set}" = set; then :
53345 enableval=$enable_tls;
53346 case "$enableval" in
53347 yes|no) ;;
53348 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53349 esac
53351 else
53352 enable_tls=yes
53356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53357 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53358 if test "${gcc_cv_have_tls+set}" = set; then :
53359 $as_echo_n "(cached) " >&6
53360 else
53362 if test "$cross_compiling" = yes; then :
53363 if test x$gcc_no_link = xyes; then
53364 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53367 /* end confdefs.h. */
53368 __thread int a; int b; int main() { return a = b; }
53369 _ACEOF
53370 if ac_fn_c_try_link "$LINENO"; then :
53371 chktls_save_LDFLAGS="$LDFLAGS"
53372 case $host in
53373 *-*-linux*)
53374 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53376 esac
53377 chktls_save_CFLAGS="$CFLAGS"
53378 CFLAGS="-fPIC $CFLAGS"
53379 if test x$gcc_no_link = xyes; then
53380 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53383 /* end confdefs.h. */
53384 int f() { return 0; }
53385 _ACEOF
53386 if ac_fn_c_try_link "$LINENO"; then :
53387 if test x$gcc_no_link = xyes; then
53388 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53391 /* end confdefs.h. */
53392 __thread int a; int b; int f() { return a = b; }
53393 _ACEOF
53394 if ac_fn_c_try_link "$LINENO"; then :
53395 gcc_cv_have_tls=yes
53396 else
53397 gcc_cv_have_tls=no
53399 rm -f core conftest.err conftest.$ac_objext \
53400 conftest$ac_exeext conftest.$ac_ext
53401 else
53402 gcc_cv_have_tls=yes
53404 rm -f core conftest.err conftest.$ac_objext \
53405 conftest$ac_exeext conftest.$ac_ext
53406 CFLAGS="$chktls_save_CFLAGS"
53407 LDFLAGS="$chktls_save_LDFLAGS"
53408 else
53409 gcc_cv_have_tls=no
53411 rm -f core conftest.err conftest.$ac_objext \
53412 conftest$ac_exeext conftest.$ac_ext
53415 else
53416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53417 /* end confdefs.h. */
53418 __thread int a; int b; int main() { return a = b; }
53419 _ACEOF
53420 if ac_fn_c_try_run "$LINENO"; then :
53421 chktls_save_LDFLAGS="$LDFLAGS"
53422 LDFLAGS="-static $LDFLAGS"
53423 if test x$gcc_no_link = xyes; then
53424 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53427 /* end confdefs.h. */
53428 int main() { return 0; }
53429 _ACEOF
53430 if ac_fn_c_try_link "$LINENO"; then :
53431 if test "$cross_compiling" = yes; then :
53432 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53433 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53434 as_fn_error "cannot run test program while cross compiling
53435 See \`config.log' for more details." "$LINENO" 5; }
53436 else
53437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53438 /* end confdefs.h. */
53439 __thread int a; int b; int main() { return a = b; }
53440 _ACEOF
53441 if ac_fn_c_try_run "$LINENO"; then :
53442 gcc_cv_have_tls=yes
53443 else
53444 gcc_cv_have_tls=no
53446 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53447 conftest.$ac_objext conftest.beam conftest.$ac_ext
53450 else
53451 gcc_cv_have_tls=yes
53453 rm -f core conftest.err conftest.$ac_objext \
53454 conftest$ac_exeext conftest.$ac_ext
53455 LDFLAGS="$chktls_save_LDFLAGS"
53456 if test $gcc_cv_have_tls = yes; then
53457 chktls_save_CFLAGS="$CFLAGS"
53458 thread_CFLAGS=failed
53459 for flag in '' '-pthread' '-lpthread'; do
53460 CFLAGS="$flag $chktls_save_CFLAGS"
53461 if test x$gcc_no_link = xyes; then
53462 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53465 /* end confdefs.h. */
53466 #include <pthread.h>
53467 void *g(void *d) { return NULL; }
53469 main ()
53471 pthread_t t; pthread_create(&t,NULL,g,NULL);
53473 return 0;
53475 _ACEOF
53476 if ac_fn_c_try_link "$LINENO"; then :
53477 thread_CFLAGS="$flag"
53479 rm -f core conftest.err conftest.$ac_objext \
53480 conftest$ac_exeext conftest.$ac_ext
53481 if test "X$thread_CFLAGS" != Xfailed; then
53482 break
53484 done
53485 CFLAGS="$chktls_save_CFLAGS"
53486 if test "X$thread_CFLAGS" != Xfailed; then
53487 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53488 if test "$cross_compiling" = yes; then :
53489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53491 as_fn_error "cannot run test program while cross compiling
53492 See \`config.log' for more details." "$LINENO" 5; }
53493 else
53494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53495 /* end confdefs.h. */
53496 #include <pthread.h>
53497 __thread int a;
53498 static int *volatile a_in_other_thread;
53499 static void *
53500 thread_func (void *arg)
53502 a_in_other_thread = &a;
53503 return (void *)0;
53506 main ()
53508 pthread_t thread;
53509 void *thread_retval;
53510 int *volatile a_in_main_thread;
53511 a_in_main_thread = &a;
53512 if (pthread_create (&thread, (pthread_attr_t *)0,
53513 thread_func, (void *)0))
53514 return 0;
53515 if (pthread_join (thread, &thread_retval))
53516 return 0;
53517 return (a_in_other_thread == a_in_main_thread);
53519 return 0;
53521 _ACEOF
53522 if ac_fn_c_try_run "$LINENO"; then :
53523 gcc_cv_have_tls=yes
53524 else
53525 gcc_cv_have_tls=no
53527 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53528 conftest.$ac_objext conftest.beam conftest.$ac_ext
53531 CFLAGS="$chktls_save_CFLAGS"
53534 else
53535 gcc_cv_have_tls=no
53537 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53538 conftest.$ac_objext conftest.beam conftest.$ac_ext
53542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53543 $as_echo "$gcc_cv_have_tls" >&6; }
53544 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
53546 $as_echo "#define HAVE_TLS 1" >>confdefs.h
53549 case "$target" in
53550 *-hpux10*)
53551 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53553 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
53555 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53557 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53559 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53562 esac
53564 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin*)
53566 # All these tests are for C++; save the language and the compiler flags.
53567 # The CXXFLAGS thing is suspicious, but based on similar bits previously
53568 # found in GLIBCXX_CONFIGURE.
53570 ac_ext=cpp
53571 ac_cpp='$CXXCPP $CPPFLAGS'
53572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53576 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53577 ac_save_CXXFLAGS="$CXXFLAGS"
53579 # Check for maintainer-mode bits.
53580 if test x"$USE_MAINTAINER_MODE" = xno; then
53581 WERROR=''
53582 else
53583 WERROR='-Werror'
53586 # Check for -ffunction-sections -fdata-sections
53587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
53588 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
53589 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
53590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53591 /* end confdefs.h. */
53592 int foo; void bar() { };
53594 main ()
53598 return 0;
53600 _ACEOF
53601 if ac_fn_cxx_try_compile "$LINENO"; then :
53602 ac_fdsections=yes
53603 else
53604 ac_fdsections=no
53606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53607 if test "$ac_test_CXXFLAGS" = set; then
53608 CXXFLAGS="$ac_save_CXXFLAGS"
53609 else
53610 # this is the suspicious part
53611 CXXFLAGS=''
53613 if test x"$ac_fdsections" = x"yes"; then
53614 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
53617 $as_echo "$ac_fdsections" >&6; }
53619 ac_ext=c
53620 ac_cpp='$CPP $CPPFLAGS'
53621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53629 # If we're not using GNU ld, then there's no point in even trying these
53630 # tests. Check for that first. We should have already tested for gld
53631 # by now (in libtool), but require it now just to be safe...
53632 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53633 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53637 # The name set by libtool depends on the version of libtool. Shame on us
53638 # for depending on an impl detail, but c'est la vie. Older versions used
53639 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53640 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53641 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53642 # set (hence we're using an older libtool), then set it.
53643 if test x${with_gnu_ld+set} != xset; then
53644 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53645 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53646 with_gnu_ld=no
53647 else
53648 with_gnu_ld=$ac_cv_prog_gnu_ld
53652 # Start by getting the version number. I think the libtool test already
53653 # does some of this, but throws away the result.
53654 glibcxx_ld_is_gold=no
53655 if test x"$with_gnu_ld" = x"yes"; then
53656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53657 $as_echo_n "checking for ld version... " >&6; }
53659 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53660 glibcxx_ld_is_gold=yes
53662 ldver=`$LD --version 2>/dev/null |
53663 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'`
53665 glibcxx_gnu_ld_version=`echo $ldver | \
53666 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53668 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53671 # Set --gc-sections.
53672 glibcxx_have_gc_sections=no
53673 if test "$glibcxx_ld_is_gold" = "yes"; then
53674 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53675 glibcxx_have_gc_sections=yes
53677 else
53678 glibcxx_gcsections_min_ld=21602
53679 if test x"$with_gnu_ld" = x"yes" &&
53680 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53681 glibcxx_have_gc_sections=yes
53684 if test "$glibcxx_have_gc_sections" = "yes"; then
53685 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53686 # NB: This flag only works reliably after 2.16.1. Configure tests
53687 # for this are difficult, so hard wire a value that should work.
53689 ac_test_CFLAGS="${CFLAGS+set}"
53690 ac_save_CFLAGS="$CFLAGS"
53691 CFLAGS='-Wl,--gc-sections'
53693 # Check for -Wl,--gc-sections
53694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53695 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53696 if test x$gcc_no_link = xyes; then
53697 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53700 /* end confdefs.h. */
53701 int one(void) { return 1; }
53702 int two(void) { return 2; }
53705 main ()
53707 two();
53709 return 0;
53711 _ACEOF
53712 if ac_fn_c_try_link "$LINENO"; then :
53713 ac_gcsections=yes
53714 else
53715 ac_gcsections=no
53717 rm -f core conftest.err conftest.$ac_objext \
53718 conftest$ac_exeext conftest.$ac_ext
53719 if test "$ac_gcsections" = "yes"; then
53720 rm -f conftest.c
53721 touch conftest.c
53722 if $CC -c conftest.c; then
53723 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53724 grep "Warning: gc-sections option ignored" > /dev/null; then
53725 ac_gcsections=no
53728 rm -f conftest.c conftest.o conftest
53730 if test "$ac_gcsections" = "yes"; then
53731 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53734 $as_echo "$ac_gcsections" >&6; }
53736 if test "$ac_test_CFLAGS" = set; then
53737 CFLAGS="$ac_save_CFLAGS"
53738 else
53739 # this is the suspicious part
53740 CFLAGS=''
53744 # Set -z,relro.
53745 # Note this is only for shared objects.
53746 ac_ld_relro=no
53747 if test x"$with_gnu_ld" = x"yes"; then
53748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53749 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53750 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53751 if test -n "$cxx_z_relo"; then
53752 OPT_LDFLAGS="-Wl,-z,relro"
53753 ac_ld_relro=yes
53755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53756 $as_echo "$ac_ld_relro" >&6; }
53759 # Set linker optimization flags.
53760 if test x"$with_gnu_ld" = x"yes"; then
53761 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53768 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53769 ac_save_CXXFLAGS="$CXXFLAGS"
53770 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
53773 $as_echo_n "checking for sin in -lm... " >&6; }
53774 if test "${ac_cv_lib_m_sin+set}" = set; then :
53775 $as_echo_n "(cached) " >&6
53776 else
53777 ac_check_lib_save_LIBS=$LIBS
53778 LIBS="-lm $LIBS"
53779 if test x$gcc_no_link = xyes; then
53780 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53783 /* end confdefs.h. */
53785 /* Override any GCC internal prototype to avoid an error.
53786 Use char because int might match the return type of a GCC
53787 builtin and then its argument prototype would still apply. */
53788 #ifdef __cplusplus
53789 extern "C"
53790 #endif
53791 char sin ();
53793 main ()
53795 return sin ();
53797 return 0;
53799 _ACEOF
53800 if ac_fn_c_try_link "$LINENO"; then :
53801 ac_cv_lib_m_sin=yes
53802 else
53803 ac_cv_lib_m_sin=no
53805 rm -f core conftest.err conftest.$ac_objext \
53806 conftest$ac_exeext conftest.$ac_ext
53807 LIBS=$ac_check_lib_save_LIBS
53809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
53810 $as_echo "$ac_cv_lib_m_sin" >&6; }
53811 if test "x$ac_cv_lib_m_sin" = x""yes; then :
53812 libm="-lm"
53815 ac_save_LIBS="$LIBS"
53816 LIBS="$LIBS $libm"
53820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
53821 $as_echo_n "checking for isinf declaration... " >&6; }
53822 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
53823 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
53824 $as_echo_n "(cached) " >&6
53825 else
53828 ac_ext=cpp
53829 ac_cpp='$CXXCPP $CPPFLAGS'
53830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53835 /* end confdefs.h. */
53836 #include <math.h>
53837 #ifdef HAVE_IEEEFP_H
53838 #include <ieeefp.h>
53839 #endif
53842 main ()
53844 isinf(0);
53846 return 0;
53848 _ACEOF
53849 if ac_fn_cxx_try_compile "$LINENO"; then :
53850 glibcxx_cv_func_isinf_use=yes
53851 else
53852 glibcxx_cv_func_isinf_use=no
53854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53855 ac_ext=c
53856 ac_cpp='$CPP $CPPFLAGS'
53857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
53866 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
53868 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
53869 for ac_func in isinf
53870 do :
53871 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
53872 if test "x$ac_cv_func_isinf" = x""yes; then :
53873 cat >>confdefs.h <<_ACEOF
53874 #define HAVE_ISINF 1
53875 _ACEOF
53878 done
53880 else
53882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
53883 $as_echo_n "checking for _isinf declaration... " >&6; }
53884 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
53885 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
53886 $as_echo_n "(cached) " >&6
53887 else
53890 ac_ext=cpp
53891 ac_cpp='$CXXCPP $CPPFLAGS'
53892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53897 /* end confdefs.h. */
53898 #include <math.h>
53899 #ifdef HAVE_IEEEFP_H
53900 #include <ieeefp.h>
53901 #endif
53904 main ()
53906 _isinf(0);
53908 return 0;
53910 _ACEOF
53911 if ac_fn_cxx_try_compile "$LINENO"; then :
53912 glibcxx_cv_func__isinf_use=yes
53913 else
53914 glibcxx_cv_func__isinf_use=no
53916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53917 ac_ext=c
53918 ac_cpp='$CPP $CPPFLAGS'
53919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
53928 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
53930 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
53931 for ac_func in _isinf
53932 do :
53933 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
53934 if test "x$ac_cv_func__isinf" = x""yes; then :
53935 cat >>confdefs.h <<_ACEOF
53936 #define HAVE__ISINF 1
53937 _ACEOF
53940 done
53949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
53950 $as_echo_n "checking for isnan declaration... " >&6; }
53951 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
53952 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
53953 $as_echo_n "(cached) " >&6
53954 else
53957 ac_ext=cpp
53958 ac_cpp='$CXXCPP $CPPFLAGS'
53959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53964 /* end confdefs.h. */
53965 #include <math.h>
53966 #ifdef HAVE_IEEEFP_H
53967 #include <ieeefp.h>
53968 #endif
53971 main ()
53973 isnan(0);
53975 return 0;
53977 _ACEOF
53978 if ac_fn_cxx_try_compile "$LINENO"; then :
53979 glibcxx_cv_func_isnan_use=yes
53980 else
53981 glibcxx_cv_func_isnan_use=no
53983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53984 ac_ext=c
53985 ac_cpp='$CPP $CPPFLAGS'
53986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
53995 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
53997 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
53998 for ac_func in isnan
53999 do :
54000 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54001 if test "x$ac_cv_func_isnan" = x""yes; then :
54002 cat >>confdefs.h <<_ACEOF
54003 #define HAVE_ISNAN 1
54004 _ACEOF
54007 done
54009 else
54011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54012 $as_echo_n "checking for _isnan declaration... " >&6; }
54013 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54014 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
54015 $as_echo_n "(cached) " >&6
54016 else
54019 ac_ext=cpp
54020 ac_cpp='$CXXCPP $CPPFLAGS'
54021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54026 /* end confdefs.h. */
54027 #include <math.h>
54028 #ifdef HAVE_IEEEFP_H
54029 #include <ieeefp.h>
54030 #endif
54033 main ()
54035 _isnan(0);
54037 return 0;
54039 _ACEOF
54040 if ac_fn_cxx_try_compile "$LINENO"; then :
54041 glibcxx_cv_func__isnan_use=yes
54042 else
54043 glibcxx_cv_func__isnan_use=no
54045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54046 ac_ext=c
54047 ac_cpp='$CPP $CPPFLAGS'
54048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54057 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54059 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54060 for ac_func in _isnan
54061 do :
54062 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54063 if test "x$ac_cv_func__isnan" = x""yes; then :
54064 cat >>confdefs.h <<_ACEOF
54065 #define HAVE__ISNAN 1
54066 _ACEOF
54069 done
54078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54079 $as_echo_n "checking for finite declaration... " >&6; }
54080 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54081 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
54082 $as_echo_n "(cached) " >&6
54083 else
54086 ac_ext=cpp
54087 ac_cpp='$CXXCPP $CPPFLAGS'
54088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54093 /* end confdefs.h. */
54094 #include <math.h>
54095 #ifdef HAVE_IEEEFP_H
54096 #include <ieeefp.h>
54097 #endif
54100 main ()
54102 finite(0);
54104 return 0;
54106 _ACEOF
54107 if ac_fn_cxx_try_compile "$LINENO"; then :
54108 glibcxx_cv_func_finite_use=yes
54109 else
54110 glibcxx_cv_func_finite_use=no
54112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54113 ac_ext=c
54114 ac_cpp='$CPP $CPPFLAGS'
54115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54124 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54126 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54127 for ac_func in finite
54128 do :
54129 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54130 if test "x$ac_cv_func_finite" = x""yes; then :
54131 cat >>confdefs.h <<_ACEOF
54132 #define HAVE_FINITE 1
54133 _ACEOF
54136 done
54138 else
54140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54141 $as_echo_n "checking for _finite declaration... " >&6; }
54142 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54143 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
54144 $as_echo_n "(cached) " >&6
54145 else
54148 ac_ext=cpp
54149 ac_cpp='$CXXCPP $CPPFLAGS'
54150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54155 /* end confdefs.h. */
54156 #include <math.h>
54157 #ifdef HAVE_IEEEFP_H
54158 #include <ieeefp.h>
54159 #endif
54162 main ()
54164 _finite(0);
54166 return 0;
54168 _ACEOF
54169 if ac_fn_cxx_try_compile "$LINENO"; then :
54170 glibcxx_cv_func__finite_use=yes
54171 else
54172 glibcxx_cv_func__finite_use=no
54174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54175 ac_ext=c
54176 ac_cpp='$CPP $CPPFLAGS'
54177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54186 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54188 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54189 for ac_func in _finite
54190 do :
54191 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54192 if test "x$ac_cv_func__finite" = x""yes; then :
54193 cat >>confdefs.h <<_ACEOF
54194 #define HAVE__FINITE 1
54195 _ACEOF
54198 done
54207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54208 $as_echo_n "checking for sincos declaration... " >&6; }
54209 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54210 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
54211 $as_echo_n "(cached) " >&6
54212 else
54215 ac_ext=cpp
54216 ac_cpp='$CXXCPP $CPPFLAGS'
54217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54222 /* end confdefs.h. */
54223 #include <math.h>
54225 main ()
54227 sincos(0, 0, 0);
54229 return 0;
54231 _ACEOF
54232 if ac_fn_cxx_try_compile "$LINENO"; then :
54233 glibcxx_cv_func_sincos_use=yes
54234 else
54235 glibcxx_cv_func_sincos_use=no
54237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54238 ac_ext=c
54239 ac_cpp='$CPP $CPPFLAGS'
54240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54249 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54251 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54252 for ac_func in sincos
54253 do :
54254 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54255 if test "x$ac_cv_func_sincos" = x""yes; then :
54256 cat >>confdefs.h <<_ACEOF
54257 #define HAVE_SINCOS 1
54258 _ACEOF
54261 done
54263 else
54265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54266 $as_echo_n "checking for _sincos declaration... " >&6; }
54267 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54268 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
54269 $as_echo_n "(cached) " >&6
54270 else
54273 ac_ext=cpp
54274 ac_cpp='$CXXCPP $CPPFLAGS'
54275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54280 /* end confdefs.h. */
54281 #include <math.h>
54283 main ()
54285 _sincos(0, 0, 0);
54287 return 0;
54289 _ACEOF
54290 if ac_fn_cxx_try_compile "$LINENO"; then :
54291 glibcxx_cv_func__sincos_use=yes
54292 else
54293 glibcxx_cv_func__sincos_use=no
54295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54296 ac_ext=c
54297 ac_cpp='$CPP $CPPFLAGS'
54298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54307 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54309 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54310 for ac_func in _sincos
54311 do :
54312 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54313 if test "x$ac_cv_func__sincos" = x""yes; then :
54314 cat >>confdefs.h <<_ACEOF
54315 #define HAVE__SINCOS 1
54316 _ACEOF
54319 done
54328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54329 $as_echo_n "checking for fpclass declaration... " >&6; }
54330 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54331 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
54332 $as_echo_n "(cached) " >&6
54333 else
54336 ac_ext=cpp
54337 ac_cpp='$CXXCPP $CPPFLAGS'
54338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54343 /* end confdefs.h. */
54344 #include <math.h>
54345 #ifdef HAVE_IEEEFP_H
54346 #include <ieeefp.h>
54347 #endif
54350 main ()
54352 fpclass(0);
54354 return 0;
54356 _ACEOF
54357 if ac_fn_cxx_try_compile "$LINENO"; then :
54358 glibcxx_cv_func_fpclass_use=yes
54359 else
54360 glibcxx_cv_func_fpclass_use=no
54362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54363 ac_ext=c
54364 ac_cpp='$CPP $CPPFLAGS'
54365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54374 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54376 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54377 for ac_func in fpclass
54378 do :
54379 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54380 if test "x$ac_cv_func_fpclass" = x""yes; then :
54381 cat >>confdefs.h <<_ACEOF
54382 #define HAVE_FPCLASS 1
54383 _ACEOF
54386 done
54388 else
54390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54391 $as_echo_n "checking for _fpclass declaration... " >&6; }
54392 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54393 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
54394 $as_echo_n "(cached) " >&6
54395 else
54398 ac_ext=cpp
54399 ac_cpp='$CXXCPP $CPPFLAGS'
54400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54405 /* end confdefs.h. */
54406 #include <math.h>
54407 #ifdef HAVE_IEEEFP_H
54408 #include <ieeefp.h>
54409 #endif
54412 main ()
54414 _fpclass(0);
54416 return 0;
54418 _ACEOF
54419 if ac_fn_cxx_try_compile "$LINENO"; then :
54420 glibcxx_cv_func__fpclass_use=yes
54421 else
54422 glibcxx_cv_func__fpclass_use=no
54424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54425 ac_ext=c
54426 ac_cpp='$CPP $CPPFLAGS'
54427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54436 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54438 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54439 for ac_func in _fpclass
54440 do :
54441 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54442 if test "x$ac_cv_func__fpclass" = x""yes; then :
54443 cat >>confdefs.h <<_ACEOF
54444 #define HAVE__FPCLASS 1
54445 _ACEOF
54448 done
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54458 $as_echo_n "checking for qfpclass declaration... " >&6; }
54459 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54460 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
54461 $as_echo_n "(cached) " >&6
54462 else
54465 ac_ext=cpp
54466 ac_cpp='$CXXCPP $CPPFLAGS'
54467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54472 /* end confdefs.h. */
54473 #include <math.h>
54474 #ifdef HAVE_IEEEFP_H
54475 #include <ieeefp.h>
54476 #endif
54479 main ()
54481 qfpclass(0);
54483 return 0;
54485 _ACEOF
54486 if ac_fn_cxx_try_compile "$LINENO"; then :
54487 glibcxx_cv_func_qfpclass_use=yes
54488 else
54489 glibcxx_cv_func_qfpclass_use=no
54491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54492 ac_ext=c
54493 ac_cpp='$CPP $CPPFLAGS'
54494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
54503 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
54505 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
54506 for ac_func in qfpclass
54507 do :
54508 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
54509 if test "x$ac_cv_func_qfpclass" = x""yes; then :
54510 cat >>confdefs.h <<_ACEOF
54511 #define HAVE_QFPCLASS 1
54512 _ACEOF
54515 done
54517 else
54519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
54520 $as_echo_n "checking for _qfpclass declaration... " >&6; }
54521 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
54522 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
54523 $as_echo_n "(cached) " >&6
54524 else
54527 ac_ext=cpp
54528 ac_cpp='$CXXCPP $CPPFLAGS'
54529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54534 /* end confdefs.h. */
54535 #include <math.h>
54536 #ifdef HAVE_IEEEFP_H
54537 #include <ieeefp.h>
54538 #endif
54541 main ()
54543 _qfpclass(0);
54545 return 0;
54547 _ACEOF
54548 if ac_fn_cxx_try_compile "$LINENO"; then :
54549 glibcxx_cv_func__qfpclass_use=yes
54550 else
54551 glibcxx_cv_func__qfpclass_use=no
54553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54554 ac_ext=c
54555 ac_cpp='$CPP $CPPFLAGS'
54556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
54565 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
54567 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
54568 for ac_func in _qfpclass
54569 do :
54570 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
54571 if test "x$ac_cv_func__qfpclass" = x""yes; then :
54572 cat >>confdefs.h <<_ACEOF
54573 #define HAVE__QFPCLASS 1
54574 _ACEOF
54577 done
54586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
54587 $as_echo_n "checking for hypot declaration... " >&6; }
54588 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
54589 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
54590 $as_echo_n "(cached) " >&6
54591 else
54594 ac_ext=cpp
54595 ac_cpp='$CXXCPP $CPPFLAGS'
54596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54601 /* end confdefs.h. */
54602 #include <math.h>
54604 main ()
54606 hypot(0, 0);
54608 return 0;
54610 _ACEOF
54611 if ac_fn_cxx_try_compile "$LINENO"; then :
54612 glibcxx_cv_func_hypot_use=yes
54613 else
54614 glibcxx_cv_func_hypot_use=no
54616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54617 ac_ext=c
54618 ac_cpp='$CPP $CPPFLAGS'
54619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
54628 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
54630 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
54631 for ac_func in hypot
54632 do :
54633 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
54634 if test "x$ac_cv_func_hypot" = x""yes; then :
54635 cat >>confdefs.h <<_ACEOF
54636 #define HAVE_HYPOT 1
54637 _ACEOF
54640 done
54642 else
54644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
54645 $as_echo_n "checking for _hypot declaration... " >&6; }
54646 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
54647 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
54648 $as_echo_n "(cached) " >&6
54649 else
54652 ac_ext=cpp
54653 ac_cpp='$CXXCPP $CPPFLAGS'
54654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54659 /* end confdefs.h. */
54660 #include <math.h>
54662 main ()
54664 _hypot(0, 0);
54666 return 0;
54668 _ACEOF
54669 if ac_fn_cxx_try_compile "$LINENO"; then :
54670 glibcxx_cv_func__hypot_use=yes
54671 else
54672 glibcxx_cv_func__hypot_use=no
54674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54675 ac_ext=c
54676 ac_cpp='$CPP $CPPFLAGS'
54677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
54686 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
54688 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
54689 for ac_func in _hypot
54690 do :
54691 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
54692 if test "x$ac_cv_func__hypot" = x""yes; then :
54693 cat >>confdefs.h <<_ACEOF
54694 #define HAVE__HYPOT 1
54695 _ACEOF
54698 done
54707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
54708 $as_echo_n "checking for float trig functions... " >&6; }
54709 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
54710 $as_echo_n "(cached) " >&6
54711 else
54714 ac_ext=cpp
54715 ac_cpp='$CXXCPP $CPPFLAGS'
54716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54721 /* end confdefs.h. */
54722 #include <math.h>
54724 main ()
54726 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
54728 return 0;
54730 _ACEOF
54731 if ac_fn_cxx_try_compile "$LINENO"; then :
54732 glibcxx_cv_func_float_trig_use=yes
54733 else
54734 glibcxx_cv_func_float_trig_use=no
54736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54737 ac_ext=c
54738 ac_cpp='$CPP $CPPFLAGS'
54739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
54746 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
54747 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
54748 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
54749 do :
54750 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54751 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54752 eval as_val=\$$as_ac_var
54753 if test "x$as_val" = x""yes; then :
54754 cat >>confdefs.h <<_ACEOF
54755 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54756 _ACEOF
54759 done
54761 else
54762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
54763 $as_echo_n "checking for _float trig functions... " >&6; }
54764 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
54765 $as_echo_n "(cached) " >&6
54766 else
54769 ac_ext=cpp
54770 ac_cpp='$CXXCPP $CPPFLAGS'
54771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54776 /* end confdefs.h. */
54777 #include <math.h>
54779 main ()
54781 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
54783 return 0;
54785 _ACEOF
54786 if ac_fn_cxx_try_compile "$LINENO"; then :
54787 glibcxx_cv_func__float_trig_use=yes
54788 else
54789 glibcxx_cv_func__float_trig_use=no
54791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54792 ac_ext=c
54793 ac_cpp='$CPP $CPPFLAGS'
54794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
54801 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
54802 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
54803 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
54804 do :
54805 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54806 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54807 eval as_val=\$$as_ac_var
54808 if test "x$as_val" = x""yes; then :
54809 cat >>confdefs.h <<_ACEOF
54810 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54811 _ACEOF
54814 done
54823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
54824 $as_echo_n "checking for float round functions... " >&6; }
54825 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
54826 $as_echo_n "(cached) " >&6
54827 else
54830 ac_ext=cpp
54831 ac_cpp='$CXXCPP $CPPFLAGS'
54832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54837 /* end confdefs.h. */
54838 #include <math.h>
54840 main ()
54842 ceilf (0); floorf (0);
54844 return 0;
54846 _ACEOF
54847 if ac_fn_cxx_try_compile "$LINENO"; then :
54848 glibcxx_cv_func_float_round_use=yes
54849 else
54850 glibcxx_cv_func_float_round_use=no
54852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54853 ac_ext=c
54854 ac_cpp='$CPP $CPPFLAGS'
54855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
54862 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
54863 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
54864 for ac_func in ceilf floorf
54865 do :
54866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54868 eval as_val=\$$as_ac_var
54869 if test "x$as_val" = x""yes; then :
54870 cat >>confdefs.h <<_ACEOF
54871 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54872 _ACEOF
54875 done
54877 else
54878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
54879 $as_echo_n "checking for _float round functions... " >&6; }
54880 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
54881 $as_echo_n "(cached) " >&6
54882 else
54885 ac_ext=cpp
54886 ac_cpp='$CXXCPP $CPPFLAGS'
54887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54892 /* end confdefs.h. */
54893 #include <math.h>
54895 main ()
54897 _ceilf (0); _floorf (0);
54899 return 0;
54901 _ACEOF
54902 if ac_fn_cxx_try_compile "$LINENO"; then :
54903 glibcxx_cv_func__float_round_use=yes
54904 else
54905 glibcxx_cv_func__float_round_use=no
54907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54908 ac_ext=c
54909 ac_cpp='$CPP $CPPFLAGS'
54910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
54917 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
54918 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
54919 for ac_func in _ceilf _floorf
54920 do :
54921 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54922 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54923 eval as_val=\$$as_ac_var
54924 if test "x$as_val" = x""yes; then :
54925 cat >>confdefs.h <<_ACEOF
54926 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54927 _ACEOF
54930 done
54940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
54941 $as_echo_n "checking for expf declaration... " >&6; }
54942 if test x${glibcxx_cv_func_expf_use+set} != xset; then
54943 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
54944 $as_echo_n "(cached) " >&6
54945 else
54948 ac_ext=cpp
54949 ac_cpp='$CXXCPP $CPPFLAGS'
54950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54955 /* end confdefs.h. */
54956 #include <math.h>
54957 #ifdef HAVE_IEEEFP_H
54958 #include <ieeefp.h>
54959 #endif
54962 main ()
54964 expf(0);
54966 return 0;
54968 _ACEOF
54969 if ac_fn_cxx_try_compile "$LINENO"; then :
54970 glibcxx_cv_func_expf_use=yes
54971 else
54972 glibcxx_cv_func_expf_use=no
54974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54975 ac_ext=c
54976 ac_cpp='$CPP $CPPFLAGS'
54977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
54986 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
54988 if test x$glibcxx_cv_func_expf_use = x"yes"; then
54989 for ac_func in expf
54990 do :
54991 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
54992 if test "x$ac_cv_func_expf" = x""yes; then :
54993 cat >>confdefs.h <<_ACEOF
54994 #define HAVE_EXPF 1
54995 _ACEOF
54998 done
55000 else
55002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55003 $as_echo_n "checking for _expf declaration... " >&6; }
55004 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55005 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
55006 $as_echo_n "(cached) " >&6
55007 else
55010 ac_ext=cpp
55011 ac_cpp='$CXXCPP $CPPFLAGS'
55012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55017 /* end confdefs.h. */
55018 #include <math.h>
55019 #ifdef HAVE_IEEEFP_H
55020 #include <ieeefp.h>
55021 #endif
55024 main ()
55026 _expf(0);
55028 return 0;
55030 _ACEOF
55031 if ac_fn_cxx_try_compile "$LINENO"; then :
55032 glibcxx_cv_func__expf_use=yes
55033 else
55034 glibcxx_cv_func__expf_use=no
55036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55037 ac_ext=c
55038 ac_cpp='$CPP $CPPFLAGS'
55039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55048 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55050 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55051 for ac_func in _expf
55052 do :
55053 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55054 if test "x$ac_cv_func__expf" = x""yes; then :
55055 cat >>confdefs.h <<_ACEOF
55056 #define HAVE__EXPF 1
55057 _ACEOF
55060 done
55069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55070 $as_echo_n "checking for isnanf declaration... " >&6; }
55071 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55072 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
55073 $as_echo_n "(cached) " >&6
55074 else
55077 ac_ext=cpp
55078 ac_cpp='$CXXCPP $CPPFLAGS'
55079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55084 /* end confdefs.h. */
55085 #include <math.h>
55086 #ifdef HAVE_IEEEFP_H
55087 #include <ieeefp.h>
55088 #endif
55091 main ()
55093 isnanf(0);
55095 return 0;
55097 _ACEOF
55098 if ac_fn_cxx_try_compile "$LINENO"; then :
55099 glibcxx_cv_func_isnanf_use=yes
55100 else
55101 glibcxx_cv_func_isnanf_use=no
55103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55104 ac_ext=c
55105 ac_cpp='$CPP $CPPFLAGS'
55106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55115 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55117 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55118 for ac_func in isnanf
55119 do :
55120 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55121 if test "x$ac_cv_func_isnanf" = x""yes; then :
55122 cat >>confdefs.h <<_ACEOF
55123 #define HAVE_ISNANF 1
55124 _ACEOF
55127 done
55129 else
55131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55132 $as_echo_n "checking for _isnanf declaration... " >&6; }
55133 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55134 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
55135 $as_echo_n "(cached) " >&6
55136 else
55139 ac_ext=cpp
55140 ac_cpp='$CXXCPP $CPPFLAGS'
55141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55146 /* end confdefs.h. */
55147 #include <math.h>
55148 #ifdef HAVE_IEEEFP_H
55149 #include <ieeefp.h>
55150 #endif
55153 main ()
55155 _isnanf(0);
55157 return 0;
55159 _ACEOF
55160 if ac_fn_cxx_try_compile "$LINENO"; then :
55161 glibcxx_cv_func__isnanf_use=yes
55162 else
55163 glibcxx_cv_func__isnanf_use=no
55165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55166 ac_ext=c
55167 ac_cpp='$CPP $CPPFLAGS'
55168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55177 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55179 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55180 for ac_func in _isnanf
55181 do :
55182 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55183 if test "x$ac_cv_func__isnanf" = x""yes; then :
55184 cat >>confdefs.h <<_ACEOF
55185 #define HAVE__ISNANF 1
55186 _ACEOF
55189 done
55198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55199 $as_echo_n "checking for isinff declaration... " >&6; }
55200 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55201 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
55202 $as_echo_n "(cached) " >&6
55203 else
55206 ac_ext=cpp
55207 ac_cpp='$CXXCPP $CPPFLAGS'
55208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55213 /* end confdefs.h. */
55214 #include <math.h>
55215 #ifdef HAVE_IEEEFP_H
55216 #include <ieeefp.h>
55217 #endif
55220 main ()
55222 isinff(0);
55224 return 0;
55226 _ACEOF
55227 if ac_fn_cxx_try_compile "$LINENO"; then :
55228 glibcxx_cv_func_isinff_use=yes
55229 else
55230 glibcxx_cv_func_isinff_use=no
55232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55233 ac_ext=c
55234 ac_cpp='$CPP $CPPFLAGS'
55235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55244 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55246 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55247 for ac_func in isinff
55248 do :
55249 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55250 if test "x$ac_cv_func_isinff" = x""yes; then :
55251 cat >>confdefs.h <<_ACEOF
55252 #define HAVE_ISINFF 1
55253 _ACEOF
55256 done
55258 else
55260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55261 $as_echo_n "checking for _isinff declaration... " >&6; }
55262 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55263 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
55264 $as_echo_n "(cached) " >&6
55265 else
55268 ac_ext=cpp
55269 ac_cpp='$CXXCPP $CPPFLAGS'
55270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55275 /* end confdefs.h. */
55276 #include <math.h>
55277 #ifdef HAVE_IEEEFP_H
55278 #include <ieeefp.h>
55279 #endif
55282 main ()
55284 _isinff(0);
55286 return 0;
55288 _ACEOF
55289 if ac_fn_cxx_try_compile "$LINENO"; then :
55290 glibcxx_cv_func__isinff_use=yes
55291 else
55292 glibcxx_cv_func__isinff_use=no
55294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55295 ac_ext=c
55296 ac_cpp='$CPP $CPPFLAGS'
55297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55306 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55308 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55309 for ac_func in _isinff
55310 do :
55311 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55312 if test "x$ac_cv_func__isinff" = x""yes; then :
55313 cat >>confdefs.h <<_ACEOF
55314 #define HAVE__ISINFF 1
55315 _ACEOF
55318 done
55327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55328 $as_echo_n "checking for atan2f declaration... " >&6; }
55329 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55330 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
55331 $as_echo_n "(cached) " >&6
55332 else
55335 ac_ext=cpp
55336 ac_cpp='$CXXCPP $CPPFLAGS'
55337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55342 /* end confdefs.h. */
55343 #include <math.h>
55345 main ()
55347 atan2f(0, 0);
55349 return 0;
55351 _ACEOF
55352 if ac_fn_cxx_try_compile "$LINENO"; then :
55353 glibcxx_cv_func_atan2f_use=yes
55354 else
55355 glibcxx_cv_func_atan2f_use=no
55357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55358 ac_ext=c
55359 ac_cpp='$CPP $CPPFLAGS'
55360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55369 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55371 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55372 for ac_func in atan2f
55373 do :
55374 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55375 if test "x$ac_cv_func_atan2f" = x""yes; then :
55376 cat >>confdefs.h <<_ACEOF
55377 #define HAVE_ATAN2F 1
55378 _ACEOF
55381 done
55383 else
55385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55386 $as_echo_n "checking for _atan2f declaration... " >&6; }
55387 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55388 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
55389 $as_echo_n "(cached) " >&6
55390 else
55393 ac_ext=cpp
55394 ac_cpp='$CXXCPP $CPPFLAGS'
55395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55400 /* end confdefs.h. */
55401 #include <math.h>
55403 main ()
55405 _atan2f(0, 0);
55407 return 0;
55409 _ACEOF
55410 if ac_fn_cxx_try_compile "$LINENO"; then :
55411 glibcxx_cv_func__atan2f_use=yes
55412 else
55413 glibcxx_cv_func__atan2f_use=no
55415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55416 ac_ext=c
55417 ac_cpp='$CPP $CPPFLAGS'
55418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55427 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55429 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55430 for ac_func in _atan2f
55431 do :
55432 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55433 if test "x$ac_cv_func__atan2f" = x""yes; then :
55434 cat >>confdefs.h <<_ACEOF
55435 #define HAVE__ATAN2F 1
55436 _ACEOF
55439 done
55448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55449 $as_echo_n "checking for fabsf declaration... " >&6; }
55450 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55451 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
55452 $as_echo_n "(cached) " >&6
55453 else
55456 ac_ext=cpp
55457 ac_cpp='$CXXCPP $CPPFLAGS'
55458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55463 /* end confdefs.h. */
55464 #include <math.h>
55465 #ifdef HAVE_IEEEFP_H
55466 #include <ieeefp.h>
55467 #endif
55470 main ()
55472 fabsf(0);
55474 return 0;
55476 _ACEOF
55477 if ac_fn_cxx_try_compile "$LINENO"; then :
55478 glibcxx_cv_func_fabsf_use=yes
55479 else
55480 glibcxx_cv_func_fabsf_use=no
55482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55483 ac_ext=c
55484 ac_cpp='$CPP $CPPFLAGS'
55485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
55494 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
55496 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
55497 for ac_func in fabsf
55498 do :
55499 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
55500 if test "x$ac_cv_func_fabsf" = x""yes; then :
55501 cat >>confdefs.h <<_ACEOF
55502 #define HAVE_FABSF 1
55503 _ACEOF
55506 done
55508 else
55510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
55511 $as_echo_n "checking for _fabsf declaration... " >&6; }
55512 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
55513 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
55514 $as_echo_n "(cached) " >&6
55515 else
55518 ac_ext=cpp
55519 ac_cpp='$CXXCPP $CPPFLAGS'
55520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55525 /* end confdefs.h. */
55526 #include <math.h>
55527 #ifdef HAVE_IEEEFP_H
55528 #include <ieeefp.h>
55529 #endif
55532 main ()
55534 _fabsf(0);
55536 return 0;
55538 _ACEOF
55539 if ac_fn_cxx_try_compile "$LINENO"; then :
55540 glibcxx_cv_func__fabsf_use=yes
55541 else
55542 glibcxx_cv_func__fabsf_use=no
55544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55545 ac_ext=c
55546 ac_cpp='$CPP $CPPFLAGS'
55547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
55556 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
55558 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
55559 for ac_func in _fabsf
55560 do :
55561 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
55562 if test "x$ac_cv_func__fabsf" = x""yes; then :
55563 cat >>confdefs.h <<_ACEOF
55564 #define HAVE__FABSF 1
55565 _ACEOF
55568 done
55577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
55578 $as_echo_n "checking for fmodf declaration... " >&6; }
55579 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
55580 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
55581 $as_echo_n "(cached) " >&6
55582 else
55585 ac_ext=cpp
55586 ac_cpp='$CXXCPP $CPPFLAGS'
55587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55592 /* end confdefs.h. */
55593 #include <math.h>
55595 main ()
55597 fmodf(0, 0);
55599 return 0;
55601 _ACEOF
55602 if ac_fn_cxx_try_compile "$LINENO"; then :
55603 glibcxx_cv_func_fmodf_use=yes
55604 else
55605 glibcxx_cv_func_fmodf_use=no
55607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55608 ac_ext=c
55609 ac_cpp='$CPP $CPPFLAGS'
55610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
55619 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
55621 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
55622 for ac_func in fmodf
55623 do :
55624 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
55625 if test "x$ac_cv_func_fmodf" = x""yes; then :
55626 cat >>confdefs.h <<_ACEOF
55627 #define HAVE_FMODF 1
55628 _ACEOF
55631 done
55633 else
55635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
55636 $as_echo_n "checking for _fmodf declaration... " >&6; }
55637 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
55638 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
55639 $as_echo_n "(cached) " >&6
55640 else
55643 ac_ext=cpp
55644 ac_cpp='$CXXCPP $CPPFLAGS'
55645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55650 /* end confdefs.h. */
55651 #include <math.h>
55653 main ()
55655 _fmodf(0, 0);
55657 return 0;
55659 _ACEOF
55660 if ac_fn_cxx_try_compile "$LINENO"; then :
55661 glibcxx_cv_func__fmodf_use=yes
55662 else
55663 glibcxx_cv_func__fmodf_use=no
55665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55666 ac_ext=c
55667 ac_cpp='$CPP $CPPFLAGS'
55668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
55677 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
55679 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
55680 for ac_func in _fmodf
55681 do :
55682 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
55683 if test "x$ac_cv_func__fmodf" = x""yes; then :
55684 cat >>confdefs.h <<_ACEOF
55685 #define HAVE__FMODF 1
55686 _ACEOF
55689 done
55698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
55699 $as_echo_n "checking for frexpf declaration... " >&6; }
55700 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
55701 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
55702 $as_echo_n "(cached) " >&6
55703 else
55706 ac_ext=cpp
55707 ac_cpp='$CXXCPP $CPPFLAGS'
55708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55713 /* end confdefs.h. */
55714 #include <math.h>
55716 main ()
55718 frexpf(0, 0);
55720 return 0;
55722 _ACEOF
55723 if ac_fn_cxx_try_compile "$LINENO"; then :
55724 glibcxx_cv_func_frexpf_use=yes
55725 else
55726 glibcxx_cv_func_frexpf_use=no
55728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55729 ac_ext=c
55730 ac_cpp='$CPP $CPPFLAGS'
55731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
55740 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
55742 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
55743 for ac_func in frexpf
55744 do :
55745 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
55746 if test "x$ac_cv_func_frexpf" = x""yes; then :
55747 cat >>confdefs.h <<_ACEOF
55748 #define HAVE_FREXPF 1
55749 _ACEOF
55752 done
55754 else
55756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
55757 $as_echo_n "checking for _frexpf declaration... " >&6; }
55758 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
55759 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
55760 $as_echo_n "(cached) " >&6
55761 else
55764 ac_ext=cpp
55765 ac_cpp='$CXXCPP $CPPFLAGS'
55766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55771 /* end confdefs.h. */
55772 #include <math.h>
55774 main ()
55776 _frexpf(0, 0);
55778 return 0;
55780 _ACEOF
55781 if ac_fn_cxx_try_compile "$LINENO"; then :
55782 glibcxx_cv_func__frexpf_use=yes
55783 else
55784 glibcxx_cv_func__frexpf_use=no
55786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55787 ac_ext=c
55788 ac_cpp='$CPP $CPPFLAGS'
55789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
55798 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
55800 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
55801 for ac_func in _frexpf
55802 do :
55803 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
55804 if test "x$ac_cv_func__frexpf" = x""yes; then :
55805 cat >>confdefs.h <<_ACEOF
55806 #define HAVE__FREXPF 1
55807 _ACEOF
55810 done
55819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
55820 $as_echo_n "checking for hypotf declaration... " >&6; }
55821 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
55822 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
55823 $as_echo_n "(cached) " >&6
55824 else
55827 ac_ext=cpp
55828 ac_cpp='$CXXCPP $CPPFLAGS'
55829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55834 /* end confdefs.h. */
55835 #include <math.h>
55837 main ()
55839 hypotf(0, 0);
55841 return 0;
55843 _ACEOF
55844 if ac_fn_cxx_try_compile "$LINENO"; then :
55845 glibcxx_cv_func_hypotf_use=yes
55846 else
55847 glibcxx_cv_func_hypotf_use=no
55849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55850 ac_ext=c
55851 ac_cpp='$CPP $CPPFLAGS'
55852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
55861 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
55863 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
55864 for ac_func in hypotf
55865 do :
55866 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
55867 if test "x$ac_cv_func_hypotf" = x""yes; then :
55868 cat >>confdefs.h <<_ACEOF
55869 #define HAVE_HYPOTF 1
55870 _ACEOF
55873 done
55875 else
55877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
55878 $as_echo_n "checking for _hypotf declaration... " >&6; }
55879 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
55880 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
55881 $as_echo_n "(cached) " >&6
55882 else
55885 ac_ext=cpp
55886 ac_cpp='$CXXCPP $CPPFLAGS'
55887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55892 /* end confdefs.h. */
55893 #include <math.h>
55895 main ()
55897 _hypotf(0, 0);
55899 return 0;
55901 _ACEOF
55902 if ac_fn_cxx_try_compile "$LINENO"; then :
55903 glibcxx_cv_func__hypotf_use=yes
55904 else
55905 glibcxx_cv_func__hypotf_use=no
55907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55908 ac_ext=c
55909 ac_cpp='$CPP $CPPFLAGS'
55910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
55919 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
55921 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
55922 for ac_func in _hypotf
55923 do :
55924 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
55925 if test "x$ac_cv_func__hypotf" = x""yes; then :
55926 cat >>confdefs.h <<_ACEOF
55927 #define HAVE__HYPOTF 1
55928 _ACEOF
55931 done
55940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
55941 $as_echo_n "checking for ldexpf declaration... " >&6; }
55942 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
55943 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
55944 $as_echo_n "(cached) " >&6
55945 else
55948 ac_ext=cpp
55949 ac_cpp='$CXXCPP $CPPFLAGS'
55950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55955 /* end confdefs.h. */
55956 #include <math.h>
55958 main ()
55960 ldexpf(0, 0);
55962 return 0;
55964 _ACEOF
55965 if ac_fn_cxx_try_compile "$LINENO"; then :
55966 glibcxx_cv_func_ldexpf_use=yes
55967 else
55968 glibcxx_cv_func_ldexpf_use=no
55970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55971 ac_ext=c
55972 ac_cpp='$CPP $CPPFLAGS'
55973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
55982 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
55984 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
55985 for ac_func in ldexpf
55986 do :
55987 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
55988 if test "x$ac_cv_func_ldexpf" = x""yes; then :
55989 cat >>confdefs.h <<_ACEOF
55990 #define HAVE_LDEXPF 1
55991 _ACEOF
55994 done
55996 else
55998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
55999 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56000 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56001 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
56002 $as_echo_n "(cached) " >&6
56003 else
56006 ac_ext=cpp
56007 ac_cpp='$CXXCPP $CPPFLAGS'
56008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56013 /* end confdefs.h. */
56014 #include <math.h>
56016 main ()
56018 _ldexpf(0, 0);
56020 return 0;
56022 _ACEOF
56023 if ac_fn_cxx_try_compile "$LINENO"; then :
56024 glibcxx_cv_func__ldexpf_use=yes
56025 else
56026 glibcxx_cv_func__ldexpf_use=no
56028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56029 ac_ext=c
56030 ac_cpp='$CPP $CPPFLAGS'
56031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56040 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56042 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56043 for ac_func in _ldexpf
56044 do :
56045 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56046 if test "x$ac_cv_func__ldexpf" = x""yes; then :
56047 cat >>confdefs.h <<_ACEOF
56048 #define HAVE__LDEXPF 1
56049 _ACEOF
56052 done
56061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56062 $as_echo_n "checking for logf declaration... " >&6; }
56063 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56064 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
56065 $as_echo_n "(cached) " >&6
56066 else
56069 ac_ext=cpp
56070 ac_cpp='$CXXCPP $CPPFLAGS'
56071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56076 /* end confdefs.h. */
56077 #include <math.h>
56078 #ifdef HAVE_IEEEFP_H
56079 #include <ieeefp.h>
56080 #endif
56083 main ()
56085 logf(0);
56087 return 0;
56089 _ACEOF
56090 if ac_fn_cxx_try_compile "$LINENO"; then :
56091 glibcxx_cv_func_logf_use=yes
56092 else
56093 glibcxx_cv_func_logf_use=no
56095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56096 ac_ext=c
56097 ac_cpp='$CPP $CPPFLAGS'
56098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56107 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56109 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56110 for ac_func in logf
56111 do :
56112 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56113 if test "x$ac_cv_func_logf" = x""yes; then :
56114 cat >>confdefs.h <<_ACEOF
56115 #define HAVE_LOGF 1
56116 _ACEOF
56119 done
56121 else
56123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56124 $as_echo_n "checking for _logf declaration... " >&6; }
56125 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56126 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
56127 $as_echo_n "(cached) " >&6
56128 else
56131 ac_ext=cpp
56132 ac_cpp='$CXXCPP $CPPFLAGS'
56133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56138 /* end confdefs.h. */
56139 #include <math.h>
56140 #ifdef HAVE_IEEEFP_H
56141 #include <ieeefp.h>
56142 #endif
56145 main ()
56147 _logf(0);
56149 return 0;
56151 _ACEOF
56152 if ac_fn_cxx_try_compile "$LINENO"; then :
56153 glibcxx_cv_func__logf_use=yes
56154 else
56155 glibcxx_cv_func__logf_use=no
56157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56158 ac_ext=c
56159 ac_cpp='$CPP $CPPFLAGS'
56160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56169 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56171 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56172 for ac_func in _logf
56173 do :
56174 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56175 if test "x$ac_cv_func__logf" = x""yes; then :
56176 cat >>confdefs.h <<_ACEOF
56177 #define HAVE__LOGF 1
56178 _ACEOF
56181 done
56190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56191 $as_echo_n "checking for log10f declaration... " >&6; }
56192 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56193 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
56194 $as_echo_n "(cached) " >&6
56195 else
56198 ac_ext=cpp
56199 ac_cpp='$CXXCPP $CPPFLAGS'
56200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56205 /* end confdefs.h. */
56206 #include <math.h>
56207 #ifdef HAVE_IEEEFP_H
56208 #include <ieeefp.h>
56209 #endif
56212 main ()
56214 log10f(0);
56216 return 0;
56218 _ACEOF
56219 if ac_fn_cxx_try_compile "$LINENO"; then :
56220 glibcxx_cv_func_log10f_use=yes
56221 else
56222 glibcxx_cv_func_log10f_use=no
56224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56225 ac_ext=c
56226 ac_cpp='$CPP $CPPFLAGS'
56227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56236 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56238 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56239 for ac_func in log10f
56240 do :
56241 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56242 if test "x$ac_cv_func_log10f" = x""yes; then :
56243 cat >>confdefs.h <<_ACEOF
56244 #define HAVE_LOG10F 1
56245 _ACEOF
56248 done
56250 else
56252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56253 $as_echo_n "checking for _log10f declaration... " >&6; }
56254 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56255 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
56256 $as_echo_n "(cached) " >&6
56257 else
56260 ac_ext=cpp
56261 ac_cpp='$CXXCPP $CPPFLAGS'
56262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56267 /* end confdefs.h. */
56268 #include <math.h>
56269 #ifdef HAVE_IEEEFP_H
56270 #include <ieeefp.h>
56271 #endif
56274 main ()
56276 _log10f(0);
56278 return 0;
56280 _ACEOF
56281 if ac_fn_cxx_try_compile "$LINENO"; then :
56282 glibcxx_cv_func__log10f_use=yes
56283 else
56284 glibcxx_cv_func__log10f_use=no
56286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56287 ac_ext=c
56288 ac_cpp='$CPP $CPPFLAGS'
56289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56298 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56300 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56301 for ac_func in _log10f
56302 do :
56303 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56304 if test "x$ac_cv_func__log10f" = x""yes; then :
56305 cat >>confdefs.h <<_ACEOF
56306 #define HAVE__LOG10F 1
56307 _ACEOF
56310 done
56319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56320 $as_echo_n "checking for modff declaration... " >&6; }
56321 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56322 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
56323 $as_echo_n "(cached) " >&6
56324 else
56327 ac_ext=cpp
56328 ac_cpp='$CXXCPP $CPPFLAGS'
56329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56334 /* end confdefs.h. */
56335 #include <math.h>
56337 main ()
56339 modff(0, 0);
56341 return 0;
56343 _ACEOF
56344 if ac_fn_cxx_try_compile "$LINENO"; then :
56345 glibcxx_cv_func_modff_use=yes
56346 else
56347 glibcxx_cv_func_modff_use=no
56349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56350 ac_ext=c
56351 ac_cpp='$CPP $CPPFLAGS'
56352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56361 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56363 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56364 for ac_func in modff
56365 do :
56366 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56367 if test "x$ac_cv_func_modff" = x""yes; then :
56368 cat >>confdefs.h <<_ACEOF
56369 #define HAVE_MODFF 1
56370 _ACEOF
56373 done
56375 else
56377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56378 $as_echo_n "checking for _modff declaration... " >&6; }
56379 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56380 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
56381 $as_echo_n "(cached) " >&6
56382 else
56385 ac_ext=cpp
56386 ac_cpp='$CXXCPP $CPPFLAGS'
56387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56392 /* end confdefs.h. */
56393 #include <math.h>
56395 main ()
56397 _modff(0, 0);
56399 return 0;
56401 _ACEOF
56402 if ac_fn_cxx_try_compile "$LINENO"; then :
56403 glibcxx_cv_func__modff_use=yes
56404 else
56405 glibcxx_cv_func__modff_use=no
56407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56408 ac_ext=c
56409 ac_cpp='$CPP $CPPFLAGS'
56410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56419 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56421 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56422 for ac_func in _modff
56423 do :
56424 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56425 if test "x$ac_cv_func__modff" = x""yes; then :
56426 cat >>confdefs.h <<_ACEOF
56427 #define HAVE__MODFF 1
56428 _ACEOF
56431 done
56440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56441 $as_echo_n "checking for modf declaration... " >&6; }
56442 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56443 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
56444 $as_echo_n "(cached) " >&6
56445 else
56448 ac_ext=cpp
56449 ac_cpp='$CXXCPP $CPPFLAGS'
56450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56455 /* end confdefs.h. */
56456 #include <math.h>
56458 main ()
56460 modf(0, 0);
56462 return 0;
56464 _ACEOF
56465 if ac_fn_cxx_try_compile "$LINENO"; then :
56466 glibcxx_cv_func_modf_use=yes
56467 else
56468 glibcxx_cv_func_modf_use=no
56470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56471 ac_ext=c
56472 ac_cpp='$CPP $CPPFLAGS'
56473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56482 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56484 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56485 for ac_func in modf
56486 do :
56487 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
56488 if test "x$ac_cv_func_modf" = x""yes; then :
56489 cat >>confdefs.h <<_ACEOF
56490 #define HAVE_MODF 1
56491 _ACEOF
56494 done
56496 else
56498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
56499 $as_echo_n "checking for _modf declaration... " >&6; }
56500 if test x${glibcxx_cv_func__modf_use+set} != xset; then
56501 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
56502 $as_echo_n "(cached) " >&6
56503 else
56506 ac_ext=cpp
56507 ac_cpp='$CXXCPP $CPPFLAGS'
56508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56513 /* end confdefs.h. */
56514 #include <math.h>
56516 main ()
56518 _modf(0, 0);
56520 return 0;
56522 _ACEOF
56523 if ac_fn_cxx_try_compile "$LINENO"; then :
56524 glibcxx_cv_func__modf_use=yes
56525 else
56526 glibcxx_cv_func__modf_use=no
56528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56529 ac_ext=c
56530 ac_cpp='$CPP $CPPFLAGS'
56531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
56540 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
56542 if test x$glibcxx_cv_func__modf_use = x"yes"; then
56543 for ac_func in _modf
56544 do :
56545 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
56546 if test "x$ac_cv_func__modf" = x""yes; then :
56547 cat >>confdefs.h <<_ACEOF
56548 #define HAVE__MODF 1
56549 _ACEOF
56552 done
56561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
56562 $as_echo_n "checking for powf declaration... " >&6; }
56563 if test x${glibcxx_cv_func_powf_use+set} != xset; then
56564 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
56565 $as_echo_n "(cached) " >&6
56566 else
56569 ac_ext=cpp
56570 ac_cpp='$CXXCPP $CPPFLAGS'
56571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56576 /* end confdefs.h. */
56577 #include <math.h>
56579 main ()
56581 powf(0, 0);
56583 return 0;
56585 _ACEOF
56586 if ac_fn_cxx_try_compile "$LINENO"; then :
56587 glibcxx_cv_func_powf_use=yes
56588 else
56589 glibcxx_cv_func_powf_use=no
56591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56592 ac_ext=c
56593 ac_cpp='$CPP $CPPFLAGS'
56594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
56603 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
56605 if test x$glibcxx_cv_func_powf_use = x"yes"; then
56606 for ac_func in powf
56607 do :
56608 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
56609 if test "x$ac_cv_func_powf" = x""yes; then :
56610 cat >>confdefs.h <<_ACEOF
56611 #define HAVE_POWF 1
56612 _ACEOF
56615 done
56617 else
56619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
56620 $as_echo_n "checking for _powf declaration... " >&6; }
56621 if test x${glibcxx_cv_func__powf_use+set} != xset; then
56622 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
56623 $as_echo_n "(cached) " >&6
56624 else
56627 ac_ext=cpp
56628 ac_cpp='$CXXCPP $CPPFLAGS'
56629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56634 /* end confdefs.h. */
56635 #include <math.h>
56637 main ()
56639 _powf(0, 0);
56641 return 0;
56643 _ACEOF
56644 if ac_fn_cxx_try_compile "$LINENO"; then :
56645 glibcxx_cv_func__powf_use=yes
56646 else
56647 glibcxx_cv_func__powf_use=no
56649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56650 ac_ext=c
56651 ac_cpp='$CPP $CPPFLAGS'
56652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
56661 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
56663 if test x$glibcxx_cv_func__powf_use = x"yes"; then
56664 for ac_func in _powf
56665 do :
56666 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
56667 if test "x$ac_cv_func__powf" = x""yes; then :
56668 cat >>confdefs.h <<_ACEOF
56669 #define HAVE__POWF 1
56670 _ACEOF
56673 done
56682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
56683 $as_echo_n "checking for sqrtf declaration... " >&6; }
56684 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
56685 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
56686 $as_echo_n "(cached) " >&6
56687 else
56690 ac_ext=cpp
56691 ac_cpp='$CXXCPP $CPPFLAGS'
56692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56697 /* end confdefs.h. */
56698 #include <math.h>
56699 #ifdef HAVE_IEEEFP_H
56700 #include <ieeefp.h>
56701 #endif
56704 main ()
56706 sqrtf(0);
56708 return 0;
56710 _ACEOF
56711 if ac_fn_cxx_try_compile "$LINENO"; then :
56712 glibcxx_cv_func_sqrtf_use=yes
56713 else
56714 glibcxx_cv_func_sqrtf_use=no
56716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56717 ac_ext=c
56718 ac_cpp='$CPP $CPPFLAGS'
56719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
56728 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
56730 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
56731 for ac_func in sqrtf
56732 do :
56733 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
56734 if test "x$ac_cv_func_sqrtf" = x""yes; then :
56735 cat >>confdefs.h <<_ACEOF
56736 #define HAVE_SQRTF 1
56737 _ACEOF
56740 done
56742 else
56744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
56745 $as_echo_n "checking for _sqrtf declaration... " >&6; }
56746 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
56747 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
56748 $as_echo_n "(cached) " >&6
56749 else
56752 ac_ext=cpp
56753 ac_cpp='$CXXCPP $CPPFLAGS'
56754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56759 /* end confdefs.h. */
56760 #include <math.h>
56761 #ifdef HAVE_IEEEFP_H
56762 #include <ieeefp.h>
56763 #endif
56766 main ()
56768 _sqrtf(0);
56770 return 0;
56772 _ACEOF
56773 if ac_fn_cxx_try_compile "$LINENO"; then :
56774 glibcxx_cv_func__sqrtf_use=yes
56775 else
56776 glibcxx_cv_func__sqrtf_use=no
56778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56779 ac_ext=c
56780 ac_cpp='$CPP $CPPFLAGS'
56781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
56790 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
56792 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
56793 for ac_func in _sqrtf
56794 do :
56795 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
56796 if test "x$ac_cv_func__sqrtf" = x""yes; then :
56797 cat >>confdefs.h <<_ACEOF
56798 #define HAVE__SQRTF 1
56799 _ACEOF
56802 done
56811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
56812 $as_echo_n "checking for sincosf declaration... " >&6; }
56813 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
56814 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
56815 $as_echo_n "(cached) " >&6
56816 else
56819 ac_ext=cpp
56820 ac_cpp='$CXXCPP $CPPFLAGS'
56821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56826 /* end confdefs.h. */
56827 #include <math.h>
56829 main ()
56831 sincosf(0, 0, 0);
56833 return 0;
56835 _ACEOF
56836 if ac_fn_cxx_try_compile "$LINENO"; then :
56837 glibcxx_cv_func_sincosf_use=yes
56838 else
56839 glibcxx_cv_func_sincosf_use=no
56841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56842 ac_ext=c
56843 ac_cpp='$CPP $CPPFLAGS'
56844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
56853 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
56855 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
56856 for ac_func in sincosf
56857 do :
56858 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
56859 if test "x$ac_cv_func_sincosf" = x""yes; then :
56860 cat >>confdefs.h <<_ACEOF
56861 #define HAVE_SINCOSF 1
56862 _ACEOF
56865 done
56867 else
56869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
56870 $as_echo_n "checking for _sincosf declaration... " >&6; }
56871 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
56872 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
56873 $as_echo_n "(cached) " >&6
56874 else
56877 ac_ext=cpp
56878 ac_cpp='$CXXCPP $CPPFLAGS'
56879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56884 /* end confdefs.h. */
56885 #include <math.h>
56887 main ()
56889 _sincosf(0, 0, 0);
56891 return 0;
56893 _ACEOF
56894 if ac_fn_cxx_try_compile "$LINENO"; then :
56895 glibcxx_cv_func__sincosf_use=yes
56896 else
56897 glibcxx_cv_func__sincosf_use=no
56899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56900 ac_ext=c
56901 ac_cpp='$CPP $CPPFLAGS'
56902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
56911 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
56913 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
56914 for ac_func in _sincosf
56915 do :
56916 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
56917 if test "x$ac_cv_func__sincosf" = x""yes; then :
56918 cat >>confdefs.h <<_ACEOF
56919 #define HAVE__SINCOSF 1
56920 _ACEOF
56923 done
56932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
56933 $as_echo_n "checking for finitef declaration... " >&6; }
56934 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
56935 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
56936 $as_echo_n "(cached) " >&6
56937 else
56940 ac_ext=cpp
56941 ac_cpp='$CXXCPP $CPPFLAGS'
56942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56947 /* end confdefs.h. */
56948 #include <math.h>
56949 #ifdef HAVE_IEEEFP_H
56950 #include <ieeefp.h>
56951 #endif
56954 main ()
56956 finitef(0);
56958 return 0;
56960 _ACEOF
56961 if ac_fn_cxx_try_compile "$LINENO"; then :
56962 glibcxx_cv_func_finitef_use=yes
56963 else
56964 glibcxx_cv_func_finitef_use=no
56966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56967 ac_ext=c
56968 ac_cpp='$CPP $CPPFLAGS'
56969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
56978 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
56980 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
56981 for ac_func in finitef
56982 do :
56983 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
56984 if test "x$ac_cv_func_finitef" = x""yes; then :
56985 cat >>confdefs.h <<_ACEOF
56986 #define HAVE_FINITEF 1
56987 _ACEOF
56990 done
56992 else
56994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
56995 $as_echo_n "checking for _finitef declaration... " >&6; }
56996 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
56997 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
56998 $as_echo_n "(cached) " >&6
56999 else
57002 ac_ext=cpp
57003 ac_cpp='$CXXCPP $CPPFLAGS'
57004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57009 /* end confdefs.h. */
57010 #include <math.h>
57011 #ifdef HAVE_IEEEFP_H
57012 #include <ieeefp.h>
57013 #endif
57016 main ()
57018 _finitef(0);
57020 return 0;
57022 _ACEOF
57023 if ac_fn_cxx_try_compile "$LINENO"; then :
57024 glibcxx_cv_func__finitef_use=yes
57025 else
57026 glibcxx_cv_func__finitef_use=no
57028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57029 ac_ext=c
57030 ac_cpp='$CPP $CPPFLAGS'
57031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57040 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57042 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57043 for ac_func in _finitef
57044 do :
57045 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57046 if test "x$ac_cv_func__finitef" = x""yes; then :
57047 cat >>confdefs.h <<_ACEOF
57048 #define HAVE__FINITEF 1
57049 _ACEOF
57052 done
57061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57062 $as_echo_n "checking for long double trig functions... " >&6; }
57063 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
57064 $as_echo_n "(cached) " >&6
57065 else
57068 ac_ext=cpp
57069 ac_cpp='$CXXCPP $CPPFLAGS'
57070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57075 /* end confdefs.h. */
57076 #include <math.h>
57078 main ()
57080 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57082 return 0;
57084 _ACEOF
57085 if ac_fn_cxx_try_compile "$LINENO"; then :
57086 glibcxx_cv_func_long_double_trig_use=yes
57087 else
57088 glibcxx_cv_func_long_double_trig_use=no
57090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57091 ac_ext=c
57092 ac_cpp='$CPP $CPPFLAGS'
57093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57100 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57101 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57102 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57103 do :
57104 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57105 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57106 eval as_val=\$$as_ac_var
57107 if test "x$as_val" = x""yes; then :
57108 cat >>confdefs.h <<_ACEOF
57109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57110 _ACEOF
57113 done
57115 else
57116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57117 $as_echo_n "checking for _long double trig functions... " >&6; }
57118 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
57119 $as_echo_n "(cached) " >&6
57120 else
57123 ac_ext=cpp
57124 ac_cpp='$CXXCPP $CPPFLAGS'
57125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57130 /* end confdefs.h. */
57131 #include <math.h>
57133 main ()
57135 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57137 return 0;
57139 _ACEOF
57140 if ac_fn_cxx_try_compile "$LINENO"; then :
57141 glibcxx_cv_func__long_double_trig_use=yes
57142 else
57143 glibcxx_cv_func__long_double_trig_use=no
57145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57146 ac_ext=c
57147 ac_cpp='$CPP $CPPFLAGS'
57148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57155 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57156 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57157 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57158 do :
57159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57160 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57161 eval as_val=\$$as_ac_var
57162 if test "x$as_val" = x""yes; then :
57163 cat >>confdefs.h <<_ACEOF
57164 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57165 _ACEOF
57168 done
57177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57178 $as_echo_n "checking for long double round functions... " >&6; }
57179 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
57180 $as_echo_n "(cached) " >&6
57181 else
57184 ac_ext=cpp
57185 ac_cpp='$CXXCPP $CPPFLAGS'
57186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57191 /* end confdefs.h. */
57192 #include <math.h>
57194 main ()
57196 ceill (0); floorl (0);
57198 return 0;
57200 _ACEOF
57201 if ac_fn_cxx_try_compile "$LINENO"; then :
57202 glibcxx_cv_func_long_double_round_use=yes
57203 else
57204 glibcxx_cv_func_long_double_round_use=no
57206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57207 ac_ext=c
57208 ac_cpp='$CPP $CPPFLAGS'
57209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57216 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57217 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57218 for ac_func in ceill floorl
57219 do :
57220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57222 eval as_val=\$$as_ac_var
57223 if test "x$as_val" = x""yes; then :
57224 cat >>confdefs.h <<_ACEOF
57225 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57226 _ACEOF
57229 done
57231 else
57232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57233 $as_echo_n "checking for _long double round functions... " >&6; }
57234 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
57235 $as_echo_n "(cached) " >&6
57236 else
57239 ac_ext=cpp
57240 ac_cpp='$CXXCPP $CPPFLAGS'
57241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57246 /* end confdefs.h. */
57247 #include <math.h>
57249 main ()
57251 _ceill (0); _floorl (0);
57253 return 0;
57255 _ACEOF
57256 if ac_fn_cxx_try_compile "$LINENO"; then :
57257 glibcxx_cv_func__long_double_round_use=yes
57258 else
57259 glibcxx_cv_func__long_double_round_use=no
57261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57262 ac_ext=c
57263 ac_cpp='$CPP $CPPFLAGS'
57264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57271 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57272 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57273 for ac_func in _ceill _floorl
57274 do :
57275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57277 eval as_val=\$$as_ac_var
57278 if test "x$as_val" = x""yes; then :
57279 cat >>confdefs.h <<_ACEOF
57280 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57281 _ACEOF
57284 done
57294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57295 $as_echo_n "checking for isnanl declaration... " >&6; }
57296 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57297 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
57298 $as_echo_n "(cached) " >&6
57299 else
57302 ac_ext=cpp
57303 ac_cpp='$CXXCPP $CPPFLAGS'
57304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57309 /* end confdefs.h. */
57310 #include <math.h>
57311 #ifdef HAVE_IEEEFP_H
57312 #include <ieeefp.h>
57313 #endif
57316 main ()
57318 isnanl(0);
57320 return 0;
57322 _ACEOF
57323 if ac_fn_cxx_try_compile "$LINENO"; then :
57324 glibcxx_cv_func_isnanl_use=yes
57325 else
57326 glibcxx_cv_func_isnanl_use=no
57328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57329 ac_ext=c
57330 ac_cpp='$CPP $CPPFLAGS'
57331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57340 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57342 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57343 for ac_func in isnanl
57344 do :
57345 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57346 if test "x$ac_cv_func_isnanl" = x""yes; then :
57347 cat >>confdefs.h <<_ACEOF
57348 #define HAVE_ISNANL 1
57349 _ACEOF
57352 done
57354 else
57356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57357 $as_echo_n "checking for _isnanl declaration... " >&6; }
57358 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57359 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
57360 $as_echo_n "(cached) " >&6
57361 else
57364 ac_ext=cpp
57365 ac_cpp='$CXXCPP $CPPFLAGS'
57366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57371 /* end confdefs.h. */
57372 #include <math.h>
57373 #ifdef HAVE_IEEEFP_H
57374 #include <ieeefp.h>
57375 #endif
57378 main ()
57380 _isnanl(0);
57382 return 0;
57384 _ACEOF
57385 if ac_fn_cxx_try_compile "$LINENO"; then :
57386 glibcxx_cv_func__isnanl_use=yes
57387 else
57388 glibcxx_cv_func__isnanl_use=no
57390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57391 ac_ext=c
57392 ac_cpp='$CPP $CPPFLAGS'
57393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57402 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57404 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57405 for ac_func in _isnanl
57406 do :
57407 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57408 if test "x$ac_cv_func__isnanl" = x""yes; then :
57409 cat >>confdefs.h <<_ACEOF
57410 #define HAVE__ISNANL 1
57411 _ACEOF
57414 done
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57424 $as_echo_n "checking for isinfl declaration... " >&6; }
57425 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57426 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
57427 $as_echo_n "(cached) " >&6
57428 else
57431 ac_ext=cpp
57432 ac_cpp='$CXXCPP $CPPFLAGS'
57433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57438 /* end confdefs.h. */
57439 #include <math.h>
57440 #ifdef HAVE_IEEEFP_H
57441 #include <ieeefp.h>
57442 #endif
57445 main ()
57447 isinfl(0);
57449 return 0;
57451 _ACEOF
57452 if ac_fn_cxx_try_compile "$LINENO"; then :
57453 glibcxx_cv_func_isinfl_use=yes
57454 else
57455 glibcxx_cv_func_isinfl_use=no
57457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57458 ac_ext=c
57459 ac_cpp='$CPP $CPPFLAGS'
57460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57469 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57471 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57472 for ac_func in isinfl
57473 do :
57474 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57475 if test "x$ac_cv_func_isinfl" = x""yes; then :
57476 cat >>confdefs.h <<_ACEOF
57477 #define HAVE_ISINFL 1
57478 _ACEOF
57481 done
57483 else
57485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57486 $as_echo_n "checking for _isinfl declaration... " >&6; }
57487 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57488 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
57489 $as_echo_n "(cached) " >&6
57490 else
57493 ac_ext=cpp
57494 ac_cpp='$CXXCPP $CPPFLAGS'
57495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57500 /* end confdefs.h. */
57501 #include <math.h>
57502 #ifdef HAVE_IEEEFP_H
57503 #include <ieeefp.h>
57504 #endif
57507 main ()
57509 _isinfl(0);
57511 return 0;
57513 _ACEOF
57514 if ac_fn_cxx_try_compile "$LINENO"; then :
57515 glibcxx_cv_func__isinfl_use=yes
57516 else
57517 glibcxx_cv_func__isinfl_use=no
57519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57520 ac_ext=c
57521 ac_cpp='$CPP $CPPFLAGS'
57522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
57531 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
57533 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
57534 for ac_func in _isinfl
57535 do :
57536 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
57537 if test "x$ac_cv_func__isinfl" = x""yes; then :
57538 cat >>confdefs.h <<_ACEOF
57539 #define HAVE__ISINFL 1
57540 _ACEOF
57543 done
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
57553 $as_echo_n "checking for atan2l declaration... " >&6; }
57554 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
57555 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
57556 $as_echo_n "(cached) " >&6
57557 else
57560 ac_ext=cpp
57561 ac_cpp='$CXXCPP $CPPFLAGS'
57562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57567 /* end confdefs.h. */
57568 #include <math.h>
57570 main ()
57572 atan2l(0, 0);
57574 return 0;
57576 _ACEOF
57577 if ac_fn_cxx_try_compile "$LINENO"; then :
57578 glibcxx_cv_func_atan2l_use=yes
57579 else
57580 glibcxx_cv_func_atan2l_use=no
57582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57583 ac_ext=c
57584 ac_cpp='$CPP $CPPFLAGS'
57585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
57594 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
57596 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
57597 for ac_func in atan2l
57598 do :
57599 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
57600 if test "x$ac_cv_func_atan2l" = x""yes; then :
57601 cat >>confdefs.h <<_ACEOF
57602 #define HAVE_ATAN2L 1
57603 _ACEOF
57606 done
57608 else
57610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
57611 $as_echo_n "checking for _atan2l declaration... " >&6; }
57612 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
57613 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
57614 $as_echo_n "(cached) " >&6
57615 else
57618 ac_ext=cpp
57619 ac_cpp='$CXXCPP $CPPFLAGS'
57620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57625 /* end confdefs.h. */
57626 #include <math.h>
57628 main ()
57630 _atan2l(0, 0);
57632 return 0;
57634 _ACEOF
57635 if ac_fn_cxx_try_compile "$LINENO"; then :
57636 glibcxx_cv_func__atan2l_use=yes
57637 else
57638 glibcxx_cv_func__atan2l_use=no
57640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57641 ac_ext=c
57642 ac_cpp='$CPP $CPPFLAGS'
57643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
57652 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
57654 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
57655 for ac_func in _atan2l
57656 do :
57657 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
57658 if test "x$ac_cv_func__atan2l" = x""yes; then :
57659 cat >>confdefs.h <<_ACEOF
57660 #define HAVE__ATAN2L 1
57661 _ACEOF
57664 done
57673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
57674 $as_echo_n "checking for expl declaration... " >&6; }
57675 if test x${glibcxx_cv_func_expl_use+set} != xset; then
57676 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
57677 $as_echo_n "(cached) " >&6
57678 else
57681 ac_ext=cpp
57682 ac_cpp='$CXXCPP $CPPFLAGS'
57683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57688 /* end confdefs.h. */
57689 #include <math.h>
57690 #ifdef HAVE_IEEEFP_H
57691 #include <ieeefp.h>
57692 #endif
57695 main ()
57697 expl(0);
57699 return 0;
57701 _ACEOF
57702 if ac_fn_cxx_try_compile "$LINENO"; then :
57703 glibcxx_cv_func_expl_use=yes
57704 else
57705 glibcxx_cv_func_expl_use=no
57707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57708 ac_ext=c
57709 ac_cpp='$CPP $CPPFLAGS'
57710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
57719 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
57721 if test x$glibcxx_cv_func_expl_use = x"yes"; then
57722 for ac_func in expl
57723 do :
57724 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
57725 if test "x$ac_cv_func_expl" = x""yes; then :
57726 cat >>confdefs.h <<_ACEOF
57727 #define HAVE_EXPL 1
57728 _ACEOF
57731 done
57733 else
57735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
57736 $as_echo_n "checking for _expl declaration... " >&6; }
57737 if test x${glibcxx_cv_func__expl_use+set} != xset; then
57738 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
57739 $as_echo_n "(cached) " >&6
57740 else
57743 ac_ext=cpp
57744 ac_cpp='$CXXCPP $CPPFLAGS'
57745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57750 /* end confdefs.h. */
57751 #include <math.h>
57752 #ifdef HAVE_IEEEFP_H
57753 #include <ieeefp.h>
57754 #endif
57757 main ()
57759 _expl(0);
57761 return 0;
57763 _ACEOF
57764 if ac_fn_cxx_try_compile "$LINENO"; then :
57765 glibcxx_cv_func__expl_use=yes
57766 else
57767 glibcxx_cv_func__expl_use=no
57769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57770 ac_ext=c
57771 ac_cpp='$CPP $CPPFLAGS'
57772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
57781 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
57783 if test x$glibcxx_cv_func__expl_use = x"yes"; then
57784 for ac_func in _expl
57785 do :
57786 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
57787 if test "x$ac_cv_func__expl" = x""yes; then :
57788 cat >>confdefs.h <<_ACEOF
57789 #define HAVE__EXPL 1
57790 _ACEOF
57793 done
57802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
57803 $as_echo_n "checking for fabsl declaration... " >&6; }
57804 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
57805 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
57806 $as_echo_n "(cached) " >&6
57807 else
57810 ac_ext=cpp
57811 ac_cpp='$CXXCPP $CPPFLAGS'
57812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57817 /* end confdefs.h. */
57818 #include <math.h>
57819 #ifdef HAVE_IEEEFP_H
57820 #include <ieeefp.h>
57821 #endif
57824 main ()
57826 fabsl(0);
57828 return 0;
57830 _ACEOF
57831 if ac_fn_cxx_try_compile "$LINENO"; then :
57832 glibcxx_cv_func_fabsl_use=yes
57833 else
57834 glibcxx_cv_func_fabsl_use=no
57836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57837 ac_ext=c
57838 ac_cpp='$CPP $CPPFLAGS'
57839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
57848 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
57850 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
57851 for ac_func in fabsl
57852 do :
57853 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
57854 if test "x$ac_cv_func_fabsl" = x""yes; then :
57855 cat >>confdefs.h <<_ACEOF
57856 #define HAVE_FABSL 1
57857 _ACEOF
57860 done
57862 else
57864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
57865 $as_echo_n "checking for _fabsl declaration... " >&6; }
57866 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
57867 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
57868 $as_echo_n "(cached) " >&6
57869 else
57872 ac_ext=cpp
57873 ac_cpp='$CXXCPP $CPPFLAGS'
57874 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57875 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57876 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57879 /* end confdefs.h. */
57880 #include <math.h>
57881 #ifdef HAVE_IEEEFP_H
57882 #include <ieeefp.h>
57883 #endif
57886 main ()
57888 _fabsl(0);
57890 return 0;
57892 _ACEOF
57893 if ac_fn_cxx_try_compile "$LINENO"; then :
57894 glibcxx_cv_func__fabsl_use=yes
57895 else
57896 glibcxx_cv_func__fabsl_use=no
57898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57899 ac_ext=c
57900 ac_cpp='$CPP $CPPFLAGS'
57901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
57910 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
57912 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
57913 for ac_func in _fabsl
57914 do :
57915 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
57916 if test "x$ac_cv_func__fabsl" = x""yes; then :
57917 cat >>confdefs.h <<_ACEOF
57918 #define HAVE__FABSL 1
57919 _ACEOF
57922 done
57931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
57932 $as_echo_n "checking for fmodl declaration... " >&6; }
57933 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
57934 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
57935 $as_echo_n "(cached) " >&6
57936 else
57939 ac_ext=cpp
57940 ac_cpp='$CXXCPP $CPPFLAGS'
57941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57946 /* end confdefs.h. */
57947 #include <math.h>
57949 main ()
57951 fmodl(0, 0);
57953 return 0;
57955 _ACEOF
57956 if ac_fn_cxx_try_compile "$LINENO"; then :
57957 glibcxx_cv_func_fmodl_use=yes
57958 else
57959 glibcxx_cv_func_fmodl_use=no
57961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57962 ac_ext=c
57963 ac_cpp='$CPP $CPPFLAGS'
57964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
57973 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
57975 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
57976 for ac_func in fmodl
57977 do :
57978 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
57979 if test "x$ac_cv_func_fmodl" = x""yes; then :
57980 cat >>confdefs.h <<_ACEOF
57981 #define HAVE_FMODL 1
57982 _ACEOF
57985 done
57987 else
57989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
57990 $as_echo_n "checking for _fmodl declaration... " >&6; }
57991 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
57992 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
57993 $as_echo_n "(cached) " >&6
57994 else
57997 ac_ext=cpp
57998 ac_cpp='$CXXCPP $CPPFLAGS'
57999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58004 /* end confdefs.h. */
58005 #include <math.h>
58007 main ()
58009 _fmodl(0, 0);
58011 return 0;
58013 _ACEOF
58014 if ac_fn_cxx_try_compile "$LINENO"; then :
58015 glibcxx_cv_func__fmodl_use=yes
58016 else
58017 glibcxx_cv_func__fmodl_use=no
58019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58020 ac_ext=c
58021 ac_cpp='$CPP $CPPFLAGS'
58022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58031 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58033 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58034 for ac_func in _fmodl
58035 do :
58036 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58037 if test "x$ac_cv_func__fmodl" = x""yes; then :
58038 cat >>confdefs.h <<_ACEOF
58039 #define HAVE__FMODL 1
58040 _ACEOF
58043 done
58052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58053 $as_echo_n "checking for frexpl declaration... " >&6; }
58054 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58055 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
58056 $as_echo_n "(cached) " >&6
58057 else
58060 ac_ext=cpp
58061 ac_cpp='$CXXCPP $CPPFLAGS'
58062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58067 /* end confdefs.h. */
58068 #include <math.h>
58070 main ()
58072 frexpl(0, 0);
58074 return 0;
58076 _ACEOF
58077 if ac_fn_cxx_try_compile "$LINENO"; then :
58078 glibcxx_cv_func_frexpl_use=yes
58079 else
58080 glibcxx_cv_func_frexpl_use=no
58082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58083 ac_ext=c
58084 ac_cpp='$CPP $CPPFLAGS'
58085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58094 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58096 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58097 for ac_func in frexpl
58098 do :
58099 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58100 if test "x$ac_cv_func_frexpl" = x""yes; then :
58101 cat >>confdefs.h <<_ACEOF
58102 #define HAVE_FREXPL 1
58103 _ACEOF
58106 done
58108 else
58110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58111 $as_echo_n "checking for _frexpl declaration... " >&6; }
58112 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58113 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
58114 $as_echo_n "(cached) " >&6
58115 else
58118 ac_ext=cpp
58119 ac_cpp='$CXXCPP $CPPFLAGS'
58120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58125 /* end confdefs.h. */
58126 #include <math.h>
58128 main ()
58130 _frexpl(0, 0);
58132 return 0;
58134 _ACEOF
58135 if ac_fn_cxx_try_compile "$LINENO"; then :
58136 glibcxx_cv_func__frexpl_use=yes
58137 else
58138 glibcxx_cv_func__frexpl_use=no
58140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58141 ac_ext=c
58142 ac_cpp='$CPP $CPPFLAGS'
58143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58152 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58154 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58155 for ac_func in _frexpl
58156 do :
58157 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58158 if test "x$ac_cv_func__frexpl" = x""yes; then :
58159 cat >>confdefs.h <<_ACEOF
58160 #define HAVE__FREXPL 1
58161 _ACEOF
58164 done
58173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58174 $as_echo_n "checking for hypotl declaration... " >&6; }
58175 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58176 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
58177 $as_echo_n "(cached) " >&6
58178 else
58181 ac_ext=cpp
58182 ac_cpp='$CXXCPP $CPPFLAGS'
58183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58188 /* end confdefs.h. */
58189 #include <math.h>
58191 main ()
58193 hypotl(0, 0);
58195 return 0;
58197 _ACEOF
58198 if ac_fn_cxx_try_compile "$LINENO"; then :
58199 glibcxx_cv_func_hypotl_use=yes
58200 else
58201 glibcxx_cv_func_hypotl_use=no
58203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58204 ac_ext=c
58205 ac_cpp='$CPP $CPPFLAGS'
58206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58215 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58217 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58218 for ac_func in hypotl
58219 do :
58220 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58221 if test "x$ac_cv_func_hypotl" = x""yes; then :
58222 cat >>confdefs.h <<_ACEOF
58223 #define HAVE_HYPOTL 1
58224 _ACEOF
58227 done
58229 else
58231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58232 $as_echo_n "checking for _hypotl declaration... " >&6; }
58233 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58234 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
58235 $as_echo_n "(cached) " >&6
58236 else
58239 ac_ext=cpp
58240 ac_cpp='$CXXCPP $CPPFLAGS'
58241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58246 /* end confdefs.h. */
58247 #include <math.h>
58249 main ()
58251 _hypotl(0, 0);
58253 return 0;
58255 _ACEOF
58256 if ac_fn_cxx_try_compile "$LINENO"; then :
58257 glibcxx_cv_func__hypotl_use=yes
58258 else
58259 glibcxx_cv_func__hypotl_use=no
58261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58262 ac_ext=c
58263 ac_cpp='$CPP $CPPFLAGS'
58264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58273 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58275 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58276 for ac_func in _hypotl
58277 do :
58278 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58279 if test "x$ac_cv_func__hypotl" = x""yes; then :
58280 cat >>confdefs.h <<_ACEOF
58281 #define HAVE__HYPOTL 1
58282 _ACEOF
58285 done
58294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58295 $as_echo_n "checking for ldexpl declaration... " >&6; }
58296 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58297 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
58298 $as_echo_n "(cached) " >&6
58299 else
58302 ac_ext=cpp
58303 ac_cpp='$CXXCPP $CPPFLAGS'
58304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58309 /* end confdefs.h. */
58310 #include <math.h>
58312 main ()
58314 ldexpl(0, 0);
58316 return 0;
58318 _ACEOF
58319 if ac_fn_cxx_try_compile "$LINENO"; then :
58320 glibcxx_cv_func_ldexpl_use=yes
58321 else
58322 glibcxx_cv_func_ldexpl_use=no
58324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58325 ac_ext=c
58326 ac_cpp='$CPP $CPPFLAGS'
58327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58336 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58338 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58339 for ac_func in ldexpl
58340 do :
58341 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58342 if test "x$ac_cv_func_ldexpl" = x""yes; then :
58343 cat >>confdefs.h <<_ACEOF
58344 #define HAVE_LDEXPL 1
58345 _ACEOF
58348 done
58350 else
58352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58353 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58354 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58355 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
58356 $as_echo_n "(cached) " >&6
58357 else
58360 ac_ext=cpp
58361 ac_cpp='$CXXCPP $CPPFLAGS'
58362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58367 /* end confdefs.h. */
58368 #include <math.h>
58370 main ()
58372 _ldexpl(0, 0);
58374 return 0;
58376 _ACEOF
58377 if ac_fn_cxx_try_compile "$LINENO"; then :
58378 glibcxx_cv_func__ldexpl_use=yes
58379 else
58380 glibcxx_cv_func__ldexpl_use=no
58382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58383 ac_ext=c
58384 ac_cpp='$CPP $CPPFLAGS'
58385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58394 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58396 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58397 for ac_func in _ldexpl
58398 do :
58399 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58400 if test "x$ac_cv_func__ldexpl" = x""yes; then :
58401 cat >>confdefs.h <<_ACEOF
58402 #define HAVE__LDEXPL 1
58403 _ACEOF
58406 done
58415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58416 $as_echo_n "checking for logl declaration... " >&6; }
58417 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58418 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
58419 $as_echo_n "(cached) " >&6
58420 else
58423 ac_ext=cpp
58424 ac_cpp='$CXXCPP $CPPFLAGS'
58425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58430 /* end confdefs.h. */
58431 #include <math.h>
58432 #ifdef HAVE_IEEEFP_H
58433 #include <ieeefp.h>
58434 #endif
58437 main ()
58439 logl(0);
58441 return 0;
58443 _ACEOF
58444 if ac_fn_cxx_try_compile "$LINENO"; then :
58445 glibcxx_cv_func_logl_use=yes
58446 else
58447 glibcxx_cv_func_logl_use=no
58449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58450 ac_ext=c
58451 ac_cpp='$CPP $CPPFLAGS'
58452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58461 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58463 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58464 for ac_func in logl
58465 do :
58466 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58467 if test "x$ac_cv_func_logl" = x""yes; then :
58468 cat >>confdefs.h <<_ACEOF
58469 #define HAVE_LOGL 1
58470 _ACEOF
58473 done
58475 else
58477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58478 $as_echo_n "checking for _logl declaration... " >&6; }
58479 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58480 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
58481 $as_echo_n "(cached) " >&6
58482 else
58485 ac_ext=cpp
58486 ac_cpp='$CXXCPP $CPPFLAGS'
58487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58492 /* end confdefs.h. */
58493 #include <math.h>
58494 #ifdef HAVE_IEEEFP_H
58495 #include <ieeefp.h>
58496 #endif
58499 main ()
58501 _logl(0);
58503 return 0;
58505 _ACEOF
58506 if ac_fn_cxx_try_compile "$LINENO"; then :
58507 glibcxx_cv_func__logl_use=yes
58508 else
58509 glibcxx_cv_func__logl_use=no
58511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58512 ac_ext=c
58513 ac_cpp='$CPP $CPPFLAGS'
58514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
58523 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
58525 if test x$glibcxx_cv_func__logl_use = x"yes"; then
58526 for ac_func in _logl
58527 do :
58528 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
58529 if test "x$ac_cv_func__logl" = x""yes; then :
58530 cat >>confdefs.h <<_ACEOF
58531 #define HAVE__LOGL 1
58532 _ACEOF
58535 done
58544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
58545 $as_echo_n "checking for log10l declaration... " >&6; }
58546 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
58547 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
58548 $as_echo_n "(cached) " >&6
58549 else
58552 ac_ext=cpp
58553 ac_cpp='$CXXCPP $CPPFLAGS'
58554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58559 /* end confdefs.h. */
58560 #include <math.h>
58561 #ifdef HAVE_IEEEFP_H
58562 #include <ieeefp.h>
58563 #endif
58566 main ()
58568 log10l(0);
58570 return 0;
58572 _ACEOF
58573 if ac_fn_cxx_try_compile "$LINENO"; then :
58574 glibcxx_cv_func_log10l_use=yes
58575 else
58576 glibcxx_cv_func_log10l_use=no
58578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58579 ac_ext=c
58580 ac_cpp='$CPP $CPPFLAGS'
58581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
58590 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
58592 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
58593 for ac_func in log10l
58594 do :
58595 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
58596 if test "x$ac_cv_func_log10l" = x""yes; then :
58597 cat >>confdefs.h <<_ACEOF
58598 #define HAVE_LOG10L 1
58599 _ACEOF
58602 done
58604 else
58606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
58607 $as_echo_n "checking for _log10l declaration... " >&6; }
58608 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
58609 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
58610 $as_echo_n "(cached) " >&6
58611 else
58614 ac_ext=cpp
58615 ac_cpp='$CXXCPP $CPPFLAGS'
58616 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58617 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58618 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58621 /* end confdefs.h. */
58622 #include <math.h>
58623 #ifdef HAVE_IEEEFP_H
58624 #include <ieeefp.h>
58625 #endif
58628 main ()
58630 _log10l(0);
58632 return 0;
58634 _ACEOF
58635 if ac_fn_cxx_try_compile "$LINENO"; then :
58636 glibcxx_cv_func__log10l_use=yes
58637 else
58638 glibcxx_cv_func__log10l_use=no
58640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58641 ac_ext=c
58642 ac_cpp='$CPP $CPPFLAGS'
58643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
58652 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
58654 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
58655 for ac_func in _log10l
58656 do :
58657 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
58658 if test "x$ac_cv_func__log10l" = x""yes; then :
58659 cat >>confdefs.h <<_ACEOF
58660 #define HAVE__LOG10L 1
58661 _ACEOF
58664 done
58673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
58674 $as_echo_n "checking for modfl declaration... " >&6; }
58675 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
58676 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
58677 $as_echo_n "(cached) " >&6
58678 else
58681 ac_ext=cpp
58682 ac_cpp='$CXXCPP $CPPFLAGS'
58683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58688 /* end confdefs.h. */
58689 #include <math.h>
58691 main ()
58693 modfl(0, 0);
58695 return 0;
58697 _ACEOF
58698 if ac_fn_cxx_try_compile "$LINENO"; then :
58699 glibcxx_cv_func_modfl_use=yes
58700 else
58701 glibcxx_cv_func_modfl_use=no
58703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58704 ac_ext=c
58705 ac_cpp='$CPP $CPPFLAGS'
58706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
58715 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
58717 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
58718 for ac_func in modfl
58719 do :
58720 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
58721 if test "x$ac_cv_func_modfl" = x""yes; then :
58722 cat >>confdefs.h <<_ACEOF
58723 #define HAVE_MODFL 1
58724 _ACEOF
58727 done
58729 else
58731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
58732 $as_echo_n "checking for _modfl declaration... " >&6; }
58733 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
58734 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
58735 $as_echo_n "(cached) " >&6
58736 else
58739 ac_ext=cpp
58740 ac_cpp='$CXXCPP $CPPFLAGS'
58741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58746 /* end confdefs.h. */
58747 #include <math.h>
58749 main ()
58751 _modfl(0, 0);
58753 return 0;
58755 _ACEOF
58756 if ac_fn_cxx_try_compile "$LINENO"; then :
58757 glibcxx_cv_func__modfl_use=yes
58758 else
58759 glibcxx_cv_func__modfl_use=no
58761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58762 ac_ext=c
58763 ac_cpp='$CPP $CPPFLAGS'
58764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
58773 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
58775 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
58776 for ac_func in _modfl
58777 do :
58778 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
58779 if test "x$ac_cv_func__modfl" = x""yes; then :
58780 cat >>confdefs.h <<_ACEOF
58781 #define HAVE__MODFL 1
58782 _ACEOF
58785 done
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
58795 $as_echo_n "checking for powl declaration... " >&6; }
58796 if test x${glibcxx_cv_func_powl_use+set} != xset; then
58797 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
58798 $as_echo_n "(cached) " >&6
58799 else
58802 ac_ext=cpp
58803 ac_cpp='$CXXCPP $CPPFLAGS'
58804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58809 /* end confdefs.h. */
58810 #include <math.h>
58812 main ()
58814 powl(0, 0);
58816 return 0;
58818 _ACEOF
58819 if ac_fn_cxx_try_compile "$LINENO"; then :
58820 glibcxx_cv_func_powl_use=yes
58821 else
58822 glibcxx_cv_func_powl_use=no
58824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58825 ac_ext=c
58826 ac_cpp='$CPP $CPPFLAGS'
58827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
58836 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
58838 if test x$glibcxx_cv_func_powl_use = x"yes"; then
58839 for ac_func in powl
58840 do :
58841 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
58842 if test "x$ac_cv_func_powl" = x""yes; then :
58843 cat >>confdefs.h <<_ACEOF
58844 #define HAVE_POWL 1
58845 _ACEOF
58848 done
58850 else
58852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
58853 $as_echo_n "checking for _powl declaration... " >&6; }
58854 if test x${glibcxx_cv_func__powl_use+set} != xset; then
58855 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
58856 $as_echo_n "(cached) " >&6
58857 else
58860 ac_ext=cpp
58861 ac_cpp='$CXXCPP $CPPFLAGS'
58862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58867 /* end confdefs.h. */
58868 #include <math.h>
58870 main ()
58872 _powl(0, 0);
58874 return 0;
58876 _ACEOF
58877 if ac_fn_cxx_try_compile "$LINENO"; then :
58878 glibcxx_cv_func__powl_use=yes
58879 else
58880 glibcxx_cv_func__powl_use=no
58882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58883 ac_ext=c
58884 ac_cpp='$CPP $CPPFLAGS'
58885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
58894 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
58896 if test x$glibcxx_cv_func__powl_use = x"yes"; then
58897 for ac_func in _powl
58898 do :
58899 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
58900 if test "x$ac_cv_func__powl" = x""yes; then :
58901 cat >>confdefs.h <<_ACEOF
58902 #define HAVE__POWL 1
58903 _ACEOF
58906 done
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
58916 $as_echo_n "checking for sqrtl declaration... " >&6; }
58917 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
58918 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
58919 $as_echo_n "(cached) " >&6
58920 else
58923 ac_ext=cpp
58924 ac_cpp='$CXXCPP $CPPFLAGS'
58925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58930 /* end confdefs.h. */
58931 #include <math.h>
58932 #ifdef HAVE_IEEEFP_H
58933 #include <ieeefp.h>
58934 #endif
58937 main ()
58939 sqrtl(0);
58941 return 0;
58943 _ACEOF
58944 if ac_fn_cxx_try_compile "$LINENO"; then :
58945 glibcxx_cv_func_sqrtl_use=yes
58946 else
58947 glibcxx_cv_func_sqrtl_use=no
58949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58950 ac_ext=c
58951 ac_cpp='$CPP $CPPFLAGS'
58952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
58961 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
58963 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
58964 for ac_func in sqrtl
58965 do :
58966 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
58967 if test "x$ac_cv_func_sqrtl" = x""yes; then :
58968 cat >>confdefs.h <<_ACEOF
58969 #define HAVE_SQRTL 1
58970 _ACEOF
58973 done
58975 else
58977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
58978 $as_echo_n "checking for _sqrtl declaration... " >&6; }
58979 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
58980 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
58981 $as_echo_n "(cached) " >&6
58982 else
58985 ac_ext=cpp
58986 ac_cpp='$CXXCPP $CPPFLAGS'
58987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58992 /* end confdefs.h. */
58993 #include <math.h>
58994 #ifdef HAVE_IEEEFP_H
58995 #include <ieeefp.h>
58996 #endif
58999 main ()
59001 _sqrtl(0);
59003 return 0;
59005 _ACEOF
59006 if ac_fn_cxx_try_compile "$LINENO"; then :
59007 glibcxx_cv_func__sqrtl_use=yes
59008 else
59009 glibcxx_cv_func__sqrtl_use=no
59011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59012 ac_ext=c
59013 ac_cpp='$CPP $CPPFLAGS'
59014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59023 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59025 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59026 for ac_func in _sqrtl
59027 do :
59028 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59029 if test "x$ac_cv_func__sqrtl" = x""yes; then :
59030 cat >>confdefs.h <<_ACEOF
59031 #define HAVE__SQRTL 1
59032 _ACEOF
59035 done
59044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59045 $as_echo_n "checking for sincosl declaration... " >&6; }
59046 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59047 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
59048 $as_echo_n "(cached) " >&6
59049 else
59052 ac_ext=cpp
59053 ac_cpp='$CXXCPP $CPPFLAGS'
59054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59059 /* end confdefs.h. */
59060 #include <math.h>
59062 main ()
59064 sincosl(0, 0, 0);
59066 return 0;
59068 _ACEOF
59069 if ac_fn_cxx_try_compile "$LINENO"; then :
59070 glibcxx_cv_func_sincosl_use=yes
59071 else
59072 glibcxx_cv_func_sincosl_use=no
59074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59075 ac_ext=c
59076 ac_cpp='$CPP $CPPFLAGS'
59077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59086 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59088 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59089 for ac_func in sincosl
59090 do :
59091 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59092 if test "x$ac_cv_func_sincosl" = x""yes; then :
59093 cat >>confdefs.h <<_ACEOF
59094 #define HAVE_SINCOSL 1
59095 _ACEOF
59098 done
59100 else
59102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59103 $as_echo_n "checking for _sincosl declaration... " >&6; }
59104 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59105 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
59106 $as_echo_n "(cached) " >&6
59107 else
59110 ac_ext=cpp
59111 ac_cpp='$CXXCPP $CPPFLAGS'
59112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59117 /* end confdefs.h. */
59118 #include <math.h>
59120 main ()
59122 _sincosl(0, 0, 0);
59124 return 0;
59126 _ACEOF
59127 if ac_fn_cxx_try_compile "$LINENO"; then :
59128 glibcxx_cv_func__sincosl_use=yes
59129 else
59130 glibcxx_cv_func__sincosl_use=no
59132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59133 ac_ext=c
59134 ac_cpp='$CPP $CPPFLAGS'
59135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59144 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59146 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59147 for ac_func in _sincosl
59148 do :
59149 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59150 if test "x$ac_cv_func__sincosl" = x""yes; then :
59151 cat >>confdefs.h <<_ACEOF
59152 #define HAVE__SINCOSL 1
59153 _ACEOF
59156 done
59165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59166 $as_echo_n "checking for finitel declaration... " >&6; }
59167 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59168 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
59169 $as_echo_n "(cached) " >&6
59170 else
59173 ac_ext=cpp
59174 ac_cpp='$CXXCPP $CPPFLAGS'
59175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59180 /* end confdefs.h. */
59181 #include <math.h>
59182 #ifdef HAVE_IEEEFP_H
59183 #include <ieeefp.h>
59184 #endif
59187 main ()
59189 finitel(0);
59191 return 0;
59193 _ACEOF
59194 if ac_fn_cxx_try_compile "$LINENO"; then :
59195 glibcxx_cv_func_finitel_use=yes
59196 else
59197 glibcxx_cv_func_finitel_use=no
59199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59200 ac_ext=c
59201 ac_cpp='$CPP $CPPFLAGS'
59202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59211 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59213 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59214 for ac_func in finitel
59215 do :
59216 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59217 if test "x$ac_cv_func_finitel" = x""yes; then :
59218 cat >>confdefs.h <<_ACEOF
59219 #define HAVE_FINITEL 1
59220 _ACEOF
59223 done
59225 else
59227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59228 $as_echo_n "checking for _finitel declaration... " >&6; }
59229 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59230 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
59231 $as_echo_n "(cached) " >&6
59232 else
59235 ac_ext=cpp
59236 ac_cpp='$CXXCPP $CPPFLAGS'
59237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59242 /* end confdefs.h. */
59243 #include <math.h>
59244 #ifdef HAVE_IEEEFP_H
59245 #include <ieeefp.h>
59246 #endif
59249 main ()
59251 _finitel(0);
59253 return 0;
59255 _ACEOF
59256 if ac_fn_cxx_try_compile "$LINENO"; then :
59257 glibcxx_cv_func__finitel_use=yes
59258 else
59259 glibcxx_cv_func__finitel_use=no
59261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59262 ac_ext=c
59263 ac_cpp='$CPP $CPPFLAGS'
59264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59273 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59275 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59276 for ac_func in _finitel
59277 do :
59278 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59279 if test "x$ac_cv_func__finitel" = x""yes; then :
59280 cat >>confdefs.h <<_ACEOF
59281 #define HAVE__FINITEL 1
59282 _ACEOF
59285 done
59293 LIBS="$ac_save_LIBS"
59294 CXXFLAGS="$ac_save_CXXFLAGS"
59297 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59298 ac_save_CXXFLAGS="$CXXFLAGS"
59299 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59303 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59304 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59305 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
59306 $as_echo_n "(cached) " >&6
59307 else
59310 ac_ext=cpp
59311 ac_cpp='$CXXCPP $CPPFLAGS'
59312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59317 /* end confdefs.h. */
59318 #include <stdlib.h>
59320 main ()
59322 at_quick_exit(0);
59324 return 0;
59326 _ACEOF
59327 if ac_fn_cxx_try_compile "$LINENO"; then :
59328 glibcxx_cv_func_at_quick_exit_use=yes
59329 else
59330 glibcxx_cv_func_at_quick_exit_use=no
59332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59333 ac_ext=c
59334 ac_cpp='$CPP $CPPFLAGS'
59335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59344 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59345 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59346 for ac_func in at_quick_exit
59347 do :
59348 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59349 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
59350 cat >>confdefs.h <<_ACEOF
59351 #define HAVE_AT_QUICK_EXIT 1
59352 _ACEOF
59355 done
59360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59361 $as_echo_n "checking for quick_exit declaration... " >&6; }
59362 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59363 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
59364 $as_echo_n "(cached) " >&6
59365 else
59368 ac_ext=cpp
59369 ac_cpp='$CXXCPP $CPPFLAGS'
59370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59375 /* end confdefs.h. */
59376 #include <stdlib.h>
59378 main ()
59380 quick_exit(0);
59382 return 0;
59384 _ACEOF
59385 if ac_fn_cxx_try_compile "$LINENO"; then :
59386 glibcxx_cv_func_quick_exit_use=yes
59387 else
59388 glibcxx_cv_func_quick_exit_use=no
59390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59391 ac_ext=c
59392 ac_cpp='$CPP $CPPFLAGS'
59393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59402 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59403 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59404 for ac_func in quick_exit
59405 do :
59406 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59407 if test "x$ac_cv_func_quick_exit" = x""yes; then :
59408 cat >>confdefs.h <<_ACEOF
59409 #define HAVE_QUICK_EXIT 1
59410 _ACEOF
59413 done
59418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59419 $as_echo_n "checking for strtold declaration... " >&6; }
59420 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59421 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
59422 $as_echo_n "(cached) " >&6
59423 else
59426 ac_ext=cpp
59427 ac_cpp='$CXXCPP $CPPFLAGS'
59428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59433 /* end confdefs.h. */
59434 #include <stdlib.h>
59436 main ()
59438 strtold(0, 0);
59440 return 0;
59442 _ACEOF
59443 if ac_fn_cxx_try_compile "$LINENO"; then :
59444 glibcxx_cv_func_strtold_use=yes
59445 else
59446 glibcxx_cv_func_strtold_use=no
59448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59449 ac_ext=c
59450 ac_cpp='$CPP $CPPFLAGS'
59451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59460 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59461 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59462 for ac_func in strtold
59463 do :
59464 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59465 if test "x$ac_cv_func_strtold" = x""yes; then :
59466 cat >>confdefs.h <<_ACEOF
59467 #define HAVE_STRTOLD 1
59468 _ACEOF
59471 done
59478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59479 $as_echo_n "checking for strtof declaration... " >&6; }
59480 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59481 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
59482 $as_echo_n "(cached) " >&6
59483 else
59486 ac_ext=cpp
59487 ac_cpp='$CXXCPP $CPPFLAGS'
59488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59493 /* end confdefs.h. */
59494 #include <stdlib.h>
59496 main ()
59498 strtof(0, 0);
59500 return 0;
59502 _ACEOF
59503 if ac_fn_cxx_try_compile "$LINENO"; then :
59504 glibcxx_cv_func_strtof_use=yes
59505 else
59506 glibcxx_cv_func_strtof_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_strtof_use" >&5
59520 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
59521 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
59522 for ac_func in strtof
59523 do :
59524 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
59525 if test "x$ac_cv_func_strtof" = x""yes; then :
59526 cat >>confdefs.h <<_ACEOF
59527 #define HAVE_STRTOF 1
59528 _ACEOF
59531 done
59538 CXXFLAGS="$ac_save_CXXFLAGS"
59540 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
59544 # Check whether --enable-tls was given.
59545 if test "${enable_tls+set}" = set; then :
59546 enableval=$enable_tls;
59547 case "$enableval" in
59548 yes|no) ;;
59549 *) as_fn_error "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
59550 esac
59552 else
59553 enable_tls=yes
59557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
59558 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
59559 if test "${gcc_cv_have_tls+set}" = set; then :
59560 $as_echo_n "(cached) " >&6
59561 else
59563 if test "$cross_compiling" = yes; then :
59564 if test x$gcc_no_link = xyes; then
59565 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 __thread int a; int b; int main() { return a = b; }
59570 _ACEOF
59571 if ac_fn_c_try_link "$LINENO"; then :
59572 chktls_save_LDFLAGS="$LDFLAGS"
59573 case $host in
59574 *-*-linux*)
59575 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
59577 esac
59578 chktls_save_CFLAGS="$CFLAGS"
59579 CFLAGS="-fPIC $CFLAGS"
59580 if test x$gcc_no_link = xyes; then
59581 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59584 /* end confdefs.h. */
59585 int f() { return 0; }
59586 _ACEOF
59587 if ac_fn_c_try_link "$LINENO"; then :
59588 if test x$gcc_no_link = xyes; then
59589 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59592 /* end confdefs.h. */
59593 __thread int a; int b; int f() { return a = b; }
59594 _ACEOF
59595 if ac_fn_c_try_link "$LINENO"; then :
59596 gcc_cv_have_tls=yes
59597 else
59598 gcc_cv_have_tls=no
59600 rm -f core conftest.err conftest.$ac_objext \
59601 conftest$ac_exeext conftest.$ac_ext
59602 else
59603 gcc_cv_have_tls=yes
59605 rm -f core conftest.err conftest.$ac_objext \
59606 conftest$ac_exeext conftest.$ac_ext
59607 CFLAGS="$chktls_save_CFLAGS"
59608 LDFLAGS="$chktls_save_LDFLAGS"
59609 else
59610 gcc_cv_have_tls=no
59612 rm -f core conftest.err conftest.$ac_objext \
59613 conftest$ac_exeext conftest.$ac_ext
59616 else
59617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59618 /* end confdefs.h. */
59619 __thread int a; int b; int main() { return a = b; }
59620 _ACEOF
59621 if ac_fn_c_try_run "$LINENO"; then :
59622 chktls_save_LDFLAGS="$LDFLAGS"
59623 LDFLAGS="-static $LDFLAGS"
59624 if test x$gcc_no_link = xyes; then
59625 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59628 /* end confdefs.h. */
59629 int main() { return 0; }
59630 _ACEOF
59631 if ac_fn_c_try_link "$LINENO"; then :
59632 if test "$cross_compiling" = yes; then :
59633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59635 as_fn_error "cannot run test program while cross compiling
59636 See \`config.log' for more details." "$LINENO" 5; }
59637 else
59638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59639 /* end confdefs.h. */
59640 __thread int a; int b; int main() { return a = b; }
59641 _ACEOF
59642 if ac_fn_c_try_run "$LINENO"; then :
59643 gcc_cv_have_tls=yes
59644 else
59645 gcc_cv_have_tls=no
59647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59648 conftest.$ac_objext conftest.beam conftest.$ac_ext
59651 else
59652 gcc_cv_have_tls=yes
59654 rm -f core conftest.err conftest.$ac_objext \
59655 conftest$ac_exeext conftest.$ac_ext
59656 LDFLAGS="$chktls_save_LDFLAGS"
59657 if test $gcc_cv_have_tls = yes; then
59658 chktls_save_CFLAGS="$CFLAGS"
59659 thread_CFLAGS=failed
59660 for flag in '' '-pthread' '-lpthread'; do
59661 CFLAGS="$flag $chktls_save_CFLAGS"
59662 if test x$gcc_no_link = xyes; then
59663 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59666 /* end confdefs.h. */
59667 #include <pthread.h>
59668 void *g(void *d) { return NULL; }
59670 main ()
59672 pthread_t t; pthread_create(&t,NULL,g,NULL);
59674 return 0;
59676 _ACEOF
59677 if ac_fn_c_try_link "$LINENO"; then :
59678 thread_CFLAGS="$flag"
59680 rm -f core conftest.err conftest.$ac_objext \
59681 conftest$ac_exeext conftest.$ac_ext
59682 if test "X$thread_CFLAGS" != Xfailed; then
59683 break
59685 done
59686 CFLAGS="$chktls_save_CFLAGS"
59687 if test "X$thread_CFLAGS" != Xfailed; then
59688 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
59689 if test "$cross_compiling" = yes; then :
59690 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
59691 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
59692 as_fn_error "cannot run test program while cross compiling
59693 See \`config.log' for more details." "$LINENO" 5; }
59694 else
59695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59696 /* end confdefs.h. */
59697 #include <pthread.h>
59698 __thread int a;
59699 static int *volatile a_in_other_thread;
59700 static void *
59701 thread_func (void *arg)
59703 a_in_other_thread = &a;
59704 return (void *)0;
59707 main ()
59709 pthread_t thread;
59710 void *thread_retval;
59711 int *volatile a_in_main_thread;
59712 a_in_main_thread = &a;
59713 if (pthread_create (&thread, (pthread_attr_t *)0,
59714 thread_func, (void *)0))
59715 return 0;
59716 if (pthread_join (thread, &thread_retval))
59717 return 0;
59718 return (a_in_other_thread == a_in_main_thread);
59720 return 0;
59722 _ACEOF
59723 if ac_fn_c_try_run "$LINENO"; then :
59724 gcc_cv_have_tls=yes
59725 else
59726 gcc_cv_have_tls=no
59728 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59729 conftest.$ac_objext conftest.beam conftest.$ac_ext
59732 CFLAGS="$chktls_save_CFLAGS"
59735 else
59736 gcc_cv_have_tls=no
59738 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
59739 conftest.$ac_objext conftest.beam conftest.$ac_ext
59743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
59744 $as_echo "$gcc_cv_have_tls" >&6; }
59745 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
59747 $as_echo "#define HAVE_TLS 1" >>confdefs.h
59750 for ac_func in __cxa_thread_atexit_impl
59751 do :
59752 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
59753 if test "x$ac_cv_func___cxa_thread_atexit_impl" = x""yes; then :
59754 cat >>confdefs.h <<_ACEOF
59755 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
59756 _ACEOF
59759 done
59766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
59767 $as_echo_n "checking for iconv... " >&6; }
59768 if test "${am_cv_func_iconv+set}" = set; then :
59769 $as_echo_n "(cached) " >&6
59770 else
59772 am_cv_func_iconv="no, consider installing GNU libiconv"
59773 am_cv_lib_iconv=no
59774 am_save_CPPFLAGS="$CPPFLAGS"
59775 CPPFLAGS="$CPPFLAGS $INCICONV"
59776 if test x$gcc_no_link = xyes; then
59777 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59780 /* end confdefs.h. */
59781 #include <stdlib.h>
59782 #include <iconv.h>
59784 main ()
59786 iconv_t cd = iconv_open("","");
59787 iconv(cd,NULL,NULL,NULL,NULL);
59788 iconv_close(cd);
59790 return 0;
59792 _ACEOF
59793 if ac_fn_c_try_link "$LINENO"; then :
59794 am_cv_func_iconv=yes
59796 rm -f core conftest.err conftest.$ac_objext \
59797 conftest$ac_exeext conftest.$ac_ext
59798 CPPFLAGS="$am_save_CPPFLAGS"
59800 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
59801 for _libs in .libs _libs; do
59802 am_save_CPPFLAGS="$CPPFLAGS"
59803 am_save_LIBS="$LIBS"
59804 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
59805 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
59806 if test x$gcc_no_link = xyes; then
59807 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59810 /* end confdefs.h. */
59811 #include <stdlib.h>
59812 #include <iconv.h>
59814 main ()
59816 iconv_t cd = iconv_open("","");
59817 iconv(cd,NULL,NULL,NULL,NULL);
59818 iconv_close(cd);
59820 return 0;
59822 _ACEOF
59823 if ac_fn_c_try_link "$LINENO"; then :
59824 INCICONV="-I../libiconv/include"
59825 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
59826 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
59827 am_cv_lib_iconv=yes
59828 am_cv_func_iconv=yes
59830 rm -f core conftest.err conftest.$ac_objext \
59831 conftest$ac_exeext conftest.$ac_ext
59832 CPPFLAGS="$am_save_CPPFLAGS"
59833 LIBS="$am_save_LIBS"
59834 if test "$am_cv_func_iconv" = "yes"; then
59835 break
59837 done
59840 if test "$am_cv_func_iconv" != yes; then
59841 am_save_CPPFLAGS="$CPPFLAGS"
59842 am_save_LIBS="$LIBS"
59843 CPPFLAGS="$LIBS $INCICONV"
59844 LIBS="$LIBS $LIBICONV"
59845 if test x$gcc_no_link = xyes; then
59846 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
59848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59849 /* end confdefs.h. */
59850 #include <stdlib.h>
59851 #include <iconv.h>
59853 main ()
59855 iconv_t cd = iconv_open("","");
59856 iconv(cd,NULL,NULL,NULL,NULL);
59857 iconv_close(cd);
59859 return 0;
59861 _ACEOF
59862 if ac_fn_c_try_link "$LINENO"; then :
59863 am_cv_lib_iconv=yes
59864 am_cv_func_iconv=yes
59866 rm -f core conftest.err conftest.$ac_objext \
59867 conftest$ac_exeext conftest.$ac_ext
59868 CPPFLAGS="$am_save_CPPFLAGS"
59869 LIBS="$am_save_LIBS"
59873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
59874 $as_echo "$am_cv_func_iconv" >&6; }
59875 if test "$am_cv_func_iconv" = yes; then
59877 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
59880 if test "$am_cv_lib_iconv" = yes; then
59882 for element in $INCICONV; do
59883 haveit=
59884 for x in $CPPFLAGS; do
59886 acl_save_prefix="$prefix"
59887 prefix="$acl_final_prefix"
59888 acl_save_exec_prefix="$exec_prefix"
59889 exec_prefix="$acl_final_exec_prefix"
59890 eval x=\"$x\"
59891 exec_prefix="$acl_save_exec_prefix"
59892 prefix="$acl_save_prefix"
59894 if test "X$x" = "X$element"; then
59895 haveit=yes
59896 break
59898 done
59899 if test -z "$haveit"; then
59900 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
59902 done
59904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
59905 $as_echo_n "checking how to link with libiconv... " >&6; }
59906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
59907 $as_echo "$LIBICONV" >&6; }
59908 else
59909 LIBICONV=
59910 LTLIBICONV=
59915 if test "$am_cv_func_iconv" = yes; then
59916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
59917 $as_echo_n "checking for iconv declaration... " >&6; }
59918 if test "${am_cv_proto_iconv+set}" = set; then :
59919 $as_echo_n "(cached) " >&6
59920 else
59922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59923 /* end confdefs.h. */
59925 #include <stdlib.h>
59926 #include <iconv.h>
59927 extern
59928 #ifdef __cplusplus
59930 #endif
59931 #if defined(__STDC__) || defined(__cplusplus)
59932 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
59933 #else
59934 size_t iconv();
59935 #endif
59938 main ()
59942 return 0;
59944 _ACEOF
59945 if ac_fn_c_try_compile "$LINENO"; then :
59946 am_cv_proto_iconv_arg1=""
59947 else
59948 am_cv_proto_iconv_arg1="const"
59950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59951 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);"
59954 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
59955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
59956 }$am_cv_proto_iconv" >&5
59957 $as_echo "${ac_t:-
59958 }$am_cv_proto_iconv" >&6; }
59960 cat >>confdefs.h <<_ACEOF
59961 #define ICONV_CONST $am_cv_proto_iconv_arg1
59962 _ACEOF
59967 *-mingw32*)
59969 # If we're not using GNU ld, then there's no point in even trying these
59970 # tests. Check for that first. We should have already tested for gld
59971 # by now (in libtool), but require it now just to be safe...
59972 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
59973 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
59977 # The name set by libtool depends on the version of libtool. Shame on us
59978 # for depending on an impl detail, but c'est la vie. Older versions used
59979 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
59980 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
59981 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
59982 # set (hence we're using an older libtool), then set it.
59983 if test x${with_gnu_ld+set} != xset; then
59984 if test x${ac_cv_prog_gnu_ld+set} != xset; then
59985 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
59986 with_gnu_ld=no
59987 else
59988 with_gnu_ld=$ac_cv_prog_gnu_ld
59992 # Start by getting the version number. I think the libtool test already
59993 # does some of this, but throws away the result.
59994 glibcxx_ld_is_gold=no
59995 if test x"$with_gnu_ld" = x"yes"; then
59996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
59997 $as_echo_n "checking for ld version... " >&6; }
59999 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60000 glibcxx_ld_is_gold=yes
60002 ldver=`$LD --version 2>/dev/null |
60003 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'`
60005 glibcxx_gnu_ld_version=`echo $ldver | \
60006 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60008 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60011 # Set --gc-sections.
60012 glibcxx_have_gc_sections=no
60013 if test "$glibcxx_ld_is_gold" = "yes"; then
60014 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60015 glibcxx_have_gc_sections=yes
60017 else
60018 glibcxx_gcsections_min_ld=21602
60019 if test x"$with_gnu_ld" = x"yes" &&
60020 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60021 glibcxx_have_gc_sections=yes
60024 if test "$glibcxx_have_gc_sections" = "yes"; then
60025 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60026 # NB: This flag only works reliably after 2.16.1. Configure tests
60027 # for this are difficult, so hard wire a value that should work.
60029 ac_test_CFLAGS="${CFLAGS+set}"
60030 ac_save_CFLAGS="$CFLAGS"
60031 CFLAGS='-Wl,--gc-sections'
60033 # Check for -Wl,--gc-sections
60034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60035 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60036 if test x$gcc_no_link = xyes; then
60037 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60040 /* end confdefs.h. */
60041 int one(void) { return 1; }
60042 int two(void) { return 2; }
60045 main ()
60047 two();
60049 return 0;
60051 _ACEOF
60052 if ac_fn_c_try_link "$LINENO"; then :
60053 ac_gcsections=yes
60054 else
60055 ac_gcsections=no
60057 rm -f core conftest.err conftest.$ac_objext \
60058 conftest$ac_exeext conftest.$ac_ext
60059 if test "$ac_gcsections" = "yes"; then
60060 rm -f conftest.c
60061 touch conftest.c
60062 if $CC -c conftest.c; then
60063 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60064 grep "Warning: gc-sections option ignored" > /dev/null; then
60065 ac_gcsections=no
60068 rm -f conftest.c conftest.o conftest
60070 if test "$ac_gcsections" = "yes"; then
60071 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60074 $as_echo "$ac_gcsections" >&6; }
60076 if test "$ac_test_CFLAGS" = set; then
60077 CFLAGS="$ac_save_CFLAGS"
60078 else
60079 # this is the suspicious part
60080 CFLAGS=''
60084 # Set -z,relro.
60085 # Note this is only for shared objects.
60086 ac_ld_relro=no
60087 if test x"$with_gnu_ld" = x"yes"; then
60088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60089 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60090 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60091 if test -n "$cxx_z_relo"; then
60092 OPT_LDFLAGS="-Wl,-z,relro"
60093 ac_ld_relro=yes
60095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60096 $as_echo "$ac_ld_relro" >&6; }
60099 # Set linker optimization flags.
60100 if test x"$with_gnu_ld" = x"yes"; then
60101 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60108 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60109 ac_save_CXXFLAGS="$CXXFLAGS"
60110 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60113 $as_echo_n "checking for sin in -lm... " >&6; }
60114 if test "${ac_cv_lib_m_sin+set}" = set; then :
60115 $as_echo_n "(cached) " >&6
60116 else
60117 ac_check_lib_save_LIBS=$LIBS
60118 LIBS="-lm $LIBS"
60119 if test x$gcc_no_link = xyes; then
60120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60123 /* end confdefs.h. */
60125 /* Override any GCC internal prototype to avoid an error.
60126 Use char because int might match the return type of a GCC
60127 builtin and then its argument prototype would still apply. */
60128 #ifdef __cplusplus
60129 extern "C"
60130 #endif
60131 char sin ();
60133 main ()
60135 return sin ();
60137 return 0;
60139 _ACEOF
60140 if ac_fn_c_try_link "$LINENO"; then :
60141 ac_cv_lib_m_sin=yes
60142 else
60143 ac_cv_lib_m_sin=no
60145 rm -f core conftest.err conftest.$ac_objext \
60146 conftest$ac_exeext conftest.$ac_ext
60147 LIBS=$ac_check_lib_save_LIBS
60149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60150 $as_echo "$ac_cv_lib_m_sin" >&6; }
60151 if test "x$ac_cv_lib_m_sin" = x""yes; then :
60152 libm="-lm"
60155 ac_save_LIBS="$LIBS"
60156 LIBS="$LIBS $libm"
60160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60161 $as_echo_n "checking for isinf declaration... " >&6; }
60162 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60163 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
60164 $as_echo_n "(cached) " >&6
60165 else
60168 ac_ext=cpp
60169 ac_cpp='$CXXCPP $CPPFLAGS'
60170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60175 /* end confdefs.h. */
60176 #include <math.h>
60177 #ifdef HAVE_IEEEFP_H
60178 #include <ieeefp.h>
60179 #endif
60182 main ()
60184 isinf(0);
60186 return 0;
60188 _ACEOF
60189 if ac_fn_cxx_try_compile "$LINENO"; then :
60190 glibcxx_cv_func_isinf_use=yes
60191 else
60192 glibcxx_cv_func_isinf_use=no
60194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60195 ac_ext=c
60196 ac_cpp='$CPP $CPPFLAGS'
60197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60206 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60208 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60209 for ac_func in isinf
60210 do :
60211 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60212 if test "x$ac_cv_func_isinf" = x""yes; then :
60213 cat >>confdefs.h <<_ACEOF
60214 #define HAVE_ISINF 1
60215 _ACEOF
60218 done
60220 else
60222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60223 $as_echo_n "checking for _isinf declaration... " >&6; }
60224 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60225 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
60226 $as_echo_n "(cached) " >&6
60227 else
60230 ac_ext=cpp
60231 ac_cpp='$CXXCPP $CPPFLAGS'
60232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60237 /* end confdefs.h. */
60238 #include <math.h>
60239 #ifdef HAVE_IEEEFP_H
60240 #include <ieeefp.h>
60241 #endif
60244 main ()
60246 _isinf(0);
60248 return 0;
60250 _ACEOF
60251 if ac_fn_cxx_try_compile "$LINENO"; then :
60252 glibcxx_cv_func__isinf_use=yes
60253 else
60254 glibcxx_cv_func__isinf_use=no
60256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60257 ac_ext=c
60258 ac_cpp='$CPP $CPPFLAGS'
60259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60268 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60270 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60271 for ac_func in _isinf
60272 do :
60273 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60274 if test "x$ac_cv_func__isinf" = x""yes; then :
60275 cat >>confdefs.h <<_ACEOF
60276 #define HAVE__ISINF 1
60277 _ACEOF
60280 done
60289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60290 $as_echo_n "checking for isnan declaration... " >&6; }
60291 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60292 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
60293 $as_echo_n "(cached) " >&6
60294 else
60297 ac_ext=cpp
60298 ac_cpp='$CXXCPP $CPPFLAGS'
60299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60304 /* end confdefs.h. */
60305 #include <math.h>
60306 #ifdef HAVE_IEEEFP_H
60307 #include <ieeefp.h>
60308 #endif
60311 main ()
60313 isnan(0);
60315 return 0;
60317 _ACEOF
60318 if ac_fn_cxx_try_compile "$LINENO"; then :
60319 glibcxx_cv_func_isnan_use=yes
60320 else
60321 glibcxx_cv_func_isnan_use=no
60323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60324 ac_ext=c
60325 ac_cpp='$CPP $CPPFLAGS'
60326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60335 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60337 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60338 for ac_func in isnan
60339 do :
60340 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60341 if test "x$ac_cv_func_isnan" = x""yes; then :
60342 cat >>confdefs.h <<_ACEOF
60343 #define HAVE_ISNAN 1
60344 _ACEOF
60347 done
60349 else
60351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60352 $as_echo_n "checking for _isnan declaration... " >&6; }
60353 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60354 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
60355 $as_echo_n "(cached) " >&6
60356 else
60359 ac_ext=cpp
60360 ac_cpp='$CXXCPP $CPPFLAGS'
60361 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60362 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60363 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60366 /* end confdefs.h. */
60367 #include <math.h>
60368 #ifdef HAVE_IEEEFP_H
60369 #include <ieeefp.h>
60370 #endif
60373 main ()
60375 _isnan(0);
60377 return 0;
60379 _ACEOF
60380 if ac_fn_cxx_try_compile "$LINENO"; then :
60381 glibcxx_cv_func__isnan_use=yes
60382 else
60383 glibcxx_cv_func__isnan_use=no
60385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60386 ac_ext=c
60387 ac_cpp='$CPP $CPPFLAGS'
60388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60397 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60399 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60400 for ac_func in _isnan
60401 do :
60402 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60403 if test "x$ac_cv_func__isnan" = x""yes; then :
60404 cat >>confdefs.h <<_ACEOF
60405 #define HAVE__ISNAN 1
60406 _ACEOF
60409 done
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60419 $as_echo_n "checking for finite declaration... " >&6; }
60420 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60421 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
60422 $as_echo_n "(cached) " >&6
60423 else
60426 ac_ext=cpp
60427 ac_cpp='$CXXCPP $CPPFLAGS'
60428 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60429 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60430 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60433 /* end confdefs.h. */
60434 #include <math.h>
60435 #ifdef HAVE_IEEEFP_H
60436 #include <ieeefp.h>
60437 #endif
60440 main ()
60442 finite(0);
60444 return 0;
60446 _ACEOF
60447 if ac_fn_cxx_try_compile "$LINENO"; then :
60448 glibcxx_cv_func_finite_use=yes
60449 else
60450 glibcxx_cv_func_finite_use=no
60452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60453 ac_ext=c
60454 ac_cpp='$CPP $CPPFLAGS'
60455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
60464 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
60466 if test x$glibcxx_cv_func_finite_use = x"yes"; then
60467 for ac_func in finite
60468 do :
60469 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
60470 if test "x$ac_cv_func_finite" = x""yes; then :
60471 cat >>confdefs.h <<_ACEOF
60472 #define HAVE_FINITE 1
60473 _ACEOF
60476 done
60478 else
60480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
60481 $as_echo_n "checking for _finite declaration... " >&6; }
60482 if test x${glibcxx_cv_func__finite_use+set} != xset; then
60483 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
60484 $as_echo_n "(cached) " >&6
60485 else
60488 ac_ext=cpp
60489 ac_cpp='$CXXCPP $CPPFLAGS'
60490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60495 /* end confdefs.h. */
60496 #include <math.h>
60497 #ifdef HAVE_IEEEFP_H
60498 #include <ieeefp.h>
60499 #endif
60502 main ()
60504 _finite(0);
60506 return 0;
60508 _ACEOF
60509 if ac_fn_cxx_try_compile "$LINENO"; then :
60510 glibcxx_cv_func__finite_use=yes
60511 else
60512 glibcxx_cv_func__finite_use=no
60514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60515 ac_ext=c
60516 ac_cpp='$CPP $CPPFLAGS'
60517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
60526 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
60528 if test x$glibcxx_cv_func__finite_use = x"yes"; then
60529 for ac_func in _finite
60530 do :
60531 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
60532 if test "x$ac_cv_func__finite" = x""yes; then :
60533 cat >>confdefs.h <<_ACEOF
60534 #define HAVE__FINITE 1
60535 _ACEOF
60538 done
60547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
60548 $as_echo_n "checking for sincos declaration... " >&6; }
60549 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
60550 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
60551 $as_echo_n "(cached) " >&6
60552 else
60555 ac_ext=cpp
60556 ac_cpp='$CXXCPP $CPPFLAGS'
60557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60562 /* end confdefs.h. */
60563 #include <math.h>
60565 main ()
60567 sincos(0, 0, 0);
60569 return 0;
60571 _ACEOF
60572 if ac_fn_cxx_try_compile "$LINENO"; then :
60573 glibcxx_cv_func_sincos_use=yes
60574 else
60575 glibcxx_cv_func_sincos_use=no
60577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60578 ac_ext=c
60579 ac_cpp='$CPP $CPPFLAGS'
60580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
60589 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
60591 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
60592 for ac_func in sincos
60593 do :
60594 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
60595 if test "x$ac_cv_func_sincos" = x""yes; then :
60596 cat >>confdefs.h <<_ACEOF
60597 #define HAVE_SINCOS 1
60598 _ACEOF
60601 done
60603 else
60605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
60606 $as_echo_n "checking for _sincos declaration... " >&6; }
60607 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
60608 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
60609 $as_echo_n "(cached) " >&6
60610 else
60613 ac_ext=cpp
60614 ac_cpp='$CXXCPP $CPPFLAGS'
60615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60620 /* end confdefs.h. */
60621 #include <math.h>
60623 main ()
60625 _sincos(0, 0, 0);
60627 return 0;
60629 _ACEOF
60630 if ac_fn_cxx_try_compile "$LINENO"; then :
60631 glibcxx_cv_func__sincos_use=yes
60632 else
60633 glibcxx_cv_func__sincos_use=no
60635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60636 ac_ext=c
60637 ac_cpp='$CPP $CPPFLAGS'
60638 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60639 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60640 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
60647 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
60649 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
60650 for ac_func in _sincos
60651 do :
60652 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
60653 if test "x$ac_cv_func__sincos" = x""yes; then :
60654 cat >>confdefs.h <<_ACEOF
60655 #define HAVE__SINCOS 1
60656 _ACEOF
60659 done
60668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
60669 $as_echo_n "checking for fpclass declaration... " >&6; }
60670 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
60671 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
60672 $as_echo_n "(cached) " >&6
60673 else
60676 ac_ext=cpp
60677 ac_cpp='$CXXCPP $CPPFLAGS'
60678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60683 /* end confdefs.h. */
60684 #include <math.h>
60685 #ifdef HAVE_IEEEFP_H
60686 #include <ieeefp.h>
60687 #endif
60690 main ()
60692 fpclass(0);
60694 return 0;
60696 _ACEOF
60697 if ac_fn_cxx_try_compile "$LINENO"; then :
60698 glibcxx_cv_func_fpclass_use=yes
60699 else
60700 glibcxx_cv_func_fpclass_use=no
60702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60703 ac_ext=c
60704 ac_cpp='$CPP $CPPFLAGS'
60705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
60714 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
60716 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
60717 for ac_func in fpclass
60718 do :
60719 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
60720 if test "x$ac_cv_func_fpclass" = x""yes; then :
60721 cat >>confdefs.h <<_ACEOF
60722 #define HAVE_FPCLASS 1
60723 _ACEOF
60726 done
60728 else
60730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
60731 $as_echo_n "checking for _fpclass declaration... " >&6; }
60732 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
60733 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
60734 $as_echo_n "(cached) " >&6
60735 else
60738 ac_ext=cpp
60739 ac_cpp='$CXXCPP $CPPFLAGS'
60740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60745 /* end confdefs.h. */
60746 #include <math.h>
60747 #ifdef HAVE_IEEEFP_H
60748 #include <ieeefp.h>
60749 #endif
60752 main ()
60754 _fpclass(0);
60756 return 0;
60758 _ACEOF
60759 if ac_fn_cxx_try_compile "$LINENO"; then :
60760 glibcxx_cv_func__fpclass_use=yes
60761 else
60762 glibcxx_cv_func__fpclass_use=no
60764 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60765 ac_ext=c
60766 ac_cpp='$CPP $CPPFLAGS'
60767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
60776 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
60778 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
60779 for ac_func in _fpclass
60780 do :
60781 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
60782 if test "x$ac_cv_func__fpclass" = x""yes; then :
60783 cat >>confdefs.h <<_ACEOF
60784 #define HAVE__FPCLASS 1
60785 _ACEOF
60788 done
60797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
60798 $as_echo_n "checking for qfpclass declaration... " >&6; }
60799 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
60800 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
60801 $as_echo_n "(cached) " >&6
60802 else
60805 ac_ext=cpp
60806 ac_cpp='$CXXCPP $CPPFLAGS'
60807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60812 /* end confdefs.h. */
60813 #include <math.h>
60814 #ifdef HAVE_IEEEFP_H
60815 #include <ieeefp.h>
60816 #endif
60819 main ()
60821 qfpclass(0);
60823 return 0;
60825 _ACEOF
60826 if ac_fn_cxx_try_compile "$LINENO"; then :
60827 glibcxx_cv_func_qfpclass_use=yes
60828 else
60829 glibcxx_cv_func_qfpclass_use=no
60831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60832 ac_ext=c
60833 ac_cpp='$CPP $CPPFLAGS'
60834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
60843 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
60845 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
60846 for ac_func in qfpclass
60847 do :
60848 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
60849 if test "x$ac_cv_func_qfpclass" = x""yes; then :
60850 cat >>confdefs.h <<_ACEOF
60851 #define HAVE_QFPCLASS 1
60852 _ACEOF
60855 done
60857 else
60859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
60860 $as_echo_n "checking for _qfpclass declaration... " >&6; }
60861 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
60862 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
60863 $as_echo_n "(cached) " >&6
60864 else
60867 ac_ext=cpp
60868 ac_cpp='$CXXCPP $CPPFLAGS'
60869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60874 /* end confdefs.h. */
60875 #include <math.h>
60876 #ifdef HAVE_IEEEFP_H
60877 #include <ieeefp.h>
60878 #endif
60881 main ()
60883 _qfpclass(0);
60885 return 0;
60887 _ACEOF
60888 if ac_fn_cxx_try_compile "$LINENO"; then :
60889 glibcxx_cv_func__qfpclass_use=yes
60890 else
60891 glibcxx_cv_func__qfpclass_use=no
60893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60894 ac_ext=c
60895 ac_cpp='$CPP $CPPFLAGS'
60896 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60897 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60898 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
60905 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
60907 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
60908 for ac_func in _qfpclass
60909 do :
60910 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
60911 if test "x$ac_cv_func__qfpclass" = x""yes; then :
60912 cat >>confdefs.h <<_ACEOF
60913 #define HAVE__QFPCLASS 1
60914 _ACEOF
60917 done
60926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
60927 $as_echo_n "checking for hypot declaration... " >&6; }
60928 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
60929 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
60930 $as_echo_n "(cached) " >&6
60931 else
60934 ac_ext=cpp
60935 ac_cpp='$CXXCPP $CPPFLAGS'
60936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60941 /* end confdefs.h. */
60942 #include <math.h>
60944 main ()
60946 hypot(0, 0);
60948 return 0;
60950 _ACEOF
60951 if ac_fn_cxx_try_compile "$LINENO"; then :
60952 glibcxx_cv_func_hypot_use=yes
60953 else
60954 glibcxx_cv_func_hypot_use=no
60956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60957 ac_ext=c
60958 ac_cpp='$CPP $CPPFLAGS'
60959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
60968 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
60970 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
60971 for ac_func in hypot
60972 do :
60973 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
60974 if test "x$ac_cv_func_hypot" = x""yes; then :
60975 cat >>confdefs.h <<_ACEOF
60976 #define HAVE_HYPOT 1
60977 _ACEOF
60980 done
60982 else
60984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
60985 $as_echo_n "checking for _hypot declaration... " >&6; }
60986 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
60987 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
60988 $as_echo_n "(cached) " >&6
60989 else
60992 ac_ext=cpp
60993 ac_cpp='$CXXCPP $CPPFLAGS'
60994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60999 /* end confdefs.h. */
61000 #include <math.h>
61002 main ()
61004 _hypot(0, 0);
61006 return 0;
61008 _ACEOF
61009 if ac_fn_cxx_try_compile "$LINENO"; then :
61010 glibcxx_cv_func__hypot_use=yes
61011 else
61012 glibcxx_cv_func__hypot_use=no
61014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61015 ac_ext=c
61016 ac_cpp='$CPP $CPPFLAGS'
61017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61026 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61028 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61029 for ac_func in _hypot
61030 do :
61031 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61032 if test "x$ac_cv_func__hypot" = x""yes; then :
61033 cat >>confdefs.h <<_ACEOF
61034 #define HAVE__HYPOT 1
61035 _ACEOF
61038 done
61047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61048 $as_echo_n "checking for float trig functions... " >&6; }
61049 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
61050 $as_echo_n "(cached) " >&6
61051 else
61054 ac_ext=cpp
61055 ac_cpp='$CXXCPP $CPPFLAGS'
61056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61061 /* end confdefs.h. */
61062 #include <math.h>
61064 main ()
61066 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61068 return 0;
61070 _ACEOF
61071 if ac_fn_cxx_try_compile "$LINENO"; then :
61072 glibcxx_cv_func_float_trig_use=yes
61073 else
61074 glibcxx_cv_func_float_trig_use=no
61076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61077 ac_ext=c
61078 ac_cpp='$CPP $CPPFLAGS'
61079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61086 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61087 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61088 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61089 do :
61090 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61091 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61092 eval as_val=\$$as_ac_var
61093 if test "x$as_val" = x""yes; then :
61094 cat >>confdefs.h <<_ACEOF
61095 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61096 _ACEOF
61099 done
61101 else
61102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61103 $as_echo_n "checking for _float trig functions... " >&6; }
61104 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
61105 $as_echo_n "(cached) " >&6
61106 else
61109 ac_ext=cpp
61110 ac_cpp='$CXXCPP $CPPFLAGS'
61111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61116 /* end confdefs.h. */
61117 #include <math.h>
61119 main ()
61121 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61123 return 0;
61125 _ACEOF
61126 if ac_fn_cxx_try_compile "$LINENO"; then :
61127 glibcxx_cv_func__float_trig_use=yes
61128 else
61129 glibcxx_cv_func__float_trig_use=no
61131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61132 ac_ext=c
61133 ac_cpp='$CPP $CPPFLAGS'
61134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61141 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61142 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61143 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61144 do :
61145 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61146 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61147 eval as_val=\$$as_ac_var
61148 if test "x$as_val" = x""yes; then :
61149 cat >>confdefs.h <<_ACEOF
61150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61151 _ACEOF
61154 done
61163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61164 $as_echo_n "checking for float round functions... " >&6; }
61165 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
61166 $as_echo_n "(cached) " >&6
61167 else
61170 ac_ext=cpp
61171 ac_cpp='$CXXCPP $CPPFLAGS'
61172 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61173 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61174 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61177 /* end confdefs.h. */
61178 #include <math.h>
61180 main ()
61182 ceilf (0); floorf (0);
61184 return 0;
61186 _ACEOF
61187 if ac_fn_cxx_try_compile "$LINENO"; then :
61188 glibcxx_cv_func_float_round_use=yes
61189 else
61190 glibcxx_cv_func_float_round_use=no
61192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61193 ac_ext=c
61194 ac_cpp='$CPP $CPPFLAGS'
61195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61202 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61203 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61204 for ac_func in ceilf floorf
61205 do :
61206 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61207 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61208 eval as_val=\$$as_ac_var
61209 if test "x$as_val" = x""yes; then :
61210 cat >>confdefs.h <<_ACEOF
61211 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61212 _ACEOF
61215 done
61217 else
61218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61219 $as_echo_n "checking for _float round functions... " >&6; }
61220 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
61221 $as_echo_n "(cached) " >&6
61222 else
61225 ac_ext=cpp
61226 ac_cpp='$CXXCPP $CPPFLAGS'
61227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61232 /* end confdefs.h. */
61233 #include <math.h>
61235 main ()
61237 _ceilf (0); _floorf (0);
61239 return 0;
61241 _ACEOF
61242 if ac_fn_cxx_try_compile "$LINENO"; then :
61243 glibcxx_cv_func__float_round_use=yes
61244 else
61245 glibcxx_cv_func__float_round_use=no
61247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61248 ac_ext=c
61249 ac_cpp='$CPP $CPPFLAGS'
61250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61257 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61258 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61259 for ac_func in _ceilf _floorf
61260 do :
61261 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61262 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61263 eval as_val=\$$as_ac_var
61264 if test "x$as_val" = x""yes; then :
61265 cat >>confdefs.h <<_ACEOF
61266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61267 _ACEOF
61270 done
61280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61281 $as_echo_n "checking for expf declaration... " >&6; }
61282 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61283 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
61284 $as_echo_n "(cached) " >&6
61285 else
61288 ac_ext=cpp
61289 ac_cpp='$CXXCPP $CPPFLAGS'
61290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61295 /* end confdefs.h. */
61296 #include <math.h>
61297 #ifdef HAVE_IEEEFP_H
61298 #include <ieeefp.h>
61299 #endif
61302 main ()
61304 expf(0);
61306 return 0;
61308 _ACEOF
61309 if ac_fn_cxx_try_compile "$LINENO"; then :
61310 glibcxx_cv_func_expf_use=yes
61311 else
61312 glibcxx_cv_func_expf_use=no
61314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61315 ac_ext=c
61316 ac_cpp='$CPP $CPPFLAGS'
61317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61326 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61328 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61329 for ac_func in expf
61330 do :
61331 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61332 if test "x$ac_cv_func_expf" = x""yes; then :
61333 cat >>confdefs.h <<_ACEOF
61334 #define HAVE_EXPF 1
61335 _ACEOF
61338 done
61340 else
61342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61343 $as_echo_n "checking for _expf declaration... " >&6; }
61344 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61345 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
61346 $as_echo_n "(cached) " >&6
61347 else
61350 ac_ext=cpp
61351 ac_cpp='$CXXCPP $CPPFLAGS'
61352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61357 /* end confdefs.h. */
61358 #include <math.h>
61359 #ifdef HAVE_IEEEFP_H
61360 #include <ieeefp.h>
61361 #endif
61364 main ()
61366 _expf(0);
61368 return 0;
61370 _ACEOF
61371 if ac_fn_cxx_try_compile "$LINENO"; then :
61372 glibcxx_cv_func__expf_use=yes
61373 else
61374 glibcxx_cv_func__expf_use=no
61376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61377 ac_ext=c
61378 ac_cpp='$CPP $CPPFLAGS'
61379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61388 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61390 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61391 for ac_func in _expf
61392 do :
61393 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61394 if test "x$ac_cv_func__expf" = x""yes; then :
61395 cat >>confdefs.h <<_ACEOF
61396 #define HAVE__EXPF 1
61397 _ACEOF
61400 done
61409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61410 $as_echo_n "checking for isnanf declaration... " >&6; }
61411 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61412 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
61413 $as_echo_n "(cached) " >&6
61414 else
61417 ac_ext=cpp
61418 ac_cpp='$CXXCPP $CPPFLAGS'
61419 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61420 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61421 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61424 /* end confdefs.h. */
61425 #include <math.h>
61426 #ifdef HAVE_IEEEFP_H
61427 #include <ieeefp.h>
61428 #endif
61431 main ()
61433 isnanf(0);
61435 return 0;
61437 _ACEOF
61438 if ac_fn_cxx_try_compile "$LINENO"; then :
61439 glibcxx_cv_func_isnanf_use=yes
61440 else
61441 glibcxx_cv_func_isnanf_use=no
61443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61444 ac_ext=c
61445 ac_cpp='$CPP $CPPFLAGS'
61446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61455 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61457 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61458 for ac_func in isnanf
61459 do :
61460 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
61461 if test "x$ac_cv_func_isnanf" = x""yes; then :
61462 cat >>confdefs.h <<_ACEOF
61463 #define HAVE_ISNANF 1
61464 _ACEOF
61467 done
61469 else
61471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
61472 $as_echo_n "checking for _isnanf declaration... " >&6; }
61473 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
61474 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
61475 $as_echo_n "(cached) " >&6
61476 else
61479 ac_ext=cpp
61480 ac_cpp='$CXXCPP $CPPFLAGS'
61481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61486 /* end confdefs.h. */
61487 #include <math.h>
61488 #ifdef HAVE_IEEEFP_H
61489 #include <ieeefp.h>
61490 #endif
61493 main ()
61495 _isnanf(0);
61497 return 0;
61499 _ACEOF
61500 if ac_fn_cxx_try_compile "$LINENO"; then :
61501 glibcxx_cv_func__isnanf_use=yes
61502 else
61503 glibcxx_cv_func__isnanf_use=no
61505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61506 ac_ext=c
61507 ac_cpp='$CPP $CPPFLAGS'
61508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
61517 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
61519 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
61520 for ac_func in _isnanf
61521 do :
61522 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
61523 if test "x$ac_cv_func__isnanf" = x""yes; then :
61524 cat >>confdefs.h <<_ACEOF
61525 #define HAVE__ISNANF 1
61526 _ACEOF
61529 done
61538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
61539 $as_echo_n "checking for isinff declaration... " >&6; }
61540 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
61541 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
61542 $as_echo_n "(cached) " >&6
61543 else
61546 ac_ext=cpp
61547 ac_cpp='$CXXCPP $CPPFLAGS'
61548 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61549 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61550 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61553 /* end confdefs.h. */
61554 #include <math.h>
61555 #ifdef HAVE_IEEEFP_H
61556 #include <ieeefp.h>
61557 #endif
61560 main ()
61562 isinff(0);
61564 return 0;
61566 _ACEOF
61567 if ac_fn_cxx_try_compile "$LINENO"; then :
61568 glibcxx_cv_func_isinff_use=yes
61569 else
61570 glibcxx_cv_func_isinff_use=no
61572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61573 ac_ext=c
61574 ac_cpp='$CPP $CPPFLAGS'
61575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
61584 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
61586 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
61587 for ac_func in isinff
61588 do :
61589 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
61590 if test "x$ac_cv_func_isinff" = x""yes; then :
61591 cat >>confdefs.h <<_ACEOF
61592 #define HAVE_ISINFF 1
61593 _ACEOF
61596 done
61598 else
61600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
61601 $as_echo_n "checking for _isinff declaration... " >&6; }
61602 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
61603 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
61604 $as_echo_n "(cached) " >&6
61605 else
61608 ac_ext=cpp
61609 ac_cpp='$CXXCPP $CPPFLAGS'
61610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61615 /* end confdefs.h. */
61616 #include <math.h>
61617 #ifdef HAVE_IEEEFP_H
61618 #include <ieeefp.h>
61619 #endif
61622 main ()
61624 _isinff(0);
61626 return 0;
61628 _ACEOF
61629 if ac_fn_cxx_try_compile "$LINENO"; then :
61630 glibcxx_cv_func__isinff_use=yes
61631 else
61632 glibcxx_cv_func__isinff_use=no
61634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61635 ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
61646 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
61648 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
61649 for ac_func in _isinff
61650 do :
61651 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
61652 if test "x$ac_cv_func__isinff" = x""yes; then :
61653 cat >>confdefs.h <<_ACEOF
61654 #define HAVE__ISINFF 1
61655 _ACEOF
61658 done
61667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
61668 $as_echo_n "checking for atan2f declaration... " >&6; }
61669 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
61670 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
61671 $as_echo_n "(cached) " >&6
61672 else
61675 ac_ext=cpp
61676 ac_cpp='$CXXCPP $CPPFLAGS'
61677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61682 /* end confdefs.h. */
61683 #include <math.h>
61685 main ()
61687 atan2f(0, 0);
61689 return 0;
61691 _ACEOF
61692 if ac_fn_cxx_try_compile "$LINENO"; then :
61693 glibcxx_cv_func_atan2f_use=yes
61694 else
61695 glibcxx_cv_func_atan2f_use=no
61697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61698 ac_ext=c
61699 ac_cpp='$CPP $CPPFLAGS'
61700 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61701 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61702 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
61709 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
61711 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
61712 for ac_func in atan2f
61713 do :
61714 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
61715 if test "x$ac_cv_func_atan2f" = x""yes; then :
61716 cat >>confdefs.h <<_ACEOF
61717 #define HAVE_ATAN2F 1
61718 _ACEOF
61721 done
61723 else
61725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
61726 $as_echo_n "checking for _atan2f declaration... " >&6; }
61727 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
61728 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
61729 $as_echo_n "(cached) " >&6
61730 else
61733 ac_ext=cpp
61734 ac_cpp='$CXXCPP $CPPFLAGS'
61735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61740 /* end confdefs.h. */
61741 #include <math.h>
61743 main ()
61745 _atan2f(0, 0);
61747 return 0;
61749 _ACEOF
61750 if ac_fn_cxx_try_compile "$LINENO"; then :
61751 glibcxx_cv_func__atan2f_use=yes
61752 else
61753 glibcxx_cv_func__atan2f_use=no
61755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61756 ac_ext=c
61757 ac_cpp='$CPP $CPPFLAGS'
61758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
61767 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
61769 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
61770 for ac_func in _atan2f
61771 do :
61772 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
61773 if test "x$ac_cv_func__atan2f" = x""yes; then :
61774 cat >>confdefs.h <<_ACEOF
61775 #define HAVE__ATAN2F 1
61776 _ACEOF
61779 done
61788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
61789 $as_echo_n "checking for fabsf declaration... " >&6; }
61790 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
61791 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
61792 $as_echo_n "(cached) " >&6
61793 else
61796 ac_ext=cpp
61797 ac_cpp='$CXXCPP $CPPFLAGS'
61798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61803 /* end confdefs.h. */
61804 #include <math.h>
61805 #ifdef HAVE_IEEEFP_H
61806 #include <ieeefp.h>
61807 #endif
61810 main ()
61812 fabsf(0);
61814 return 0;
61816 _ACEOF
61817 if ac_fn_cxx_try_compile "$LINENO"; then :
61818 glibcxx_cv_func_fabsf_use=yes
61819 else
61820 glibcxx_cv_func_fabsf_use=no
61822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61823 ac_ext=c
61824 ac_cpp='$CPP $CPPFLAGS'
61825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
61834 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
61836 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
61837 for ac_func in fabsf
61838 do :
61839 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
61840 if test "x$ac_cv_func_fabsf" = x""yes; then :
61841 cat >>confdefs.h <<_ACEOF
61842 #define HAVE_FABSF 1
61843 _ACEOF
61846 done
61848 else
61850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
61851 $as_echo_n "checking for _fabsf declaration... " >&6; }
61852 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
61853 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
61854 $as_echo_n "(cached) " >&6
61855 else
61858 ac_ext=cpp
61859 ac_cpp='$CXXCPP $CPPFLAGS'
61860 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61861 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61862 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61865 /* end confdefs.h. */
61866 #include <math.h>
61867 #ifdef HAVE_IEEEFP_H
61868 #include <ieeefp.h>
61869 #endif
61872 main ()
61874 _fabsf(0);
61876 return 0;
61878 _ACEOF
61879 if ac_fn_cxx_try_compile "$LINENO"; then :
61880 glibcxx_cv_func__fabsf_use=yes
61881 else
61882 glibcxx_cv_func__fabsf_use=no
61884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61885 ac_ext=c
61886 ac_cpp='$CPP $CPPFLAGS'
61887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
61896 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
61898 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
61899 for ac_func in _fabsf
61900 do :
61901 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
61902 if test "x$ac_cv_func__fabsf" = x""yes; then :
61903 cat >>confdefs.h <<_ACEOF
61904 #define HAVE__FABSF 1
61905 _ACEOF
61908 done
61917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
61918 $as_echo_n "checking for fmodf declaration... " >&6; }
61919 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
61920 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
61921 $as_echo_n "(cached) " >&6
61922 else
61925 ac_ext=cpp
61926 ac_cpp='$CXXCPP $CPPFLAGS'
61927 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61928 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61929 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61932 /* end confdefs.h. */
61933 #include <math.h>
61935 main ()
61937 fmodf(0, 0);
61939 return 0;
61941 _ACEOF
61942 if ac_fn_cxx_try_compile "$LINENO"; then :
61943 glibcxx_cv_func_fmodf_use=yes
61944 else
61945 glibcxx_cv_func_fmodf_use=no
61947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61948 ac_ext=c
61949 ac_cpp='$CPP $CPPFLAGS'
61950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
61959 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
61961 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
61962 for ac_func in fmodf
61963 do :
61964 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
61965 if test "x$ac_cv_func_fmodf" = x""yes; then :
61966 cat >>confdefs.h <<_ACEOF
61967 #define HAVE_FMODF 1
61968 _ACEOF
61971 done
61973 else
61975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
61976 $as_echo_n "checking for _fmodf declaration... " >&6; }
61977 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
61978 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
61979 $as_echo_n "(cached) " >&6
61980 else
61983 ac_ext=cpp
61984 ac_cpp='$CXXCPP $CPPFLAGS'
61985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61990 /* end confdefs.h. */
61991 #include <math.h>
61993 main ()
61995 _fmodf(0, 0);
61997 return 0;
61999 _ACEOF
62000 if ac_fn_cxx_try_compile "$LINENO"; then :
62001 glibcxx_cv_func__fmodf_use=yes
62002 else
62003 glibcxx_cv_func__fmodf_use=no
62005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62006 ac_ext=c
62007 ac_cpp='$CPP $CPPFLAGS'
62008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62017 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62019 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62020 for ac_func in _fmodf
62021 do :
62022 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62023 if test "x$ac_cv_func__fmodf" = x""yes; then :
62024 cat >>confdefs.h <<_ACEOF
62025 #define HAVE__FMODF 1
62026 _ACEOF
62029 done
62038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62039 $as_echo_n "checking for frexpf declaration... " >&6; }
62040 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62041 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
62042 $as_echo_n "(cached) " >&6
62043 else
62046 ac_ext=cpp
62047 ac_cpp='$CXXCPP $CPPFLAGS'
62048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62053 /* end confdefs.h. */
62054 #include <math.h>
62056 main ()
62058 frexpf(0, 0);
62060 return 0;
62062 _ACEOF
62063 if ac_fn_cxx_try_compile "$LINENO"; then :
62064 glibcxx_cv_func_frexpf_use=yes
62065 else
62066 glibcxx_cv_func_frexpf_use=no
62068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62069 ac_ext=c
62070 ac_cpp='$CPP $CPPFLAGS'
62071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62080 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62082 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62083 for ac_func in frexpf
62084 do :
62085 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62086 if test "x$ac_cv_func_frexpf" = x""yes; then :
62087 cat >>confdefs.h <<_ACEOF
62088 #define HAVE_FREXPF 1
62089 _ACEOF
62092 done
62094 else
62096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62097 $as_echo_n "checking for _frexpf declaration... " >&6; }
62098 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62099 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
62100 $as_echo_n "(cached) " >&6
62101 else
62104 ac_ext=cpp
62105 ac_cpp='$CXXCPP $CPPFLAGS'
62106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62111 /* end confdefs.h. */
62112 #include <math.h>
62114 main ()
62116 _frexpf(0, 0);
62118 return 0;
62120 _ACEOF
62121 if ac_fn_cxx_try_compile "$LINENO"; then :
62122 glibcxx_cv_func__frexpf_use=yes
62123 else
62124 glibcxx_cv_func__frexpf_use=no
62126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62127 ac_ext=c
62128 ac_cpp='$CPP $CPPFLAGS'
62129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62138 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62140 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62141 for ac_func in _frexpf
62142 do :
62143 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62144 if test "x$ac_cv_func__frexpf" = x""yes; then :
62145 cat >>confdefs.h <<_ACEOF
62146 #define HAVE__FREXPF 1
62147 _ACEOF
62150 done
62159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62160 $as_echo_n "checking for hypotf declaration... " >&6; }
62161 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62162 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
62163 $as_echo_n "(cached) " >&6
62164 else
62167 ac_ext=cpp
62168 ac_cpp='$CXXCPP $CPPFLAGS'
62169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62174 /* end confdefs.h. */
62175 #include <math.h>
62177 main ()
62179 hypotf(0, 0);
62181 return 0;
62183 _ACEOF
62184 if ac_fn_cxx_try_compile "$LINENO"; then :
62185 glibcxx_cv_func_hypotf_use=yes
62186 else
62187 glibcxx_cv_func_hypotf_use=no
62189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62190 ac_ext=c
62191 ac_cpp='$CPP $CPPFLAGS'
62192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62201 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62203 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62204 for ac_func in hypotf
62205 do :
62206 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62207 if test "x$ac_cv_func_hypotf" = x""yes; then :
62208 cat >>confdefs.h <<_ACEOF
62209 #define HAVE_HYPOTF 1
62210 _ACEOF
62213 done
62215 else
62217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62218 $as_echo_n "checking for _hypotf declaration... " >&6; }
62219 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62220 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
62221 $as_echo_n "(cached) " >&6
62222 else
62225 ac_ext=cpp
62226 ac_cpp='$CXXCPP $CPPFLAGS'
62227 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62228 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62229 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62232 /* end confdefs.h. */
62233 #include <math.h>
62235 main ()
62237 _hypotf(0, 0);
62239 return 0;
62241 _ACEOF
62242 if ac_fn_cxx_try_compile "$LINENO"; then :
62243 glibcxx_cv_func__hypotf_use=yes
62244 else
62245 glibcxx_cv_func__hypotf_use=no
62247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62248 ac_ext=c
62249 ac_cpp='$CPP $CPPFLAGS'
62250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62259 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62261 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62262 for ac_func in _hypotf
62263 do :
62264 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62265 if test "x$ac_cv_func__hypotf" = x""yes; then :
62266 cat >>confdefs.h <<_ACEOF
62267 #define HAVE__HYPOTF 1
62268 _ACEOF
62271 done
62280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62281 $as_echo_n "checking for ldexpf declaration... " >&6; }
62282 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62283 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
62284 $as_echo_n "(cached) " >&6
62285 else
62288 ac_ext=cpp
62289 ac_cpp='$CXXCPP $CPPFLAGS'
62290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62295 /* end confdefs.h. */
62296 #include <math.h>
62298 main ()
62300 ldexpf(0, 0);
62302 return 0;
62304 _ACEOF
62305 if ac_fn_cxx_try_compile "$LINENO"; then :
62306 glibcxx_cv_func_ldexpf_use=yes
62307 else
62308 glibcxx_cv_func_ldexpf_use=no
62310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62311 ac_ext=c
62312 ac_cpp='$CPP $CPPFLAGS'
62313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62322 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62324 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62325 for ac_func in ldexpf
62326 do :
62327 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62328 if test "x$ac_cv_func_ldexpf" = x""yes; then :
62329 cat >>confdefs.h <<_ACEOF
62330 #define HAVE_LDEXPF 1
62331 _ACEOF
62334 done
62336 else
62338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62339 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62340 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62341 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
62342 $as_echo_n "(cached) " >&6
62343 else
62346 ac_ext=cpp
62347 ac_cpp='$CXXCPP $CPPFLAGS'
62348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62353 /* end confdefs.h. */
62354 #include <math.h>
62356 main ()
62358 _ldexpf(0, 0);
62360 return 0;
62362 _ACEOF
62363 if ac_fn_cxx_try_compile "$LINENO"; then :
62364 glibcxx_cv_func__ldexpf_use=yes
62365 else
62366 glibcxx_cv_func__ldexpf_use=no
62368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62369 ac_ext=c
62370 ac_cpp='$CPP $CPPFLAGS'
62371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62380 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62382 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62383 for ac_func in _ldexpf
62384 do :
62385 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62386 if test "x$ac_cv_func__ldexpf" = x""yes; then :
62387 cat >>confdefs.h <<_ACEOF
62388 #define HAVE__LDEXPF 1
62389 _ACEOF
62392 done
62401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62402 $as_echo_n "checking for logf declaration... " >&6; }
62403 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62404 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
62405 $as_echo_n "(cached) " >&6
62406 else
62409 ac_ext=cpp
62410 ac_cpp='$CXXCPP $CPPFLAGS'
62411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62416 /* end confdefs.h. */
62417 #include <math.h>
62418 #ifdef HAVE_IEEEFP_H
62419 #include <ieeefp.h>
62420 #endif
62423 main ()
62425 logf(0);
62427 return 0;
62429 _ACEOF
62430 if ac_fn_cxx_try_compile "$LINENO"; then :
62431 glibcxx_cv_func_logf_use=yes
62432 else
62433 glibcxx_cv_func_logf_use=no
62435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62436 ac_ext=c
62437 ac_cpp='$CPP $CPPFLAGS'
62438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62447 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62449 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62450 for ac_func in logf
62451 do :
62452 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62453 if test "x$ac_cv_func_logf" = x""yes; then :
62454 cat >>confdefs.h <<_ACEOF
62455 #define HAVE_LOGF 1
62456 _ACEOF
62459 done
62461 else
62463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
62464 $as_echo_n "checking for _logf declaration... " >&6; }
62465 if test x${glibcxx_cv_func__logf_use+set} != xset; then
62466 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
62467 $as_echo_n "(cached) " >&6
62468 else
62471 ac_ext=cpp
62472 ac_cpp='$CXXCPP $CPPFLAGS'
62473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62478 /* end confdefs.h. */
62479 #include <math.h>
62480 #ifdef HAVE_IEEEFP_H
62481 #include <ieeefp.h>
62482 #endif
62485 main ()
62487 _logf(0);
62489 return 0;
62491 _ACEOF
62492 if ac_fn_cxx_try_compile "$LINENO"; then :
62493 glibcxx_cv_func__logf_use=yes
62494 else
62495 glibcxx_cv_func__logf_use=no
62497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62498 ac_ext=c
62499 ac_cpp='$CPP $CPPFLAGS'
62500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
62509 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
62511 if test x$glibcxx_cv_func__logf_use = x"yes"; then
62512 for ac_func in _logf
62513 do :
62514 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
62515 if test "x$ac_cv_func__logf" = x""yes; then :
62516 cat >>confdefs.h <<_ACEOF
62517 #define HAVE__LOGF 1
62518 _ACEOF
62521 done
62530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
62531 $as_echo_n "checking for log10f declaration... " >&6; }
62532 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
62533 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
62534 $as_echo_n "(cached) " >&6
62535 else
62538 ac_ext=cpp
62539 ac_cpp='$CXXCPP $CPPFLAGS'
62540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62545 /* end confdefs.h. */
62546 #include <math.h>
62547 #ifdef HAVE_IEEEFP_H
62548 #include <ieeefp.h>
62549 #endif
62552 main ()
62554 log10f(0);
62556 return 0;
62558 _ACEOF
62559 if ac_fn_cxx_try_compile "$LINENO"; then :
62560 glibcxx_cv_func_log10f_use=yes
62561 else
62562 glibcxx_cv_func_log10f_use=no
62564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62565 ac_ext=c
62566 ac_cpp='$CPP $CPPFLAGS'
62567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
62576 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
62578 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
62579 for ac_func in log10f
62580 do :
62581 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
62582 if test "x$ac_cv_func_log10f" = x""yes; then :
62583 cat >>confdefs.h <<_ACEOF
62584 #define HAVE_LOG10F 1
62585 _ACEOF
62588 done
62590 else
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
62593 $as_echo_n "checking for _log10f declaration... " >&6; }
62594 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
62595 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
62596 $as_echo_n "(cached) " >&6
62597 else
62600 ac_ext=cpp
62601 ac_cpp='$CXXCPP $CPPFLAGS'
62602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62607 /* end confdefs.h. */
62608 #include <math.h>
62609 #ifdef HAVE_IEEEFP_H
62610 #include <ieeefp.h>
62611 #endif
62614 main ()
62616 _log10f(0);
62618 return 0;
62620 _ACEOF
62621 if ac_fn_cxx_try_compile "$LINENO"; then :
62622 glibcxx_cv_func__log10f_use=yes
62623 else
62624 glibcxx_cv_func__log10f_use=no
62626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62627 ac_ext=c
62628 ac_cpp='$CPP $CPPFLAGS'
62629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
62638 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
62640 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
62641 for ac_func in _log10f
62642 do :
62643 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
62644 if test "x$ac_cv_func__log10f" = x""yes; then :
62645 cat >>confdefs.h <<_ACEOF
62646 #define HAVE__LOG10F 1
62647 _ACEOF
62650 done
62659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
62660 $as_echo_n "checking for modff declaration... " >&6; }
62661 if test x${glibcxx_cv_func_modff_use+set} != xset; then
62662 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
62663 $as_echo_n "(cached) " >&6
62664 else
62667 ac_ext=cpp
62668 ac_cpp='$CXXCPP $CPPFLAGS'
62669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62674 /* end confdefs.h. */
62675 #include <math.h>
62677 main ()
62679 modff(0, 0);
62681 return 0;
62683 _ACEOF
62684 if ac_fn_cxx_try_compile "$LINENO"; then :
62685 glibcxx_cv_func_modff_use=yes
62686 else
62687 glibcxx_cv_func_modff_use=no
62689 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62690 ac_ext=c
62691 ac_cpp='$CPP $CPPFLAGS'
62692 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62693 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62694 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
62701 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
62703 if test x$glibcxx_cv_func_modff_use = x"yes"; then
62704 for ac_func in modff
62705 do :
62706 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
62707 if test "x$ac_cv_func_modff" = x""yes; then :
62708 cat >>confdefs.h <<_ACEOF
62709 #define HAVE_MODFF 1
62710 _ACEOF
62713 done
62715 else
62717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
62718 $as_echo_n "checking for _modff declaration... " >&6; }
62719 if test x${glibcxx_cv_func__modff_use+set} != xset; then
62720 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
62721 $as_echo_n "(cached) " >&6
62722 else
62725 ac_ext=cpp
62726 ac_cpp='$CXXCPP $CPPFLAGS'
62727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62732 /* end confdefs.h. */
62733 #include <math.h>
62735 main ()
62737 _modff(0, 0);
62739 return 0;
62741 _ACEOF
62742 if ac_fn_cxx_try_compile "$LINENO"; then :
62743 glibcxx_cv_func__modff_use=yes
62744 else
62745 glibcxx_cv_func__modff_use=no
62747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62748 ac_ext=c
62749 ac_cpp='$CPP $CPPFLAGS'
62750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
62759 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
62761 if test x$glibcxx_cv_func__modff_use = x"yes"; then
62762 for ac_func in _modff
62763 do :
62764 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
62765 if test "x$ac_cv_func__modff" = x""yes; then :
62766 cat >>confdefs.h <<_ACEOF
62767 #define HAVE__MODFF 1
62768 _ACEOF
62771 done
62780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
62781 $as_echo_n "checking for modf declaration... " >&6; }
62782 if test x${glibcxx_cv_func_modf_use+set} != xset; then
62783 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
62784 $as_echo_n "(cached) " >&6
62785 else
62788 ac_ext=cpp
62789 ac_cpp='$CXXCPP $CPPFLAGS'
62790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62795 /* end confdefs.h. */
62796 #include <math.h>
62798 main ()
62800 modf(0, 0);
62802 return 0;
62804 _ACEOF
62805 if ac_fn_cxx_try_compile "$LINENO"; then :
62806 glibcxx_cv_func_modf_use=yes
62807 else
62808 glibcxx_cv_func_modf_use=no
62810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62811 ac_ext=c
62812 ac_cpp='$CPP $CPPFLAGS'
62813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
62822 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
62824 if test x$glibcxx_cv_func_modf_use = x"yes"; then
62825 for ac_func in modf
62826 do :
62827 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
62828 if test "x$ac_cv_func_modf" = x""yes; then :
62829 cat >>confdefs.h <<_ACEOF
62830 #define HAVE_MODF 1
62831 _ACEOF
62834 done
62836 else
62838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
62839 $as_echo_n "checking for _modf declaration... " >&6; }
62840 if test x${glibcxx_cv_func__modf_use+set} != xset; then
62841 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
62842 $as_echo_n "(cached) " >&6
62843 else
62846 ac_ext=cpp
62847 ac_cpp='$CXXCPP $CPPFLAGS'
62848 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62849 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62850 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62853 /* end confdefs.h. */
62854 #include <math.h>
62856 main ()
62858 _modf(0, 0);
62860 return 0;
62862 _ACEOF
62863 if ac_fn_cxx_try_compile "$LINENO"; then :
62864 glibcxx_cv_func__modf_use=yes
62865 else
62866 glibcxx_cv_func__modf_use=no
62868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62869 ac_ext=c
62870 ac_cpp='$CPP $CPPFLAGS'
62871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
62880 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
62882 if test x$glibcxx_cv_func__modf_use = x"yes"; then
62883 for ac_func in _modf
62884 do :
62885 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
62886 if test "x$ac_cv_func__modf" = x""yes; then :
62887 cat >>confdefs.h <<_ACEOF
62888 #define HAVE__MODF 1
62889 _ACEOF
62892 done
62901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
62902 $as_echo_n "checking for powf declaration... " >&6; }
62903 if test x${glibcxx_cv_func_powf_use+set} != xset; then
62904 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
62905 $as_echo_n "(cached) " >&6
62906 else
62909 ac_ext=cpp
62910 ac_cpp='$CXXCPP $CPPFLAGS'
62911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62916 /* end confdefs.h. */
62917 #include <math.h>
62919 main ()
62921 powf(0, 0);
62923 return 0;
62925 _ACEOF
62926 if ac_fn_cxx_try_compile "$LINENO"; then :
62927 glibcxx_cv_func_powf_use=yes
62928 else
62929 glibcxx_cv_func_powf_use=no
62931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62932 ac_ext=c
62933 ac_cpp='$CPP $CPPFLAGS'
62934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
62943 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
62945 if test x$glibcxx_cv_func_powf_use = x"yes"; then
62946 for ac_func in powf
62947 do :
62948 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
62949 if test "x$ac_cv_func_powf" = x""yes; then :
62950 cat >>confdefs.h <<_ACEOF
62951 #define HAVE_POWF 1
62952 _ACEOF
62955 done
62957 else
62959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
62960 $as_echo_n "checking for _powf declaration... " >&6; }
62961 if test x${glibcxx_cv_func__powf_use+set} != xset; then
62962 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
62963 $as_echo_n "(cached) " >&6
62964 else
62967 ac_ext=cpp
62968 ac_cpp='$CXXCPP $CPPFLAGS'
62969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62974 /* end confdefs.h. */
62975 #include <math.h>
62977 main ()
62979 _powf(0, 0);
62981 return 0;
62983 _ACEOF
62984 if ac_fn_cxx_try_compile "$LINENO"; then :
62985 glibcxx_cv_func__powf_use=yes
62986 else
62987 glibcxx_cv_func__powf_use=no
62989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62990 ac_ext=c
62991 ac_cpp='$CPP $CPPFLAGS'
62992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63001 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63003 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63004 for ac_func in _powf
63005 do :
63006 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63007 if test "x$ac_cv_func__powf" = x""yes; then :
63008 cat >>confdefs.h <<_ACEOF
63009 #define HAVE__POWF 1
63010 _ACEOF
63013 done
63022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63023 $as_echo_n "checking for sqrtf declaration... " >&6; }
63024 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63025 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
63026 $as_echo_n "(cached) " >&6
63027 else
63030 ac_ext=cpp
63031 ac_cpp='$CXXCPP $CPPFLAGS'
63032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63037 /* end confdefs.h. */
63038 #include <math.h>
63039 #ifdef HAVE_IEEEFP_H
63040 #include <ieeefp.h>
63041 #endif
63044 main ()
63046 sqrtf(0);
63048 return 0;
63050 _ACEOF
63051 if ac_fn_cxx_try_compile "$LINENO"; then :
63052 glibcxx_cv_func_sqrtf_use=yes
63053 else
63054 glibcxx_cv_func_sqrtf_use=no
63056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63057 ac_ext=c
63058 ac_cpp='$CPP $CPPFLAGS'
63059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63068 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63070 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63071 for ac_func in sqrtf
63072 do :
63073 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63074 if test "x$ac_cv_func_sqrtf" = x""yes; then :
63075 cat >>confdefs.h <<_ACEOF
63076 #define HAVE_SQRTF 1
63077 _ACEOF
63080 done
63082 else
63084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63085 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63086 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63087 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
63088 $as_echo_n "(cached) " >&6
63089 else
63092 ac_ext=cpp
63093 ac_cpp='$CXXCPP $CPPFLAGS'
63094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63099 /* end confdefs.h. */
63100 #include <math.h>
63101 #ifdef HAVE_IEEEFP_H
63102 #include <ieeefp.h>
63103 #endif
63106 main ()
63108 _sqrtf(0);
63110 return 0;
63112 _ACEOF
63113 if ac_fn_cxx_try_compile "$LINENO"; then :
63114 glibcxx_cv_func__sqrtf_use=yes
63115 else
63116 glibcxx_cv_func__sqrtf_use=no
63118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63119 ac_ext=c
63120 ac_cpp='$CPP $CPPFLAGS'
63121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63130 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63132 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63133 for ac_func in _sqrtf
63134 do :
63135 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63136 if test "x$ac_cv_func__sqrtf" = x""yes; then :
63137 cat >>confdefs.h <<_ACEOF
63138 #define HAVE__SQRTF 1
63139 _ACEOF
63142 done
63151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63152 $as_echo_n "checking for sincosf declaration... " >&6; }
63153 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63154 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
63155 $as_echo_n "(cached) " >&6
63156 else
63159 ac_ext=cpp
63160 ac_cpp='$CXXCPP $CPPFLAGS'
63161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63166 /* end confdefs.h. */
63167 #include <math.h>
63169 main ()
63171 sincosf(0, 0, 0);
63173 return 0;
63175 _ACEOF
63176 if ac_fn_cxx_try_compile "$LINENO"; then :
63177 glibcxx_cv_func_sincosf_use=yes
63178 else
63179 glibcxx_cv_func_sincosf_use=no
63181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63182 ac_ext=c
63183 ac_cpp='$CPP $CPPFLAGS'
63184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63193 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63195 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63196 for ac_func in sincosf
63197 do :
63198 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63199 if test "x$ac_cv_func_sincosf" = x""yes; then :
63200 cat >>confdefs.h <<_ACEOF
63201 #define HAVE_SINCOSF 1
63202 _ACEOF
63205 done
63207 else
63209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63210 $as_echo_n "checking for _sincosf declaration... " >&6; }
63211 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63212 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
63213 $as_echo_n "(cached) " >&6
63214 else
63217 ac_ext=cpp
63218 ac_cpp='$CXXCPP $CPPFLAGS'
63219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63224 /* end confdefs.h. */
63225 #include <math.h>
63227 main ()
63229 _sincosf(0, 0, 0);
63231 return 0;
63233 _ACEOF
63234 if ac_fn_cxx_try_compile "$LINENO"; then :
63235 glibcxx_cv_func__sincosf_use=yes
63236 else
63237 glibcxx_cv_func__sincosf_use=no
63239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63240 ac_ext=c
63241 ac_cpp='$CPP $CPPFLAGS'
63242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63251 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63253 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63254 for ac_func in _sincosf
63255 do :
63256 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63257 if test "x$ac_cv_func__sincosf" = x""yes; then :
63258 cat >>confdefs.h <<_ACEOF
63259 #define HAVE__SINCOSF 1
63260 _ACEOF
63263 done
63272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63273 $as_echo_n "checking for finitef declaration... " >&6; }
63274 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63275 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
63276 $as_echo_n "(cached) " >&6
63277 else
63280 ac_ext=cpp
63281 ac_cpp='$CXXCPP $CPPFLAGS'
63282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63287 /* end confdefs.h. */
63288 #include <math.h>
63289 #ifdef HAVE_IEEEFP_H
63290 #include <ieeefp.h>
63291 #endif
63294 main ()
63296 finitef(0);
63298 return 0;
63300 _ACEOF
63301 if ac_fn_cxx_try_compile "$LINENO"; then :
63302 glibcxx_cv_func_finitef_use=yes
63303 else
63304 glibcxx_cv_func_finitef_use=no
63306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63307 ac_ext=c
63308 ac_cpp='$CPP $CPPFLAGS'
63309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63318 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63320 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63321 for ac_func in finitef
63322 do :
63323 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63324 if test "x$ac_cv_func_finitef" = x""yes; then :
63325 cat >>confdefs.h <<_ACEOF
63326 #define HAVE_FINITEF 1
63327 _ACEOF
63330 done
63332 else
63334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63335 $as_echo_n "checking for _finitef declaration... " >&6; }
63336 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63337 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
63338 $as_echo_n "(cached) " >&6
63339 else
63342 ac_ext=cpp
63343 ac_cpp='$CXXCPP $CPPFLAGS'
63344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63349 /* end confdefs.h. */
63350 #include <math.h>
63351 #ifdef HAVE_IEEEFP_H
63352 #include <ieeefp.h>
63353 #endif
63356 main ()
63358 _finitef(0);
63360 return 0;
63362 _ACEOF
63363 if ac_fn_cxx_try_compile "$LINENO"; then :
63364 glibcxx_cv_func__finitef_use=yes
63365 else
63366 glibcxx_cv_func__finitef_use=no
63368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63369 ac_ext=c
63370 ac_cpp='$CPP $CPPFLAGS'
63371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63380 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63382 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63383 for ac_func in _finitef
63384 do :
63385 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63386 if test "x$ac_cv_func__finitef" = x""yes; then :
63387 cat >>confdefs.h <<_ACEOF
63388 #define HAVE__FINITEF 1
63389 _ACEOF
63392 done
63401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63402 $as_echo_n "checking for long double trig functions... " >&6; }
63403 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
63404 $as_echo_n "(cached) " >&6
63405 else
63408 ac_ext=cpp
63409 ac_cpp='$CXXCPP $CPPFLAGS'
63410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63415 /* end confdefs.h. */
63416 #include <math.h>
63418 main ()
63420 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63422 return 0;
63424 _ACEOF
63425 if ac_fn_cxx_try_compile "$LINENO"; then :
63426 glibcxx_cv_func_long_double_trig_use=yes
63427 else
63428 glibcxx_cv_func_long_double_trig_use=no
63430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63431 ac_ext=c
63432 ac_cpp='$CPP $CPPFLAGS'
63433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63440 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63441 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63442 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63443 do :
63444 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63445 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63446 eval as_val=\$$as_ac_var
63447 if test "x$as_val" = x""yes; then :
63448 cat >>confdefs.h <<_ACEOF
63449 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63450 _ACEOF
63453 done
63455 else
63456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63457 $as_echo_n "checking for _long double trig functions... " >&6; }
63458 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
63459 $as_echo_n "(cached) " >&6
63460 else
63463 ac_ext=cpp
63464 ac_cpp='$CXXCPP $CPPFLAGS'
63465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63470 /* end confdefs.h. */
63471 #include <math.h>
63473 main ()
63475 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
63477 return 0;
63479 _ACEOF
63480 if ac_fn_cxx_try_compile "$LINENO"; then :
63481 glibcxx_cv_func__long_double_trig_use=yes
63482 else
63483 glibcxx_cv_func__long_double_trig_use=no
63485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63486 ac_ext=c
63487 ac_cpp='$CPP $CPPFLAGS'
63488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
63495 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
63496 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
63497 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
63498 do :
63499 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63500 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63501 eval as_val=\$$as_ac_var
63502 if test "x$as_val" = x""yes; then :
63503 cat >>confdefs.h <<_ACEOF
63504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63505 _ACEOF
63508 done
63517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
63518 $as_echo_n "checking for long double round functions... " >&6; }
63519 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
63520 $as_echo_n "(cached) " >&6
63521 else
63524 ac_ext=cpp
63525 ac_cpp='$CXXCPP $CPPFLAGS'
63526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63531 /* end confdefs.h. */
63532 #include <math.h>
63534 main ()
63536 ceill (0); floorl (0);
63538 return 0;
63540 _ACEOF
63541 if ac_fn_cxx_try_compile "$LINENO"; then :
63542 glibcxx_cv_func_long_double_round_use=yes
63543 else
63544 glibcxx_cv_func_long_double_round_use=no
63546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63547 ac_ext=c
63548 ac_cpp='$CPP $CPPFLAGS'
63549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
63556 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
63557 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
63558 for ac_func in ceill floorl
63559 do :
63560 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63561 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63562 eval as_val=\$$as_ac_var
63563 if test "x$as_val" = x""yes; then :
63564 cat >>confdefs.h <<_ACEOF
63565 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63566 _ACEOF
63569 done
63571 else
63572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
63573 $as_echo_n "checking for _long double round functions... " >&6; }
63574 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
63575 $as_echo_n "(cached) " >&6
63576 else
63579 ac_ext=cpp
63580 ac_cpp='$CXXCPP $CPPFLAGS'
63581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63586 /* end confdefs.h. */
63587 #include <math.h>
63589 main ()
63591 _ceill (0); _floorl (0);
63593 return 0;
63595 _ACEOF
63596 if ac_fn_cxx_try_compile "$LINENO"; then :
63597 glibcxx_cv_func__long_double_round_use=yes
63598 else
63599 glibcxx_cv_func__long_double_round_use=no
63601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63602 ac_ext=c
63603 ac_cpp='$CPP $CPPFLAGS'
63604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
63611 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
63612 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
63613 for ac_func in _ceill _floorl
63614 do :
63615 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63616 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63617 eval as_val=\$$as_ac_var
63618 if test "x$as_val" = x""yes; then :
63619 cat >>confdefs.h <<_ACEOF
63620 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63621 _ACEOF
63624 done
63634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
63635 $as_echo_n "checking for isnanl declaration... " >&6; }
63636 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
63637 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
63638 $as_echo_n "(cached) " >&6
63639 else
63642 ac_ext=cpp
63643 ac_cpp='$CXXCPP $CPPFLAGS'
63644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63649 /* end confdefs.h. */
63650 #include <math.h>
63651 #ifdef HAVE_IEEEFP_H
63652 #include <ieeefp.h>
63653 #endif
63656 main ()
63658 isnanl(0);
63660 return 0;
63662 _ACEOF
63663 if ac_fn_cxx_try_compile "$LINENO"; then :
63664 glibcxx_cv_func_isnanl_use=yes
63665 else
63666 glibcxx_cv_func_isnanl_use=no
63668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63669 ac_ext=c
63670 ac_cpp='$CPP $CPPFLAGS'
63671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
63680 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
63682 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
63683 for ac_func in isnanl
63684 do :
63685 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
63686 if test "x$ac_cv_func_isnanl" = x""yes; then :
63687 cat >>confdefs.h <<_ACEOF
63688 #define HAVE_ISNANL 1
63689 _ACEOF
63692 done
63694 else
63696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
63697 $as_echo_n "checking for _isnanl declaration... " >&6; }
63698 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
63699 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
63700 $as_echo_n "(cached) " >&6
63701 else
63704 ac_ext=cpp
63705 ac_cpp='$CXXCPP $CPPFLAGS'
63706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63711 /* end confdefs.h. */
63712 #include <math.h>
63713 #ifdef HAVE_IEEEFP_H
63714 #include <ieeefp.h>
63715 #endif
63718 main ()
63720 _isnanl(0);
63722 return 0;
63724 _ACEOF
63725 if ac_fn_cxx_try_compile "$LINENO"; then :
63726 glibcxx_cv_func__isnanl_use=yes
63727 else
63728 glibcxx_cv_func__isnanl_use=no
63730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63731 ac_ext=c
63732 ac_cpp='$CPP $CPPFLAGS'
63733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
63742 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
63744 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
63745 for ac_func in _isnanl
63746 do :
63747 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
63748 if test "x$ac_cv_func__isnanl" = x""yes; then :
63749 cat >>confdefs.h <<_ACEOF
63750 #define HAVE__ISNANL 1
63751 _ACEOF
63754 done
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
63764 $as_echo_n "checking for isinfl declaration... " >&6; }
63765 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
63766 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
63767 $as_echo_n "(cached) " >&6
63768 else
63771 ac_ext=cpp
63772 ac_cpp='$CXXCPP $CPPFLAGS'
63773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63778 /* end confdefs.h. */
63779 #include <math.h>
63780 #ifdef HAVE_IEEEFP_H
63781 #include <ieeefp.h>
63782 #endif
63785 main ()
63787 isinfl(0);
63789 return 0;
63791 _ACEOF
63792 if ac_fn_cxx_try_compile "$LINENO"; then :
63793 glibcxx_cv_func_isinfl_use=yes
63794 else
63795 glibcxx_cv_func_isinfl_use=no
63797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63798 ac_ext=c
63799 ac_cpp='$CPP $CPPFLAGS'
63800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
63809 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
63811 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
63812 for ac_func in isinfl
63813 do :
63814 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
63815 if test "x$ac_cv_func_isinfl" = x""yes; then :
63816 cat >>confdefs.h <<_ACEOF
63817 #define HAVE_ISINFL 1
63818 _ACEOF
63821 done
63823 else
63825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
63826 $as_echo_n "checking for _isinfl declaration... " >&6; }
63827 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
63828 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
63829 $as_echo_n "(cached) " >&6
63830 else
63833 ac_ext=cpp
63834 ac_cpp='$CXXCPP $CPPFLAGS'
63835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63840 /* end confdefs.h. */
63841 #include <math.h>
63842 #ifdef HAVE_IEEEFP_H
63843 #include <ieeefp.h>
63844 #endif
63847 main ()
63849 _isinfl(0);
63851 return 0;
63853 _ACEOF
63854 if ac_fn_cxx_try_compile "$LINENO"; then :
63855 glibcxx_cv_func__isinfl_use=yes
63856 else
63857 glibcxx_cv_func__isinfl_use=no
63859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63860 ac_ext=c
63861 ac_cpp='$CPP $CPPFLAGS'
63862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
63871 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
63873 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
63874 for ac_func in _isinfl
63875 do :
63876 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
63877 if test "x$ac_cv_func__isinfl" = x""yes; then :
63878 cat >>confdefs.h <<_ACEOF
63879 #define HAVE__ISINFL 1
63880 _ACEOF
63883 done
63892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
63893 $as_echo_n "checking for atan2l declaration... " >&6; }
63894 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
63895 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
63896 $as_echo_n "(cached) " >&6
63897 else
63900 ac_ext=cpp
63901 ac_cpp='$CXXCPP $CPPFLAGS'
63902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63907 /* end confdefs.h. */
63908 #include <math.h>
63910 main ()
63912 atan2l(0, 0);
63914 return 0;
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func_atan2l_use=yes
63919 else
63920 glibcxx_cv_func_atan2l_use=no
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
63934 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
63936 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
63937 for ac_func in atan2l
63938 do :
63939 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
63940 if test "x$ac_cv_func_atan2l" = x""yes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE_ATAN2L 1
63943 _ACEOF
63946 done
63948 else
63950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
63951 $as_echo_n "checking for _atan2l declaration... " >&6; }
63952 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
63953 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
63954 $as_echo_n "(cached) " >&6
63955 else
63958 ac_ext=cpp
63959 ac_cpp='$CXXCPP $CPPFLAGS'
63960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63965 /* end confdefs.h. */
63966 #include <math.h>
63968 main ()
63970 _atan2l(0, 0);
63972 return 0;
63974 _ACEOF
63975 if ac_fn_cxx_try_compile "$LINENO"; then :
63976 glibcxx_cv_func__atan2l_use=yes
63977 else
63978 glibcxx_cv_func__atan2l_use=no
63980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63981 ac_ext=c
63982 ac_cpp='$CPP $CPPFLAGS'
63983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
63992 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
63994 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
63995 for ac_func in _atan2l
63996 do :
63997 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
63998 if test "x$ac_cv_func__atan2l" = x""yes; then :
63999 cat >>confdefs.h <<_ACEOF
64000 #define HAVE__ATAN2L 1
64001 _ACEOF
64004 done
64013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64014 $as_echo_n "checking for expl declaration... " >&6; }
64015 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64016 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
64017 $as_echo_n "(cached) " >&6
64018 else
64021 ac_ext=cpp
64022 ac_cpp='$CXXCPP $CPPFLAGS'
64023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64028 /* end confdefs.h. */
64029 #include <math.h>
64030 #ifdef HAVE_IEEEFP_H
64031 #include <ieeefp.h>
64032 #endif
64035 main ()
64037 expl(0);
64039 return 0;
64041 _ACEOF
64042 if ac_fn_cxx_try_compile "$LINENO"; then :
64043 glibcxx_cv_func_expl_use=yes
64044 else
64045 glibcxx_cv_func_expl_use=no
64047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64048 ac_ext=c
64049 ac_cpp='$CPP $CPPFLAGS'
64050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64059 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64061 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64062 for ac_func in expl
64063 do :
64064 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64065 if test "x$ac_cv_func_expl" = x""yes; then :
64066 cat >>confdefs.h <<_ACEOF
64067 #define HAVE_EXPL 1
64068 _ACEOF
64071 done
64073 else
64075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64076 $as_echo_n "checking for _expl declaration... " >&6; }
64077 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64078 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
64079 $as_echo_n "(cached) " >&6
64080 else
64083 ac_ext=cpp
64084 ac_cpp='$CXXCPP $CPPFLAGS'
64085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64090 /* end confdefs.h. */
64091 #include <math.h>
64092 #ifdef HAVE_IEEEFP_H
64093 #include <ieeefp.h>
64094 #endif
64097 main ()
64099 _expl(0);
64101 return 0;
64103 _ACEOF
64104 if ac_fn_cxx_try_compile "$LINENO"; then :
64105 glibcxx_cv_func__expl_use=yes
64106 else
64107 glibcxx_cv_func__expl_use=no
64109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64110 ac_ext=c
64111 ac_cpp='$CPP $CPPFLAGS'
64112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64121 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64123 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64124 for ac_func in _expl
64125 do :
64126 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64127 if test "x$ac_cv_func__expl" = x""yes; then :
64128 cat >>confdefs.h <<_ACEOF
64129 #define HAVE__EXPL 1
64130 _ACEOF
64133 done
64142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64143 $as_echo_n "checking for fabsl declaration... " >&6; }
64144 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64145 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
64146 $as_echo_n "(cached) " >&6
64147 else
64150 ac_ext=cpp
64151 ac_cpp='$CXXCPP $CPPFLAGS'
64152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64157 /* end confdefs.h. */
64158 #include <math.h>
64159 #ifdef HAVE_IEEEFP_H
64160 #include <ieeefp.h>
64161 #endif
64164 main ()
64166 fabsl(0);
64168 return 0;
64170 _ACEOF
64171 if ac_fn_cxx_try_compile "$LINENO"; then :
64172 glibcxx_cv_func_fabsl_use=yes
64173 else
64174 glibcxx_cv_func_fabsl_use=no
64176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64177 ac_ext=c
64178 ac_cpp='$CPP $CPPFLAGS'
64179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64188 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64190 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64191 for ac_func in fabsl
64192 do :
64193 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64194 if test "x$ac_cv_func_fabsl" = x""yes; then :
64195 cat >>confdefs.h <<_ACEOF
64196 #define HAVE_FABSL 1
64197 _ACEOF
64200 done
64202 else
64204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64205 $as_echo_n "checking for _fabsl declaration... " >&6; }
64206 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64207 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
64208 $as_echo_n "(cached) " >&6
64209 else
64212 ac_ext=cpp
64213 ac_cpp='$CXXCPP $CPPFLAGS'
64214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64219 /* end confdefs.h. */
64220 #include <math.h>
64221 #ifdef HAVE_IEEEFP_H
64222 #include <ieeefp.h>
64223 #endif
64226 main ()
64228 _fabsl(0);
64230 return 0;
64232 _ACEOF
64233 if ac_fn_cxx_try_compile "$LINENO"; then :
64234 glibcxx_cv_func__fabsl_use=yes
64235 else
64236 glibcxx_cv_func__fabsl_use=no
64238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64239 ac_ext=c
64240 ac_cpp='$CPP $CPPFLAGS'
64241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64250 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64252 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64253 for ac_func in _fabsl
64254 do :
64255 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64256 if test "x$ac_cv_func__fabsl" = x""yes; then :
64257 cat >>confdefs.h <<_ACEOF
64258 #define HAVE__FABSL 1
64259 _ACEOF
64262 done
64271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64272 $as_echo_n "checking for fmodl declaration... " >&6; }
64273 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64274 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
64275 $as_echo_n "(cached) " >&6
64276 else
64279 ac_ext=cpp
64280 ac_cpp='$CXXCPP $CPPFLAGS'
64281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64286 /* end confdefs.h. */
64287 #include <math.h>
64289 main ()
64291 fmodl(0, 0);
64293 return 0;
64295 _ACEOF
64296 if ac_fn_cxx_try_compile "$LINENO"; then :
64297 glibcxx_cv_func_fmodl_use=yes
64298 else
64299 glibcxx_cv_func_fmodl_use=no
64301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64302 ac_ext=c
64303 ac_cpp='$CPP $CPPFLAGS'
64304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64313 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64315 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64316 for ac_func in fmodl
64317 do :
64318 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64319 if test "x$ac_cv_func_fmodl" = x""yes; then :
64320 cat >>confdefs.h <<_ACEOF
64321 #define HAVE_FMODL 1
64322 _ACEOF
64325 done
64327 else
64329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64330 $as_echo_n "checking for _fmodl declaration... " >&6; }
64331 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64332 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
64333 $as_echo_n "(cached) " >&6
64334 else
64337 ac_ext=cpp
64338 ac_cpp='$CXXCPP $CPPFLAGS'
64339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64344 /* end confdefs.h. */
64345 #include <math.h>
64347 main ()
64349 _fmodl(0, 0);
64351 return 0;
64353 _ACEOF
64354 if ac_fn_cxx_try_compile "$LINENO"; then :
64355 glibcxx_cv_func__fmodl_use=yes
64356 else
64357 glibcxx_cv_func__fmodl_use=no
64359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64360 ac_ext=c
64361 ac_cpp='$CPP $CPPFLAGS'
64362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64371 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64373 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64374 for ac_func in _fmodl
64375 do :
64376 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64377 if test "x$ac_cv_func__fmodl" = x""yes; then :
64378 cat >>confdefs.h <<_ACEOF
64379 #define HAVE__FMODL 1
64380 _ACEOF
64383 done
64392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64393 $as_echo_n "checking for frexpl declaration... " >&6; }
64394 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64395 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
64396 $as_echo_n "(cached) " >&6
64397 else
64400 ac_ext=cpp
64401 ac_cpp='$CXXCPP $CPPFLAGS'
64402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64407 /* end confdefs.h. */
64408 #include <math.h>
64410 main ()
64412 frexpl(0, 0);
64414 return 0;
64416 _ACEOF
64417 if ac_fn_cxx_try_compile "$LINENO"; then :
64418 glibcxx_cv_func_frexpl_use=yes
64419 else
64420 glibcxx_cv_func_frexpl_use=no
64422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64423 ac_ext=c
64424 ac_cpp='$CPP $CPPFLAGS'
64425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64434 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64436 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64437 for ac_func in frexpl
64438 do :
64439 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64440 if test "x$ac_cv_func_frexpl" = x""yes; then :
64441 cat >>confdefs.h <<_ACEOF
64442 #define HAVE_FREXPL 1
64443 _ACEOF
64446 done
64448 else
64450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64451 $as_echo_n "checking for _frexpl declaration... " >&6; }
64452 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64453 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
64454 $as_echo_n "(cached) " >&6
64455 else
64458 ac_ext=cpp
64459 ac_cpp='$CXXCPP $CPPFLAGS'
64460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64465 /* end confdefs.h. */
64466 #include <math.h>
64468 main ()
64470 _frexpl(0, 0);
64472 return 0;
64474 _ACEOF
64475 if ac_fn_cxx_try_compile "$LINENO"; then :
64476 glibcxx_cv_func__frexpl_use=yes
64477 else
64478 glibcxx_cv_func__frexpl_use=no
64480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64481 ac_ext=c
64482 ac_cpp='$CPP $CPPFLAGS'
64483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
64492 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
64494 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
64495 for ac_func in _frexpl
64496 do :
64497 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
64498 if test "x$ac_cv_func__frexpl" = x""yes; then :
64499 cat >>confdefs.h <<_ACEOF
64500 #define HAVE__FREXPL 1
64501 _ACEOF
64504 done
64513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
64514 $as_echo_n "checking for hypotl declaration... " >&6; }
64515 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
64516 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
64517 $as_echo_n "(cached) " >&6
64518 else
64521 ac_ext=cpp
64522 ac_cpp='$CXXCPP $CPPFLAGS'
64523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64528 /* end confdefs.h. */
64529 #include <math.h>
64531 main ()
64533 hypotl(0, 0);
64535 return 0;
64537 _ACEOF
64538 if ac_fn_cxx_try_compile "$LINENO"; then :
64539 glibcxx_cv_func_hypotl_use=yes
64540 else
64541 glibcxx_cv_func_hypotl_use=no
64543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64544 ac_ext=c
64545 ac_cpp='$CPP $CPPFLAGS'
64546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
64555 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
64557 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
64558 for ac_func in hypotl
64559 do :
64560 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
64561 if test "x$ac_cv_func_hypotl" = x""yes; then :
64562 cat >>confdefs.h <<_ACEOF
64563 #define HAVE_HYPOTL 1
64564 _ACEOF
64567 done
64569 else
64571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
64572 $as_echo_n "checking for _hypotl declaration... " >&6; }
64573 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
64574 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
64575 $as_echo_n "(cached) " >&6
64576 else
64579 ac_ext=cpp
64580 ac_cpp='$CXXCPP $CPPFLAGS'
64581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64586 /* end confdefs.h. */
64587 #include <math.h>
64589 main ()
64591 _hypotl(0, 0);
64593 return 0;
64595 _ACEOF
64596 if ac_fn_cxx_try_compile "$LINENO"; then :
64597 glibcxx_cv_func__hypotl_use=yes
64598 else
64599 glibcxx_cv_func__hypotl_use=no
64601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64602 ac_ext=c
64603 ac_cpp='$CPP $CPPFLAGS'
64604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
64613 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
64615 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
64616 for ac_func in _hypotl
64617 do :
64618 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
64619 if test "x$ac_cv_func__hypotl" = x""yes; then :
64620 cat >>confdefs.h <<_ACEOF
64621 #define HAVE__HYPOTL 1
64622 _ACEOF
64625 done
64634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
64635 $as_echo_n "checking for ldexpl declaration... " >&6; }
64636 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
64637 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
64638 $as_echo_n "(cached) " >&6
64639 else
64642 ac_ext=cpp
64643 ac_cpp='$CXXCPP $CPPFLAGS'
64644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64649 /* end confdefs.h. */
64650 #include <math.h>
64652 main ()
64654 ldexpl(0, 0);
64656 return 0;
64658 _ACEOF
64659 if ac_fn_cxx_try_compile "$LINENO"; then :
64660 glibcxx_cv_func_ldexpl_use=yes
64661 else
64662 glibcxx_cv_func_ldexpl_use=no
64664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64665 ac_ext=c
64666 ac_cpp='$CPP $CPPFLAGS'
64667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
64676 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
64678 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
64679 for ac_func in ldexpl
64680 do :
64681 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
64682 if test "x$ac_cv_func_ldexpl" = x""yes; then :
64683 cat >>confdefs.h <<_ACEOF
64684 #define HAVE_LDEXPL 1
64685 _ACEOF
64688 done
64690 else
64692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
64693 $as_echo_n "checking for _ldexpl declaration... " >&6; }
64694 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
64695 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
64696 $as_echo_n "(cached) " >&6
64697 else
64700 ac_ext=cpp
64701 ac_cpp='$CXXCPP $CPPFLAGS'
64702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64707 /* end confdefs.h. */
64708 #include <math.h>
64710 main ()
64712 _ldexpl(0, 0);
64714 return 0;
64716 _ACEOF
64717 if ac_fn_cxx_try_compile "$LINENO"; then :
64718 glibcxx_cv_func__ldexpl_use=yes
64719 else
64720 glibcxx_cv_func__ldexpl_use=no
64722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64723 ac_ext=c
64724 ac_cpp='$CPP $CPPFLAGS'
64725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
64734 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
64736 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
64737 for ac_func in _ldexpl
64738 do :
64739 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
64740 if test "x$ac_cv_func__ldexpl" = x""yes; then :
64741 cat >>confdefs.h <<_ACEOF
64742 #define HAVE__LDEXPL 1
64743 _ACEOF
64746 done
64755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
64756 $as_echo_n "checking for logl declaration... " >&6; }
64757 if test x${glibcxx_cv_func_logl_use+set} != xset; then
64758 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
64759 $as_echo_n "(cached) " >&6
64760 else
64763 ac_ext=cpp
64764 ac_cpp='$CXXCPP $CPPFLAGS'
64765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64770 /* end confdefs.h. */
64771 #include <math.h>
64772 #ifdef HAVE_IEEEFP_H
64773 #include <ieeefp.h>
64774 #endif
64777 main ()
64779 logl(0);
64781 return 0;
64783 _ACEOF
64784 if ac_fn_cxx_try_compile "$LINENO"; then :
64785 glibcxx_cv_func_logl_use=yes
64786 else
64787 glibcxx_cv_func_logl_use=no
64789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64790 ac_ext=c
64791 ac_cpp='$CPP $CPPFLAGS'
64792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
64801 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
64803 if test x$glibcxx_cv_func_logl_use = x"yes"; then
64804 for ac_func in logl
64805 do :
64806 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
64807 if test "x$ac_cv_func_logl" = x""yes; then :
64808 cat >>confdefs.h <<_ACEOF
64809 #define HAVE_LOGL 1
64810 _ACEOF
64813 done
64815 else
64817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
64818 $as_echo_n "checking for _logl declaration... " >&6; }
64819 if test x${glibcxx_cv_func__logl_use+set} != xset; then
64820 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
64821 $as_echo_n "(cached) " >&6
64822 else
64825 ac_ext=cpp
64826 ac_cpp='$CXXCPP $CPPFLAGS'
64827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64832 /* end confdefs.h. */
64833 #include <math.h>
64834 #ifdef HAVE_IEEEFP_H
64835 #include <ieeefp.h>
64836 #endif
64839 main ()
64841 _logl(0);
64843 return 0;
64845 _ACEOF
64846 if ac_fn_cxx_try_compile "$LINENO"; then :
64847 glibcxx_cv_func__logl_use=yes
64848 else
64849 glibcxx_cv_func__logl_use=no
64851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64852 ac_ext=c
64853 ac_cpp='$CPP $CPPFLAGS'
64854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
64863 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
64865 if test x$glibcxx_cv_func__logl_use = x"yes"; then
64866 for ac_func in _logl
64867 do :
64868 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
64869 if test "x$ac_cv_func__logl" = x""yes; then :
64870 cat >>confdefs.h <<_ACEOF
64871 #define HAVE__LOGL 1
64872 _ACEOF
64875 done
64884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
64885 $as_echo_n "checking for log10l declaration... " >&6; }
64886 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
64887 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
64888 $as_echo_n "(cached) " >&6
64889 else
64892 ac_ext=cpp
64893 ac_cpp='$CXXCPP $CPPFLAGS'
64894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64899 /* end confdefs.h. */
64900 #include <math.h>
64901 #ifdef HAVE_IEEEFP_H
64902 #include <ieeefp.h>
64903 #endif
64906 main ()
64908 log10l(0);
64910 return 0;
64912 _ACEOF
64913 if ac_fn_cxx_try_compile "$LINENO"; then :
64914 glibcxx_cv_func_log10l_use=yes
64915 else
64916 glibcxx_cv_func_log10l_use=no
64918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64919 ac_ext=c
64920 ac_cpp='$CPP $CPPFLAGS'
64921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
64930 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
64932 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
64933 for ac_func in log10l
64934 do :
64935 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
64936 if test "x$ac_cv_func_log10l" = x""yes; then :
64937 cat >>confdefs.h <<_ACEOF
64938 #define HAVE_LOG10L 1
64939 _ACEOF
64942 done
64944 else
64946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
64947 $as_echo_n "checking for _log10l declaration... " >&6; }
64948 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
64949 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
64950 $as_echo_n "(cached) " >&6
64951 else
64954 ac_ext=cpp
64955 ac_cpp='$CXXCPP $CPPFLAGS'
64956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64961 /* end confdefs.h. */
64962 #include <math.h>
64963 #ifdef HAVE_IEEEFP_H
64964 #include <ieeefp.h>
64965 #endif
64968 main ()
64970 _log10l(0);
64972 return 0;
64974 _ACEOF
64975 if ac_fn_cxx_try_compile "$LINENO"; then :
64976 glibcxx_cv_func__log10l_use=yes
64977 else
64978 glibcxx_cv_func__log10l_use=no
64980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64981 ac_ext=c
64982 ac_cpp='$CPP $CPPFLAGS'
64983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
64992 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
64994 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
64995 for ac_func in _log10l
64996 do :
64997 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
64998 if test "x$ac_cv_func__log10l" = x""yes; then :
64999 cat >>confdefs.h <<_ACEOF
65000 #define HAVE__LOG10L 1
65001 _ACEOF
65004 done
65013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65014 $as_echo_n "checking for modfl declaration... " >&6; }
65015 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65016 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
65017 $as_echo_n "(cached) " >&6
65018 else
65021 ac_ext=cpp
65022 ac_cpp='$CXXCPP $CPPFLAGS'
65023 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65024 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65025 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65028 /* end confdefs.h. */
65029 #include <math.h>
65031 main ()
65033 modfl(0, 0);
65035 return 0;
65037 _ACEOF
65038 if ac_fn_cxx_try_compile "$LINENO"; then :
65039 glibcxx_cv_func_modfl_use=yes
65040 else
65041 glibcxx_cv_func_modfl_use=no
65043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65044 ac_ext=c
65045 ac_cpp='$CPP $CPPFLAGS'
65046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65055 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65057 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65058 for ac_func in modfl
65059 do :
65060 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65061 if test "x$ac_cv_func_modfl" = x""yes; then :
65062 cat >>confdefs.h <<_ACEOF
65063 #define HAVE_MODFL 1
65064 _ACEOF
65067 done
65069 else
65071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65072 $as_echo_n "checking for _modfl declaration... " >&6; }
65073 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65074 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
65075 $as_echo_n "(cached) " >&6
65076 else
65079 ac_ext=cpp
65080 ac_cpp='$CXXCPP $CPPFLAGS'
65081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65086 /* end confdefs.h. */
65087 #include <math.h>
65089 main ()
65091 _modfl(0, 0);
65093 return 0;
65095 _ACEOF
65096 if ac_fn_cxx_try_compile "$LINENO"; then :
65097 glibcxx_cv_func__modfl_use=yes
65098 else
65099 glibcxx_cv_func__modfl_use=no
65101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65102 ac_ext=c
65103 ac_cpp='$CPP $CPPFLAGS'
65104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65113 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65115 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65116 for ac_func in _modfl
65117 do :
65118 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65119 if test "x$ac_cv_func__modfl" = x""yes; then :
65120 cat >>confdefs.h <<_ACEOF
65121 #define HAVE__MODFL 1
65122 _ACEOF
65125 done
65134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65135 $as_echo_n "checking for powl declaration... " >&6; }
65136 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65137 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
65138 $as_echo_n "(cached) " >&6
65139 else
65142 ac_ext=cpp
65143 ac_cpp='$CXXCPP $CPPFLAGS'
65144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65149 /* end confdefs.h. */
65150 #include <math.h>
65152 main ()
65154 powl(0, 0);
65156 return 0;
65158 _ACEOF
65159 if ac_fn_cxx_try_compile "$LINENO"; then :
65160 glibcxx_cv_func_powl_use=yes
65161 else
65162 glibcxx_cv_func_powl_use=no
65164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65165 ac_ext=c
65166 ac_cpp='$CPP $CPPFLAGS'
65167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65176 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65178 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65179 for ac_func in powl
65180 do :
65181 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65182 if test "x$ac_cv_func_powl" = x""yes; then :
65183 cat >>confdefs.h <<_ACEOF
65184 #define HAVE_POWL 1
65185 _ACEOF
65188 done
65190 else
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65193 $as_echo_n "checking for _powl declaration... " >&6; }
65194 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65195 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
65196 $as_echo_n "(cached) " >&6
65197 else
65200 ac_ext=cpp
65201 ac_cpp='$CXXCPP $CPPFLAGS'
65202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65207 /* end confdefs.h. */
65208 #include <math.h>
65210 main ()
65212 _powl(0, 0);
65214 return 0;
65216 _ACEOF
65217 if ac_fn_cxx_try_compile "$LINENO"; then :
65218 glibcxx_cv_func__powl_use=yes
65219 else
65220 glibcxx_cv_func__powl_use=no
65222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65223 ac_ext=c
65224 ac_cpp='$CPP $CPPFLAGS'
65225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65234 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65236 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65237 for ac_func in _powl
65238 do :
65239 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65240 if test "x$ac_cv_func__powl" = x""yes; then :
65241 cat >>confdefs.h <<_ACEOF
65242 #define HAVE__POWL 1
65243 _ACEOF
65246 done
65255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65256 $as_echo_n "checking for sqrtl declaration... " >&6; }
65257 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65258 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
65259 $as_echo_n "(cached) " >&6
65260 else
65263 ac_ext=cpp
65264 ac_cpp='$CXXCPP $CPPFLAGS'
65265 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65266 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65267 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65270 /* end confdefs.h. */
65271 #include <math.h>
65272 #ifdef HAVE_IEEEFP_H
65273 #include <ieeefp.h>
65274 #endif
65277 main ()
65279 sqrtl(0);
65281 return 0;
65283 _ACEOF
65284 if ac_fn_cxx_try_compile "$LINENO"; then :
65285 glibcxx_cv_func_sqrtl_use=yes
65286 else
65287 glibcxx_cv_func_sqrtl_use=no
65289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65290 ac_ext=c
65291 ac_cpp='$CPP $CPPFLAGS'
65292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65301 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65303 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65304 for ac_func in sqrtl
65305 do :
65306 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65307 if test "x$ac_cv_func_sqrtl" = x""yes; then :
65308 cat >>confdefs.h <<_ACEOF
65309 #define HAVE_SQRTL 1
65310 _ACEOF
65313 done
65315 else
65317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65318 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65319 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65320 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
65321 $as_echo_n "(cached) " >&6
65322 else
65325 ac_ext=cpp
65326 ac_cpp='$CXXCPP $CPPFLAGS'
65327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65332 /* end confdefs.h. */
65333 #include <math.h>
65334 #ifdef HAVE_IEEEFP_H
65335 #include <ieeefp.h>
65336 #endif
65339 main ()
65341 _sqrtl(0);
65343 return 0;
65345 _ACEOF
65346 if ac_fn_cxx_try_compile "$LINENO"; then :
65347 glibcxx_cv_func__sqrtl_use=yes
65348 else
65349 glibcxx_cv_func__sqrtl_use=no
65351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65352 ac_ext=c
65353 ac_cpp='$CPP $CPPFLAGS'
65354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65363 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65365 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65366 for ac_func in _sqrtl
65367 do :
65368 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65369 if test "x$ac_cv_func__sqrtl" = x""yes; then :
65370 cat >>confdefs.h <<_ACEOF
65371 #define HAVE__SQRTL 1
65372 _ACEOF
65375 done
65384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65385 $as_echo_n "checking for sincosl declaration... " >&6; }
65386 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65387 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
65388 $as_echo_n "(cached) " >&6
65389 else
65392 ac_ext=cpp
65393 ac_cpp='$CXXCPP $CPPFLAGS'
65394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65399 /* end confdefs.h. */
65400 #include <math.h>
65402 main ()
65404 sincosl(0, 0, 0);
65406 return 0;
65408 _ACEOF
65409 if ac_fn_cxx_try_compile "$LINENO"; then :
65410 glibcxx_cv_func_sincosl_use=yes
65411 else
65412 glibcxx_cv_func_sincosl_use=no
65414 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65415 ac_ext=c
65416 ac_cpp='$CPP $CPPFLAGS'
65417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65426 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65428 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65429 for ac_func in sincosl
65430 do :
65431 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65432 if test "x$ac_cv_func_sincosl" = x""yes; then :
65433 cat >>confdefs.h <<_ACEOF
65434 #define HAVE_SINCOSL 1
65435 _ACEOF
65438 done
65440 else
65442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65443 $as_echo_n "checking for _sincosl declaration... " >&6; }
65444 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65445 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
65446 $as_echo_n "(cached) " >&6
65447 else
65450 ac_ext=cpp
65451 ac_cpp='$CXXCPP $CPPFLAGS'
65452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65457 /* end confdefs.h. */
65458 #include <math.h>
65460 main ()
65462 _sincosl(0, 0, 0);
65464 return 0;
65466 _ACEOF
65467 if ac_fn_cxx_try_compile "$LINENO"; then :
65468 glibcxx_cv_func__sincosl_use=yes
65469 else
65470 glibcxx_cv_func__sincosl_use=no
65472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65473 ac_ext=c
65474 ac_cpp='$CPP $CPPFLAGS'
65475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
65484 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
65486 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
65487 for ac_func in _sincosl
65488 do :
65489 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
65490 if test "x$ac_cv_func__sincosl" = x""yes; then :
65491 cat >>confdefs.h <<_ACEOF
65492 #define HAVE__SINCOSL 1
65493 _ACEOF
65496 done
65505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
65506 $as_echo_n "checking for finitel declaration... " >&6; }
65507 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
65508 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
65509 $as_echo_n "(cached) " >&6
65510 else
65513 ac_ext=cpp
65514 ac_cpp='$CXXCPP $CPPFLAGS'
65515 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65516 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65517 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65520 /* end confdefs.h. */
65521 #include <math.h>
65522 #ifdef HAVE_IEEEFP_H
65523 #include <ieeefp.h>
65524 #endif
65527 main ()
65529 finitel(0);
65531 return 0;
65533 _ACEOF
65534 if ac_fn_cxx_try_compile "$LINENO"; then :
65535 glibcxx_cv_func_finitel_use=yes
65536 else
65537 glibcxx_cv_func_finitel_use=no
65539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65540 ac_ext=c
65541 ac_cpp='$CPP $CPPFLAGS'
65542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
65551 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
65553 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
65554 for ac_func in finitel
65555 do :
65556 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
65557 if test "x$ac_cv_func_finitel" = x""yes; then :
65558 cat >>confdefs.h <<_ACEOF
65559 #define HAVE_FINITEL 1
65560 _ACEOF
65563 done
65565 else
65567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
65568 $as_echo_n "checking for _finitel declaration... " >&6; }
65569 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
65570 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
65571 $as_echo_n "(cached) " >&6
65572 else
65575 ac_ext=cpp
65576 ac_cpp='$CXXCPP $CPPFLAGS'
65577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65582 /* end confdefs.h. */
65583 #include <math.h>
65584 #ifdef HAVE_IEEEFP_H
65585 #include <ieeefp.h>
65586 #endif
65589 main ()
65591 _finitel(0);
65593 return 0;
65595 _ACEOF
65596 if ac_fn_cxx_try_compile "$LINENO"; then :
65597 glibcxx_cv_func__finitel_use=yes
65598 else
65599 glibcxx_cv_func__finitel_use=no
65601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65602 ac_ext=c
65603 ac_cpp='$CPP $CPPFLAGS'
65604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
65613 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
65615 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
65616 for ac_func in _finitel
65617 do :
65618 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
65619 if test "x$ac_cv_func__finitel" = x""yes; then :
65620 cat >>confdefs.h <<_ACEOF
65621 #define HAVE__FINITEL 1
65622 _ACEOF
65625 done
65633 LIBS="$ac_save_LIBS"
65634 CXXFLAGS="$ac_save_CXXFLAGS"
65637 ac_test_CXXFLAGS="${CXXFLAGS+set}"
65638 ac_save_CXXFLAGS="$CXXFLAGS"
65639 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
65642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
65643 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
65644 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
65645 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
65646 $as_echo_n "(cached) " >&6
65647 else
65650 ac_ext=cpp
65651 ac_cpp='$CXXCPP $CPPFLAGS'
65652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65657 /* end confdefs.h. */
65658 #include <stdlib.h>
65660 main ()
65662 at_quick_exit(0);
65664 return 0;
65666 _ACEOF
65667 if ac_fn_cxx_try_compile "$LINENO"; then :
65668 glibcxx_cv_func_at_quick_exit_use=yes
65669 else
65670 glibcxx_cv_func_at_quick_exit_use=no
65672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65673 ac_ext=c
65674 ac_cpp='$CPP $CPPFLAGS'
65675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
65684 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
65685 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
65686 for ac_func in at_quick_exit
65687 do :
65688 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
65689 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
65690 cat >>confdefs.h <<_ACEOF
65691 #define HAVE_AT_QUICK_EXIT 1
65692 _ACEOF
65695 done
65700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
65701 $as_echo_n "checking for quick_exit declaration... " >&6; }
65702 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
65703 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
65704 $as_echo_n "(cached) " >&6
65705 else
65708 ac_ext=cpp
65709 ac_cpp='$CXXCPP $CPPFLAGS'
65710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65715 /* end confdefs.h. */
65716 #include <stdlib.h>
65718 main ()
65720 quick_exit(0);
65722 return 0;
65724 _ACEOF
65725 if ac_fn_cxx_try_compile "$LINENO"; then :
65726 glibcxx_cv_func_quick_exit_use=yes
65727 else
65728 glibcxx_cv_func_quick_exit_use=no
65730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65731 ac_ext=c
65732 ac_cpp='$CPP $CPPFLAGS'
65733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
65742 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
65743 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
65744 for ac_func in quick_exit
65745 do :
65746 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
65747 if test "x$ac_cv_func_quick_exit" = x""yes; then :
65748 cat >>confdefs.h <<_ACEOF
65749 #define HAVE_QUICK_EXIT 1
65750 _ACEOF
65753 done
65758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
65759 $as_echo_n "checking for strtold declaration... " >&6; }
65760 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
65761 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
65762 $as_echo_n "(cached) " >&6
65763 else
65766 ac_ext=cpp
65767 ac_cpp='$CXXCPP $CPPFLAGS'
65768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65773 /* end confdefs.h. */
65774 #include <stdlib.h>
65776 main ()
65778 strtold(0, 0);
65780 return 0;
65782 _ACEOF
65783 if ac_fn_cxx_try_compile "$LINENO"; then :
65784 glibcxx_cv_func_strtold_use=yes
65785 else
65786 glibcxx_cv_func_strtold_use=no
65788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65789 ac_ext=c
65790 ac_cpp='$CPP $CPPFLAGS'
65791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
65800 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
65801 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
65802 for ac_func in strtold
65803 do :
65804 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
65805 if test "x$ac_cv_func_strtold" = x""yes; then :
65806 cat >>confdefs.h <<_ACEOF
65807 #define HAVE_STRTOLD 1
65808 _ACEOF
65811 done
65818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
65819 $as_echo_n "checking for strtof declaration... " >&6; }
65820 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
65821 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
65822 $as_echo_n "(cached) " >&6
65823 else
65826 ac_ext=cpp
65827 ac_cpp='$CXXCPP $CPPFLAGS'
65828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65833 /* end confdefs.h. */
65834 #include <stdlib.h>
65836 main ()
65838 strtof(0, 0);
65840 return 0;
65842 _ACEOF
65843 if ac_fn_cxx_try_compile "$LINENO"; then :
65844 glibcxx_cv_func_strtof_use=yes
65845 else
65846 glibcxx_cv_func_strtof_use=no
65848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65849 ac_ext=c
65850 ac_cpp='$CPP $CPPFLAGS'
65851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
65860 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
65861 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
65862 for ac_func in strtof
65863 do :
65864 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
65865 if test "x$ac_cv_func_strtof" = x""yes; then :
65866 cat >>confdefs.h <<_ACEOF
65867 #define HAVE_STRTOF 1
65868 _ACEOF
65871 done
65878 CXXFLAGS="$ac_save_CXXFLAGS"
65881 *-netbsd*)
65882 SECTION_FLAGS='-ffunction-sections -fdata-sections'
65885 # If we're not using GNU ld, then there's no point in even trying these
65886 # tests. Check for that first. We should have already tested for gld
65887 # by now (in libtool), but require it now just to be safe...
65888 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
65889 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
65893 # The name set by libtool depends on the version of libtool. Shame on us
65894 # for depending on an impl detail, but c'est la vie. Older versions used
65895 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
65896 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
65897 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
65898 # set (hence we're using an older libtool), then set it.
65899 if test x${with_gnu_ld+set} != xset; then
65900 if test x${ac_cv_prog_gnu_ld+set} != xset; then
65901 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
65902 with_gnu_ld=no
65903 else
65904 with_gnu_ld=$ac_cv_prog_gnu_ld
65908 # Start by getting the version number. I think the libtool test already
65909 # does some of this, but throws away the result.
65910 glibcxx_ld_is_gold=no
65911 if test x"$with_gnu_ld" = x"yes"; then
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
65913 $as_echo_n "checking for ld version... " >&6; }
65915 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
65916 glibcxx_ld_is_gold=yes
65918 ldver=`$LD --version 2>/dev/null |
65919 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'`
65921 glibcxx_gnu_ld_version=`echo $ldver | \
65922 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
65923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
65924 $as_echo "$glibcxx_gnu_ld_version" >&6; }
65927 # Set --gc-sections.
65928 glibcxx_have_gc_sections=no
65929 if test "$glibcxx_ld_is_gold" = "yes"; then
65930 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
65931 glibcxx_have_gc_sections=yes
65933 else
65934 glibcxx_gcsections_min_ld=21602
65935 if test x"$with_gnu_ld" = x"yes" &&
65936 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
65937 glibcxx_have_gc_sections=yes
65940 if test "$glibcxx_have_gc_sections" = "yes"; then
65941 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
65942 # NB: This flag only works reliably after 2.16.1. Configure tests
65943 # for this are difficult, so hard wire a value that should work.
65945 ac_test_CFLAGS="${CFLAGS+set}"
65946 ac_save_CFLAGS="$CFLAGS"
65947 CFLAGS='-Wl,--gc-sections'
65949 # Check for -Wl,--gc-sections
65950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
65951 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
65952 if test x$gcc_no_link = xyes; then
65953 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
65955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65956 /* end confdefs.h. */
65957 int one(void) { return 1; }
65958 int two(void) { return 2; }
65961 main ()
65963 two();
65965 return 0;
65967 _ACEOF
65968 if ac_fn_c_try_link "$LINENO"; then :
65969 ac_gcsections=yes
65970 else
65971 ac_gcsections=no
65973 rm -f core conftest.err conftest.$ac_objext \
65974 conftest$ac_exeext conftest.$ac_ext
65975 if test "$ac_gcsections" = "yes"; then
65976 rm -f conftest.c
65977 touch conftest.c
65978 if $CC -c conftest.c; then
65979 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
65980 grep "Warning: gc-sections option ignored" > /dev/null; then
65981 ac_gcsections=no
65984 rm -f conftest.c conftest.o conftest
65986 if test "$ac_gcsections" = "yes"; then
65987 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
65989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
65990 $as_echo "$ac_gcsections" >&6; }
65992 if test "$ac_test_CFLAGS" = set; then
65993 CFLAGS="$ac_save_CFLAGS"
65994 else
65995 # this is the suspicious part
65996 CFLAGS=''
66000 # Set -z,relro.
66001 # Note this is only for shared objects.
66002 ac_ld_relro=no
66003 if test x"$with_gnu_ld" = x"yes"; then
66004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66005 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66006 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66007 if test -n "$cxx_z_relo"; then
66008 OPT_LDFLAGS="-Wl,-z,relro"
66009 ac_ld_relro=yes
66011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66012 $as_echo "$ac_ld_relro" >&6; }
66015 # Set linker optimization flags.
66016 if test x"$with_gnu_ld" = x"yes"; then
66017 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66023 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66025 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66027 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66029 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66031 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66033 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66035 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66037 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66039 if test x"long_double_math_on_this_cpu" = x"yes"; then
66040 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66042 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66044 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66048 *-qnx6.1* | *-qnx6.2*)
66049 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66052 # If we're not using GNU ld, then there's no point in even trying these
66053 # tests. Check for that first. We should have already tested for gld
66054 # by now (in libtool), but require it now just to be safe...
66055 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66056 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66060 # The name set by libtool depends on the version of libtool. Shame on us
66061 # for depending on an impl detail, but c'est la vie. Older versions used
66062 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66063 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66064 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66065 # set (hence we're using an older libtool), then set it.
66066 if test x${with_gnu_ld+set} != xset; then
66067 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66068 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66069 with_gnu_ld=no
66070 else
66071 with_gnu_ld=$ac_cv_prog_gnu_ld
66075 # Start by getting the version number. I think the libtool test already
66076 # does some of this, but throws away the result.
66077 glibcxx_ld_is_gold=no
66078 if test x"$with_gnu_ld" = x"yes"; then
66079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66080 $as_echo_n "checking for ld version... " >&6; }
66082 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66083 glibcxx_ld_is_gold=yes
66085 ldver=`$LD --version 2>/dev/null |
66086 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'`
66088 glibcxx_gnu_ld_version=`echo $ldver | \
66089 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66091 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66094 # Set --gc-sections.
66095 glibcxx_have_gc_sections=no
66096 if test "$glibcxx_ld_is_gold" = "yes"; then
66097 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66098 glibcxx_have_gc_sections=yes
66100 else
66101 glibcxx_gcsections_min_ld=21602
66102 if test x"$with_gnu_ld" = x"yes" &&
66103 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66104 glibcxx_have_gc_sections=yes
66107 if test "$glibcxx_have_gc_sections" = "yes"; then
66108 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66109 # NB: This flag only works reliably after 2.16.1. Configure tests
66110 # for this are difficult, so hard wire a value that should work.
66112 ac_test_CFLAGS="${CFLAGS+set}"
66113 ac_save_CFLAGS="$CFLAGS"
66114 CFLAGS='-Wl,--gc-sections'
66116 # Check for -Wl,--gc-sections
66117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66118 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66119 if test x$gcc_no_link = xyes; then
66120 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66123 /* end confdefs.h. */
66124 int one(void) { return 1; }
66125 int two(void) { return 2; }
66128 main ()
66130 two();
66132 return 0;
66134 _ACEOF
66135 if ac_fn_c_try_link "$LINENO"; then :
66136 ac_gcsections=yes
66137 else
66138 ac_gcsections=no
66140 rm -f core conftest.err conftest.$ac_objext \
66141 conftest$ac_exeext conftest.$ac_ext
66142 if test "$ac_gcsections" = "yes"; then
66143 rm -f conftest.c
66144 touch conftest.c
66145 if $CC -c conftest.c; then
66146 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66147 grep "Warning: gc-sections option ignored" > /dev/null; then
66148 ac_gcsections=no
66151 rm -f conftest.c conftest.o conftest
66153 if test "$ac_gcsections" = "yes"; then
66154 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66157 $as_echo "$ac_gcsections" >&6; }
66159 if test "$ac_test_CFLAGS" = set; then
66160 CFLAGS="$ac_save_CFLAGS"
66161 else
66162 # this is the suspicious part
66163 CFLAGS=''
66167 # Set -z,relro.
66168 # Note this is only for shared objects.
66169 ac_ld_relro=no
66170 if test x"$with_gnu_ld" = x"yes"; then
66171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66172 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66173 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66174 if test -n "$cxx_z_relo"; then
66175 OPT_LDFLAGS="-Wl,-z,relro"
66176 ac_ld_relro=yes
66178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66179 $as_echo "$ac_ld_relro" >&6; }
66182 # Set linker optimization flags.
66183 if test x"$with_gnu_ld" = x"yes"; then
66184 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66190 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66192 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66194 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66196 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66198 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66200 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66202 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66204 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66206 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66208 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66210 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66212 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66215 *-rtems*)
66217 # All these tests are for C++; save the language and the compiler flags.
66218 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66219 # found in GLIBCXX_CONFIGURE.
66221 ac_ext=cpp
66222 ac_cpp='$CXXCPP $CPPFLAGS'
66223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66227 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66228 ac_save_CXXFLAGS="$CXXFLAGS"
66230 # Check for maintainer-mode bits.
66231 if test x"$USE_MAINTAINER_MODE" = xno; then
66232 WERROR=''
66233 else
66234 WERROR='-Werror'
66237 # Check for -ffunction-sections -fdata-sections
66238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66239 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66240 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66242 /* end confdefs.h. */
66243 int foo; void bar() { };
66245 main ()
66249 return 0;
66251 _ACEOF
66252 if ac_fn_cxx_try_compile "$LINENO"; then :
66253 ac_fdsections=yes
66254 else
66255 ac_fdsections=no
66257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66258 if test "$ac_test_CXXFLAGS" = set; then
66259 CXXFLAGS="$ac_save_CXXFLAGS"
66260 else
66261 # this is the suspicious part
66262 CXXFLAGS=''
66264 if test x"$ac_fdsections" = x"yes"; then
66265 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66268 $as_echo "$ac_fdsections" >&6; }
66270 ac_ext=c
66271 ac_cpp='$CPP $CPPFLAGS'
66272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66280 # If we're not using GNU ld, then there's no point in even trying these
66281 # tests. Check for that first. We should have already tested for gld
66282 # by now (in libtool), but require it now just to be safe...
66283 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66284 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66288 # The name set by libtool depends on the version of libtool. Shame on us
66289 # for depending on an impl detail, but c'est la vie. Older versions used
66290 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66291 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66292 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66293 # set (hence we're using an older libtool), then set it.
66294 if test x${with_gnu_ld+set} != xset; then
66295 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66296 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66297 with_gnu_ld=no
66298 else
66299 with_gnu_ld=$ac_cv_prog_gnu_ld
66303 # Start by getting the version number. I think the libtool test already
66304 # does some of this, but throws away the result.
66305 glibcxx_ld_is_gold=no
66306 if test x"$with_gnu_ld" = x"yes"; then
66307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66308 $as_echo_n "checking for ld version... " >&6; }
66310 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66311 glibcxx_ld_is_gold=yes
66313 ldver=`$LD --version 2>/dev/null |
66314 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'`
66316 glibcxx_gnu_ld_version=`echo $ldver | \
66317 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66319 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66322 # Set --gc-sections.
66323 glibcxx_have_gc_sections=no
66324 if test "$glibcxx_ld_is_gold" = "yes"; then
66325 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66326 glibcxx_have_gc_sections=yes
66328 else
66329 glibcxx_gcsections_min_ld=21602
66330 if test x"$with_gnu_ld" = x"yes" &&
66331 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66332 glibcxx_have_gc_sections=yes
66335 if test "$glibcxx_have_gc_sections" = "yes"; then
66336 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66337 # NB: This flag only works reliably after 2.16.1. Configure tests
66338 # for this are difficult, so hard wire a value that should work.
66340 ac_test_CFLAGS="${CFLAGS+set}"
66341 ac_save_CFLAGS="$CFLAGS"
66342 CFLAGS='-Wl,--gc-sections'
66344 # Check for -Wl,--gc-sections
66345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66346 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66347 if test x$gcc_no_link = xyes; then
66348 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66351 /* end confdefs.h. */
66352 int one(void) { return 1; }
66353 int two(void) { return 2; }
66356 main ()
66358 two();
66360 return 0;
66362 _ACEOF
66363 if ac_fn_c_try_link "$LINENO"; then :
66364 ac_gcsections=yes
66365 else
66366 ac_gcsections=no
66368 rm -f core conftest.err conftest.$ac_objext \
66369 conftest$ac_exeext conftest.$ac_ext
66370 if test "$ac_gcsections" = "yes"; then
66371 rm -f conftest.c
66372 touch conftest.c
66373 if $CC -c conftest.c; then
66374 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66375 grep "Warning: gc-sections option ignored" > /dev/null; then
66376 ac_gcsections=no
66379 rm -f conftest.c conftest.o conftest
66381 if test "$ac_gcsections" = "yes"; then
66382 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66385 $as_echo "$ac_gcsections" >&6; }
66387 if test "$ac_test_CFLAGS" = set; then
66388 CFLAGS="$ac_save_CFLAGS"
66389 else
66390 # this is the suspicious part
66391 CFLAGS=''
66395 # Set -z,relro.
66396 # Note this is only for shared objects.
66397 ac_ld_relro=no
66398 if test x"$with_gnu_ld" = x"yes"; then
66399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66400 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66401 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66402 if test -n "$cxx_z_relo"; then
66403 OPT_LDFLAGS="-Wl,-z,relro"
66404 ac_ld_relro=yes
66406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66407 $as_echo "$ac_ld_relro" >&6; }
66410 # Set linker optimization flags.
66411 if test x"$with_gnu_ld" = x"yes"; then
66412 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66419 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66420 ac_save_CXXFLAGS="$CXXFLAGS"
66421 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66424 $as_echo_n "checking for sin in -lm... " >&6; }
66425 if test "${ac_cv_lib_m_sin+set}" = set; then :
66426 $as_echo_n "(cached) " >&6
66427 else
66428 ac_check_lib_save_LIBS=$LIBS
66429 LIBS="-lm $LIBS"
66430 if test x$gcc_no_link = xyes; then
66431 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66434 /* end confdefs.h. */
66436 /* Override any GCC internal prototype to avoid an error.
66437 Use char because int might match the return type of a GCC
66438 builtin and then its argument prototype would still apply. */
66439 #ifdef __cplusplus
66440 extern "C"
66441 #endif
66442 char sin ();
66444 main ()
66446 return sin ();
66448 return 0;
66450 _ACEOF
66451 if ac_fn_c_try_link "$LINENO"; then :
66452 ac_cv_lib_m_sin=yes
66453 else
66454 ac_cv_lib_m_sin=no
66456 rm -f core conftest.err conftest.$ac_objext \
66457 conftest$ac_exeext conftest.$ac_ext
66458 LIBS=$ac_check_lib_save_LIBS
66460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66461 $as_echo "$ac_cv_lib_m_sin" >&6; }
66462 if test "x$ac_cv_lib_m_sin" = x""yes; then :
66463 libm="-lm"
66466 ac_save_LIBS="$LIBS"
66467 LIBS="$LIBS $libm"
66471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66472 $as_echo_n "checking for isinf declaration... " >&6; }
66473 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66474 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
66475 $as_echo_n "(cached) " >&6
66476 else
66479 ac_ext=cpp
66480 ac_cpp='$CXXCPP $CPPFLAGS'
66481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66486 /* end confdefs.h. */
66487 #include <math.h>
66488 #ifdef HAVE_IEEEFP_H
66489 #include <ieeefp.h>
66490 #endif
66493 main ()
66495 isinf(0);
66497 return 0;
66499 _ACEOF
66500 if ac_fn_cxx_try_compile "$LINENO"; then :
66501 glibcxx_cv_func_isinf_use=yes
66502 else
66503 glibcxx_cv_func_isinf_use=no
66505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66506 ac_ext=c
66507 ac_cpp='$CPP $CPPFLAGS'
66508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66517 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66519 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66520 for ac_func in isinf
66521 do :
66522 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66523 if test "x$ac_cv_func_isinf" = x""yes; then :
66524 cat >>confdefs.h <<_ACEOF
66525 #define HAVE_ISINF 1
66526 _ACEOF
66529 done
66531 else
66533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66534 $as_echo_n "checking for _isinf declaration... " >&6; }
66535 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66536 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
66537 $as_echo_n "(cached) " >&6
66538 else
66541 ac_ext=cpp
66542 ac_cpp='$CXXCPP $CPPFLAGS'
66543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66548 /* end confdefs.h. */
66549 #include <math.h>
66550 #ifdef HAVE_IEEEFP_H
66551 #include <ieeefp.h>
66552 #endif
66555 main ()
66557 _isinf(0);
66559 return 0;
66561 _ACEOF
66562 if ac_fn_cxx_try_compile "$LINENO"; then :
66563 glibcxx_cv_func__isinf_use=yes
66564 else
66565 glibcxx_cv_func__isinf_use=no
66567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66568 ac_ext=c
66569 ac_cpp='$CPP $CPPFLAGS'
66570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66579 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66581 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66582 for ac_func in _isinf
66583 do :
66584 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66585 if test "x$ac_cv_func__isinf" = x""yes; then :
66586 cat >>confdefs.h <<_ACEOF
66587 #define HAVE__ISINF 1
66588 _ACEOF
66591 done
66600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66601 $as_echo_n "checking for isnan declaration... " >&6; }
66602 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66603 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
66604 $as_echo_n "(cached) " >&6
66605 else
66608 ac_ext=cpp
66609 ac_cpp='$CXXCPP $CPPFLAGS'
66610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66615 /* end confdefs.h. */
66616 #include <math.h>
66617 #ifdef HAVE_IEEEFP_H
66618 #include <ieeefp.h>
66619 #endif
66622 main ()
66624 isnan(0);
66626 return 0;
66628 _ACEOF
66629 if ac_fn_cxx_try_compile "$LINENO"; then :
66630 glibcxx_cv_func_isnan_use=yes
66631 else
66632 glibcxx_cv_func_isnan_use=no
66634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66635 ac_ext=c
66636 ac_cpp='$CPP $CPPFLAGS'
66637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66646 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66648 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66649 for ac_func in isnan
66650 do :
66651 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66652 if test "x$ac_cv_func_isnan" = x""yes; then :
66653 cat >>confdefs.h <<_ACEOF
66654 #define HAVE_ISNAN 1
66655 _ACEOF
66658 done
66660 else
66662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66663 $as_echo_n "checking for _isnan declaration... " >&6; }
66664 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66665 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
66666 $as_echo_n "(cached) " >&6
66667 else
66670 ac_ext=cpp
66671 ac_cpp='$CXXCPP $CPPFLAGS'
66672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66677 /* end confdefs.h. */
66678 #include <math.h>
66679 #ifdef HAVE_IEEEFP_H
66680 #include <ieeefp.h>
66681 #endif
66684 main ()
66686 _isnan(0);
66688 return 0;
66690 _ACEOF
66691 if ac_fn_cxx_try_compile "$LINENO"; then :
66692 glibcxx_cv_func__isnan_use=yes
66693 else
66694 glibcxx_cv_func__isnan_use=no
66696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66697 ac_ext=c
66698 ac_cpp='$CPP $CPPFLAGS'
66699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66708 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66710 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66711 for ac_func in _isnan
66712 do :
66713 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66714 if test "x$ac_cv_func__isnan" = x""yes; then :
66715 cat >>confdefs.h <<_ACEOF
66716 #define HAVE__ISNAN 1
66717 _ACEOF
66720 done
66729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66730 $as_echo_n "checking for finite declaration... " >&6; }
66731 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66732 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
66733 $as_echo_n "(cached) " >&6
66734 else
66737 ac_ext=cpp
66738 ac_cpp='$CXXCPP $CPPFLAGS'
66739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66744 /* end confdefs.h. */
66745 #include <math.h>
66746 #ifdef HAVE_IEEEFP_H
66747 #include <ieeefp.h>
66748 #endif
66751 main ()
66753 finite(0);
66755 return 0;
66757 _ACEOF
66758 if ac_fn_cxx_try_compile "$LINENO"; then :
66759 glibcxx_cv_func_finite_use=yes
66760 else
66761 glibcxx_cv_func_finite_use=no
66763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66764 ac_ext=c
66765 ac_cpp='$CPP $CPPFLAGS'
66766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66775 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66777 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66778 for ac_func in finite
66779 do :
66780 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66781 if test "x$ac_cv_func_finite" = x""yes; then :
66782 cat >>confdefs.h <<_ACEOF
66783 #define HAVE_FINITE 1
66784 _ACEOF
66787 done
66789 else
66791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66792 $as_echo_n "checking for _finite declaration... " >&6; }
66793 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66794 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
66795 $as_echo_n "(cached) " >&6
66796 else
66799 ac_ext=cpp
66800 ac_cpp='$CXXCPP $CPPFLAGS'
66801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66806 /* end confdefs.h. */
66807 #include <math.h>
66808 #ifdef HAVE_IEEEFP_H
66809 #include <ieeefp.h>
66810 #endif
66813 main ()
66815 _finite(0);
66817 return 0;
66819 _ACEOF
66820 if ac_fn_cxx_try_compile "$LINENO"; then :
66821 glibcxx_cv_func__finite_use=yes
66822 else
66823 glibcxx_cv_func__finite_use=no
66825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66826 ac_ext=c
66827 ac_cpp='$CPP $CPPFLAGS'
66828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
66837 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
66839 if test x$glibcxx_cv_func__finite_use = x"yes"; then
66840 for ac_func in _finite
66841 do :
66842 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
66843 if test "x$ac_cv_func__finite" = x""yes; then :
66844 cat >>confdefs.h <<_ACEOF
66845 #define HAVE__FINITE 1
66846 _ACEOF
66849 done
66858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
66859 $as_echo_n "checking for sincos declaration... " >&6; }
66860 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
66861 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
66862 $as_echo_n "(cached) " >&6
66863 else
66866 ac_ext=cpp
66867 ac_cpp='$CXXCPP $CPPFLAGS'
66868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66873 /* end confdefs.h. */
66874 #include <math.h>
66876 main ()
66878 sincos(0, 0, 0);
66880 return 0;
66882 _ACEOF
66883 if ac_fn_cxx_try_compile "$LINENO"; then :
66884 glibcxx_cv_func_sincos_use=yes
66885 else
66886 glibcxx_cv_func_sincos_use=no
66888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66889 ac_ext=c
66890 ac_cpp='$CPP $CPPFLAGS'
66891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
66900 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
66902 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
66903 for ac_func in sincos
66904 do :
66905 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
66906 if test "x$ac_cv_func_sincos" = x""yes; then :
66907 cat >>confdefs.h <<_ACEOF
66908 #define HAVE_SINCOS 1
66909 _ACEOF
66912 done
66914 else
66916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
66917 $as_echo_n "checking for _sincos declaration... " >&6; }
66918 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
66919 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
66920 $as_echo_n "(cached) " >&6
66921 else
66924 ac_ext=cpp
66925 ac_cpp='$CXXCPP $CPPFLAGS'
66926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66931 /* end confdefs.h. */
66932 #include <math.h>
66934 main ()
66936 _sincos(0, 0, 0);
66938 return 0;
66940 _ACEOF
66941 if ac_fn_cxx_try_compile "$LINENO"; then :
66942 glibcxx_cv_func__sincos_use=yes
66943 else
66944 glibcxx_cv_func__sincos_use=no
66946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66947 ac_ext=c
66948 ac_cpp='$CPP $CPPFLAGS'
66949 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66950 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66951 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
66958 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
66960 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
66961 for ac_func in _sincos
66962 do :
66963 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
66964 if test "x$ac_cv_func__sincos" = x""yes; then :
66965 cat >>confdefs.h <<_ACEOF
66966 #define HAVE__SINCOS 1
66967 _ACEOF
66970 done
66979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
66980 $as_echo_n "checking for fpclass declaration... " >&6; }
66981 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
66982 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
66983 $as_echo_n "(cached) " >&6
66984 else
66987 ac_ext=cpp
66988 ac_cpp='$CXXCPP $CPPFLAGS'
66989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66994 /* end confdefs.h. */
66995 #include <math.h>
66996 #ifdef HAVE_IEEEFP_H
66997 #include <ieeefp.h>
66998 #endif
67001 main ()
67003 fpclass(0);
67005 return 0;
67007 _ACEOF
67008 if ac_fn_cxx_try_compile "$LINENO"; then :
67009 glibcxx_cv_func_fpclass_use=yes
67010 else
67011 glibcxx_cv_func_fpclass_use=no
67013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67014 ac_ext=c
67015 ac_cpp='$CPP $CPPFLAGS'
67016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67025 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67027 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67028 for ac_func in fpclass
67029 do :
67030 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67031 if test "x$ac_cv_func_fpclass" = x""yes; then :
67032 cat >>confdefs.h <<_ACEOF
67033 #define HAVE_FPCLASS 1
67034 _ACEOF
67037 done
67039 else
67041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67042 $as_echo_n "checking for _fpclass declaration... " >&6; }
67043 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67044 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
67045 $as_echo_n "(cached) " >&6
67046 else
67049 ac_ext=cpp
67050 ac_cpp='$CXXCPP $CPPFLAGS'
67051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67056 /* end confdefs.h. */
67057 #include <math.h>
67058 #ifdef HAVE_IEEEFP_H
67059 #include <ieeefp.h>
67060 #endif
67063 main ()
67065 _fpclass(0);
67067 return 0;
67069 _ACEOF
67070 if ac_fn_cxx_try_compile "$LINENO"; then :
67071 glibcxx_cv_func__fpclass_use=yes
67072 else
67073 glibcxx_cv_func__fpclass_use=no
67075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67076 ac_ext=c
67077 ac_cpp='$CPP $CPPFLAGS'
67078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67087 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67089 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67090 for ac_func in _fpclass
67091 do :
67092 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67093 if test "x$ac_cv_func__fpclass" = x""yes; then :
67094 cat >>confdefs.h <<_ACEOF
67095 #define HAVE__FPCLASS 1
67096 _ACEOF
67099 done
67108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67109 $as_echo_n "checking for qfpclass declaration... " >&6; }
67110 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67111 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
67112 $as_echo_n "(cached) " >&6
67113 else
67116 ac_ext=cpp
67117 ac_cpp='$CXXCPP $CPPFLAGS'
67118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67123 /* end confdefs.h. */
67124 #include <math.h>
67125 #ifdef HAVE_IEEEFP_H
67126 #include <ieeefp.h>
67127 #endif
67130 main ()
67132 qfpclass(0);
67134 return 0;
67136 _ACEOF
67137 if ac_fn_cxx_try_compile "$LINENO"; then :
67138 glibcxx_cv_func_qfpclass_use=yes
67139 else
67140 glibcxx_cv_func_qfpclass_use=no
67142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67143 ac_ext=c
67144 ac_cpp='$CPP $CPPFLAGS'
67145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67154 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67156 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67157 for ac_func in qfpclass
67158 do :
67159 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67160 if test "x$ac_cv_func_qfpclass" = x""yes; then :
67161 cat >>confdefs.h <<_ACEOF
67162 #define HAVE_QFPCLASS 1
67163 _ACEOF
67166 done
67168 else
67170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67171 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67172 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67173 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
67174 $as_echo_n "(cached) " >&6
67175 else
67178 ac_ext=cpp
67179 ac_cpp='$CXXCPP $CPPFLAGS'
67180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67185 /* end confdefs.h. */
67186 #include <math.h>
67187 #ifdef HAVE_IEEEFP_H
67188 #include <ieeefp.h>
67189 #endif
67192 main ()
67194 _qfpclass(0);
67196 return 0;
67198 _ACEOF
67199 if ac_fn_cxx_try_compile "$LINENO"; then :
67200 glibcxx_cv_func__qfpclass_use=yes
67201 else
67202 glibcxx_cv_func__qfpclass_use=no
67204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67205 ac_ext=c
67206 ac_cpp='$CPP $CPPFLAGS'
67207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67216 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67218 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67219 for ac_func in _qfpclass
67220 do :
67221 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67222 if test "x$ac_cv_func__qfpclass" = x""yes; then :
67223 cat >>confdefs.h <<_ACEOF
67224 #define HAVE__QFPCLASS 1
67225 _ACEOF
67228 done
67237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67238 $as_echo_n "checking for hypot declaration... " >&6; }
67239 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67240 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
67241 $as_echo_n "(cached) " >&6
67242 else
67245 ac_ext=cpp
67246 ac_cpp='$CXXCPP $CPPFLAGS'
67247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67252 /* end confdefs.h. */
67253 #include <math.h>
67255 main ()
67257 hypot(0, 0);
67259 return 0;
67261 _ACEOF
67262 if ac_fn_cxx_try_compile "$LINENO"; then :
67263 glibcxx_cv_func_hypot_use=yes
67264 else
67265 glibcxx_cv_func_hypot_use=no
67267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67268 ac_ext=c
67269 ac_cpp='$CPP $CPPFLAGS'
67270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67279 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67281 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67282 for ac_func in hypot
67283 do :
67284 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67285 if test "x$ac_cv_func_hypot" = x""yes; then :
67286 cat >>confdefs.h <<_ACEOF
67287 #define HAVE_HYPOT 1
67288 _ACEOF
67291 done
67293 else
67295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67296 $as_echo_n "checking for _hypot declaration... " >&6; }
67297 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67298 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
67299 $as_echo_n "(cached) " >&6
67300 else
67303 ac_ext=cpp
67304 ac_cpp='$CXXCPP $CPPFLAGS'
67305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67310 /* end confdefs.h. */
67311 #include <math.h>
67313 main ()
67315 _hypot(0, 0);
67317 return 0;
67319 _ACEOF
67320 if ac_fn_cxx_try_compile "$LINENO"; then :
67321 glibcxx_cv_func__hypot_use=yes
67322 else
67323 glibcxx_cv_func__hypot_use=no
67325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67326 ac_ext=c
67327 ac_cpp='$CPP $CPPFLAGS'
67328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67337 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67339 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67340 for ac_func in _hypot
67341 do :
67342 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67343 if test "x$ac_cv_func__hypot" = x""yes; then :
67344 cat >>confdefs.h <<_ACEOF
67345 #define HAVE__HYPOT 1
67346 _ACEOF
67349 done
67358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67359 $as_echo_n "checking for float trig functions... " >&6; }
67360 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
67361 $as_echo_n "(cached) " >&6
67362 else
67365 ac_ext=cpp
67366 ac_cpp='$CXXCPP $CPPFLAGS'
67367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67372 /* end confdefs.h. */
67373 #include <math.h>
67375 main ()
67377 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67379 return 0;
67381 _ACEOF
67382 if ac_fn_cxx_try_compile "$LINENO"; then :
67383 glibcxx_cv_func_float_trig_use=yes
67384 else
67385 glibcxx_cv_func_float_trig_use=no
67387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67388 ac_ext=c
67389 ac_cpp='$CPP $CPPFLAGS'
67390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67397 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67398 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67399 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67400 do :
67401 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67402 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67403 eval as_val=\$$as_ac_var
67404 if test "x$as_val" = x""yes; then :
67405 cat >>confdefs.h <<_ACEOF
67406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67407 _ACEOF
67410 done
67412 else
67413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67414 $as_echo_n "checking for _float trig functions... " >&6; }
67415 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
67416 $as_echo_n "(cached) " >&6
67417 else
67420 ac_ext=cpp
67421 ac_cpp='$CXXCPP $CPPFLAGS'
67422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67427 /* end confdefs.h. */
67428 #include <math.h>
67430 main ()
67432 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67434 return 0;
67436 _ACEOF
67437 if ac_fn_cxx_try_compile "$LINENO"; then :
67438 glibcxx_cv_func__float_trig_use=yes
67439 else
67440 glibcxx_cv_func__float_trig_use=no
67442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67443 ac_ext=c
67444 ac_cpp='$CPP $CPPFLAGS'
67445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67452 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67453 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67454 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67455 do :
67456 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67457 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67458 eval as_val=\$$as_ac_var
67459 if test "x$as_val" = x""yes; then :
67460 cat >>confdefs.h <<_ACEOF
67461 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67462 _ACEOF
67465 done
67474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67475 $as_echo_n "checking for float round functions... " >&6; }
67476 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
67477 $as_echo_n "(cached) " >&6
67478 else
67481 ac_ext=cpp
67482 ac_cpp='$CXXCPP $CPPFLAGS'
67483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67488 /* end confdefs.h. */
67489 #include <math.h>
67491 main ()
67493 ceilf (0); floorf (0);
67495 return 0;
67497 _ACEOF
67498 if ac_fn_cxx_try_compile "$LINENO"; then :
67499 glibcxx_cv_func_float_round_use=yes
67500 else
67501 glibcxx_cv_func_float_round_use=no
67503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67504 ac_ext=c
67505 ac_cpp='$CPP $CPPFLAGS'
67506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67513 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67514 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67515 for ac_func in ceilf floorf
67516 do :
67517 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67518 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67519 eval as_val=\$$as_ac_var
67520 if test "x$as_val" = x""yes; then :
67521 cat >>confdefs.h <<_ACEOF
67522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67523 _ACEOF
67526 done
67528 else
67529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67530 $as_echo_n "checking for _float round functions... " >&6; }
67531 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
67532 $as_echo_n "(cached) " >&6
67533 else
67536 ac_ext=cpp
67537 ac_cpp='$CXXCPP $CPPFLAGS'
67538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67543 /* end confdefs.h. */
67544 #include <math.h>
67546 main ()
67548 _ceilf (0); _floorf (0);
67550 return 0;
67552 _ACEOF
67553 if ac_fn_cxx_try_compile "$LINENO"; then :
67554 glibcxx_cv_func__float_round_use=yes
67555 else
67556 glibcxx_cv_func__float_round_use=no
67558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67559 ac_ext=c
67560 ac_cpp='$CPP $CPPFLAGS'
67561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67568 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67569 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67570 for ac_func in _ceilf _floorf
67571 do :
67572 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67573 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67574 eval as_val=\$$as_ac_var
67575 if test "x$as_val" = x""yes; then :
67576 cat >>confdefs.h <<_ACEOF
67577 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67578 _ACEOF
67581 done
67591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67592 $as_echo_n "checking for expf declaration... " >&6; }
67593 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67594 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
67595 $as_echo_n "(cached) " >&6
67596 else
67599 ac_ext=cpp
67600 ac_cpp='$CXXCPP $CPPFLAGS'
67601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67606 /* end confdefs.h. */
67607 #include <math.h>
67608 #ifdef HAVE_IEEEFP_H
67609 #include <ieeefp.h>
67610 #endif
67613 main ()
67615 expf(0);
67617 return 0;
67619 _ACEOF
67620 if ac_fn_cxx_try_compile "$LINENO"; then :
67621 glibcxx_cv_func_expf_use=yes
67622 else
67623 glibcxx_cv_func_expf_use=no
67625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67626 ac_ext=c
67627 ac_cpp='$CPP $CPPFLAGS'
67628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67637 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67639 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67640 for ac_func in expf
67641 do :
67642 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67643 if test "x$ac_cv_func_expf" = x""yes; then :
67644 cat >>confdefs.h <<_ACEOF
67645 #define HAVE_EXPF 1
67646 _ACEOF
67649 done
67651 else
67653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67654 $as_echo_n "checking for _expf declaration... " >&6; }
67655 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67656 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
67657 $as_echo_n "(cached) " >&6
67658 else
67661 ac_ext=cpp
67662 ac_cpp='$CXXCPP $CPPFLAGS'
67663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67668 /* end confdefs.h. */
67669 #include <math.h>
67670 #ifdef HAVE_IEEEFP_H
67671 #include <ieeefp.h>
67672 #endif
67675 main ()
67677 _expf(0);
67679 return 0;
67681 _ACEOF
67682 if ac_fn_cxx_try_compile "$LINENO"; then :
67683 glibcxx_cv_func__expf_use=yes
67684 else
67685 glibcxx_cv_func__expf_use=no
67687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67688 ac_ext=c
67689 ac_cpp='$CPP $CPPFLAGS'
67690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67699 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67701 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67702 for ac_func in _expf
67703 do :
67704 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67705 if test "x$ac_cv_func__expf" = x""yes; then :
67706 cat >>confdefs.h <<_ACEOF
67707 #define HAVE__EXPF 1
67708 _ACEOF
67711 done
67720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67721 $as_echo_n "checking for isnanf declaration... " >&6; }
67722 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67723 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
67724 $as_echo_n "(cached) " >&6
67725 else
67728 ac_ext=cpp
67729 ac_cpp='$CXXCPP $CPPFLAGS'
67730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67735 /* end confdefs.h. */
67736 #include <math.h>
67737 #ifdef HAVE_IEEEFP_H
67738 #include <ieeefp.h>
67739 #endif
67742 main ()
67744 isnanf(0);
67746 return 0;
67748 _ACEOF
67749 if ac_fn_cxx_try_compile "$LINENO"; then :
67750 glibcxx_cv_func_isnanf_use=yes
67751 else
67752 glibcxx_cv_func_isnanf_use=no
67754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67755 ac_ext=c
67756 ac_cpp='$CPP $CPPFLAGS'
67757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67766 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67768 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67769 for ac_func in isnanf
67770 do :
67771 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67772 if test "x$ac_cv_func_isnanf" = x""yes; then :
67773 cat >>confdefs.h <<_ACEOF
67774 #define HAVE_ISNANF 1
67775 _ACEOF
67778 done
67780 else
67782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67783 $as_echo_n "checking for _isnanf declaration... " >&6; }
67784 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67785 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
67786 $as_echo_n "(cached) " >&6
67787 else
67790 ac_ext=cpp
67791 ac_cpp='$CXXCPP $CPPFLAGS'
67792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67797 /* end confdefs.h. */
67798 #include <math.h>
67799 #ifdef HAVE_IEEEFP_H
67800 #include <ieeefp.h>
67801 #endif
67804 main ()
67806 _isnanf(0);
67808 return 0;
67810 _ACEOF
67811 if ac_fn_cxx_try_compile "$LINENO"; then :
67812 glibcxx_cv_func__isnanf_use=yes
67813 else
67814 glibcxx_cv_func__isnanf_use=no
67816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67817 ac_ext=c
67818 ac_cpp='$CPP $CPPFLAGS'
67819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
67828 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
67830 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
67831 for ac_func in _isnanf
67832 do :
67833 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
67834 if test "x$ac_cv_func__isnanf" = x""yes; then :
67835 cat >>confdefs.h <<_ACEOF
67836 #define HAVE__ISNANF 1
67837 _ACEOF
67840 done
67849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
67850 $as_echo_n "checking for isinff declaration... " >&6; }
67851 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
67852 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
67853 $as_echo_n "(cached) " >&6
67854 else
67857 ac_ext=cpp
67858 ac_cpp='$CXXCPP $CPPFLAGS'
67859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67864 /* end confdefs.h. */
67865 #include <math.h>
67866 #ifdef HAVE_IEEEFP_H
67867 #include <ieeefp.h>
67868 #endif
67871 main ()
67873 isinff(0);
67875 return 0;
67877 _ACEOF
67878 if ac_fn_cxx_try_compile "$LINENO"; then :
67879 glibcxx_cv_func_isinff_use=yes
67880 else
67881 glibcxx_cv_func_isinff_use=no
67883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67884 ac_ext=c
67885 ac_cpp='$CPP $CPPFLAGS'
67886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
67895 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
67897 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
67898 for ac_func in isinff
67899 do :
67900 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
67901 if test "x$ac_cv_func_isinff" = x""yes; then :
67902 cat >>confdefs.h <<_ACEOF
67903 #define HAVE_ISINFF 1
67904 _ACEOF
67907 done
67909 else
67911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
67912 $as_echo_n "checking for _isinff declaration... " >&6; }
67913 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
67914 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
67915 $as_echo_n "(cached) " >&6
67916 else
67919 ac_ext=cpp
67920 ac_cpp='$CXXCPP $CPPFLAGS'
67921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67926 /* end confdefs.h. */
67927 #include <math.h>
67928 #ifdef HAVE_IEEEFP_H
67929 #include <ieeefp.h>
67930 #endif
67933 main ()
67935 _isinff(0);
67937 return 0;
67939 _ACEOF
67940 if ac_fn_cxx_try_compile "$LINENO"; then :
67941 glibcxx_cv_func__isinff_use=yes
67942 else
67943 glibcxx_cv_func__isinff_use=no
67945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67946 ac_ext=c
67947 ac_cpp='$CPP $CPPFLAGS'
67948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
67957 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
67959 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
67960 for ac_func in _isinff
67961 do :
67962 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
67963 if test "x$ac_cv_func__isinff" = x""yes; then :
67964 cat >>confdefs.h <<_ACEOF
67965 #define HAVE__ISINFF 1
67966 _ACEOF
67969 done
67978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
67979 $as_echo_n "checking for atan2f declaration... " >&6; }
67980 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
67981 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
67982 $as_echo_n "(cached) " >&6
67983 else
67986 ac_ext=cpp
67987 ac_cpp='$CXXCPP $CPPFLAGS'
67988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67993 /* end confdefs.h. */
67994 #include <math.h>
67996 main ()
67998 atan2f(0, 0);
68000 return 0;
68002 _ACEOF
68003 if ac_fn_cxx_try_compile "$LINENO"; then :
68004 glibcxx_cv_func_atan2f_use=yes
68005 else
68006 glibcxx_cv_func_atan2f_use=no
68008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68009 ac_ext=c
68010 ac_cpp='$CPP $CPPFLAGS'
68011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68020 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68022 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68023 for ac_func in atan2f
68024 do :
68025 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68026 if test "x$ac_cv_func_atan2f" = x""yes; then :
68027 cat >>confdefs.h <<_ACEOF
68028 #define HAVE_ATAN2F 1
68029 _ACEOF
68032 done
68034 else
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68037 $as_echo_n "checking for _atan2f declaration... " >&6; }
68038 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68039 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
68040 $as_echo_n "(cached) " >&6
68041 else
68044 ac_ext=cpp
68045 ac_cpp='$CXXCPP $CPPFLAGS'
68046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68051 /* end confdefs.h. */
68052 #include <math.h>
68054 main ()
68056 _atan2f(0, 0);
68058 return 0;
68060 _ACEOF
68061 if ac_fn_cxx_try_compile "$LINENO"; then :
68062 glibcxx_cv_func__atan2f_use=yes
68063 else
68064 glibcxx_cv_func__atan2f_use=no
68066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68067 ac_ext=c
68068 ac_cpp='$CPP $CPPFLAGS'
68069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68078 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68080 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68081 for ac_func in _atan2f
68082 do :
68083 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68084 if test "x$ac_cv_func__atan2f" = x""yes; then :
68085 cat >>confdefs.h <<_ACEOF
68086 #define HAVE__ATAN2F 1
68087 _ACEOF
68090 done
68099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68100 $as_echo_n "checking for fabsf declaration... " >&6; }
68101 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68102 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
68103 $as_echo_n "(cached) " >&6
68104 else
68107 ac_ext=cpp
68108 ac_cpp='$CXXCPP $CPPFLAGS'
68109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68114 /* end confdefs.h. */
68115 #include <math.h>
68116 #ifdef HAVE_IEEEFP_H
68117 #include <ieeefp.h>
68118 #endif
68121 main ()
68123 fabsf(0);
68125 return 0;
68127 _ACEOF
68128 if ac_fn_cxx_try_compile "$LINENO"; then :
68129 glibcxx_cv_func_fabsf_use=yes
68130 else
68131 glibcxx_cv_func_fabsf_use=no
68133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68134 ac_ext=c
68135 ac_cpp='$CPP $CPPFLAGS'
68136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68145 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68147 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68148 for ac_func in fabsf
68149 do :
68150 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68151 if test "x$ac_cv_func_fabsf" = x""yes; then :
68152 cat >>confdefs.h <<_ACEOF
68153 #define HAVE_FABSF 1
68154 _ACEOF
68157 done
68159 else
68161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68162 $as_echo_n "checking for _fabsf declaration... " >&6; }
68163 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68164 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
68165 $as_echo_n "(cached) " >&6
68166 else
68169 ac_ext=cpp
68170 ac_cpp='$CXXCPP $CPPFLAGS'
68171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68176 /* end confdefs.h. */
68177 #include <math.h>
68178 #ifdef HAVE_IEEEFP_H
68179 #include <ieeefp.h>
68180 #endif
68183 main ()
68185 _fabsf(0);
68187 return 0;
68189 _ACEOF
68190 if ac_fn_cxx_try_compile "$LINENO"; then :
68191 glibcxx_cv_func__fabsf_use=yes
68192 else
68193 glibcxx_cv_func__fabsf_use=no
68195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68196 ac_ext=c
68197 ac_cpp='$CPP $CPPFLAGS'
68198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68207 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68209 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68210 for ac_func in _fabsf
68211 do :
68212 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68213 if test "x$ac_cv_func__fabsf" = x""yes; then :
68214 cat >>confdefs.h <<_ACEOF
68215 #define HAVE__FABSF 1
68216 _ACEOF
68219 done
68228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68229 $as_echo_n "checking for fmodf declaration... " >&6; }
68230 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68231 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
68232 $as_echo_n "(cached) " >&6
68233 else
68236 ac_ext=cpp
68237 ac_cpp='$CXXCPP $CPPFLAGS'
68238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68243 /* end confdefs.h. */
68244 #include <math.h>
68246 main ()
68248 fmodf(0, 0);
68250 return 0;
68252 _ACEOF
68253 if ac_fn_cxx_try_compile "$LINENO"; then :
68254 glibcxx_cv_func_fmodf_use=yes
68255 else
68256 glibcxx_cv_func_fmodf_use=no
68258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68259 ac_ext=c
68260 ac_cpp='$CPP $CPPFLAGS'
68261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68270 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68272 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68273 for ac_func in fmodf
68274 do :
68275 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68276 if test "x$ac_cv_func_fmodf" = x""yes; then :
68277 cat >>confdefs.h <<_ACEOF
68278 #define HAVE_FMODF 1
68279 _ACEOF
68282 done
68284 else
68286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68287 $as_echo_n "checking for _fmodf declaration... " >&6; }
68288 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68289 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
68290 $as_echo_n "(cached) " >&6
68291 else
68294 ac_ext=cpp
68295 ac_cpp='$CXXCPP $CPPFLAGS'
68296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68301 /* end confdefs.h. */
68302 #include <math.h>
68304 main ()
68306 _fmodf(0, 0);
68308 return 0;
68310 _ACEOF
68311 if ac_fn_cxx_try_compile "$LINENO"; then :
68312 glibcxx_cv_func__fmodf_use=yes
68313 else
68314 glibcxx_cv_func__fmodf_use=no
68316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68317 ac_ext=c
68318 ac_cpp='$CPP $CPPFLAGS'
68319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68328 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68330 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68331 for ac_func in _fmodf
68332 do :
68333 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68334 if test "x$ac_cv_func__fmodf" = x""yes; then :
68335 cat >>confdefs.h <<_ACEOF
68336 #define HAVE__FMODF 1
68337 _ACEOF
68340 done
68349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68350 $as_echo_n "checking for frexpf declaration... " >&6; }
68351 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68352 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
68353 $as_echo_n "(cached) " >&6
68354 else
68357 ac_ext=cpp
68358 ac_cpp='$CXXCPP $CPPFLAGS'
68359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68364 /* end confdefs.h. */
68365 #include <math.h>
68367 main ()
68369 frexpf(0, 0);
68371 return 0;
68373 _ACEOF
68374 if ac_fn_cxx_try_compile "$LINENO"; then :
68375 glibcxx_cv_func_frexpf_use=yes
68376 else
68377 glibcxx_cv_func_frexpf_use=no
68379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68380 ac_ext=c
68381 ac_cpp='$CPP $CPPFLAGS'
68382 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68383 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68384 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68391 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68393 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68394 for ac_func in frexpf
68395 do :
68396 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68397 if test "x$ac_cv_func_frexpf" = x""yes; then :
68398 cat >>confdefs.h <<_ACEOF
68399 #define HAVE_FREXPF 1
68400 _ACEOF
68403 done
68405 else
68407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68408 $as_echo_n "checking for _frexpf declaration... " >&6; }
68409 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68410 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
68411 $as_echo_n "(cached) " >&6
68412 else
68415 ac_ext=cpp
68416 ac_cpp='$CXXCPP $CPPFLAGS'
68417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68422 /* end confdefs.h. */
68423 #include <math.h>
68425 main ()
68427 _frexpf(0, 0);
68429 return 0;
68431 _ACEOF
68432 if ac_fn_cxx_try_compile "$LINENO"; then :
68433 glibcxx_cv_func__frexpf_use=yes
68434 else
68435 glibcxx_cv_func__frexpf_use=no
68437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68438 ac_ext=c
68439 ac_cpp='$CPP $CPPFLAGS'
68440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68449 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68451 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68452 for ac_func in _frexpf
68453 do :
68454 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68455 if test "x$ac_cv_func__frexpf" = x""yes; then :
68456 cat >>confdefs.h <<_ACEOF
68457 #define HAVE__FREXPF 1
68458 _ACEOF
68461 done
68470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68471 $as_echo_n "checking for hypotf declaration... " >&6; }
68472 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68473 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
68474 $as_echo_n "(cached) " >&6
68475 else
68478 ac_ext=cpp
68479 ac_cpp='$CXXCPP $CPPFLAGS'
68480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68485 /* end confdefs.h. */
68486 #include <math.h>
68488 main ()
68490 hypotf(0, 0);
68492 return 0;
68494 _ACEOF
68495 if ac_fn_cxx_try_compile "$LINENO"; then :
68496 glibcxx_cv_func_hypotf_use=yes
68497 else
68498 glibcxx_cv_func_hypotf_use=no
68500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68501 ac_ext=c
68502 ac_cpp='$CPP $CPPFLAGS'
68503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68512 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68514 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68515 for ac_func in hypotf
68516 do :
68517 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68518 if test "x$ac_cv_func_hypotf" = x""yes; then :
68519 cat >>confdefs.h <<_ACEOF
68520 #define HAVE_HYPOTF 1
68521 _ACEOF
68524 done
68526 else
68528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68529 $as_echo_n "checking for _hypotf declaration... " >&6; }
68530 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68531 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
68532 $as_echo_n "(cached) " >&6
68533 else
68536 ac_ext=cpp
68537 ac_cpp='$CXXCPP $CPPFLAGS'
68538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68543 /* end confdefs.h. */
68544 #include <math.h>
68546 main ()
68548 _hypotf(0, 0);
68550 return 0;
68552 _ACEOF
68553 if ac_fn_cxx_try_compile "$LINENO"; then :
68554 glibcxx_cv_func__hypotf_use=yes
68555 else
68556 glibcxx_cv_func__hypotf_use=no
68558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68559 ac_ext=c
68560 ac_cpp='$CPP $CPPFLAGS'
68561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68570 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68572 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68573 for ac_func in _hypotf
68574 do :
68575 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68576 if test "x$ac_cv_func__hypotf" = x""yes; then :
68577 cat >>confdefs.h <<_ACEOF
68578 #define HAVE__HYPOTF 1
68579 _ACEOF
68582 done
68591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68592 $as_echo_n "checking for ldexpf declaration... " >&6; }
68593 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68594 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
68595 $as_echo_n "(cached) " >&6
68596 else
68599 ac_ext=cpp
68600 ac_cpp='$CXXCPP $CPPFLAGS'
68601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68606 /* end confdefs.h. */
68607 #include <math.h>
68609 main ()
68611 ldexpf(0, 0);
68613 return 0;
68615 _ACEOF
68616 if ac_fn_cxx_try_compile "$LINENO"; then :
68617 glibcxx_cv_func_ldexpf_use=yes
68618 else
68619 glibcxx_cv_func_ldexpf_use=no
68621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68622 ac_ext=c
68623 ac_cpp='$CPP $CPPFLAGS'
68624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68633 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68635 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68636 for ac_func in ldexpf
68637 do :
68638 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68639 if test "x$ac_cv_func_ldexpf" = x""yes; then :
68640 cat >>confdefs.h <<_ACEOF
68641 #define HAVE_LDEXPF 1
68642 _ACEOF
68645 done
68647 else
68649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68650 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68651 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68652 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
68653 $as_echo_n "(cached) " >&6
68654 else
68657 ac_ext=cpp
68658 ac_cpp='$CXXCPP $CPPFLAGS'
68659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68664 /* end confdefs.h. */
68665 #include <math.h>
68667 main ()
68669 _ldexpf(0, 0);
68671 return 0;
68673 _ACEOF
68674 if ac_fn_cxx_try_compile "$LINENO"; then :
68675 glibcxx_cv_func__ldexpf_use=yes
68676 else
68677 glibcxx_cv_func__ldexpf_use=no
68679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68680 ac_ext=c
68681 ac_cpp='$CPP $CPPFLAGS'
68682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68691 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68693 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68694 for ac_func in _ldexpf
68695 do :
68696 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68697 if test "x$ac_cv_func__ldexpf" = x""yes; then :
68698 cat >>confdefs.h <<_ACEOF
68699 #define HAVE__LDEXPF 1
68700 _ACEOF
68703 done
68712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68713 $as_echo_n "checking for logf declaration... " >&6; }
68714 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68715 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
68716 $as_echo_n "(cached) " >&6
68717 else
68720 ac_ext=cpp
68721 ac_cpp='$CXXCPP $CPPFLAGS'
68722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68727 /* end confdefs.h. */
68728 #include <math.h>
68729 #ifdef HAVE_IEEEFP_H
68730 #include <ieeefp.h>
68731 #endif
68734 main ()
68736 logf(0);
68738 return 0;
68740 _ACEOF
68741 if ac_fn_cxx_try_compile "$LINENO"; then :
68742 glibcxx_cv_func_logf_use=yes
68743 else
68744 glibcxx_cv_func_logf_use=no
68746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68747 ac_ext=c
68748 ac_cpp='$CPP $CPPFLAGS'
68749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68758 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68760 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68761 for ac_func in logf
68762 do :
68763 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68764 if test "x$ac_cv_func_logf" = x""yes; then :
68765 cat >>confdefs.h <<_ACEOF
68766 #define HAVE_LOGF 1
68767 _ACEOF
68770 done
68772 else
68774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68775 $as_echo_n "checking for _logf declaration... " >&6; }
68776 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68777 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
68778 $as_echo_n "(cached) " >&6
68779 else
68782 ac_ext=cpp
68783 ac_cpp='$CXXCPP $CPPFLAGS'
68784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68789 /* end confdefs.h. */
68790 #include <math.h>
68791 #ifdef HAVE_IEEEFP_H
68792 #include <ieeefp.h>
68793 #endif
68796 main ()
68798 _logf(0);
68800 return 0;
68802 _ACEOF
68803 if ac_fn_cxx_try_compile "$LINENO"; then :
68804 glibcxx_cv_func__logf_use=yes
68805 else
68806 glibcxx_cv_func__logf_use=no
68808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68809 ac_ext=c
68810 ac_cpp='$CPP $CPPFLAGS'
68811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68820 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68822 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68823 for ac_func in _logf
68824 do :
68825 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
68826 if test "x$ac_cv_func__logf" = x""yes; then :
68827 cat >>confdefs.h <<_ACEOF
68828 #define HAVE__LOGF 1
68829 _ACEOF
68832 done
68841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
68842 $as_echo_n "checking for log10f declaration... " >&6; }
68843 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
68844 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
68845 $as_echo_n "(cached) " >&6
68846 else
68849 ac_ext=cpp
68850 ac_cpp='$CXXCPP $CPPFLAGS'
68851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68856 /* end confdefs.h. */
68857 #include <math.h>
68858 #ifdef HAVE_IEEEFP_H
68859 #include <ieeefp.h>
68860 #endif
68863 main ()
68865 log10f(0);
68867 return 0;
68869 _ACEOF
68870 if ac_fn_cxx_try_compile "$LINENO"; then :
68871 glibcxx_cv_func_log10f_use=yes
68872 else
68873 glibcxx_cv_func_log10f_use=no
68875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68876 ac_ext=c
68877 ac_cpp='$CPP $CPPFLAGS'
68878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
68887 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
68889 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
68890 for ac_func in log10f
68891 do :
68892 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
68893 if test "x$ac_cv_func_log10f" = x""yes; then :
68894 cat >>confdefs.h <<_ACEOF
68895 #define HAVE_LOG10F 1
68896 _ACEOF
68899 done
68901 else
68903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
68904 $as_echo_n "checking for _log10f declaration... " >&6; }
68905 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
68906 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
68907 $as_echo_n "(cached) " >&6
68908 else
68911 ac_ext=cpp
68912 ac_cpp='$CXXCPP $CPPFLAGS'
68913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68918 /* end confdefs.h. */
68919 #include <math.h>
68920 #ifdef HAVE_IEEEFP_H
68921 #include <ieeefp.h>
68922 #endif
68925 main ()
68927 _log10f(0);
68929 return 0;
68931 _ACEOF
68932 if ac_fn_cxx_try_compile "$LINENO"; then :
68933 glibcxx_cv_func__log10f_use=yes
68934 else
68935 glibcxx_cv_func__log10f_use=no
68937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68938 ac_ext=c
68939 ac_cpp='$CPP $CPPFLAGS'
68940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
68949 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
68951 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
68952 for ac_func in _log10f
68953 do :
68954 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
68955 if test "x$ac_cv_func__log10f" = x""yes; then :
68956 cat >>confdefs.h <<_ACEOF
68957 #define HAVE__LOG10F 1
68958 _ACEOF
68961 done
68970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
68971 $as_echo_n "checking for modff declaration... " >&6; }
68972 if test x${glibcxx_cv_func_modff_use+set} != xset; then
68973 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
68974 $as_echo_n "(cached) " >&6
68975 else
68978 ac_ext=cpp
68979 ac_cpp='$CXXCPP $CPPFLAGS'
68980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68985 /* end confdefs.h. */
68986 #include <math.h>
68988 main ()
68990 modff(0, 0);
68992 return 0;
68994 _ACEOF
68995 if ac_fn_cxx_try_compile "$LINENO"; then :
68996 glibcxx_cv_func_modff_use=yes
68997 else
68998 glibcxx_cv_func_modff_use=no
69000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69001 ac_ext=c
69002 ac_cpp='$CPP $CPPFLAGS'
69003 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69004 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69005 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69012 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69014 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69015 for ac_func in modff
69016 do :
69017 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69018 if test "x$ac_cv_func_modff" = x""yes; then :
69019 cat >>confdefs.h <<_ACEOF
69020 #define HAVE_MODFF 1
69021 _ACEOF
69024 done
69026 else
69028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69029 $as_echo_n "checking for _modff declaration... " >&6; }
69030 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69031 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
69032 $as_echo_n "(cached) " >&6
69033 else
69036 ac_ext=cpp
69037 ac_cpp='$CXXCPP $CPPFLAGS'
69038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69043 /* end confdefs.h. */
69044 #include <math.h>
69046 main ()
69048 _modff(0, 0);
69050 return 0;
69052 _ACEOF
69053 if ac_fn_cxx_try_compile "$LINENO"; then :
69054 glibcxx_cv_func__modff_use=yes
69055 else
69056 glibcxx_cv_func__modff_use=no
69058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69059 ac_ext=c
69060 ac_cpp='$CPP $CPPFLAGS'
69061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69070 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69072 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69073 for ac_func in _modff
69074 do :
69075 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69076 if test "x$ac_cv_func__modff" = x""yes; then :
69077 cat >>confdefs.h <<_ACEOF
69078 #define HAVE__MODFF 1
69079 _ACEOF
69082 done
69091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69092 $as_echo_n "checking for modf declaration... " >&6; }
69093 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69094 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
69095 $as_echo_n "(cached) " >&6
69096 else
69099 ac_ext=cpp
69100 ac_cpp='$CXXCPP $CPPFLAGS'
69101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69106 /* end confdefs.h. */
69107 #include <math.h>
69109 main ()
69111 modf(0, 0);
69113 return 0;
69115 _ACEOF
69116 if ac_fn_cxx_try_compile "$LINENO"; then :
69117 glibcxx_cv_func_modf_use=yes
69118 else
69119 glibcxx_cv_func_modf_use=no
69121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69122 ac_ext=c
69123 ac_cpp='$CPP $CPPFLAGS'
69124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69133 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69135 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69136 for ac_func in modf
69137 do :
69138 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69139 if test "x$ac_cv_func_modf" = x""yes; then :
69140 cat >>confdefs.h <<_ACEOF
69141 #define HAVE_MODF 1
69142 _ACEOF
69145 done
69147 else
69149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69150 $as_echo_n "checking for _modf declaration... " >&6; }
69151 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69152 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
69153 $as_echo_n "(cached) " >&6
69154 else
69157 ac_ext=cpp
69158 ac_cpp='$CXXCPP $CPPFLAGS'
69159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69164 /* end confdefs.h. */
69165 #include <math.h>
69167 main ()
69169 _modf(0, 0);
69171 return 0;
69173 _ACEOF
69174 if ac_fn_cxx_try_compile "$LINENO"; then :
69175 glibcxx_cv_func__modf_use=yes
69176 else
69177 glibcxx_cv_func__modf_use=no
69179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69180 ac_ext=c
69181 ac_cpp='$CPP $CPPFLAGS'
69182 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69183 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69184 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69191 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69193 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69194 for ac_func in _modf
69195 do :
69196 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69197 if test "x$ac_cv_func__modf" = x""yes; then :
69198 cat >>confdefs.h <<_ACEOF
69199 #define HAVE__MODF 1
69200 _ACEOF
69203 done
69212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69213 $as_echo_n "checking for powf declaration... " >&6; }
69214 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69215 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
69216 $as_echo_n "(cached) " >&6
69217 else
69220 ac_ext=cpp
69221 ac_cpp='$CXXCPP $CPPFLAGS'
69222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69227 /* end confdefs.h. */
69228 #include <math.h>
69230 main ()
69232 powf(0, 0);
69234 return 0;
69236 _ACEOF
69237 if ac_fn_cxx_try_compile "$LINENO"; then :
69238 glibcxx_cv_func_powf_use=yes
69239 else
69240 glibcxx_cv_func_powf_use=no
69242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69243 ac_ext=c
69244 ac_cpp='$CPP $CPPFLAGS'
69245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69254 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69256 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69257 for ac_func in powf
69258 do :
69259 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69260 if test "x$ac_cv_func_powf" = x""yes; then :
69261 cat >>confdefs.h <<_ACEOF
69262 #define HAVE_POWF 1
69263 _ACEOF
69266 done
69268 else
69270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69271 $as_echo_n "checking for _powf declaration... " >&6; }
69272 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69273 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
69274 $as_echo_n "(cached) " >&6
69275 else
69278 ac_ext=cpp
69279 ac_cpp='$CXXCPP $CPPFLAGS'
69280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69285 /* end confdefs.h. */
69286 #include <math.h>
69288 main ()
69290 _powf(0, 0);
69292 return 0;
69294 _ACEOF
69295 if ac_fn_cxx_try_compile "$LINENO"; then :
69296 glibcxx_cv_func__powf_use=yes
69297 else
69298 glibcxx_cv_func__powf_use=no
69300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69301 ac_ext=c
69302 ac_cpp='$CPP $CPPFLAGS'
69303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69312 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69314 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69315 for ac_func in _powf
69316 do :
69317 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69318 if test "x$ac_cv_func__powf" = x""yes; then :
69319 cat >>confdefs.h <<_ACEOF
69320 #define HAVE__POWF 1
69321 _ACEOF
69324 done
69333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69334 $as_echo_n "checking for sqrtf declaration... " >&6; }
69335 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69336 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
69337 $as_echo_n "(cached) " >&6
69338 else
69341 ac_ext=cpp
69342 ac_cpp='$CXXCPP $CPPFLAGS'
69343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69348 /* end confdefs.h. */
69349 #include <math.h>
69350 #ifdef HAVE_IEEEFP_H
69351 #include <ieeefp.h>
69352 #endif
69355 main ()
69357 sqrtf(0);
69359 return 0;
69361 _ACEOF
69362 if ac_fn_cxx_try_compile "$LINENO"; then :
69363 glibcxx_cv_func_sqrtf_use=yes
69364 else
69365 glibcxx_cv_func_sqrtf_use=no
69367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69368 ac_ext=c
69369 ac_cpp='$CPP $CPPFLAGS'
69370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69379 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69381 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69382 for ac_func in sqrtf
69383 do :
69384 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69385 if test "x$ac_cv_func_sqrtf" = x""yes; then :
69386 cat >>confdefs.h <<_ACEOF
69387 #define HAVE_SQRTF 1
69388 _ACEOF
69391 done
69393 else
69395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69396 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69397 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69398 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
69399 $as_echo_n "(cached) " >&6
69400 else
69403 ac_ext=cpp
69404 ac_cpp='$CXXCPP $CPPFLAGS'
69405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69410 /* end confdefs.h. */
69411 #include <math.h>
69412 #ifdef HAVE_IEEEFP_H
69413 #include <ieeefp.h>
69414 #endif
69417 main ()
69419 _sqrtf(0);
69421 return 0;
69423 _ACEOF
69424 if ac_fn_cxx_try_compile "$LINENO"; then :
69425 glibcxx_cv_func__sqrtf_use=yes
69426 else
69427 glibcxx_cv_func__sqrtf_use=no
69429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69430 ac_ext=c
69431 ac_cpp='$CPP $CPPFLAGS'
69432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69441 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69443 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69444 for ac_func in _sqrtf
69445 do :
69446 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69447 if test "x$ac_cv_func__sqrtf" = x""yes; then :
69448 cat >>confdefs.h <<_ACEOF
69449 #define HAVE__SQRTF 1
69450 _ACEOF
69453 done
69462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69463 $as_echo_n "checking for sincosf declaration... " >&6; }
69464 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69465 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
69466 $as_echo_n "(cached) " >&6
69467 else
69470 ac_ext=cpp
69471 ac_cpp='$CXXCPP $CPPFLAGS'
69472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69477 /* end confdefs.h. */
69478 #include <math.h>
69480 main ()
69482 sincosf(0, 0, 0);
69484 return 0;
69486 _ACEOF
69487 if ac_fn_cxx_try_compile "$LINENO"; then :
69488 glibcxx_cv_func_sincosf_use=yes
69489 else
69490 glibcxx_cv_func_sincosf_use=no
69492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69493 ac_ext=c
69494 ac_cpp='$CPP $CPPFLAGS'
69495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69504 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69506 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69507 for ac_func in sincosf
69508 do :
69509 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69510 if test "x$ac_cv_func_sincosf" = x""yes; then :
69511 cat >>confdefs.h <<_ACEOF
69512 #define HAVE_SINCOSF 1
69513 _ACEOF
69516 done
69518 else
69520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69521 $as_echo_n "checking for _sincosf declaration... " >&6; }
69522 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69523 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
69524 $as_echo_n "(cached) " >&6
69525 else
69528 ac_ext=cpp
69529 ac_cpp='$CXXCPP $CPPFLAGS'
69530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69535 /* end confdefs.h. */
69536 #include <math.h>
69538 main ()
69540 _sincosf(0, 0, 0);
69542 return 0;
69544 _ACEOF
69545 if ac_fn_cxx_try_compile "$LINENO"; then :
69546 glibcxx_cv_func__sincosf_use=yes
69547 else
69548 glibcxx_cv_func__sincosf_use=no
69550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69551 ac_ext=c
69552 ac_cpp='$CPP $CPPFLAGS'
69553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69562 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69564 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69565 for ac_func in _sincosf
69566 do :
69567 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69568 if test "x$ac_cv_func__sincosf" = x""yes; then :
69569 cat >>confdefs.h <<_ACEOF
69570 #define HAVE__SINCOSF 1
69571 _ACEOF
69574 done
69583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69584 $as_echo_n "checking for finitef declaration... " >&6; }
69585 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69586 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
69587 $as_echo_n "(cached) " >&6
69588 else
69591 ac_ext=cpp
69592 ac_cpp='$CXXCPP $CPPFLAGS'
69593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69598 /* end confdefs.h. */
69599 #include <math.h>
69600 #ifdef HAVE_IEEEFP_H
69601 #include <ieeefp.h>
69602 #endif
69605 main ()
69607 finitef(0);
69609 return 0;
69611 _ACEOF
69612 if ac_fn_cxx_try_compile "$LINENO"; then :
69613 glibcxx_cv_func_finitef_use=yes
69614 else
69615 glibcxx_cv_func_finitef_use=no
69617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69618 ac_ext=c
69619 ac_cpp='$CPP $CPPFLAGS'
69620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69629 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69631 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69632 for ac_func in finitef
69633 do :
69634 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69635 if test "x$ac_cv_func_finitef" = x""yes; then :
69636 cat >>confdefs.h <<_ACEOF
69637 #define HAVE_FINITEF 1
69638 _ACEOF
69641 done
69643 else
69645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69646 $as_echo_n "checking for _finitef declaration... " >&6; }
69647 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69648 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
69649 $as_echo_n "(cached) " >&6
69650 else
69653 ac_ext=cpp
69654 ac_cpp='$CXXCPP $CPPFLAGS'
69655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69660 /* end confdefs.h. */
69661 #include <math.h>
69662 #ifdef HAVE_IEEEFP_H
69663 #include <ieeefp.h>
69664 #endif
69667 main ()
69669 _finitef(0);
69671 return 0;
69673 _ACEOF
69674 if ac_fn_cxx_try_compile "$LINENO"; then :
69675 glibcxx_cv_func__finitef_use=yes
69676 else
69677 glibcxx_cv_func__finitef_use=no
69679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69680 ac_ext=c
69681 ac_cpp='$CPP $CPPFLAGS'
69682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69691 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69693 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69694 for ac_func in _finitef
69695 do :
69696 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69697 if test "x$ac_cv_func__finitef" = x""yes; then :
69698 cat >>confdefs.h <<_ACEOF
69699 #define HAVE__FINITEF 1
69700 _ACEOF
69703 done
69712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69713 $as_echo_n "checking for long double trig functions... " >&6; }
69714 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
69715 $as_echo_n "(cached) " >&6
69716 else
69719 ac_ext=cpp
69720 ac_cpp='$CXXCPP $CPPFLAGS'
69721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69726 /* end confdefs.h. */
69727 #include <math.h>
69729 main ()
69731 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69733 return 0;
69735 _ACEOF
69736 if ac_fn_cxx_try_compile "$LINENO"; then :
69737 glibcxx_cv_func_long_double_trig_use=yes
69738 else
69739 glibcxx_cv_func_long_double_trig_use=no
69741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69742 ac_ext=c
69743 ac_cpp='$CPP $CPPFLAGS'
69744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69751 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69752 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69753 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69754 do :
69755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69757 eval as_val=\$$as_ac_var
69758 if test "x$as_val" = x""yes; then :
69759 cat >>confdefs.h <<_ACEOF
69760 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69761 _ACEOF
69764 done
69766 else
69767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69768 $as_echo_n "checking for _long double trig functions... " >&6; }
69769 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
69770 $as_echo_n "(cached) " >&6
69771 else
69774 ac_ext=cpp
69775 ac_cpp='$CXXCPP $CPPFLAGS'
69776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69781 /* end confdefs.h. */
69782 #include <math.h>
69784 main ()
69786 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69788 return 0;
69790 _ACEOF
69791 if ac_fn_cxx_try_compile "$LINENO"; then :
69792 glibcxx_cv_func__long_double_trig_use=yes
69793 else
69794 glibcxx_cv_func__long_double_trig_use=no
69796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69797 ac_ext=c
69798 ac_cpp='$CPP $CPPFLAGS'
69799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69806 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69807 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69808 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69809 do :
69810 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69811 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69812 eval as_val=\$$as_ac_var
69813 if test "x$as_val" = x""yes; then :
69814 cat >>confdefs.h <<_ACEOF
69815 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69816 _ACEOF
69819 done
69828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
69829 $as_echo_n "checking for long double round functions... " >&6; }
69830 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
69831 $as_echo_n "(cached) " >&6
69832 else
69835 ac_ext=cpp
69836 ac_cpp='$CXXCPP $CPPFLAGS'
69837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69842 /* end confdefs.h. */
69843 #include <math.h>
69845 main ()
69847 ceill (0); floorl (0);
69849 return 0;
69851 _ACEOF
69852 if ac_fn_cxx_try_compile "$LINENO"; then :
69853 glibcxx_cv_func_long_double_round_use=yes
69854 else
69855 glibcxx_cv_func_long_double_round_use=no
69857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69858 ac_ext=c
69859 ac_cpp='$CPP $CPPFLAGS'
69860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
69867 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
69868 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
69869 for ac_func in ceill floorl
69870 do :
69871 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69872 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69873 eval as_val=\$$as_ac_var
69874 if test "x$as_val" = x""yes; then :
69875 cat >>confdefs.h <<_ACEOF
69876 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69877 _ACEOF
69880 done
69882 else
69883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
69884 $as_echo_n "checking for _long double round functions... " >&6; }
69885 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
69886 $as_echo_n "(cached) " >&6
69887 else
69890 ac_ext=cpp
69891 ac_cpp='$CXXCPP $CPPFLAGS'
69892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69897 /* end confdefs.h. */
69898 #include <math.h>
69900 main ()
69902 _ceill (0); _floorl (0);
69904 return 0;
69906 _ACEOF
69907 if ac_fn_cxx_try_compile "$LINENO"; then :
69908 glibcxx_cv_func__long_double_round_use=yes
69909 else
69910 glibcxx_cv_func__long_double_round_use=no
69912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69913 ac_ext=c
69914 ac_cpp='$CPP $CPPFLAGS'
69915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
69922 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
69923 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
69924 for ac_func in _ceill _floorl
69925 do :
69926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69928 eval as_val=\$$as_ac_var
69929 if test "x$as_val" = x""yes; then :
69930 cat >>confdefs.h <<_ACEOF
69931 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69932 _ACEOF
69935 done
69945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
69946 $as_echo_n "checking for isnanl declaration... " >&6; }
69947 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
69948 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
69949 $as_echo_n "(cached) " >&6
69950 else
69953 ac_ext=cpp
69954 ac_cpp='$CXXCPP $CPPFLAGS'
69955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69960 /* end confdefs.h. */
69961 #include <math.h>
69962 #ifdef HAVE_IEEEFP_H
69963 #include <ieeefp.h>
69964 #endif
69967 main ()
69969 isnanl(0);
69971 return 0;
69973 _ACEOF
69974 if ac_fn_cxx_try_compile "$LINENO"; then :
69975 glibcxx_cv_func_isnanl_use=yes
69976 else
69977 glibcxx_cv_func_isnanl_use=no
69979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69980 ac_ext=c
69981 ac_cpp='$CPP $CPPFLAGS'
69982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
69991 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
69993 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
69994 for ac_func in isnanl
69995 do :
69996 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
69997 if test "x$ac_cv_func_isnanl" = x""yes; then :
69998 cat >>confdefs.h <<_ACEOF
69999 #define HAVE_ISNANL 1
70000 _ACEOF
70003 done
70005 else
70007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70008 $as_echo_n "checking for _isnanl declaration... " >&6; }
70009 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70010 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
70011 $as_echo_n "(cached) " >&6
70012 else
70015 ac_ext=cpp
70016 ac_cpp='$CXXCPP $CPPFLAGS'
70017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70022 /* end confdefs.h. */
70023 #include <math.h>
70024 #ifdef HAVE_IEEEFP_H
70025 #include <ieeefp.h>
70026 #endif
70029 main ()
70031 _isnanl(0);
70033 return 0;
70035 _ACEOF
70036 if ac_fn_cxx_try_compile "$LINENO"; then :
70037 glibcxx_cv_func__isnanl_use=yes
70038 else
70039 glibcxx_cv_func__isnanl_use=no
70041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70042 ac_ext=c
70043 ac_cpp='$CPP $CPPFLAGS'
70044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70053 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70055 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70056 for ac_func in _isnanl
70057 do :
70058 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70059 if test "x$ac_cv_func__isnanl" = x""yes; then :
70060 cat >>confdefs.h <<_ACEOF
70061 #define HAVE__ISNANL 1
70062 _ACEOF
70065 done
70074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70075 $as_echo_n "checking for isinfl declaration... " >&6; }
70076 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70077 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
70078 $as_echo_n "(cached) " >&6
70079 else
70082 ac_ext=cpp
70083 ac_cpp='$CXXCPP $CPPFLAGS'
70084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70089 /* end confdefs.h. */
70090 #include <math.h>
70091 #ifdef HAVE_IEEEFP_H
70092 #include <ieeefp.h>
70093 #endif
70096 main ()
70098 isinfl(0);
70100 return 0;
70102 _ACEOF
70103 if ac_fn_cxx_try_compile "$LINENO"; then :
70104 glibcxx_cv_func_isinfl_use=yes
70105 else
70106 glibcxx_cv_func_isinfl_use=no
70108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70109 ac_ext=c
70110 ac_cpp='$CPP $CPPFLAGS'
70111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70120 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70122 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70123 for ac_func in isinfl
70124 do :
70125 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70126 if test "x$ac_cv_func_isinfl" = x""yes; then :
70127 cat >>confdefs.h <<_ACEOF
70128 #define HAVE_ISINFL 1
70129 _ACEOF
70132 done
70134 else
70136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70137 $as_echo_n "checking for _isinfl declaration... " >&6; }
70138 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70139 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
70140 $as_echo_n "(cached) " >&6
70141 else
70144 ac_ext=cpp
70145 ac_cpp='$CXXCPP $CPPFLAGS'
70146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70151 /* end confdefs.h. */
70152 #include <math.h>
70153 #ifdef HAVE_IEEEFP_H
70154 #include <ieeefp.h>
70155 #endif
70158 main ()
70160 _isinfl(0);
70162 return 0;
70164 _ACEOF
70165 if ac_fn_cxx_try_compile "$LINENO"; then :
70166 glibcxx_cv_func__isinfl_use=yes
70167 else
70168 glibcxx_cv_func__isinfl_use=no
70170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70171 ac_ext=c
70172 ac_cpp='$CPP $CPPFLAGS'
70173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70182 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70184 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70185 for ac_func in _isinfl
70186 do :
70187 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70188 if test "x$ac_cv_func__isinfl" = x""yes; then :
70189 cat >>confdefs.h <<_ACEOF
70190 #define HAVE__ISINFL 1
70191 _ACEOF
70194 done
70203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70204 $as_echo_n "checking for atan2l declaration... " >&6; }
70205 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70206 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
70207 $as_echo_n "(cached) " >&6
70208 else
70211 ac_ext=cpp
70212 ac_cpp='$CXXCPP $CPPFLAGS'
70213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70218 /* end confdefs.h. */
70219 #include <math.h>
70221 main ()
70223 atan2l(0, 0);
70225 return 0;
70227 _ACEOF
70228 if ac_fn_cxx_try_compile "$LINENO"; then :
70229 glibcxx_cv_func_atan2l_use=yes
70230 else
70231 glibcxx_cv_func_atan2l_use=no
70233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70234 ac_ext=c
70235 ac_cpp='$CPP $CPPFLAGS'
70236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70245 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70247 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70248 for ac_func in atan2l
70249 do :
70250 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70251 if test "x$ac_cv_func_atan2l" = x""yes; then :
70252 cat >>confdefs.h <<_ACEOF
70253 #define HAVE_ATAN2L 1
70254 _ACEOF
70257 done
70259 else
70261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70262 $as_echo_n "checking for _atan2l declaration... " >&6; }
70263 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70264 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
70265 $as_echo_n "(cached) " >&6
70266 else
70269 ac_ext=cpp
70270 ac_cpp='$CXXCPP $CPPFLAGS'
70271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70276 /* end confdefs.h. */
70277 #include <math.h>
70279 main ()
70281 _atan2l(0, 0);
70283 return 0;
70285 _ACEOF
70286 if ac_fn_cxx_try_compile "$LINENO"; then :
70287 glibcxx_cv_func__atan2l_use=yes
70288 else
70289 glibcxx_cv_func__atan2l_use=no
70291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70292 ac_ext=c
70293 ac_cpp='$CPP $CPPFLAGS'
70294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70303 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70305 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70306 for ac_func in _atan2l
70307 do :
70308 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70309 if test "x$ac_cv_func__atan2l" = x""yes; then :
70310 cat >>confdefs.h <<_ACEOF
70311 #define HAVE__ATAN2L 1
70312 _ACEOF
70315 done
70324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70325 $as_echo_n "checking for expl declaration... " >&6; }
70326 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70327 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
70328 $as_echo_n "(cached) " >&6
70329 else
70332 ac_ext=cpp
70333 ac_cpp='$CXXCPP $CPPFLAGS'
70334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70339 /* end confdefs.h. */
70340 #include <math.h>
70341 #ifdef HAVE_IEEEFP_H
70342 #include <ieeefp.h>
70343 #endif
70346 main ()
70348 expl(0);
70350 return 0;
70352 _ACEOF
70353 if ac_fn_cxx_try_compile "$LINENO"; then :
70354 glibcxx_cv_func_expl_use=yes
70355 else
70356 glibcxx_cv_func_expl_use=no
70358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70359 ac_ext=c
70360 ac_cpp='$CPP $CPPFLAGS'
70361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70370 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70372 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70373 for ac_func in expl
70374 do :
70375 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70376 if test "x$ac_cv_func_expl" = x""yes; then :
70377 cat >>confdefs.h <<_ACEOF
70378 #define HAVE_EXPL 1
70379 _ACEOF
70382 done
70384 else
70386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70387 $as_echo_n "checking for _expl declaration... " >&6; }
70388 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70389 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
70390 $as_echo_n "(cached) " >&6
70391 else
70394 ac_ext=cpp
70395 ac_cpp='$CXXCPP $CPPFLAGS'
70396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70401 /* end confdefs.h. */
70402 #include <math.h>
70403 #ifdef HAVE_IEEEFP_H
70404 #include <ieeefp.h>
70405 #endif
70408 main ()
70410 _expl(0);
70412 return 0;
70414 _ACEOF
70415 if ac_fn_cxx_try_compile "$LINENO"; then :
70416 glibcxx_cv_func__expl_use=yes
70417 else
70418 glibcxx_cv_func__expl_use=no
70420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70421 ac_ext=c
70422 ac_cpp='$CPP $CPPFLAGS'
70423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70432 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70434 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70435 for ac_func in _expl
70436 do :
70437 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70438 if test "x$ac_cv_func__expl" = x""yes; then :
70439 cat >>confdefs.h <<_ACEOF
70440 #define HAVE__EXPL 1
70441 _ACEOF
70444 done
70453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70454 $as_echo_n "checking for fabsl declaration... " >&6; }
70455 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70456 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
70457 $as_echo_n "(cached) " >&6
70458 else
70461 ac_ext=cpp
70462 ac_cpp='$CXXCPP $CPPFLAGS'
70463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70468 /* end confdefs.h. */
70469 #include <math.h>
70470 #ifdef HAVE_IEEEFP_H
70471 #include <ieeefp.h>
70472 #endif
70475 main ()
70477 fabsl(0);
70479 return 0;
70481 _ACEOF
70482 if ac_fn_cxx_try_compile "$LINENO"; then :
70483 glibcxx_cv_func_fabsl_use=yes
70484 else
70485 glibcxx_cv_func_fabsl_use=no
70487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70488 ac_ext=c
70489 ac_cpp='$CPP $CPPFLAGS'
70490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70499 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70501 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70502 for ac_func in fabsl
70503 do :
70504 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70505 if test "x$ac_cv_func_fabsl" = x""yes; then :
70506 cat >>confdefs.h <<_ACEOF
70507 #define HAVE_FABSL 1
70508 _ACEOF
70511 done
70513 else
70515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70516 $as_echo_n "checking for _fabsl declaration... " >&6; }
70517 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70518 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
70519 $as_echo_n "(cached) " >&6
70520 else
70523 ac_ext=cpp
70524 ac_cpp='$CXXCPP $CPPFLAGS'
70525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70530 /* end confdefs.h. */
70531 #include <math.h>
70532 #ifdef HAVE_IEEEFP_H
70533 #include <ieeefp.h>
70534 #endif
70537 main ()
70539 _fabsl(0);
70541 return 0;
70543 _ACEOF
70544 if ac_fn_cxx_try_compile "$LINENO"; then :
70545 glibcxx_cv_func__fabsl_use=yes
70546 else
70547 glibcxx_cv_func__fabsl_use=no
70549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70550 ac_ext=c
70551 ac_cpp='$CPP $CPPFLAGS'
70552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70561 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70563 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70564 for ac_func in _fabsl
70565 do :
70566 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70567 if test "x$ac_cv_func__fabsl" = x""yes; then :
70568 cat >>confdefs.h <<_ACEOF
70569 #define HAVE__FABSL 1
70570 _ACEOF
70573 done
70582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70583 $as_echo_n "checking for fmodl declaration... " >&6; }
70584 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70585 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
70586 $as_echo_n "(cached) " >&6
70587 else
70590 ac_ext=cpp
70591 ac_cpp='$CXXCPP $CPPFLAGS'
70592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70597 /* end confdefs.h. */
70598 #include <math.h>
70600 main ()
70602 fmodl(0, 0);
70604 return 0;
70606 _ACEOF
70607 if ac_fn_cxx_try_compile "$LINENO"; then :
70608 glibcxx_cv_func_fmodl_use=yes
70609 else
70610 glibcxx_cv_func_fmodl_use=no
70612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70613 ac_ext=c
70614 ac_cpp='$CPP $CPPFLAGS'
70615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70624 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70626 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70627 for ac_func in fmodl
70628 do :
70629 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70630 if test "x$ac_cv_func_fmodl" = x""yes; then :
70631 cat >>confdefs.h <<_ACEOF
70632 #define HAVE_FMODL 1
70633 _ACEOF
70636 done
70638 else
70640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70641 $as_echo_n "checking for _fmodl declaration... " >&6; }
70642 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70643 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
70644 $as_echo_n "(cached) " >&6
70645 else
70648 ac_ext=cpp
70649 ac_cpp='$CXXCPP $CPPFLAGS'
70650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70655 /* end confdefs.h. */
70656 #include <math.h>
70658 main ()
70660 _fmodl(0, 0);
70662 return 0;
70664 _ACEOF
70665 if ac_fn_cxx_try_compile "$LINENO"; then :
70666 glibcxx_cv_func__fmodl_use=yes
70667 else
70668 glibcxx_cv_func__fmodl_use=no
70670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70671 ac_ext=c
70672 ac_cpp='$CPP $CPPFLAGS'
70673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70682 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70684 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70685 for ac_func in _fmodl
70686 do :
70687 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70688 if test "x$ac_cv_func__fmodl" = x""yes; then :
70689 cat >>confdefs.h <<_ACEOF
70690 #define HAVE__FMODL 1
70691 _ACEOF
70694 done
70703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70704 $as_echo_n "checking for frexpl declaration... " >&6; }
70705 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70706 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
70707 $as_echo_n "(cached) " >&6
70708 else
70711 ac_ext=cpp
70712 ac_cpp='$CXXCPP $CPPFLAGS'
70713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70718 /* end confdefs.h. */
70719 #include <math.h>
70721 main ()
70723 frexpl(0, 0);
70725 return 0;
70727 _ACEOF
70728 if ac_fn_cxx_try_compile "$LINENO"; then :
70729 glibcxx_cv_func_frexpl_use=yes
70730 else
70731 glibcxx_cv_func_frexpl_use=no
70733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70734 ac_ext=c
70735 ac_cpp='$CPP $CPPFLAGS'
70736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70745 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70747 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70748 for ac_func in frexpl
70749 do :
70750 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70751 if test "x$ac_cv_func_frexpl" = x""yes; then :
70752 cat >>confdefs.h <<_ACEOF
70753 #define HAVE_FREXPL 1
70754 _ACEOF
70757 done
70759 else
70761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70762 $as_echo_n "checking for _frexpl declaration... " >&6; }
70763 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70764 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
70765 $as_echo_n "(cached) " >&6
70766 else
70769 ac_ext=cpp
70770 ac_cpp='$CXXCPP $CPPFLAGS'
70771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70776 /* end confdefs.h. */
70777 #include <math.h>
70779 main ()
70781 _frexpl(0, 0);
70783 return 0;
70785 _ACEOF
70786 if ac_fn_cxx_try_compile "$LINENO"; then :
70787 glibcxx_cv_func__frexpl_use=yes
70788 else
70789 glibcxx_cv_func__frexpl_use=no
70791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70792 ac_ext=c
70793 ac_cpp='$CPP $CPPFLAGS'
70794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70803 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70805 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70806 for ac_func in _frexpl
70807 do :
70808 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70809 if test "x$ac_cv_func__frexpl" = x""yes; then :
70810 cat >>confdefs.h <<_ACEOF
70811 #define HAVE__FREXPL 1
70812 _ACEOF
70815 done
70824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70825 $as_echo_n "checking for hypotl declaration... " >&6; }
70826 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70827 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
70828 $as_echo_n "(cached) " >&6
70829 else
70832 ac_ext=cpp
70833 ac_cpp='$CXXCPP $CPPFLAGS'
70834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70839 /* end confdefs.h. */
70840 #include <math.h>
70842 main ()
70844 hypotl(0, 0);
70846 return 0;
70848 _ACEOF
70849 if ac_fn_cxx_try_compile "$LINENO"; then :
70850 glibcxx_cv_func_hypotl_use=yes
70851 else
70852 glibcxx_cv_func_hypotl_use=no
70854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70855 ac_ext=c
70856 ac_cpp='$CPP $CPPFLAGS'
70857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
70866 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
70868 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
70869 for ac_func in hypotl
70870 do :
70871 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
70872 if test "x$ac_cv_func_hypotl" = x""yes; then :
70873 cat >>confdefs.h <<_ACEOF
70874 #define HAVE_HYPOTL 1
70875 _ACEOF
70878 done
70880 else
70882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
70883 $as_echo_n "checking for _hypotl declaration... " >&6; }
70884 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
70885 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
70886 $as_echo_n "(cached) " >&6
70887 else
70890 ac_ext=cpp
70891 ac_cpp='$CXXCPP $CPPFLAGS'
70892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70897 /* end confdefs.h. */
70898 #include <math.h>
70900 main ()
70902 _hypotl(0, 0);
70904 return 0;
70906 _ACEOF
70907 if ac_fn_cxx_try_compile "$LINENO"; then :
70908 glibcxx_cv_func__hypotl_use=yes
70909 else
70910 glibcxx_cv_func__hypotl_use=no
70912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70913 ac_ext=c
70914 ac_cpp='$CPP $CPPFLAGS'
70915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
70924 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
70926 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
70927 for ac_func in _hypotl
70928 do :
70929 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
70930 if test "x$ac_cv_func__hypotl" = x""yes; then :
70931 cat >>confdefs.h <<_ACEOF
70932 #define HAVE__HYPOTL 1
70933 _ACEOF
70936 done
70945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
70946 $as_echo_n "checking for ldexpl declaration... " >&6; }
70947 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
70948 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
70949 $as_echo_n "(cached) " >&6
70950 else
70953 ac_ext=cpp
70954 ac_cpp='$CXXCPP $CPPFLAGS'
70955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70960 /* end confdefs.h. */
70961 #include <math.h>
70963 main ()
70965 ldexpl(0, 0);
70967 return 0;
70969 _ACEOF
70970 if ac_fn_cxx_try_compile "$LINENO"; then :
70971 glibcxx_cv_func_ldexpl_use=yes
70972 else
70973 glibcxx_cv_func_ldexpl_use=no
70975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70976 ac_ext=c
70977 ac_cpp='$CPP $CPPFLAGS'
70978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
70987 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
70989 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
70990 for ac_func in ldexpl
70991 do :
70992 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
70993 if test "x$ac_cv_func_ldexpl" = x""yes; then :
70994 cat >>confdefs.h <<_ACEOF
70995 #define HAVE_LDEXPL 1
70996 _ACEOF
70999 done
71001 else
71003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71004 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71005 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71006 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
71007 $as_echo_n "(cached) " >&6
71008 else
71011 ac_ext=cpp
71012 ac_cpp='$CXXCPP $CPPFLAGS'
71013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71018 /* end confdefs.h. */
71019 #include <math.h>
71021 main ()
71023 _ldexpl(0, 0);
71025 return 0;
71027 _ACEOF
71028 if ac_fn_cxx_try_compile "$LINENO"; then :
71029 glibcxx_cv_func__ldexpl_use=yes
71030 else
71031 glibcxx_cv_func__ldexpl_use=no
71033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71034 ac_ext=c
71035 ac_cpp='$CPP $CPPFLAGS'
71036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71045 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71047 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71048 for ac_func in _ldexpl
71049 do :
71050 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71051 if test "x$ac_cv_func__ldexpl" = x""yes; then :
71052 cat >>confdefs.h <<_ACEOF
71053 #define HAVE__LDEXPL 1
71054 _ACEOF
71057 done
71066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71067 $as_echo_n "checking for logl declaration... " >&6; }
71068 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71069 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
71070 $as_echo_n "(cached) " >&6
71071 else
71074 ac_ext=cpp
71075 ac_cpp='$CXXCPP $CPPFLAGS'
71076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71081 /* end confdefs.h. */
71082 #include <math.h>
71083 #ifdef HAVE_IEEEFP_H
71084 #include <ieeefp.h>
71085 #endif
71088 main ()
71090 logl(0);
71092 return 0;
71094 _ACEOF
71095 if ac_fn_cxx_try_compile "$LINENO"; then :
71096 glibcxx_cv_func_logl_use=yes
71097 else
71098 glibcxx_cv_func_logl_use=no
71100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71101 ac_ext=c
71102 ac_cpp='$CPP $CPPFLAGS'
71103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71112 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71114 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71115 for ac_func in logl
71116 do :
71117 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71118 if test "x$ac_cv_func_logl" = x""yes; then :
71119 cat >>confdefs.h <<_ACEOF
71120 #define HAVE_LOGL 1
71121 _ACEOF
71124 done
71126 else
71128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71129 $as_echo_n "checking for _logl declaration... " >&6; }
71130 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71131 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
71132 $as_echo_n "(cached) " >&6
71133 else
71136 ac_ext=cpp
71137 ac_cpp='$CXXCPP $CPPFLAGS'
71138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71143 /* end confdefs.h. */
71144 #include <math.h>
71145 #ifdef HAVE_IEEEFP_H
71146 #include <ieeefp.h>
71147 #endif
71150 main ()
71152 _logl(0);
71154 return 0;
71156 _ACEOF
71157 if ac_fn_cxx_try_compile "$LINENO"; then :
71158 glibcxx_cv_func__logl_use=yes
71159 else
71160 glibcxx_cv_func__logl_use=no
71162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71163 ac_ext=c
71164 ac_cpp='$CPP $CPPFLAGS'
71165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71174 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71176 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71177 for ac_func in _logl
71178 do :
71179 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71180 if test "x$ac_cv_func__logl" = x""yes; then :
71181 cat >>confdefs.h <<_ACEOF
71182 #define HAVE__LOGL 1
71183 _ACEOF
71186 done
71195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71196 $as_echo_n "checking for log10l declaration... " >&6; }
71197 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71198 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
71199 $as_echo_n "(cached) " >&6
71200 else
71203 ac_ext=cpp
71204 ac_cpp='$CXXCPP $CPPFLAGS'
71205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71210 /* end confdefs.h. */
71211 #include <math.h>
71212 #ifdef HAVE_IEEEFP_H
71213 #include <ieeefp.h>
71214 #endif
71217 main ()
71219 log10l(0);
71221 return 0;
71223 _ACEOF
71224 if ac_fn_cxx_try_compile "$LINENO"; then :
71225 glibcxx_cv_func_log10l_use=yes
71226 else
71227 glibcxx_cv_func_log10l_use=no
71229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71230 ac_ext=c
71231 ac_cpp='$CPP $CPPFLAGS'
71232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71241 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71243 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71244 for ac_func in log10l
71245 do :
71246 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71247 if test "x$ac_cv_func_log10l" = x""yes; then :
71248 cat >>confdefs.h <<_ACEOF
71249 #define HAVE_LOG10L 1
71250 _ACEOF
71253 done
71255 else
71257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71258 $as_echo_n "checking for _log10l declaration... " >&6; }
71259 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71260 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
71261 $as_echo_n "(cached) " >&6
71262 else
71265 ac_ext=cpp
71266 ac_cpp='$CXXCPP $CPPFLAGS'
71267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71272 /* end confdefs.h. */
71273 #include <math.h>
71274 #ifdef HAVE_IEEEFP_H
71275 #include <ieeefp.h>
71276 #endif
71279 main ()
71281 _log10l(0);
71283 return 0;
71285 _ACEOF
71286 if ac_fn_cxx_try_compile "$LINENO"; then :
71287 glibcxx_cv_func__log10l_use=yes
71288 else
71289 glibcxx_cv_func__log10l_use=no
71291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71292 ac_ext=c
71293 ac_cpp='$CPP $CPPFLAGS'
71294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71303 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71305 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71306 for ac_func in _log10l
71307 do :
71308 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71309 if test "x$ac_cv_func__log10l" = x""yes; then :
71310 cat >>confdefs.h <<_ACEOF
71311 #define HAVE__LOG10L 1
71312 _ACEOF
71315 done
71324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71325 $as_echo_n "checking for modfl declaration... " >&6; }
71326 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71327 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
71328 $as_echo_n "(cached) " >&6
71329 else
71332 ac_ext=cpp
71333 ac_cpp='$CXXCPP $CPPFLAGS'
71334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71339 /* end confdefs.h. */
71340 #include <math.h>
71342 main ()
71344 modfl(0, 0);
71346 return 0;
71348 _ACEOF
71349 if ac_fn_cxx_try_compile "$LINENO"; then :
71350 glibcxx_cv_func_modfl_use=yes
71351 else
71352 glibcxx_cv_func_modfl_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_modfl_use" >&5
71366 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71368 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71369 for ac_func in modfl
71370 do :
71371 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71372 if test "x$ac_cv_func_modfl" = x""yes; then :
71373 cat >>confdefs.h <<_ACEOF
71374 #define HAVE_MODFL 1
71375 _ACEOF
71378 done
71380 else
71382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71383 $as_echo_n "checking for _modfl declaration... " >&6; }
71384 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71385 if test "${glibcxx_cv_func__modfl_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>
71400 main ()
71402 _modfl(0, 0);
71404 return 0;
71406 _ACEOF
71407 if ac_fn_cxx_try_compile "$LINENO"; then :
71408 glibcxx_cv_func__modfl_use=yes
71409 else
71410 glibcxx_cv_func__modfl_use=no
71412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71413 ac_ext=c
71414 ac_cpp='$CPP $CPPFLAGS'
71415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71424 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71426 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71427 for ac_func in _modfl
71428 do :
71429 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71430 if test "x$ac_cv_func__modfl" = x""yes; then :
71431 cat >>confdefs.h <<_ACEOF
71432 #define HAVE__MODFL 1
71433 _ACEOF
71436 done
71445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71446 $as_echo_n "checking for powl declaration... " >&6; }
71447 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71448 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
71449 $as_echo_n "(cached) " >&6
71450 else
71453 ac_ext=cpp
71454 ac_cpp='$CXXCPP $CPPFLAGS'
71455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71460 /* end confdefs.h. */
71461 #include <math.h>
71463 main ()
71465 powl(0, 0);
71467 return 0;
71469 _ACEOF
71470 if ac_fn_cxx_try_compile "$LINENO"; then :
71471 glibcxx_cv_func_powl_use=yes
71472 else
71473 glibcxx_cv_func_powl_use=no
71475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71476 ac_ext=c
71477 ac_cpp='$CPP $CPPFLAGS'
71478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71487 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71489 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71490 for ac_func in powl
71491 do :
71492 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71493 if test "x$ac_cv_func_powl" = x""yes; then :
71494 cat >>confdefs.h <<_ACEOF
71495 #define HAVE_POWL 1
71496 _ACEOF
71499 done
71501 else
71503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71504 $as_echo_n "checking for _powl declaration... " >&6; }
71505 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71506 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
71507 $as_echo_n "(cached) " >&6
71508 else
71511 ac_ext=cpp
71512 ac_cpp='$CXXCPP $CPPFLAGS'
71513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71518 /* end confdefs.h. */
71519 #include <math.h>
71521 main ()
71523 _powl(0, 0);
71525 return 0;
71527 _ACEOF
71528 if ac_fn_cxx_try_compile "$LINENO"; then :
71529 glibcxx_cv_func__powl_use=yes
71530 else
71531 glibcxx_cv_func__powl_use=no
71533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71534 ac_ext=c
71535 ac_cpp='$CPP $CPPFLAGS'
71536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71545 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71547 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71548 for ac_func in _powl
71549 do :
71550 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71551 if test "x$ac_cv_func__powl" = x""yes; then :
71552 cat >>confdefs.h <<_ACEOF
71553 #define HAVE__POWL 1
71554 _ACEOF
71557 done
71566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71567 $as_echo_n "checking for sqrtl declaration... " >&6; }
71568 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71569 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
71570 $as_echo_n "(cached) " >&6
71571 else
71574 ac_ext=cpp
71575 ac_cpp='$CXXCPP $CPPFLAGS'
71576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71581 /* end confdefs.h. */
71582 #include <math.h>
71583 #ifdef HAVE_IEEEFP_H
71584 #include <ieeefp.h>
71585 #endif
71588 main ()
71590 sqrtl(0);
71592 return 0;
71594 _ACEOF
71595 if ac_fn_cxx_try_compile "$LINENO"; then :
71596 glibcxx_cv_func_sqrtl_use=yes
71597 else
71598 glibcxx_cv_func_sqrtl_use=no
71600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71601 ac_ext=c
71602 ac_cpp='$CPP $CPPFLAGS'
71603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71612 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71614 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71615 for ac_func in sqrtl
71616 do :
71617 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71618 if test "x$ac_cv_func_sqrtl" = x""yes; then :
71619 cat >>confdefs.h <<_ACEOF
71620 #define HAVE_SQRTL 1
71621 _ACEOF
71624 done
71626 else
71628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71629 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71630 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71631 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
71632 $as_echo_n "(cached) " >&6
71633 else
71636 ac_ext=cpp
71637 ac_cpp='$CXXCPP $CPPFLAGS'
71638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71643 /* end confdefs.h. */
71644 #include <math.h>
71645 #ifdef HAVE_IEEEFP_H
71646 #include <ieeefp.h>
71647 #endif
71650 main ()
71652 _sqrtl(0);
71654 return 0;
71656 _ACEOF
71657 if ac_fn_cxx_try_compile "$LINENO"; then :
71658 glibcxx_cv_func__sqrtl_use=yes
71659 else
71660 glibcxx_cv_func__sqrtl_use=no
71662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71663 ac_ext=c
71664 ac_cpp='$CPP $CPPFLAGS'
71665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71674 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71676 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71677 for ac_func in _sqrtl
71678 do :
71679 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71680 if test "x$ac_cv_func__sqrtl" = x""yes; then :
71681 cat >>confdefs.h <<_ACEOF
71682 #define HAVE__SQRTL 1
71683 _ACEOF
71686 done
71695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71696 $as_echo_n "checking for sincosl declaration... " >&6; }
71697 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71698 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
71699 $as_echo_n "(cached) " >&6
71700 else
71703 ac_ext=cpp
71704 ac_cpp='$CXXCPP $CPPFLAGS'
71705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71710 /* end confdefs.h. */
71711 #include <math.h>
71713 main ()
71715 sincosl(0, 0, 0);
71717 return 0;
71719 _ACEOF
71720 if ac_fn_cxx_try_compile "$LINENO"; then :
71721 glibcxx_cv_func_sincosl_use=yes
71722 else
71723 glibcxx_cv_func_sincosl_use=no
71725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71726 ac_ext=c
71727 ac_cpp='$CPP $CPPFLAGS'
71728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71737 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71739 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71740 for ac_func in sincosl
71741 do :
71742 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71743 if test "x$ac_cv_func_sincosl" = x""yes; then :
71744 cat >>confdefs.h <<_ACEOF
71745 #define HAVE_SINCOSL 1
71746 _ACEOF
71749 done
71751 else
71753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71754 $as_echo_n "checking for _sincosl declaration... " >&6; }
71755 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71756 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
71757 $as_echo_n "(cached) " >&6
71758 else
71761 ac_ext=cpp
71762 ac_cpp='$CXXCPP $CPPFLAGS'
71763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71768 /* end confdefs.h. */
71769 #include <math.h>
71771 main ()
71773 _sincosl(0, 0, 0);
71775 return 0;
71777 _ACEOF
71778 if ac_fn_cxx_try_compile "$LINENO"; then :
71779 glibcxx_cv_func__sincosl_use=yes
71780 else
71781 glibcxx_cv_func__sincosl_use=no
71783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71784 ac_ext=c
71785 ac_cpp='$CPP $CPPFLAGS'
71786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71795 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71797 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71798 for ac_func in _sincosl
71799 do :
71800 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71801 if test "x$ac_cv_func__sincosl" = x""yes; then :
71802 cat >>confdefs.h <<_ACEOF
71803 #define HAVE__SINCOSL 1
71804 _ACEOF
71807 done
71816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71817 $as_echo_n "checking for finitel declaration... " >&6; }
71818 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71819 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
71820 $as_echo_n "(cached) " >&6
71821 else
71824 ac_ext=cpp
71825 ac_cpp='$CXXCPP $CPPFLAGS'
71826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71831 /* end confdefs.h. */
71832 #include <math.h>
71833 #ifdef HAVE_IEEEFP_H
71834 #include <ieeefp.h>
71835 #endif
71838 main ()
71840 finitel(0);
71842 return 0;
71844 _ACEOF
71845 if ac_fn_cxx_try_compile "$LINENO"; then :
71846 glibcxx_cv_func_finitel_use=yes
71847 else
71848 glibcxx_cv_func_finitel_use=no
71850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71851 ac_ext=c
71852 ac_cpp='$CPP $CPPFLAGS'
71853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
71862 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
71864 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
71865 for ac_func in finitel
71866 do :
71867 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
71868 if test "x$ac_cv_func_finitel" = x""yes; then :
71869 cat >>confdefs.h <<_ACEOF
71870 #define HAVE_FINITEL 1
71871 _ACEOF
71874 done
71876 else
71878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
71879 $as_echo_n "checking for _finitel declaration... " >&6; }
71880 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
71881 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
71882 $as_echo_n "(cached) " >&6
71883 else
71886 ac_ext=cpp
71887 ac_cpp='$CXXCPP $CPPFLAGS'
71888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71893 /* end confdefs.h. */
71894 #include <math.h>
71895 #ifdef HAVE_IEEEFP_H
71896 #include <ieeefp.h>
71897 #endif
71900 main ()
71902 _finitel(0);
71904 return 0;
71906 _ACEOF
71907 if ac_fn_cxx_try_compile "$LINENO"; then :
71908 glibcxx_cv_func__finitel_use=yes
71909 else
71910 glibcxx_cv_func__finitel_use=no
71912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71913 ac_ext=c
71914 ac_cpp='$CPP $CPPFLAGS'
71915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
71924 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
71926 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
71927 for ac_func in _finitel
71928 do :
71929 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
71930 if test "x$ac_cv_func__finitel" = x""yes; then :
71931 cat >>confdefs.h <<_ACEOF
71932 #define HAVE__FINITEL 1
71933 _ACEOF
71936 done
71944 LIBS="$ac_save_LIBS"
71945 CXXFLAGS="$ac_save_CXXFLAGS"
71948 ac_test_CXXFLAGS="${CXXFLAGS+set}"
71949 ac_save_CXXFLAGS="$CXXFLAGS"
71950 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
71953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
71954 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
71955 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
71956 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
71957 $as_echo_n "(cached) " >&6
71958 else
71961 ac_ext=cpp
71962 ac_cpp='$CXXCPP $CPPFLAGS'
71963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71968 /* end confdefs.h. */
71969 #include <stdlib.h>
71971 main ()
71973 at_quick_exit(0);
71975 return 0;
71977 _ACEOF
71978 if ac_fn_cxx_try_compile "$LINENO"; then :
71979 glibcxx_cv_func_at_quick_exit_use=yes
71980 else
71981 glibcxx_cv_func_at_quick_exit_use=no
71983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71984 ac_ext=c
71985 ac_cpp='$CPP $CPPFLAGS'
71986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
71995 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
71996 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
71997 for ac_func in at_quick_exit
71998 do :
71999 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72000 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
72001 cat >>confdefs.h <<_ACEOF
72002 #define HAVE_AT_QUICK_EXIT 1
72003 _ACEOF
72006 done
72011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72012 $as_echo_n "checking for quick_exit declaration... " >&6; }
72013 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72014 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
72015 $as_echo_n "(cached) " >&6
72016 else
72019 ac_ext=cpp
72020 ac_cpp='$CXXCPP $CPPFLAGS'
72021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72026 /* end confdefs.h. */
72027 #include <stdlib.h>
72029 main ()
72031 quick_exit(0);
72033 return 0;
72035 _ACEOF
72036 if ac_fn_cxx_try_compile "$LINENO"; then :
72037 glibcxx_cv_func_quick_exit_use=yes
72038 else
72039 glibcxx_cv_func_quick_exit_use=no
72041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72042 ac_ext=c
72043 ac_cpp='$CPP $CPPFLAGS'
72044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72053 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72054 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72055 for ac_func in quick_exit
72056 do :
72057 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72058 if test "x$ac_cv_func_quick_exit" = x""yes; then :
72059 cat >>confdefs.h <<_ACEOF
72060 #define HAVE_QUICK_EXIT 1
72061 _ACEOF
72064 done
72069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72070 $as_echo_n "checking for strtold declaration... " >&6; }
72071 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72072 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
72073 $as_echo_n "(cached) " >&6
72074 else
72077 ac_ext=cpp
72078 ac_cpp='$CXXCPP $CPPFLAGS'
72079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72084 /* end confdefs.h. */
72085 #include <stdlib.h>
72087 main ()
72089 strtold(0, 0);
72091 return 0;
72093 _ACEOF
72094 if ac_fn_cxx_try_compile "$LINENO"; then :
72095 glibcxx_cv_func_strtold_use=yes
72096 else
72097 glibcxx_cv_func_strtold_use=no
72099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72100 ac_ext=c
72101 ac_cpp='$CPP $CPPFLAGS'
72102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72111 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72112 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72113 for ac_func in strtold
72114 do :
72115 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72116 if test "x$ac_cv_func_strtold" = x""yes; then :
72117 cat >>confdefs.h <<_ACEOF
72118 #define HAVE_STRTOLD 1
72119 _ACEOF
72122 done
72129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72130 $as_echo_n "checking for strtof declaration... " >&6; }
72131 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72132 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
72133 $as_echo_n "(cached) " >&6
72134 else
72137 ac_ext=cpp
72138 ac_cpp='$CXXCPP $CPPFLAGS'
72139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72144 /* end confdefs.h. */
72145 #include <stdlib.h>
72147 main ()
72149 strtof(0, 0);
72151 return 0;
72153 _ACEOF
72154 if ac_fn_cxx_try_compile "$LINENO"; then :
72155 glibcxx_cv_func_strtof_use=yes
72156 else
72157 glibcxx_cv_func_strtof_use=no
72159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72160 ac_ext=c
72161 ac_cpp='$CPP $CPPFLAGS'
72162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72171 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72172 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72173 for ac_func in strtof
72174 do :
72175 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72176 if test "x$ac_cv_func_strtof" = x""yes; then :
72177 cat >>confdefs.h <<_ACEOF
72178 #define HAVE_STRTOF 1
72179 _ACEOF
72182 done
72189 CXXFLAGS="$ac_save_CXXFLAGS"
72192 *-solaris*)
72194 # If we're not using GNU ld, then there's no point in even trying these
72195 # tests. Check for that first. We should have already tested for gld
72196 # by now (in libtool), but require it now just to be safe...
72197 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
72198 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
72202 # The name set by libtool depends on the version of libtool. Shame on us
72203 # for depending on an impl detail, but c'est la vie. Older versions used
72204 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
72205 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
72206 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
72207 # set (hence we're using an older libtool), then set it.
72208 if test x${with_gnu_ld+set} != xset; then
72209 if test x${ac_cv_prog_gnu_ld+set} != xset; then
72210 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
72211 with_gnu_ld=no
72212 else
72213 with_gnu_ld=$ac_cv_prog_gnu_ld
72217 # Start by getting the version number. I think the libtool test already
72218 # does some of this, but throws away the result.
72219 glibcxx_ld_is_gold=no
72220 if test x"$with_gnu_ld" = x"yes"; then
72221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
72222 $as_echo_n "checking for ld version... " >&6; }
72224 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
72225 glibcxx_ld_is_gold=yes
72227 ldver=`$LD --version 2>/dev/null |
72228 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'`
72230 glibcxx_gnu_ld_version=`echo $ldver | \
72231 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
72232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
72233 $as_echo "$glibcxx_gnu_ld_version" >&6; }
72236 # Set --gc-sections.
72237 glibcxx_have_gc_sections=no
72238 if test "$glibcxx_ld_is_gold" = "yes"; then
72239 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
72240 glibcxx_have_gc_sections=yes
72242 else
72243 glibcxx_gcsections_min_ld=21602
72244 if test x"$with_gnu_ld" = x"yes" &&
72245 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
72246 glibcxx_have_gc_sections=yes
72249 if test "$glibcxx_have_gc_sections" = "yes"; then
72250 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
72251 # NB: This flag only works reliably after 2.16.1. Configure tests
72252 # for this are difficult, so hard wire a value that should work.
72254 ac_test_CFLAGS="${CFLAGS+set}"
72255 ac_save_CFLAGS="$CFLAGS"
72256 CFLAGS='-Wl,--gc-sections'
72258 # Check for -Wl,--gc-sections
72259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
72260 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
72261 if test x$gcc_no_link = xyes; then
72262 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72265 /* end confdefs.h. */
72266 int one(void) { return 1; }
72267 int two(void) { return 2; }
72270 main ()
72272 two();
72274 return 0;
72276 _ACEOF
72277 if ac_fn_c_try_link "$LINENO"; then :
72278 ac_gcsections=yes
72279 else
72280 ac_gcsections=no
72282 rm -f core conftest.err conftest.$ac_objext \
72283 conftest$ac_exeext conftest.$ac_ext
72284 if test "$ac_gcsections" = "yes"; then
72285 rm -f conftest.c
72286 touch conftest.c
72287 if $CC -c conftest.c; then
72288 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
72289 grep "Warning: gc-sections option ignored" > /dev/null; then
72290 ac_gcsections=no
72293 rm -f conftest.c conftest.o conftest
72295 if test "$ac_gcsections" = "yes"; then
72296 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
72298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
72299 $as_echo "$ac_gcsections" >&6; }
72301 if test "$ac_test_CFLAGS" = set; then
72302 CFLAGS="$ac_save_CFLAGS"
72303 else
72304 # this is the suspicious part
72305 CFLAGS=''
72309 # Set -z,relro.
72310 # Note this is only for shared objects.
72311 ac_ld_relro=no
72312 if test x"$with_gnu_ld" = x"yes"; then
72313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
72314 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
72315 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
72316 if test -n "$cxx_z_relo"; then
72317 OPT_LDFLAGS="-Wl,-z,relro"
72318 ac_ld_relro=yes
72320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
72321 $as_echo "$ac_ld_relro" >&6; }
72324 # Set linker optimization flags.
72325 if test x"$with_gnu_ld" = x"yes"; then
72326 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
72332 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
72334 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72336 $as_echo "#define HAVE_FPCLASS 1" >>confdefs.h
72338 # All of the dependencies for wide character support are here, so
72339 # turn it on.
72340 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
72342 # These two C99 functions are present only in Solaris >= 10
72343 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
72345 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
72347 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72349 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72351 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
72353 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72356 *-tpf)
72357 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72358 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72360 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72362 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72364 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72366 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72368 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72370 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72372 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72374 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72376 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72378 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72380 if test x"long_double_math_on_this_cpu" = x"yes"; then
72381 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72383 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72385 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72387 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72391 *-*vms*)
72392 # Check for available headers.
72393 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72395 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72396 ac_save_CXXFLAGS="$CXXFLAGS"
72397 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72400 $as_echo_n "checking for sin in -lm... " >&6; }
72401 if test "${ac_cv_lib_m_sin+set}" = set; then :
72402 $as_echo_n "(cached) " >&6
72403 else
72404 ac_check_lib_save_LIBS=$LIBS
72405 LIBS="-lm $LIBS"
72406 if test x$gcc_no_link = xyes; then
72407 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72410 /* end confdefs.h. */
72412 /* Override any GCC internal prototype to avoid an error.
72413 Use char because int might match the return type of a GCC
72414 builtin and then its argument prototype would still apply. */
72415 #ifdef __cplusplus
72416 extern "C"
72417 #endif
72418 char sin ();
72420 main ()
72422 return sin ();
72424 return 0;
72426 _ACEOF
72427 if ac_fn_c_try_link "$LINENO"; then :
72428 ac_cv_lib_m_sin=yes
72429 else
72430 ac_cv_lib_m_sin=no
72432 rm -f core conftest.err conftest.$ac_objext \
72433 conftest$ac_exeext conftest.$ac_ext
72434 LIBS=$ac_check_lib_save_LIBS
72436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72437 $as_echo "$ac_cv_lib_m_sin" >&6; }
72438 if test "x$ac_cv_lib_m_sin" = x""yes; then :
72439 libm="-lm"
72442 ac_save_LIBS="$LIBS"
72443 LIBS="$LIBS $libm"
72447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72448 $as_echo_n "checking for isinf declaration... " >&6; }
72449 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72450 if test "${glibcxx_cv_func_isinf_use+set}" = set; then :
72451 $as_echo_n "(cached) " >&6
72452 else
72455 ac_ext=cpp
72456 ac_cpp='$CXXCPP $CPPFLAGS'
72457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72462 /* end confdefs.h. */
72463 #include <math.h>
72464 #ifdef HAVE_IEEEFP_H
72465 #include <ieeefp.h>
72466 #endif
72469 main ()
72471 isinf(0);
72473 return 0;
72475 _ACEOF
72476 if ac_fn_cxx_try_compile "$LINENO"; then :
72477 glibcxx_cv_func_isinf_use=yes
72478 else
72479 glibcxx_cv_func_isinf_use=no
72481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72482 ac_ext=c
72483 ac_cpp='$CPP $CPPFLAGS'
72484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72493 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72495 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72496 for ac_func in isinf
72497 do :
72498 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72499 if test "x$ac_cv_func_isinf" = x""yes; then :
72500 cat >>confdefs.h <<_ACEOF
72501 #define HAVE_ISINF 1
72502 _ACEOF
72505 done
72507 else
72509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72510 $as_echo_n "checking for _isinf declaration... " >&6; }
72511 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72512 if test "${glibcxx_cv_func__isinf_use+set}" = set; then :
72513 $as_echo_n "(cached) " >&6
72514 else
72517 ac_ext=cpp
72518 ac_cpp='$CXXCPP $CPPFLAGS'
72519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72524 /* end confdefs.h. */
72525 #include <math.h>
72526 #ifdef HAVE_IEEEFP_H
72527 #include <ieeefp.h>
72528 #endif
72531 main ()
72533 _isinf(0);
72535 return 0;
72537 _ACEOF
72538 if ac_fn_cxx_try_compile "$LINENO"; then :
72539 glibcxx_cv_func__isinf_use=yes
72540 else
72541 glibcxx_cv_func__isinf_use=no
72543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72544 ac_ext=c
72545 ac_cpp='$CPP $CPPFLAGS'
72546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72555 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72557 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72558 for ac_func in _isinf
72559 do :
72560 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72561 if test "x$ac_cv_func__isinf" = x""yes; then :
72562 cat >>confdefs.h <<_ACEOF
72563 #define HAVE__ISINF 1
72564 _ACEOF
72567 done
72576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72577 $as_echo_n "checking for isnan declaration... " >&6; }
72578 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72579 if test "${glibcxx_cv_func_isnan_use+set}" = set; then :
72580 $as_echo_n "(cached) " >&6
72581 else
72584 ac_ext=cpp
72585 ac_cpp='$CXXCPP $CPPFLAGS'
72586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72591 /* end confdefs.h. */
72592 #include <math.h>
72593 #ifdef HAVE_IEEEFP_H
72594 #include <ieeefp.h>
72595 #endif
72598 main ()
72600 isnan(0);
72602 return 0;
72604 _ACEOF
72605 if ac_fn_cxx_try_compile "$LINENO"; then :
72606 glibcxx_cv_func_isnan_use=yes
72607 else
72608 glibcxx_cv_func_isnan_use=no
72610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72611 ac_ext=c
72612 ac_cpp='$CPP $CPPFLAGS'
72613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
72622 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
72624 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
72625 for ac_func in isnan
72626 do :
72627 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
72628 if test "x$ac_cv_func_isnan" = x""yes; then :
72629 cat >>confdefs.h <<_ACEOF
72630 #define HAVE_ISNAN 1
72631 _ACEOF
72634 done
72636 else
72638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
72639 $as_echo_n "checking for _isnan declaration... " >&6; }
72640 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
72641 if test "${glibcxx_cv_func__isnan_use+set}" = set; then :
72642 $as_echo_n "(cached) " >&6
72643 else
72646 ac_ext=cpp
72647 ac_cpp='$CXXCPP $CPPFLAGS'
72648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72653 /* end confdefs.h. */
72654 #include <math.h>
72655 #ifdef HAVE_IEEEFP_H
72656 #include <ieeefp.h>
72657 #endif
72660 main ()
72662 _isnan(0);
72664 return 0;
72666 _ACEOF
72667 if ac_fn_cxx_try_compile "$LINENO"; then :
72668 glibcxx_cv_func__isnan_use=yes
72669 else
72670 glibcxx_cv_func__isnan_use=no
72672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72673 ac_ext=c
72674 ac_cpp='$CPP $CPPFLAGS'
72675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
72684 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
72686 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
72687 for ac_func in _isnan
72688 do :
72689 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
72690 if test "x$ac_cv_func__isnan" = x""yes; then :
72691 cat >>confdefs.h <<_ACEOF
72692 #define HAVE__ISNAN 1
72693 _ACEOF
72696 done
72705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
72706 $as_echo_n "checking for finite declaration... " >&6; }
72707 if test x${glibcxx_cv_func_finite_use+set} != xset; then
72708 if test "${glibcxx_cv_func_finite_use+set}" = set; then :
72709 $as_echo_n "(cached) " >&6
72710 else
72713 ac_ext=cpp
72714 ac_cpp='$CXXCPP $CPPFLAGS'
72715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72720 /* end confdefs.h. */
72721 #include <math.h>
72722 #ifdef HAVE_IEEEFP_H
72723 #include <ieeefp.h>
72724 #endif
72727 main ()
72729 finite(0);
72731 return 0;
72733 _ACEOF
72734 if ac_fn_cxx_try_compile "$LINENO"; then :
72735 glibcxx_cv_func_finite_use=yes
72736 else
72737 glibcxx_cv_func_finite_use=no
72739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72740 ac_ext=c
72741 ac_cpp='$CPP $CPPFLAGS'
72742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
72751 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
72753 if test x$glibcxx_cv_func_finite_use = x"yes"; then
72754 for ac_func in finite
72755 do :
72756 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
72757 if test "x$ac_cv_func_finite" = x""yes; then :
72758 cat >>confdefs.h <<_ACEOF
72759 #define HAVE_FINITE 1
72760 _ACEOF
72763 done
72765 else
72767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
72768 $as_echo_n "checking for _finite declaration... " >&6; }
72769 if test x${glibcxx_cv_func__finite_use+set} != xset; then
72770 if test "${glibcxx_cv_func__finite_use+set}" = set; then :
72771 $as_echo_n "(cached) " >&6
72772 else
72775 ac_ext=cpp
72776 ac_cpp='$CXXCPP $CPPFLAGS'
72777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72782 /* end confdefs.h. */
72783 #include <math.h>
72784 #ifdef HAVE_IEEEFP_H
72785 #include <ieeefp.h>
72786 #endif
72789 main ()
72791 _finite(0);
72793 return 0;
72795 _ACEOF
72796 if ac_fn_cxx_try_compile "$LINENO"; then :
72797 glibcxx_cv_func__finite_use=yes
72798 else
72799 glibcxx_cv_func__finite_use=no
72801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72802 ac_ext=c
72803 ac_cpp='$CPP $CPPFLAGS'
72804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
72813 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
72815 if test x$glibcxx_cv_func__finite_use = x"yes"; then
72816 for ac_func in _finite
72817 do :
72818 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
72819 if test "x$ac_cv_func__finite" = x""yes; then :
72820 cat >>confdefs.h <<_ACEOF
72821 #define HAVE__FINITE 1
72822 _ACEOF
72825 done
72834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
72835 $as_echo_n "checking for sincos declaration... " >&6; }
72836 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
72837 if test "${glibcxx_cv_func_sincos_use+set}" = set; then :
72838 $as_echo_n "(cached) " >&6
72839 else
72842 ac_ext=cpp
72843 ac_cpp='$CXXCPP $CPPFLAGS'
72844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72849 /* end confdefs.h. */
72850 #include <math.h>
72852 main ()
72854 sincos(0, 0, 0);
72856 return 0;
72858 _ACEOF
72859 if ac_fn_cxx_try_compile "$LINENO"; then :
72860 glibcxx_cv_func_sincos_use=yes
72861 else
72862 glibcxx_cv_func_sincos_use=no
72864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72865 ac_ext=c
72866 ac_cpp='$CPP $CPPFLAGS'
72867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
72876 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
72878 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
72879 for ac_func in sincos
72880 do :
72881 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
72882 if test "x$ac_cv_func_sincos" = x""yes; then :
72883 cat >>confdefs.h <<_ACEOF
72884 #define HAVE_SINCOS 1
72885 _ACEOF
72888 done
72890 else
72892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
72893 $as_echo_n "checking for _sincos declaration... " >&6; }
72894 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
72895 if test "${glibcxx_cv_func__sincos_use+set}" = set; then :
72896 $as_echo_n "(cached) " >&6
72897 else
72900 ac_ext=cpp
72901 ac_cpp='$CXXCPP $CPPFLAGS'
72902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72907 /* end confdefs.h. */
72908 #include <math.h>
72910 main ()
72912 _sincos(0, 0, 0);
72914 return 0;
72916 _ACEOF
72917 if ac_fn_cxx_try_compile "$LINENO"; then :
72918 glibcxx_cv_func__sincos_use=yes
72919 else
72920 glibcxx_cv_func__sincos_use=no
72922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72923 ac_ext=c
72924 ac_cpp='$CPP $CPPFLAGS'
72925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
72934 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
72936 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
72937 for ac_func in _sincos
72938 do :
72939 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
72940 if test "x$ac_cv_func__sincos" = x""yes; then :
72941 cat >>confdefs.h <<_ACEOF
72942 #define HAVE__SINCOS 1
72943 _ACEOF
72946 done
72955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
72956 $as_echo_n "checking for fpclass declaration... " >&6; }
72957 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
72958 if test "${glibcxx_cv_func_fpclass_use+set}" = set; then :
72959 $as_echo_n "(cached) " >&6
72960 else
72963 ac_ext=cpp
72964 ac_cpp='$CXXCPP $CPPFLAGS'
72965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72970 /* end confdefs.h. */
72971 #include <math.h>
72972 #ifdef HAVE_IEEEFP_H
72973 #include <ieeefp.h>
72974 #endif
72977 main ()
72979 fpclass(0);
72981 return 0;
72983 _ACEOF
72984 if ac_fn_cxx_try_compile "$LINENO"; then :
72985 glibcxx_cv_func_fpclass_use=yes
72986 else
72987 glibcxx_cv_func_fpclass_use=no
72989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72990 ac_ext=c
72991 ac_cpp='$CPP $CPPFLAGS'
72992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73001 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73003 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73004 for ac_func in fpclass
73005 do :
73006 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73007 if test "x$ac_cv_func_fpclass" = x""yes; then :
73008 cat >>confdefs.h <<_ACEOF
73009 #define HAVE_FPCLASS 1
73010 _ACEOF
73013 done
73015 else
73017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73018 $as_echo_n "checking for _fpclass declaration... " >&6; }
73019 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73020 if test "${glibcxx_cv_func__fpclass_use+set}" = set; then :
73021 $as_echo_n "(cached) " >&6
73022 else
73025 ac_ext=cpp
73026 ac_cpp='$CXXCPP $CPPFLAGS'
73027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73032 /* end confdefs.h. */
73033 #include <math.h>
73034 #ifdef HAVE_IEEEFP_H
73035 #include <ieeefp.h>
73036 #endif
73039 main ()
73041 _fpclass(0);
73043 return 0;
73045 _ACEOF
73046 if ac_fn_cxx_try_compile "$LINENO"; then :
73047 glibcxx_cv_func__fpclass_use=yes
73048 else
73049 glibcxx_cv_func__fpclass_use=no
73051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73052 ac_ext=c
73053 ac_cpp='$CPP $CPPFLAGS'
73054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73063 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73065 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73066 for ac_func in _fpclass
73067 do :
73068 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73069 if test "x$ac_cv_func__fpclass" = x""yes; then :
73070 cat >>confdefs.h <<_ACEOF
73071 #define HAVE__FPCLASS 1
73072 _ACEOF
73075 done
73084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73085 $as_echo_n "checking for qfpclass declaration... " >&6; }
73086 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73087 if test "${glibcxx_cv_func_qfpclass_use+set}" = set; then :
73088 $as_echo_n "(cached) " >&6
73089 else
73092 ac_ext=cpp
73093 ac_cpp='$CXXCPP $CPPFLAGS'
73094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73099 /* end confdefs.h. */
73100 #include <math.h>
73101 #ifdef HAVE_IEEEFP_H
73102 #include <ieeefp.h>
73103 #endif
73106 main ()
73108 qfpclass(0);
73110 return 0;
73112 _ACEOF
73113 if ac_fn_cxx_try_compile "$LINENO"; then :
73114 glibcxx_cv_func_qfpclass_use=yes
73115 else
73116 glibcxx_cv_func_qfpclass_use=no
73118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73119 ac_ext=c
73120 ac_cpp='$CPP $CPPFLAGS'
73121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73130 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73132 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73133 for ac_func in qfpclass
73134 do :
73135 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73136 if test "x$ac_cv_func_qfpclass" = x""yes; then :
73137 cat >>confdefs.h <<_ACEOF
73138 #define HAVE_QFPCLASS 1
73139 _ACEOF
73142 done
73144 else
73146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73147 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73148 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73149 if test "${glibcxx_cv_func__qfpclass_use+set}" = set; then :
73150 $as_echo_n "(cached) " >&6
73151 else
73154 ac_ext=cpp
73155 ac_cpp='$CXXCPP $CPPFLAGS'
73156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73161 /* end confdefs.h. */
73162 #include <math.h>
73163 #ifdef HAVE_IEEEFP_H
73164 #include <ieeefp.h>
73165 #endif
73168 main ()
73170 _qfpclass(0);
73172 return 0;
73174 _ACEOF
73175 if ac_fn_cxx_try_compile "$LINENO"; then :
73176 glibcxx_cv_func__qfpclass_use=yes
73177 else
73178 glibcxx_cv_func__qfpclass_use=no
73180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73181 ac_ext=c
73182 ac_cpp='$CPP $CPPFLAGS'
73183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73192 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73194 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73195 for ac_func in _qfpclass
73196 do :
73197 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73198 if test "x$ac_cv_func__qfpclass" = x""yes; then :
73199 cat >>confdefs.h <<_ACEOF
73200 #define HAVE__QFPCLASS 1
73201 _ACEOF
73204 done
73213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73214 $as_echo_n "checking for hypot declaration... " >&6; }
73215 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73216 if test "${glibcxx_cv_func_hypot_use+set}" = set; then :
73217 $as_echo_n "(cached) " >&6
73218 else
73221 ac_ext=cpp
73222 ac_cpp='$CXXCPP $CPPFLAGS'
73223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73228 /* end confdefs.h. */
73229 #include <math.h>
73231 main ()
73233 hypot(0, 0);
73235 return 0;
73237 _ACEOF
73238 if ac_fn_cxx_try_compile "$LINENO"; then :
73239 glibcxx_cv_func_hypot_use=yes
73240 else
73241 glibcxx_cv_func_hypot_use=no
73243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73244 ac_ext=c
73245 ac_cpp='$CPP $CPPFLAGS'
73246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73255 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73257 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73258 for ac_func in hypot
73259 do :
73260 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73261 if test "x$ac_cv_func_hypot" = x""yes; then :
73262 cat >>confdefs.h <<_ACEOF
73263 #define HAVE_HYPOT 1
73264 _ACEOF
73267 done
73269 else
73271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73272 $as_echo_n "checking for _hypot declaration... " >&6; }
73273 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73274 if test "${glibcxx_cv_func__hypot_use+set}" = set; then :
73275 $as_echo_n "(cached) " >&6
73276 else
73279 ac_ext=cpp
73280 ac_cpp='$CXXCPP $CPPFLAGS'
73281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73286 /* end confdefs.h. */
73287 #include <math.h>
73289 main ()
73291 _hypot(0, 0);
73293 return 0;
73295 _ACEOF
73296 if ac_fn_cxx_try_compile "$LINENO"; then :
73297 glibcxx_cv_func__hypot_use=yes
73298 else
73299 glibcxx_cv_func__hypot_use=no
73301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73302 ac_ext=c
73303 ac_cpp='$CPP $CPPFLAGS'
73304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73313 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73315 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73316 for ac_func in _hypot
73317 do :
73318 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73319 if test "x$ac_cv_func__hypot" = x""yes; then :
73320 cat >>confdefs.h <<_ACEOF
73321 #define HAVE__HYPOT 1
73322 _ACEOF
73325 done
73334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73335 $as_echo_n "checking for float trig functions... " >&6; }
73336 if test "${glibcxx_cv_func_float_trig_use+set}" = set; then :
73337 $as_echo_n "(cached) " >&6
73338 else
73341 ac_ext=cpp
73342 ac_cpp='$CXXCPP $CPPFLAGS'
73343 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73344 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73345 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73348 /* end confdefs.h. */
73349 #include <math.h>
73351 main ()
73353 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73355 return 0;
73357 _ACEOF
73358 if ac_fn_cxx_try_compile "$LINENO"; then :
73359 glibcxx_cv_func_float_trig_use=yes
73360 else
73361 glibcxx_cv_func_float_trig_use=no
73363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73364 ac_ext=c
73365 ac_cpp='$CPP $CPPFLAGS'
73366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73373 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73374 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73375 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73376 do :
73377 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73378 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73379 eval as_val=\$$as_ac_var
73380 if test "x$as_val" = x""yes; then :
73381 cat >>confdefs.h <<_ACEOF
73382 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73383 _ACEOF
73386 done
73388 else
73389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73390 $as_echo_n "checking for _float trig functions... " >&6; }
73391 if test "${glibcxx_cv_func__float_trig_use+set}" = set; then :
73392 $as_echo_n "(cached) " >&6
73393 else
73396 ac_ext=cpp
73397 ac_cpp='$CXXCPP $CPPFLAGS'
73398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73403 /* end confdefs.h. */
73404 #include <math.h>
73406 main ()
73408 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73410 return 0;
73412 _ACEOF
73413 if ac_fn_cxx_try_compile "$LINENO"; then :
73414 glibcxx_cv_func__float_trig_use=yes
73415 else
73416 glibcxx_cv_func__float_trig_use=no
73418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73419 ac_ext=c
73420 ac_cpp='$CPP $CPPFLAGS'
73421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73428 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73429 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73430 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73431 do :
73432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73434 eval as_val=\$$as_ac_var
73435 if test "x$as_val" = x""yes; then :
73436 cat >>confdefs.h <<_ACEOF
73437 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73438 _ACEOF
73441 done
73450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73451 $as_echo_n "checking for float round functions... " >&6; }
73452 if test "${glibcxx_cv_func_float_round_use+set}" = set; then :
73453 $as_echo_n "(cached) " >&6
73454 else
73457 ac_ext=cpp
73458 ac_cpp='$CXXCPP $CPPFLAGS'
73459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73464 /* end confdefs.h. */
73465 #include <math.h>
73467 main ()
73469 ceilf (0); floorf (0);
73471 return 0;
73473 _ACEOF
73474 if ac_fn_cxx_try_compile "$LINENO"; then :
73475 glibcxx_cv_func_float_round_use=yes
73476 else
73477 glibcxx_cv_func_float_round_use=no
73479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73480 ac_ext=c
73481 ac_cpp='$CPP $CPPFLAGS'
73482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73489 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73490 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73491 for ac_func in ceilf floorf
73492 do :
73493 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73494 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73495 eval as_val=\$$as_ac_var
73496 if test "x$as_val" = x""yes; then :
73497 cat >>confdefs.h <<_ACEOF
73498 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73499 _ACEOF
73502 done
73504 else
73505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73506 $as_echo_n "checking for _float round functions... " >&6; }
73507 if test "${glibcxx_cv_func__float_round_use+set}" = set; then :
73508 $as_echo_n "(cached) " >&6
73509 else
73512 ac_ext=cpp
73513 ac_cpp='$CXXCPP $CPPFLAGS'
73514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73519 /* end confdefs.h. */
73520 #include <math.h>
73522 main ()
73524 _ceilf (0); _floorf (0);
73526 return 0;
73528 _ACEOF
73529 if ac_fn_cxx_try_compile "$LINENO"; then :
73530 glibcxx_cv_func__float_round_use=yes
73531 else
73532 glibcxx_cv_func__float_round_use=no
73534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73535 ac_ext=c
73536 ac_cpp='$CPP $CPPFLAGS'
73537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73544 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73545 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73546 for ac_func in _ceilf _floorf
73547 do :
73548 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73549 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73550 eval as_val=\$$as_ac_var
73551 if test "x$as_val" = x""yes; then :
73552 cat >>confdefs.h <<_ACEOF
73553 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73554 _ACEOF
73557 done
73567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73568 $as_echo_n "checking for expf declaration... " >&6; }
73569 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73570 if test "${glibcxx_cv_func_expf_use+set}" = set; then :
73571 $as_echo_n "(cached) " >&6
73572 else
73575 ac_ext=cpp
73576 ac_cpp='$CXXCPP $CPPFLAGS'
73577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73582 /* end confdefs.h. */
73583 #include <math.h>
73584 #ifdef HAVE_IEEEFP_H
73585 #include <ieeefp.h>
73586 #endif
73589 main ()
73591 expf(0);
73593 return 0;
73595 _ACEOF
73596 if ac_fn_cxx_try_compile "$LINENO"; then :
73597 glibcxx_cv_func_expf_use=yes
73598 else
73599 glibcxx_cv_func_expf_use=no
73601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73602 ac_ext=c
73603 ac_cpp='$CPP $CPPFLAGS'
73604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
73613 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
73615 if test x$glibcxx_cv_func_expf_use = x"yes"; then
73616 for ac_func in expf
73617 do :
73618 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
73619 if test "x$ac_cv_func_expf" = x""yes; then :
73620 cat >>confdefs.h <<_ACEOF
73621 #define HAVE_EXPF 1
73622 _ACEOF
73625 done
73627 else
73629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
73630 $as_echo_n "checking for _expf declaration... " >&6; }
73631 if test x${glibcxx_cv_func__expf_use+set} != xset; then
73632 if test "${glibcxx_cv_func__expf_use+set}" = set; then :
73633 $as_echo_n "(cached) " >&6
73634 else
73637 ac_ext=cpp
73638 ac_cpp='$CXXCPP $CPPFLAGS'
73639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73644 /* end confdefs.h. */
73645 #include <math.h>
73646 #ifdef HAVE_IEEEFP_H
73647 #include <ieeefp.h>
73648 #endif
73651 main ()
73653 _expf(0);
73655 return 0;
73657 _ACEOF
73658 if ac_fn_cxx_try_compile "$LINENO"; then :
73659 glibcxx_cv_func__expf_use=yes
73660 else
73661 glibcxx_cv_func__expf_use=no
73663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73664 ac_ext=c
73665 ac_cpp='$CPP $CPPFLAGS'
73666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
73675 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
73677 if test x$glibcxx_cv_func__expf_use = x"yes"; then
73678 for ac_func in _expf
73679 do :
73680 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
73681 if test "x$ac_cv_func__expf" = x""yes; then :
73682 cat >>confdefs.h <<_ACEOF
73683 #define HAVE__EXPF 1
73684 _ACEOF
73687 done
73696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
73697 $as_echo_n "checking for isnanf declaration... " >&6; }
73698 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
73699 if test "${glibcxx_cv_func_isnanf_use+set}" = set; then :
73700 $as_echo_n "(cached) " >&6
73701 else
73704 ac_ext=cpp
73705 ac_cpp='$CXXCPP $CPPFLAGS'
73706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73711 /* end confdefs.h. */
73712 #include <math.h>
73713 #ifdef HAVE_IEEEFP_H
73714 #include <ieeefp.h>
73715 #endif
73718 main ()
73720 isnanf(0);
73722 return 0;
73724 _ACEOF
73725 if ac_fn_cxx_try_compile "$LINENO"; then :
73726 glibcxx_cv_func_isnanf_use=yes
73727 else
73728 glibcxx_cv_func_isnanf_use=no
73730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73731 ac_ext=c
73732 ac_cpp='$CPP $CPPFLAGS'
73733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
73742 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
73744 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
73745 for ac_func in isnanf
73746 do :
73747 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
73748 if test "x$ac_cv_func_isnanf" = x""yes; then :
73749 cat >>confdefs.h <<_ACEOF
73750 #define HAVE_ISNANF 1
73751 _ACEOF
73754 done
73756 else
73758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
73759 $as_echo_n "checking for _isnanf declaration... " >&6; }
73760 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
73761 if test "${glibcxx_cv_func__isnanf_use+set}" = set; then :
73762 $as_echo_n "(cached) " >&6
73763 else
73766 ac_ext=cpp
73767 ac_cpp='$CXXCPP $CPPFLAGS'
73768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73773 /* end confdefs.h. */
73774 #include <math.h>
73775 #ifdef HAVE_IEEEFP_H
73776 #include <ieeefp.h>
73777 #endif
73780 main ()
73782 _isnanf(0);
73784 return 0;
73786 _ACEOF
73787 if ac_fn_cxx_try_compile "$LINENO"; then :
73788 glibcxx_cv_func__isnanf_use=yes
73789 else
73790 glibcxx_cv_func__isnanf_use=no
73792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73793 ac_ext=c
73794 ac_cpp='$CPP $CPPFLAGS'
73795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
73804 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
73806 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
73807 for ac_func in _isnanf
73808 do :
73809 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
73810 if test "x$ac_cv_func__isnanf" = x""yes; then :
73811 cat >>confdefs.h <<_ACEOF
73812 #define HAVE__ISNANF 1
73813 _ACEOF
73816 done
73825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
73826 $as_echo_n "checking for isinff declaration... " >&6; }
73827 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
73828 if test "${glibcxx_cv_func_isinff_use+set}" = set; then :
73829 $as_echo_n "(cached) " >&6
73830 else
73833 ac_ext=cpp
73834 ac_cpp='$CXXCPP $CPPFLAGS'
73835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73840 /* end confdefs.h. */
73841 #include <math.h>
73842 #ifdef HAVE_IEEEFP_H
73843 #include <ieeefp.h>
73844 #endif
73847 main ()
73849 isinff(0);
73851 return 0;
73853 _ACEOF
73854 if ac_fn_cxx_try_compile "$LINENO"; then :
73855 glibcxx_cv_func_isinff_use=yes
73856 else
73857 glibcxx_cv_func_isinff_use=no
73859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73860 ac_ext=c
73861 ac_cpp='$CPP $CPPFLAGS'
73862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
73871 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
73873 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
73874 for ac_func in isinff
73875 do :
73876 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
73877 if test "x$ac_cv_func_isinff" = x""yes; then :
73878 cat >>confdefs.h <<_ACEOF
73879 #define HAVE_ISINFF 1
73880 _ACEOF
73883 done
73885 else
73887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
73888 $as_echo_n "checking for _isinff declaration... " >&6; }
73889 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
73890 if test "${glibcxx_cv_func__isinff_use+set}" = set; then :
73891 $as_echo_n "(cached) " >&6
73892 else
73895 ac_ext=cpp
73896 ac_cpp='$CXXCPP $CPPFLAGS'
73897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73902 /* end confdefs.h. */
73903 #include <math.h>
73904 #ifdef HAVE_IEEEFP_H
73905 #include <ieeefp.h>
73906 #endif
73909 main ()
73911 _isinff(0);
73913 return 0;
73915 _ACEOF
73916 if ac_fn_cxx_try_compile "$LINENO"; then :
73917 glibcxx_cv_func__isinff_use=yes
73918 else
73919 glibcxx_cv_func__isinff_use=no
73921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73922 ac_ext=c
73923 ac_cpp='$CPP $CPPFLAGS'
73924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
73933 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
73935 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
73936 for ac_func in _isinff
73937 do :
73938 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
73939 if test "x$ac_cv_func__isinff" = x""yes; then :
73940 cat >>confdefs.h <<_ACEOF
73941 #define HAVE__ISINFF 1
73942 _ACEOF
73945 done
73954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
73955 $as_echo_n "checking for atan2f declaration... " >&6; }
73956 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
73957 if test "${glibcxx_cv_func_atan2f_use+set}" = set; then :
73958 $as_echo_n "(cached) " >&6
73959 else
73962 ac_ext=cpp
73963 ac_cpp='$CXXCPP $CPPFLAGS'
73964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73969 /* end confdefs.h. */
73970 #include <math.h>
73972 main ()
73974 atan2f(0, 0);
73976 return 0;
73978 _ACEOF
73979 if ac_fn_cxx_try_compile "$LINENO"; then :
73980 glibcxx_cv_func_atan2f_use=yes
73981 else
73982 glibcxx_cv_func_atan2f_use=no
73984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73985 ac_ext=c
73986 ac_cpp='$CPP $CPPFLAGS'
73987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
73996 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
73998 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
73999 for ac_func in atan2f
74000 do :
74001 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74002 if test "x$ac_cv_func_atan2f" = x""yes; then :
74003 cat >>confdefs.h <<_ACEOF
74004 #define HAVE_ATAN2F 1
74005 _ACEOF
74008 done
74010 else
74012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74013 $as_echo_n "checking for _atan2f declaration... " >&6; }
74014 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74015 if test "${glibcxx_cv_func__atan2f_use+set}" = set; then :
74016 $as_echo_n "(cached) " >&6
74017 else
74020 ac_ext=cpp
74021 ac_cpp='$CXXCPP $CPPFLAGS'
74022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74027 /* end confdefs.h. */
74028 #include <math.h>
74030 main ()
74032 _atan2f(0, 0);
74034 return 0;
74036 _ACEOF
74037 if ac_fn_cxx_try_compile "$LINENO"; then :
74038 glibcxx_cv_func__atan2f_use=yes
74039 else
74040 glibcxx_cv_func__atan2f_use=no
74042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74043 ac_ext=c
74044 ac_cpp='$CPP $CPPFLAGS'
74045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74054 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74056 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74057 for ac_func in _atan2f
74058 do :
74059 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74060 if test "x$ac_cv_func__atan2f" = x""yes; then :
74061 cat >>confdefs.h <<_ACEOF
74062 #define HAVE__ATAN2F 1
74063 _ACEOF
74066 done
74075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74076 $as_echo_n "checking for fabsf declaration... " >&6; }
74077 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74078 if test "${glibcxx_cv_func_fabsf_use+set}" = set; then :
74079 $as_echo_n "(cached) " >&6
74080 else
74083 ac_ext=cpp
74084 ac_cpp='$CXXCPP $CPPFLAGS'
74085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74090 /* end confdefs.h. */
74091 #include <math.h>
74092 #ifdef HAVE_IEEEFP_H
74093 #include <ieeefp.h>
74094 #endif
74097 main ()
74099 fabsf(0);
74101 return 0;
74103 _ACEOF
74104 if ac_fn_cxx_try_compile "$LINENO"; then :
74105 glibcxx_cv_func_fabsf_use=yes
74106 else
74107 glibcxx_cv_func_fabsf_use=no
74109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74110 ac_ext=c
74111 ac_cpp='$CPP $CPPFLAGS'
74112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74121 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74123 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74124 for ac_func in fabsf
74125 do :
74126 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74127 if test "x$ac_cv_func_fabsf" = x""yes; then :
74128 cat >>confdefs.h <<_ACEOF
74129 #define HAVE_FABSF 1
74130 _ACEOF
74133 done
74135 else
74137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74138 $as_echo_n "checking for _fabsf declaration... " >&6; }
74139 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74140 if test "${glibcxx_cv_func__fabsf_use+set}" = set; then :
74141 $as_echo_n "(cached) " >&6
74142 else
74145 ac_ext=cpp
74146 ac_cpp='$CXXCPP $CPPFLAGS'
74147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74152 /* end confdefs.h. */
74153 #include <math.h>
74154 #ifdef HAVE_IEEEFP_H
74155 #include <ieeefp.h>
74156 #endif
74159 main ()
74161 _fabsf(0);
74163 return 0;
74165 _ACEOF
74166 if ac_fn_cxx_try_compile "$LINENO"; then :
74167 glibcxx_cv_func__fabsf_use=yes
74168 else
74169 glibcxx_cv_func__fabsf_use=no
74171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74172 ac_ext=c
74173 ac_cpp='$CPP $CPPFLAGS'
74174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74183 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74185 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74186 for ac_func in _fabsf
74187 do :
74188 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74189 if test "x$ac_cv_func__fabsf" = x""yes; then :
74190 cat >>confdefs.h <<_ACEOF
74191 #define HAVE__FABSF 1
74192 _ACEOF
74195 done
74204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74205 $as_echo_n "checking for fmodf declaration... " >&6; }
74206 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74207 if test "${glibcxx_cv_func_fmodf_use+set}" = set; then :
74208 $as_echo_n "(cached) " >&6
74209 else
74212 ac_ext=cpp
74213 ac_cpp='$CXXCPP $CPPFLAGS'
74214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74219 /* end confdefs.h. */
74220 #include <math.h>
74222 main ()
74224 fmodf(0, 0);
74226 return 0;
74228 _ACEOF
74229 if ac_fn_cxx_try_compile "$LINENO"; then :
74230 glibcxx_cv_func_fmodf_use=yes
74231 else
74232 glibcxx_cv_func_fmodf_use=no
74234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74235 ac_ext=c
74236 ac_cpp='$CPP $CPPFLAGS'
74237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74246 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74248 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74249 for ac_func in fmodf
74250 do :
74251 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74252 if test "x$ac_cv_func_fmodf" = x""yes; then :
74253 cat >>confdefs.h <<_ACEOF
74254 #define HAVE_FMODF 1
74255 _ACEOF
74258 done
74260 else
74262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74263 $as_echo_n "checking for _fmodf declaration... " >&6; }
74264 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74265 if test "${glibcxx_cv_func__fmodf_use+set}" = set; then :
74266 $as_echo_n "(cached) " >&6
74267 else
74270 ac_ext=cpp
74271 ac_cpp='$CXXCPP $CPPFLAGS'
74272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74277 /* end confdefs.h. */
74278 #include <math.h>
74280 main ()
74282 _fmodf(0, 0);
74284 return 0;
74286 _ACEOF
74287 if ac_fn_cxx_try_compile "$LINENO"; then :
74288 glibcxx_cv_func__fmodf_use=yes
74289 else
74290 glibcxx_cv_func__fmodf_use=no
74292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74293 ac_ext=c
74294 ac_cpp='$CPP $CPPFLAGS'
74295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74304 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74306 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74307 for ac_func in _fmodf
74308 do :
74309 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74310 if test "x$ac_cv_func__fmodf" = x""yes; then :
74311 cat >>confdefs.h <<_ACEOF
74312 #define HAVE__FMODF 1
74313 _ACEOF
74316 done
74325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74326 $as_echo_n "checking for frexpf declaration... " >&6; }
74327 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74328 if test "${glibcxx_cv_func_frexpf_use+set}" = set; then :
74329 $as_echo_n "(cached) " >&6
74330 else
74333 ac_ext=cpp
74334 ac_cpp='$CXXCPP $CPPFLAGS'
74335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74340 /* end confdefs.h. */
74341 #include <math.h>
74343 main ()
74345 frexpf(0, 0);
74347 return 0;
74349 _ACEOF
74350 if ac_fn_cxx_try_compile "$LINENO"; then :
74351 glibcxx_cv_func_frexpf_use=yes
74352 else
74353 glibcxx_cv_func_frexpf_use=no
74355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74356 ac_ext=c
74357 ac_cpp='$CPP $CPPFLAGS'
74358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74367 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74369 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74370 for ac_func in frexpf
74371 do :
74372 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74373 if test "x$ac_cv_func_frexpf" = x""yes; then :
74374 cat >>confdefs.h <<_ACEOF
74375 #define HAVE_FREXPF 1
74376 _ACEOF
74379 done
74381 else
74383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74384 $as_echo_n "checking for _frexpf declaration... " >&6; }
74385 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74386 if test "${glibcxx_cv_func__frexpf_use+set}" = set; then :
74387 $as_echo_n "(cached) " >&6
74388 else
74391 ac_ext=cpp
74392 ac_cpp='$CXXCPP $CPPFLAGS'
74393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74398 /* end confdefs.h. */
74399 #include <math.h>
74401 main ()
74403 _frexpf(0, 0);
74405 return 0;
74407 _ACEOF
74408 if ac_fn_cxx_try_compile "$LINENO"; then :
74409 glibcxx_cv_func__frexpf_use=yes
74410 else
74411 glibcxx_cv_func__frexpf_use=no
74413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74414 ac_ext=c
74415 ac_cpp='$CPP $CPPFLAGS'
74416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74425 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74427 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74428 for ac_func in _frexpf
74429 do :
74430 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74431 if test "x$ac_cv_func__frexpf" = x""yes; then :
74432 cat >>confdefs.h <<_ACEOF
74433 #define HAVE__FREXPF 1
74434 _ACEOF
74437 done
74446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74447 $as_echo_n "checking for hypotf declaration... " >&6; }
74448 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74449 if test "${glibcxx_cv_func_hypotf_use+set}" = set; then :
74450 $as_echo_n "(cached) " >&6
74451 else
74454 ac_ext=cpp
74455 ac_cpp='$CXXCPP $CPPFLAGS'
74456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74461 /* end confdefs.h. */
74462 #include <math.h>
74464 main ()
74466 hypotf(0, 0);
74468 return 0;
74470 _ACEOF
74471 if ac_fn_cxx_try_compile "$LINENO"; then :
74472 glibcxx_cv_func_hypotf_use=yes
74473 else
74474 glibcxx_cv_func_hypotf_use=no
74476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74477 ac_ext=c
74478 ac_cpp='$CPP $CPPFLAGS'
74479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74488 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74490 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74491 for ac_func in hypotf
74492 do :
74493 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74494 if test "x$ac_cv_func_hypotf" = x""yes; then :
74495 cat >>confdefs.h <<_ACEOF
74496 #define HAVE_HYPOTF 1
74497 _ACEOF
74500 done
74502 else
74504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74505 $as_echo_n "checking for _hypotf declaration... " >&6; }
74506 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74507 if test "${glibcxx_cv_func__hypotf_use+set}" = set; then :
74508 $as_echo_n "(cached) " >&6
74509 else
74512 ac_ext=cpp
74513 ac_cpp='$CXXCPP $CPPFLAGS'
74514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74519 /* end confdefs.h. */
74520 #include <math.h>
74522 main ()
74524 _hypotf(0, 0);
74526 return 0;
74528 _ACEOF
74529 if ac_fn_cxx_try_compile "$LINENO"; then :
74530 glibcxx_cv_func__hypotf_use=yes
74531 else
74532 glibcxx_cv_func__hypotf_use=no
74534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74535 ac_ext=c
74536 ac_cpp='$CPP $CPPFLAGS'
74537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74546 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74548 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74549 for ac_func in _hypotf
74550 do :
74551 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74552 if test "x$ac_cv_func__hypotf" = x""yes; then :
74553 cat >>confdefs.h <<_ACEOF
74554 #define HAVE__HYPOTF 1
74555 _ACEOF
74558 done
74567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74568 $as_echo_n "checking for ldexpf declaration... " >&6; }
74569 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74570 if test "${glibcxx_cv_func_ldexpf_use+set}" = set; then :
74571 $as_echo_n "(cached) " >&6
74572 else
74575 ac_ext=cpp
74576 ac_cpp='$CXXCPP $CPPFLAGS'
74577 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74578 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74579 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74582 /* end confdefs.h. */
74583 #include <math.h>
74585 main ()
74587 ldexpf(0, 0);
74589 return 0;
74591 _ACEOF
74592 if ac_fn_cxx_try_compile "$LINENO"; then :
74593 glibcxx_cv_func_ldexpf_use=yes
74594 else
74595 glibcxx_cv_func_ldexpf_use=no
74597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74598 ac_ext=c
74599 ac_cpp='$CPP $CPPFLAGS'
74600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
74609 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
74611 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
74612 for ac_func in ldexpf
74613 do :
74614 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
74615 if test "x$ac_cv_func_ldexpf" = x""yes; then :
74616 cat >>confdefs.h <<_ACEOF
74617 #define HAVE_LDEXPF 1
74618 _ACEOF
74621 done
74623 else
74625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
74626 $as_echo_n "checking for _ldexpf declaration... " >&6; }
74627 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
74628 if test "${glibcxx_cv_func__ldexpf_use+set}" = set; then :
74629 $as_echo_n "(cached) " >&6
74630 else
74633 ac_ext=cpp
74634 ac_cpp='$CXXCPP $CPPFLAGS'
74635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74640 /* end confdefs.h. */
74641 #include <math.h>
74643 main ()
74645 _ldexpf(0, 0);
74647 return 0;
74649 _ACEOF
74650 if ac_fn_cxx_try_compile "$LINENO"; then :
74651 glibcxx_cv_func__ldexpf_use=yes
74652 else
74653 glibcxx_cv_func__ldexpf_use=no
74655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74656 ac_ext=c
74657 ac_cpp='$CPP $CPPFLAGS'
74658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
74667 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
74669 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
74670 for ac_func in _ldexpf
74671 do :
74672 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
74673 if test "x$ac_cv_func__ldexpf" = x""yes; then :
74674 cat >>confdefs.h <<_ACEOF
74675 #define HAVE__LDEXPF 1
74676 _ACEOF
74679 done
74688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
74689 $as_echo_n "checking for logf declaration... " >&6; }
74690 if test x${glibcxx_cv_func_logf_use+set} != xset; then
74691 if test "${glibcxx_cv_func_logf_use+set}" = set; then :
74692 $as_echo_n "(cached) " >&6
74693 else
74696 ac_ext=cpp
74697 ac_cpp='$CXXCPP $CPPFLAGS'
74698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74703 /* end confdefs.h. */
74704 #include <math.h>
74705 #ifdef HAVE_IEEEFP_H
74706 #include <ieeefp.h>
74707 #endif
74710 main ()
74712 logf(0);
74714 return 0;
74716 _ACEOF
74717 if ac_fn_cxx_try_compile "$LINENO"; then :
74718 glibcxx_cv_func_logf_use=yes
74719 else
74720 glibcxx_cv_func_logf_use=no
74722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74723 ac_ext=c
74724 ac_cpp='$CPP $CPPFLAGS'
74725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
74734 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
74736 if test x$glibcxx_cv_func_logf_use = x"yes"; then
74737 for ac_func in logf
74738 do :
74739 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
74740 if test "x$ac_cv_func_logf" = x""yes; then :
74741 cat >>confdefs.h <<_ACEOF
74742 #define HAVE_LOGF 1
74743 _ACEOF
74746 done
74748 else
74750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
74751 $as_echo_n "checking for _logf declaration... " >&6; }
74752 if test x${glibcxx_cv_func__logf_use+set} != xset; then
74753 if test "${glibcxx_cv_func__logf_use+set}" = set; then :
74754 $as_echo_n "(cached) " >&6
74755 else
74758 ac_ext=cpp
74759 ac_cpp='$CXXCPP $CPPFLAGS'
74760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74765 /* end confdefs.h. */
74766 #include <math.h>
74767 #ifdef HAVE_IEEEFP_H
74768 #include <ieeefp.h>
74769 #endif
74772 main ()
74774 _logf(0);
74776 return 0;
74778 _ACEOF
74779 if ac_fn_cxx_try_compile "$LINENO"; then :
74780 glibcxx_cv_func__logf_use=yes
74781 else
74782 glibcxx_cv_func__logf_use=no
74784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74785 ac_ext=c
74786 ac_cpp='$CPP $CPPFLAGS'
74787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
74796 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
74798 if test x$glibcxx_cv_func__logf_use = x"yes"; then
74799 for ac_func in _logf
74800 do :
74801 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
74802 if test "x$ac_cv_func__logf" = x""yes; then :
74803 cat >>confdefs.h <<_ACEOF
74804 #define HAVE__LOGF 1
74805 _ACEOF
74808 done
74817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
74818 $as_echo_n "checking for log10f declaration... " >&6; }
74819 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
74820 if test "${glibcxx_cv_func_log10f_use+set}" = set; then :
74821 $as_echo_n "(cached) " >&6
74822 else
74825 ac_ext=cpp
74826 ac_cpp='$CXXCPP $CPPFLAGS'
74827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74832 /* end confdefs.h. */
74833 #include <math.h>
74834 #ifdef HAVE_IEEEFP_H
74835 #include <ieeefp.h>
74836 #endif
74839 main ()
74841 log10f(0);
74843 return 0;
74845 _ACEOF
74846 if ac_fn_cxx_try_compile "$LINENO"; then :
74847 glibcxx_cv_func_log10f_use=yes
74848 else
74849 glibcxx_cv_func_log10f_use=no
74851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74852 ac_ext=c
74853 ac_cpp='$CPP $CPPFLAGS'
74854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
74863 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
74865 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
74866 for ac_func in log10f
74867 do :
74868 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
74869 if test "x$ac_cv_func_log10f" = x""yes; then :
74870 cat >>confdefs.h <<_ACEOF
74871 #define HAVE_LOG10F 1
74872 _ACEOF
74875 done
74877 else
74879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
74880 $as_echo_n "checking for _log10f declaration... " >&6; }
74881 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
74882 if test "${glibcxx_cv_func__log10f_use+set}" = set; then :
74883 $as_echo_n "(cached) " >&6
74884 else
74887 ac_ext=cpp
74888 ac_cpp='$CXXCPP $CPPFLAGS'
74889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74894 /* end confdefs.h. */
74895 #include <math.h>
74896 #ifdef HAVE_IEEEFP_H
74897 #include <ieeefp.h>
74898 #endif
74901 main ()
74903 _log10f(0);
74905 return 0;
74907 _ACEOF
74908 if ac_fn_cxx_try_compile "$LINENO"; then :
74909 glibcxx_cv_func__log10f_use=yes
74910 else
74911 glibcxx_cv_func__log10f_use=no
74913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74914 ac_ext=c
74915 ac_cpp='$CPP $CPPFLAGS'
74916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
74925 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
74927 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
74928 for ac_func in _log10f
74929 do :
74930 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
74931 if test "x$ac_cv_func__log10f" = x""yes; then :
74932 cat >>confdefs.h <<_ACEOF
74933 #define HAVE__LOG10F 1
74934 _ACEOF
74937 done
74946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
74947 $as_echo_n "checking for modff declaration... " >&6; }
74948 if test x${glibcxx_cv_func_modff_use+set} != xset; then
74949 if test "${glibcxx_cv_func_modff_use+set}" = set; then :
74950 $as_echo_n "(cached) " >&6
74951 else
74954 ac_ext=cpp
74955 ac_cpp='$CXXCPP $CPPFLAGS'
74956 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74957 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74958 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74961 /* end confdefs.h. */
74962 #include <math.h>
74964 main ()
74966 modff(0, 0);
74968 return 0;
74970 _ACEOF
74971 if ac_fn_cxx_try_compile "$LINENO"; then :
74972 glibcxx_cv_func_modff_use=yes
74973 else
74974 glibcxx_cv_func_modff_use=no
74976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74977 ac_ext=c
74978 ac_cpp='$CPP $CPPFLAGS'
74979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
74988 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
74990 if test x$glibcxx_cv_func_modff_use = x"yes"; then
74991 for ac_func in modff
74992 do :
74993 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
74994 if test "x$ac_cv_func_modff" = x""yes; then :
74995 cat >>confdefs.h <<_ACEOF
74996 #define HAVE_MODFF 1
74997 _ACEOF
75000 done
75002 else
75004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75005 $as_echo_n "checking for _modff declaration... " >&6; }
75006 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75007 if test "${glibcxx_cv_func__modff_use+set}" = set; then :
75008 $as_echo_n "(cached) " >&6
75009 else
75012 ac_ext=cpp
75013 ac_cpp='$CXXCPP $CPPFLAGS'
75014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75019 /* end confdefs.h. */
75020 #include <math.h>
75022 main ()
75024 _modff(0, 0);
75026 return 0;
75028 _ACEOF
75029 if ac_fn_cxx_try_compile "$LINENO"; then :
75030 glibcxx_cv_func__modff_use=yes
75031 else
75032 glibcxx_cv_func__modff_use=no
75034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75035 ac_ext=c
75036 ac_cpp='$CPP $CPPFLAGS'
75037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75046 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75048 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75049 for ac_func in _modff
75050 do :
75051 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75052 if test "x$ac_cv_func__modff" = x""yes; then :
75053 cat >>confdefs.h <<_ACEOF
75054 #define HAVE__MODFF 1
75055 _ACEOF
75058 done
75067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75068 $as_echo_n "checking for modf declaration... " >&6; }
75069 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75070 if test "${glibcxx_cv_func_modf_use+set}" = set; then :
75071 $as_echo_n "(cached) " >&6
75072 else
75075 ac_ext=cpp
75076 ac_cpp='$CXXCPP $CPPFLAGS'
75077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75082 /* end confdefs.h. */
75083 #include <math.h>
75085 main ()
75087 modf(0, 0);
75089 return 0;
75091 _ACEOF
75092 if ac_fn_cxx_try_compile "$LINENO"; then :
75093 glibcxx_cv_func_modf_use=yes
75094 else
75095 glibcxx_cv_func_modf_use=no
75097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75098 ac_ext=c
75099 ac_cpp='$CPP $CPPFLAGS'
75100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75109 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75111 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75112 for ac_func in modf
75113 do :
75114 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75115 if test "x$ac_cv_func_modf" = x""yes; then :
75116 cat >>confdefs.h <<_ACEOF
75117 #define HAVE_MODF 1
75118 _ACEOF
75121 done
75123 else
75125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75126 $as_echo_n "checking for _modf declaration... " >&6; }
75127 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75128 if test "${glibcxx_cv_func__modf_use+set}" = set; then :
75129 $as_echo_n "(cached) " >&6
75130 else
75133 ac_ext=cpp
75134 ac_cpp='$CXXCPP $CPPFLAGS'
75135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75140 /* end confdefs.h. */
75141 #include <math.h>
75143 main ()
75145 _modf(0, 0);
75147 return 0;
75149 _ACEOF
75150 if ac_fn_cxx_try_compile "$LINENO"; then :
75151 glibcxx_cv_func__modf_use=yes
75152 else
75153 glibcxx_cv_func__modf_use=no
75155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75156 ac_ext=c
75157 ac_cpp='$CPP $CPPFLAGS'
75158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75167 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75169 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75170 for ac_func in _modf
75171 do :
75172 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75173 if test "x$ac_cv_func__modf" = x""yes; then :
75174 cat >>confdefs.h <<_ACEOF
75175 #define HAVE__MODF 1
75176 _ACEOF
75179 done
75188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75189 $as_echo_n "checking for powf declaration... " >&6; }
75190 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75191 if test "${glibcxx_cv_func_powf_use+set}" = set; then :
75192 $as_echo_n "(cached) " >&6
75193 else
75196 ac_ext=cpp
75197 ac_cpp='$CXXCPP $CPPFLAGS'
75198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75203 /* end confdefs.h. */
75204 #include <math.h>
75206 main ()
75208 powf(0, 0);
75210 return 0;
75212 _ACEOF
75213 if ac_fn_cxx_try_compile "$LINENO"; then :
75214 glibcxx_cv_func_powf_use=yes
75215 else
75216 glibcxx_cv_func_powf_use=no
75218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75219 ac_ext=c
75220 ac_cpp='$CPP $CPPFLAGS'
75221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75230 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75232 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75233 for ac_func in powf
75234 do :
75235 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75236 if test "x$ac_cv_func_powf" = x""yes; then :
75237 cat >>confdefs.h <<_ACEOF
75238 #define HAVE_POWF 1
75239 _ACEOF
75242 done
75244 else
75246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75247 $as_echo_n "checking for _powf declaration... " >&6; }
75248 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75249 if test "${glibcxx_cv_func__powf_use+set}" = set; then :
75250 $as_echo_n "(cached) " >&6
75251 else
75254 ac_ext=cpp
75255 ac_cpp='$CXXCPP $CPPFLAGS'
75256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75261 /* end confdefs.h. */
75262 #include <math.h>
75264 main ()
75266 _powf(0, 0);
75268 return 0;
75270 _ACEOF
75271 if ac_fn_cxx_try_compile "$LINENO"; then :
75272 glibcxx_cv_func__powf_use=yes
75273 else
75274 glibcxx_cv_func__powf_use=no
75276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75277 ac_ext=c
75278 ac_cpp='$CPP $CPPFLAGS'
75279 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75280 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75281 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75288 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75290 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75291 for ac_func in _powf
75292 do :
75293 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75294 if test "x$ac_cv_func__powf" = x""yes; then :
75295 cat >>confdefs.h <<_ACEOF
75296 #define HAVE__POWF 1
75297 _ACEOF
75300 done
75309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75310 $as_echo_n "checking for sqrtf declaration... " >&6; }
75311 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75312 if test "${glibcxx_cv_func_sqrtf_use+set}" = set; then :
75313 $as_echo_n "(cached) " >&6
75314 else
75317 ac_ext=cpp
75318 ac_cpp='$CXXCPP $CPPFLAGS'
75319 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75320 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75321 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75324 /* end confdefs.h. */
75325 #include <math.h>
75326 #ifdef HAVE_IEEEFP_H
75327 #include <ieeefp.h>
75328 #endif
75331 main ()
75333 sqrtf(0);
75335 return 0;
75337 _ACEOF
75338 if ac_fn_cxx_try_compile "$LINENO"; then :
75339 glibcxx_cv_func_sqrtf_use=yes
75340 else
75341 glibcxx_cv_func_sqrtf_use=no
75343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75344 ac_ext=c
75345 ac_cpp='$CPP $CPPFLAGS'
75346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75355 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75357 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75358 for ac_func in sqrtf
75359 do :
75360 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75361 if test "x$ac_cv_func_sqrtf" = x""yes; then :
75362 cat >>confdefs.h <<_ACEOF
75363 #define HAVE_SQRTF 1
75364 _ACEOF
75367 done
75369 else
75371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75372 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75373 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75374 if test "${glibcxx_cv_func__sqrtf_use+set}" = set; then :
75375 $as_echo_n "(cached) " >&6
75376 else
75379 ac_ext=cpp
75380 ac_cpp='$CXXCPP $CPPFLAGS'
75381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75386 /* end confdefs.h. */
75387 #include <math.h>
75388 #ifdef HAVE_IEEEFP_H
75389 #include <ieeefp.h>
75390 #endif
75393 main ()
75395 _sqrtf(0);
75397 return 0;
75399 _ACEOF
75400 if ac_fn_cxx_try_compile "$LINENO"; then :
75401 glibcxx_cv_func__sqrtf_use=yes
75402 else
75403 glibcxx_cv_func__sqrtf_use=no
75405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75406 ac_ext=c
75407 ac_cpp='$CPP $CPPFLAGS'
75408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75417 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75419 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75420 for ac_func in _sqrtf
75421 do :
75422 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75423 if test "x$ac_cv_func__sqrtf" = x""yes; then :
75424 cat >>confdefs.h <<_ACEOF
75425 #define HAVE__SQRTF 1
75426 _ACEOF
75429 done
75438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75439 $as_echo_n "checking for sincosf declaration... " >&6; }
75440 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75441 if test "${glibcxx_cv_func_sincosf_use+set}" = set; then :
75442 $as_echo_n "(cached) " >&6
75443 else
75446 ac_ext=cpp
75447 ac_cpp='$CXXCPP $CPPFLAGS'
75448 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75449 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75450 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75453 /* end confdefs.h. */
75454 #include <math.h>
75456 main ()
75458 sincosf(0, 0, 0);
75460 return 0;
75462 _ACEOF
75463 if ac_fn_cxx_try_compile "$LINENO"; then :
75464 glibcxx_cv_func_sincosf_use=yes
75465 else
75466 glibcxx_cv_func_sincosf_use=no
75468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75469 ac_ext=c
75470 ac_cpp='$CPP $CPPFLAGS'
75471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75480 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75482 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75483 for ac_func in sincosf
75484 do :
75485 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75486 if test "x$ac_cv_func_sincosf" = x""yes; then :
75487 cat >>confdefs.h <<_ACEOF
75488 #define HAVE_SINCOSF 1
75489 _ACEOF
75492 done
75494 else
75496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75497 $as_echo_n "checking for _sincosf declaration... " >&6; }
75498 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75499 if test "${glibcxx_cv_func__sincosf_use+set}" = set; then :
75500 $as_echo_n "(cached) " >&6
75501 else
75504 ac_ext=cpp
75505 ac_cpp='$CXXCPP $CPPFLAGS'
75506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75511 /* end confdefs.h. */
75512 #include <math.h>
75514 main ()
75516 _sincosf(0, 0, 0);
75518 return 0;
75520 _ACEOF
75521 if ac_fn_cxx_try_compile "$LINENO"; then :
75522 glibcxx_cv_func__sincosf_use=yes
75523 else
75524 glibcxx_cv_func__sincosf_use=no
75526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75527 ac_ext=c
75528 ac_cpp='$CPP $CPPFLAGS'
75529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75538 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75540 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75541 for ac_func in _sincosf
75542 do :
75543 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75544 if test "x$ac_cv_func__sincosf" = x""yes; then :
75545 cat >>confdefs.h <<_ACEOF
75546 #define HAVE__SINCOSF 1
75547 _ACEOF
75550 done
75559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75560 $as_echo_n "checking for finitef declaration... " >&6; }
75561 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75562 if test "${glibcxx_cv_func_finitef_use+set}" = set; then :
75563 $as_echo_n "(cached) " >&6
75564 else
75567 ac_ext=cpp
75568 ac_cpp='$CXXCPP $CPPFLAGS'
75569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75574 /* end confdefs.h. */
75575 #include <math.h>
75576 #ifdef HAVE_IEEEFP_H
75577 #include <ieeefp.h>
75578 #endif
75581 main ()
75583 finitef(0);
75585 return 0;
75587 _ACEOF
75588 if ac_fn_cxx_try_compile "$LINENO"; then :
75589 glibcxx_cv_func_finitef_use=yes
75590 else
75591 glibcxx_cv_func_finitef_use=no
75593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75594 ac_ext=c
75595 ac_cpp='$CPP $CPPFLAGS'
75596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
75605 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
75607 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
75608 for ac_func in finitef
75609 do :
75610 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
75611 if test "x$ac_cv_func_finitef" = x""yes; then :
75612 cat >>confdefs.h <<_ACEOF
75613 #define HAVE_FINITEF 1
75614 _ACEOF
75617 done
75619 else
75621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
75622 $as_echo_n "checking for _finitef declaration... " >&6; }
75623 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
75624 if test "${glibcxx_cv_func__finitef_use+set}" = set; then :
75625 $as_echo_n "(cached) " >&6
75626 else
75629 ac_ext=cpp
75630 ac_cpp='$CXXCPP $CPPFLAGS'
75631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75636 /* end confdefs.h. */
75637 #include <math.h>
75638 #ifdef HAVE_IEEEFP_H
75639 #include <ieeefp.h>
75640 #endif
75643 main ()
75645 _finitef(0);
75647 return 0;
75649 _ACEOF
75650 if ac_fn_cxx_try_compile "$LINENO"; then :
75651 glibcxx_cv_func__finitef_use=yes
75652 else
75653 glibcxx_cv_func__finitef_use=no
75655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75656 ac_ext=c
75657 ac_cpp='$CPP $CPPFLAGS'
75658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
75667 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
75669 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
75670 for ac_func in _finitef
75671 do :
75672 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
75673 if test "x$ac_cv_func__finitef" = x""yes; then :
75674 cat >>confdefs.h <<_ACEOF
75675 #define HAVE__FINITEF 1
75676 _ACEOF
75679 done
75688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
75689 $as_echo_n "checking for long double trig functions... " >&6; }
75690 if test "${glibcxx_cv_func_long_double_trig_use+set}" = set; then :
75691 $as_echo_n "(cached) " >&6
75692 else
75695 ac_ext=cpp
75696 ac_cpp='$CXXCPP $CPPFLAGS'
75697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75702 /* end confdefs.h. */
75703 #include <math.h>
75705 main ()
75707 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
75709 return 0;
75711 _ACEOF
75712 if ac_fn_cxx_try_compile "$LINENO"; then :
75713 glibcxx_cv_func_long_double_trig_use=yes
75714 else
75715 glibcxx_cv_func_long_double_trig_use=no
75717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75718 ac_ext=c
75719 ac_cpp='$CPP $CPPFLAGS'
75720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
75727 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
75728 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
75729 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
75730 do :
75731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75733 eval as_val=\$$as_ac_var
75734 if test "x$as_val" = x""yes; then :
75735 cat >>confdefs.h <<_ACEOF
75736 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75737 _ACEOF
75740 done
75742 else
75743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
75744 $as_echo_n "checking for _long double trig functions... " >&6; }
75745 if test "${glibcxx_cv_func__long_double_trig_use+set}" = set; then :
75746 $as_echo_n "(cached) " >&6
75747 else
75750 ac_ext=cpp
75751 ac_cpp='$CXXCPP $CPPFLAGS'
75752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75757 /* end confdefs.h. */
75758 #include <math.h>
75760 main ()
75762 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
75764 return 0;
75766 _ACEOF
75767 if ac_fn_cxx_try_compile "$LINENO"; then :
75768 glibcxx_cv_func__long_double_trig_use=yes
75769 else
75770 glibcxx_cv_func__long_double_trig_use=no
75772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75773 ac_ext=c
75774 ac_cpp='$CPP $CPPFLAGS'
75775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
75782 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
75783 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
75784 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
75785 do :
75786 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75787 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75788 eval as_val=\$$as_ac_var
75789 if test "x$as_val" = x""yes; then :
75790 cat >>confdefs.h <<_ACEOF
75791 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75792 _ACEOF
75795 done
75804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
75805 $as_echo_n "checking for long double round functions... " >&6; }
75806 if test "${glibcxx_cv_func_long_double_round_use+set}" = set; then :
75807 $as_echo_n "(cached) " >&6
75808 else
75811 ac_ext=cpp
75812 ac_cpp='$CXXCPP $CPPFLAGS'
75813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75818 /* end confdefs.h. */
75819 #include <math.h>
75821 main ()
75823 ceill (0); floorl (0);
75825 return 0;
75827 _ACEOF
75828 if ac_fn_cxx_try_compile "$LINENO"; then :
75829 glibcxx_cv_func_long_double_round_use=yes
75830 else
75831 glibcxx_cv_func_long_double_round_use=no
75833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75834 ac_ext=c
75835 ac_cpp='$CPP $CPPFLAGS'
75836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
75843 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
75844 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
75845 for ac_func in ceill floorl
75846 do :
75847 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75848 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75849 eval as_val=\$$as_ac_var
75850 if test "x$as_val" = x""yes; then :
75851 cat >>confdefs.h <<_ACEOF
75852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75853 _ACEOF
75856 done
75858 else
75859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
75860 $as_echo_n "checking for _long double round functions... " >&6; }
75861 if test "${glibcxx_cv_func__long_double_round_use+set}" = set; then :
75862 $as_echo_n "(cached) " >&6
75863 else
75866 ac_ext=cpp
75867 ac_cpp='$CXXCPP $CPPFLAGS'
75868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75873 /* end confdefs.h. */
75874 #include <math.h>
75876 main ()
75878 _ceill (0); _floorl (0);
75880 return 0;
75882 _ACEOF
75883 if ac_fn_cxx_try_compile "$LINENO"; then :
75884 glibcxx_cv_func__long_double_round_use=yes
75885 else
75886 glibcxx_cv_func__long_double_round_use=no
75888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75889 ac_ext=c
75890 ac_cpp='$CPP $CPPFLAGS'
75891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
75898 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
75899 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
75900 for ac_func in _ceill _floorl
75901 do :
75902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
75903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
75904 eval as_val=\$$as_ac_var
75905 if test "x$as_val" = x""yes; then :
75906 cat >>confdefs.h <<_ACEOF
75907 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
75908 _ACEOF
75911 done
75921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
75922 $as_echo_n "checking for isnanl declaration... " >&6; }
75923 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
75924 if test "${glibcxx_cv_func_isnanl_use+set}" = set; then :
75925 $as_echo_n "(cached) " >&6
75926 else
75929 ac_ext=cpp
75930 ac_cpp='$CXXCPP $CPPFLAGS'
75931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75936 /* end confdefs.h. */
75937 #include <math.h>
75938 #ifdef HAVE_IEEEFP_H
75939 #include <ieeefp.h>
75940 #endif
75943 main ()
75945 isnanl(0);
75947 return 0;
75949 _ACEOF
75950 if ac_fn_cxx_try_compile "$LINENO"; then :
75951 glibcxx_cv_func_isnanl_use=yes
75952 else
75953 glibcxx_cv_func_isnanl_use=no
75955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75956 ac_ext=c
75957 ac_cpp='$CPP $CPPFLAGS'
75958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
75967 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
75969 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
75970 for ac_func in isnanl
75971 do :
75972 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
75973 if test "x$ac_cv_func_isnanl" = x""yes; then :
75974 cat >>confdefs.h <<_ACEOF
75975 #define HAVE_ISNANL 1
75976 _ACEOF
75979 done
75981 else
75983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
75984 $as_echo_n "checking for _isnanl declaration... " >&6; }
75985 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
75986 if test "${glibcxx_cv_func__isnanl_use+set}" = set; then :
75987 $as_echo_n "(cached) " >&6
75988 else
75991 ac_ext=cpp
75992 ac_cpp='$CXXCPP $CPPFLAGS'
75993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75998 /* end confdefs.h. */
75999 #include <math.h>
76000 #ifdef HAVE_IEEEFP_H
76001 #include <ieeefp.h>
76002 #endif
76005 main ()
76007 _isnanl(0);
76009 return 0;
76011 _ACEOF
76012 if ac_fn_cxx_try_compile "$LINENO"; then :
76013 glibcxx_cv_func__isnanl_use=yes
76014 else
76015 glibcxx_cv_func__isnanl_use=no
76017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76018 ac_ext=c
76019 ac_cpp='$CPP $CPPFLAGS'
76020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76029 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76031 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76032 for ac_func in _isnanl
76033 do :
76034 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76035 if test "x$ac_cv_func__isnanl" = x""yes; then :
76036 cat >>confdefs.h <<_ACEOF
76037 #define HAVE__ISNANL 1
76038 _ACEOF
76041 done
76050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76051 $as_echo_n "checking for isinfl declaration... " >&6; }
76052 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76053 if test "${glibcxx_cv_func_isinfl_use+set}" = set; then :
76054 $as_echo_n "(cached) " >&6
76055 else
76058 ac_ext=cpp
76059 ac_cpp='$CXXCPP $CPPFLAGS'
76060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76065 /* end confdefs.h. */
76066 #include <math.h>
76067 #ifdef HAVE_IEEEFP_H
76068 #include <ieeefp.h>
76069 #endif
76072 main ()
76074 isinfl(0);
76076 return 0;
76078 _ACEOF
76079 if ac_fn_cxx_try_compile "$LINENO"; then :
76080 glibcxx_cv_func_isinfl_use=yes
76081 else
76082 glibcxx_cv_func_isinfl_use=no
76084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76085 ac_ext=c
76086 ac_cpp='$CPP $CPPFLAGS'
76087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76096 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76098 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76099 for ac_func in isinfl
76100 do :
76101 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76102 if test "x$ac_cv_func_isinfl" = x""yes; then :
76103 cat >>confdefs.h <<_ACEOF
76104 #define HAVE_ISINFL 1
76105 _ACEOF
76108 done
76110 else
76112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76113 $as_echo_n "checking for _isinfl declaration... " >&6; }
76114 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76115 if test "${glibcxx_cv_func__isinfl_use+set}" = set; then :
76116 $as_echo_n "(cached) " >&6
76117 else
76120 ac_ext=cpp
76121 ac_cpp='$CXXCPP $CPPFLAGS'
76122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76127 /* end confdefs.h. */
76128 #include <math.h>
76129 #ifdef HAVE_IEEEFP_H
76130 #include <ieeefp.h>
76131 #endif
76134 main ()
76136 _isinfl(0);
76138 return 0;
76140 _ACEOF
76141 if ac_fn_cxx_try_compile "$LINENO"; then :
76142 glibcxx_cv_func__isinfl_use=yes
76143 else
76144 glibcxx_cv_func__isinfl_use=no
76146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76147 ac_ext=c
76148 ac_cpp='$CPP $CPPFLAGS'
76149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76158 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76160 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76161 for ac_func in _isinfl
76162 do :
76163 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76164 if test "x$ac_cv_func__isinfl" = x""yes; then :
76165 cat >>confdefs.h <<_ACEOF
76166 #define HAVE__ISINFL 1
76167 _ACEOF
76170 done
76179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76180 $as_echo_n "checking for atan2l declaration... " >&6; }
76181 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76182 if test "${glibcxx_cv_func_atan2l_use+set}" = set; then :
76183 $as_echo_n "(cached) " >&6
76184 else
76187 ac_ext=cpp
76188 ac_cpp='$CXXCPP $CPPFLAGS'
76189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76194 /* end confdefs.h. */
76195 #include <math.h>
76197 main ()
76199 atan2l(0, 0);
76201 return 0;
76203 _ACEOF
76204 if ac_fn_cxx_try_compile "$LINENO"; then :
76205 glibcxx_cv_func_atan2l_use=yes
76206 else
76207 glibcxx_cv_func_atan2l_use=no
76209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76210 ac_ext=c
76211 ac_cpp='$CPP $CPPFLAGS'
76212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76221 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76223 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76224 for ac_func in atan2l
76225 do :
76226 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76227 if test "x$ac_cv_func_atan2l" = x""yes; then :
76228 cat >>confdefs.h <<_ACEOF
76229 #define HAVE_ATAN2L 1
76230 _ACEOF
76233 done
76235 else
76237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76238 $as_echo_n "checking for _atan2l declaration... " >&6; }
76239 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76240 if test "${glibcxx_cv_func__atan2l_use+set}" = set; then :
76241 $as_echo_n "(cached) " >&6
76242 else
76245 ac_ext=cpp
76246 ac_cpp='$CXXCPP $CPPFLAGS'
76247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76252 /* end confdefs.h. */
76253 #include <math.h>
76255 main ()
76257 _atan2l(0, 0);
76259 return 0;
76261 _ACEOF
76262 if ac_fn_cxx_try_compile "$LINENO"; then :
76263 glibcxx_cv_func__atan2l_use=yes
76264 else
76265 glibcxx_cv_func__atan2l_use=no
76267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76268 ac_ext=c
76269 ac_cpp='$CPP $CPPFLAGS'
76270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76279 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76281 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76282 for ac_func in _atan2l
76283 do :
76284 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76285 if test "x$ac_cv_func__atan2l" = x""yes; then :
76286 cat >>confdefs.h <<_ACEOF
76287 #define HAVE__ATAN2L 1
76288 _ACEOF
76291 done
76300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76301 $as_echo_n "checking for expl declaration... " >&6; }
76302 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76303 if test "${glibcxx_cv_func_expl_use+set}" = set; then :
76304 $as_echo_n "(cached) " >&6
76305 else
76308 ac_ext=cpp
76309 ac_cpp='$CXXCPP $CPPFLAGS'
76310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76315 /* end confdefs.h. */
76316 #include <math.h>
76317 #ifdef HAVE_IEEEFP_H
76318 #include <ieeefp.h>
76319 #endif
76322 main ()
76324 expl(0);
76326 return 0;
76328 _ACEOF
76329 if ac_fn_cxx_try_compile "$LINENO"; then :
76330 glibcxx_cv_func_expl_use=yes
76331 else
76332 glibcxx_cv_func_expl_use=no
76334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76335 ac_ext=c
76336 ac_cpp='$CPP $CPPFLAGS'
76337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76346 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76348 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76349 for ac_func in expl
76350 do :
76351 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76352 if test "x$ac_cv_func_expl" = x""yes; then :
76353 cat >>confdefs.h <<_ACEOF
76354 #define HAVE_EXPL 1
76355 _ACEOF
76358 done
76360 else
76362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76363 $as_echo_n "checking for _expl declaration... " >&6; }
76364 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76365 if test "${glibcxx_cv_func__expl_use+set}" = set; then :
76366 $as_echo_n "(cached) " >&6
76367 else
76370 ac_ext=cpp
76371 ac_cpp='$CXXCPP $CPPFLAGS'
76372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76377 /* end confdefs.h. */
76378 #include <math.h>
76379 #ifdef HAVE_IEEEFP_H
76380 #include <ieeefp.h>
76381 #endif
76384 main ()
76386 _expl(0);
76388 return 0;
76390 _ACEOF
76391 if ac_fn_cxx_try_compile "$LINENO"; then :
76392 glibcxx_cv_func__expl_use=yes
76393 else
76394 glibcxx_cv_func__expl_use=no
76396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76397 ac_ext=c
76398 ac_cpp='$CPP $CPPFLAGS'
76399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76408 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76410 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76411 for ac_func in _expl
76412 do :
76413 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76414 if test "x$ac_cv_func__expl" = x""yes; then :
76415 cat >>confdefs.h <<_ACEOF
76416 #define HAVE__EXPL 1
76417 _ACEOF
76420 done
76429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76430 $as_echo_n "checking for fabsl declaration... " >&6; }
76431 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76432 if test "${glibcxx_cv_func_fabsl_use+set}" = set; then :
76433 $as_echo_n "(cached) " >&6
76434 else
76437 ac_ext=cpp
76438 ac_cpp='$CXXCPP $CPPFLAGS'
76439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76444 /* end confdefs.h. */
76445 #include <math.h>
76446 #ifdef HAVE_IEEEFP_H
76447 #include <ieeefp.h>
76448 #endif
76451 main ()
76453 fabsl(0);
76455 return 0;
76457 _ACEOF
76458 if ac_fn_cxx_try_compile "$LINENO"; then :
76459 glibcxx_cv_func_fabsl_use=yes
76460 else
76461 glibcxx_cv_func_fabsl_use=no
76463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76464 ac_ext=c
76465 ac_cpp='$CPP $CPPFLAGS'
76466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76475 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76477 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76478 for ac_func in fabsl
76479 do :
76480 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76481 if test "x$ac_cv_func_fabsl" = x""yes; then :
76482 cat >>confdefs.h <<_ACEOF
76483 #define HAVE_FABSL 1
76484 _ACEOF
76487 done
76489 else
76491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76492 $as_echo_n "checking for _fabsl declaration... " >&6; }
76493 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76494 if test "${glibcxx_cv_func__fabsl_use+set}" = set; then :
76495 $as_echo_n "(cached) " >&6
76496 else
76499 ac_ext=cpp
76500 ac_cpp='$CXXCPP $CPPFLAGS'
76501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76506 /* end confdefs.h. */
76507 #include <math.h>
76508 #ifdef HAVE_IEEEFP_H
76509 #include <ieeefp.h>
76510 #endif
76513 main ()
76515 _fabsl(0);
76517 return 0;
76519 _ACEOF
76520 if ac_fn_cxx_try_compile "$LINENO"; then :
76521 glibcxx_cv_func__fabsl_use=yes
76522 else
76523 glibcxx_cv_func__fabsl_use=no
76525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76526 ac_ext=c
76527 ac_cpp='$CPP $CPPFLAGS'
76528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76537 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76539 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76540 for ac_func in _fabsl
76541 do :
76542 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76543 if test "x$ac_cv_func__fabsl" = x""yes; then :
76544 cat >>confdefs.h <<_ACEOF
76545 #define HAVE__FABSL 1
76546 _ACEOF
76549 done
76558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76559 $as_echo_n "checking for fmodl declaration... " >&6; }
76560 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76561 if test "${glibcxx_cv_func_fmodl_use+set}" = set; then :
76562 $as_echo_n "(cached) " >&6
76563 else
76566 ac_ext=cpp
76567 ac_cpp='$CXXCPP $CPPFLAGS'
76568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76573 /* end confdefs.h. */
76574 #include <math.h>
76576 main ()
76578 fmodl(0, 0);
76580 return 0;
76582 _ACEOF
76583 if ac_fn_cxx_try_compile "$LINENO"; then :
76584 glibcxx_cv_func_fmodl_use=yes
76585 else
76586 glibcxx_cv_func_fmodl_use=no
76588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76589 ac_ext=c
76590 ac_cpp='$CPP $CPPFLAGS'
76591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
76600 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
76602 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
76603 for ac_func in fmodl
76604 do :
76605 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
76606 if test "x$ac_cv_func_fmodl" = x""yes; then :
76607 cat >>confdefs.h <<_ACEOF
76608 #define HAVE_FMODL 1
76609 _ACEOF
76612 done
76614 else
76616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
76617 $as_echo_n "checking for _fmodl declaration... " >&6; }
76618 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
76619 if test "${glibcxx_cv_func__fmodl_use+set}" = set; then :
76620 $as_echo_n "(cached) " >&6
76621 else
76624 ac_ext=cpp
76625 ac_cpp='$CXXCPP $CPPFLAGS'
76626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76631 /* end confdefs.h. */
76632 #include <math.h>
76634 main ()
76636 _fmodl(0, 0);
76638 return 0;
76640 _ACEOF
76641 if ac_fn_cxx_try_compile "$LINENO"; then :
76642 glibcxx_cv_func__fmodl_use=yes
76643 else
76644 glibcxx_cv_func__fmodl_use=no
76646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76647 ac_ext=c
76648 ac_cpp='$CPP $CPPFLAGS'
76649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
76658 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
76660 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
76661 for ac_func in _fmodl
76662 do :
76663 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
76664 if test "x$ac_cv_func__fmodl" = x""yes; then :
76665 cat >>confdefs.h <<_ACEOF
76666 #define HAVE__FMODL 1
76667 _ACEOF
76670 done
76679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
76680 $as_echo_n "checking for frexpl declaration... " >&6; }
76681 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
76682 if test "${glibcxx_cv_func_frexpl_use+set}" = set; then :
76683 $as_echo_n "(cached) " >&6
76684 else
76687 ac_ext=cpp
76688 ac_cpp='$CXXCPP $CPPFLAGS'
76689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76694 /* end confdefs.h. */
76695 #include <math.h>
76697 main ()
76699 frexpl(0, 0);
76701 return 0;
76703 _ACEOF
76704 if ac_fn_cxx_try_compile "$LINENO"; then :
76705 glibcxx_cv_func_frexpl_use=yes
76706 else
76707 glibcxx_cv_func_frexpl_use=no
76709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76710 ac_ext=c
76711 ac_cpp='$CPP $CPPFLAGS'
76712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
76721 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
76723 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
76724 for ac_func in frexpl
76725 do :
76726 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
76727 if test "x$ac_cv_func_frexpl" = x""yes; then :
76728 cat >>confdefs.h <<_ACEOF
76729 #define HAVE_FREXPL 1
76730 _ACEOF
76733 done
76735 else
76737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
76738 $as_echo_n "checking for _frexpl declaration... " >&6; }
76739 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
76740 if test "${glibcxx_cv_func__frexpl_use+set}" = set; then :
76741 $as_echo_n "(cached) " >&6
76742 else
76745 ac_ext=cpp
76746 ac_cpp='$CXXCPP $CPPFLAGS'
76747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76752 /* end confdefs.h. */
76753 #include <math.h>
76755 main ()
76757 _frexpl(0, 0);
76759 return 0;
76761 _ACEOF
76762 if ac_fn_cxx_try_compile "$LINENO"; then :
76763 glibcxx_cv_func__frexpl_use=yes
76764 else
76765 glibcxx_cv_func__frexpl_use=no
76767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76768 ac_ext=c
76769 ac_cpp='$CPP $CPPFLAGS'
76770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
76779 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
76781 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
76782 for ac_func in _frexpl
76783 do :
76784 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
76785 if test "x$ac_cv_func__frexpl" = x""yes; then :
76786 cat >>confdefs.h <<_ACEOF
76787 #define HAVE__FREXPL 1
76788 _ACEOF
76791 done
76800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
76801 $as_echo_n "checking for hypotl declaration... " >&6; }
76802 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
76803 if test "${glibcxx_cv_func_hypotl_use+set}" = set; then :
76804 $as_echo_n "(cached) " >&6
76805 else
76808 ac_ext=cpp
76809 ac_cpp='$CXXCPP $CPPFLAGS'
76810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76815 /* end confdefs.h. */
76816 #include <math.h>
76818 main ()
76820 hypotl(0, 0);
76822 return 0;
76824 _ACEOF
76825 if ac_fn_cxx_try_compile "$LINENO"; then :
76826 glibcxx_cv_func_hypotl_use=yes
76827 else
76828 glibcxx_cv_func_hypotl_use=no
76830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76831 ac_ext=c
76832 ac_cpp='$CPP $CPPFLAGS'
76833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
76842 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
76844 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
76845 for ac_func in hypotl
76846 do :
76847 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
76848 if test "x$ac_cv_func_hypotl" = x""yes; then :
76849 cat >>confdefs.h <<_ACEOF
76850 #define HAVE_HYPOTL 1
76851 _ACEOF
76854 done
76856 else
76858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
76859 $as_echo_n "checking for _hypotl declaration... " >&6; }
76860 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
76861 if test "${glibcxx_cv_func__hypotl_use+set}" = set; then :
76862 $as_echo_n "(cached) " >&6
76863 else
76866 ac_ext=cpp
76867 ac_cpp='$CXXCPP $CPPFLAGS'
76868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76873 /* end confdefs.h. */
76874 #include <math.h>
76876 main ()
76878 _hypotl(0, 0);
76880 return 0;
76882 _ACEOF
76883 if ac_fn_cxx_try_compile "$LINENO"; then :
76884 glibcxx_cv_func__hypotl_use=yes
76885 else
76886 glibcxx_cv_func__hypotl_use=no
76888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76889 ac_ext=c
76890 ac_cpp='$CPP $CPPFLAGS'
76891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
76900 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
76902 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
76903 for ac_func in _hypotl
76904 do :
76905 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
76906 if test "x$ac_cv_func__hypotl" = x""yes; then :
76907 cat >>confdefs.h <<_ACEOF
76908 #define HAVE__HYPOTL 1
76909 _ACEOF
76912 done
76921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
76922 $as_echo_n "checking for ldexpl declaration... " >&6; }
76923 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
76924 if test "${glibcxx_cv_func_ldexpl_use+set}" = set; then :
76925 $as_echo_n "(cached) " >&6
76926 else
76929 ac_ext=cpp
76930 ac_cpp='$CXXCPP $CPPFLAGS'
76931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76936 /* end confdefs.h. */
76937 #include <math.h>
76939 main ()
76941 ldexpl(0, 0);
76943 return 0;
76945 _ACEOF
76946 if ac_fn_cxx_try_compile "$LINENO"; then :
76947 glibcxx_cv_func_ldexpl_use=yes
76948 else
76949 glibcxx_cv_func_ldexpl_use=no
76951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76952 ac_ext=c
76953 ac_cpp='$CPP $CPPFLAGS'
76954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
76963 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
76965 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
76966 for ac_func in ldexpl
76967 do :
76968 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
76969 if test "x$ac_cv_func_ldexpl" = x""yes; then :
76970 cat >>confdefs.h <<_ACEOF
76971 #define HAVE_LDEXPL 1
76972 _ACEOF
76975 done
76977 else
76979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
76980 $as_echo_n "checking for _ldexpl declaration... " >&6; }
76981 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
76982 if test "${glibcxx_cv_func__ldexpl_use+set}" = set; then :
76983 $as_echo_n "(cached) " >&6
76984 else
76987 ac_ext=cpp
76988 ac_cpp='$CXXCPP $CPPFLAGS'
76989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76994 /* end confdefs.h. */
76995 #include <math.h>
76997 main ()
76999 _ldexpl(0, 0);
77001 return 0;
77003 _ACEOF
77004 if ac_fn_cxx_try_compile "$LINENO"; then :
77005 glibcxx_cv_func__ldexpl_use=yes
77006 else
77007 glibcxx_cv_func__ldexpl_use=no
77009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77010 ac_ext=c
77011 ac_cpp='$CPP $CPPFLAGS'
77012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77021 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77023 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77024 for ac_func in _ldexpl
77025 do :
77026 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77027 if test "x$ac_cv_func__ldexpl" = x""yes; then :
77028 cat >>confdefs.h <<_ACEOF
77029 #define HAVE__LDEXPL 1
77030 _ACEOF
77033 done
77042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77043 $as_echo_n "checking for logl declaration... " >&6; }
77044 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77045 if test "${glibcxx_cv_func_logl_use+set}" = set; then :
77046 $as_echo_n "(cached) " >&6
77047 else
77050 ac_ext=cpp
77051 ac_cpp='$CXXCPP $CPPFLAGS'
77052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77057 /* end confdefs.h. */
77058 #include <math.h>
77059 #ifdef HAVE_IEEEFP_H
77060 #include <ieeefp.h>
77061 #endif
77064 main ()
77066 logl(0);
77068 return 0;
77070 _ACEOF
77071 if ac_fn_cxx_try_compile "$LINENO"; then :
77072 glibcxx_cv_func_logl_use=yes
77073 else
77074 glibcxx_cv_func_logl_use=no
77076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77077 ac_ext=c
77078 ac_cpp='$CPP $CPPFLAGS'
77079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77088 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77090 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77091 for ac_func in logl
77092 do :
77093 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77094 if test "x$ac_cv_func_logl" = x""yes; then :
77095 cat >>confdefs.h <<_ACEOF
77096 #define HAVE_LOGL 1
77097 _ACEOF
77100 done
77102 else
77104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77105 $as_echo_n "checking for _logl declaration... " >&6; }
77106 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77107 if test "${glibcxx_cv_func__logl_use+set}" = set; then :
77108 $as_echo_n "(cached) " >&6
77109 else
77112 ac_ext=cpp
77113 ac_cpp='$CXXCPP $CPPFLAGS'
77114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77119 /* end confdefs.h. */
77120 #include <math.h>
77121 #ifdef HAVE_IEEEFP_H
77122 #include <ieeefp.h>
77123 #endif
77126 main ()
77128 _logl(0);
77130 return 0;
77132 _ACEOF
77133 if ac_fn_cxx_try_compile "$LINENO"; then :
77134 glibcxx_cv_func__logl_use=yes
77135 else
77136 glibcxx_cv_func__logl_use=no
77138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77139 ac_ext=c
77140 ac_cpp='$CPP $CPPFLAGS'
77141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77150 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77152 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77153 for ac_func in _logl
77154 do :
77155 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77156 if test "x$ac_cv_func__logl" = x""yes; then :
77157 cat >>confdefs.h <<_ACEOF
77158 #define HAVE__LOGL 1
77159 _ACEOF
77162 done
77171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77172 $as_echo_n "checking for log10l declaration... " >&6; }
77173 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77174 if test "${glibcxx_cv_func_log10l_use+set}" = set; then :
77175 $as_echo_n "(cached) " >&6
77176 else
77179 ac_ext=cpp
77180 ac_cpp='$CXXCPP $CPPFLAGS'
77181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77186 /* end confdefs.h. */
77187 #include <math.h>
77188 #ifdef HAVE_IEEEFP_H
77189 #include <ieeefp.h>
77190 #endif
77193 main ()
77195 log10l(0);
77197 return 0;
77199 _ACEOF
77200 if ac_fn_cxx_try_compile "$LINENO"; then :
77201 glibcxx_cv_func_log10l_use=yes
77202 else
77203 glibcxx_cv_func_log10l_use=no
77205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77206 ac_ext=c
77207 ac_cpp='$CPP $CPPFLAGS'
77208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77217 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77219 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77220 for ac_func in log10l
77221 do :
77222 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77223 if test "x$ac_cv_func_log10l" = x""yes; then :
77224 cat >>confdefs.h <<_ACEOF
77225 #define HAVE_LOG10L 1
77226 _ACEOF
77229 done
77231 else
77233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77234 $as_echo_n "checking for _log10l declaration... " >&6; }
77235 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77236 if test "${glibcxx_cv_func__log10l_use+set}" = set; then :
77237 $as_echo_n "(cached) " >&6
77238 else
77241 ac_ext=cpp
77242 ac_cpp='$CXXCPP $CPPFLAGS'
77243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77248 /* end confdefs.h. */
77249 #include <math.h>
77250 #ifdef HAVE_IEEEFP_H
77251 #include <ieeefp.h>
77252 #endif
77255 main ()
77257 _log10l(0);
77259 return 0;
77261 _ACEOF
77262 if ac_fn_cxx_try_compile "$LINENO"; then :
77263 glibcxx_cv_func__log10l_use=yes
77264 else
77265 glibcxx_cv_func__log10l_use=no
77267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77268 ac_ext=c
77269 ac_cpp='$CPP $CPPFLAGS'
77270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77279 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77281 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77282 for ac_func in _log10l
77283 do :
77284 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77285 if test "x$ac_cv_func__log10l" = x""yes; then :
77286 cat >>confdefs.h <<_ACEOF
77287 #define HAVE__LOG10L 1
77288 _ACEOF
77291 done
77300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77301 $as_echo_n "checking for modfl declaration... " >&6; }
77302 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77303 if test "${glibcxx_cv_func_modfl_use+set}" = set; then :
77304 $as_echo_n "(cached) " >&6
77305 else
77308 ac_ext=cpp
77309 ac_cpp='$CXXCPP $CPPFLAGS'
77310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77315 /* end confdefs.h. */
77316 #include <math.h>
77318 main ()
77320 modfl(0, 0);
77322 return 0;
77324 _ACEOF
77325 if ac_fn_cxx_try_compile "$LINENO"; then :
77326 glibcxx_cv_func_modfl_use=yes
77327 else
77328 glibcxx_cv_func_modfl_use=no
77330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77331 ac_ext=c
77332 ac_cpp='$CPP $CPPFLAGS'
77333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77335 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77342 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77344 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77345 for ac_func in modfl
77346 do :
77347 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77348 if test "x$ac_cv_func_modfl" = x""yes; then :
77349 cat >>confdefs.h <<_ACEOF
77350 #define HAVE_MODFL 1
77351 _ACEOF
77354 done
77356 else
77358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77359 $as_echo_n "checking for _modfl declaration... " >&6; }
77360 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77361 if test "${glibcxx_cv_func__modfl_use+set}" = set; then :
77362 $as_echo_n "(cached) " >&6
77363 else
77366 ac_ext=cpp
77367 ac_cpp='$CXXCPP $CPPFLAGS'
77368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77373 /* end confdefs.h. */
77374 #include <math.h>
77376 main ()
77378 _modfl(0, 0);
77380 return 0;
77382 _ACEOF
77383 if ac_fn_cxx_try_compile "$LINENO"; then :
77384 glibcxx_cv_func__modfl_use=yes
77385 else
77386 glibcxx_cv_func__modfl_use=no
77388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77389 ac_ext=c
77390 ac_cpp='$CPP $CPPFLAGS'
77391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77400 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77402 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77403 for ac_func in _modfl
77404 do :
77405 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77406 if test "x$ac_cv_func__modfl" = x""yes; then :
77407 cat >>confdefs.h <<_ACEOF
77408 #define HAVE__MODFL 1
77409 _ACEOF
77412 done
77421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77422 $as_echo_n "checking for powl declaration... " >&6; }
77423 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77424 if test "${glibcxx_cv_func_powl_use+set}" = set; then :
77425 $as_echo_n "(cached) " >&6
77426 else
77429 ac_ext=cpp
77430 ac_cpp='$CXXCPP $CPPFLAGS'
77431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77436 /* end confdefs.h. */
77437 #include <math.h>
77439 main ()
77441 powl(0, 0);
77443 return 0;
77445 _ACEOF
77446 if ac_fn_cxx_try_compile "$LINENO"; then :
77447 glibcxx_cv_func_powl_use=yes
77448 else
77449 glibcxx_cv_func_powl_use=no
77451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77452 ac_ext=c
77453 ac_cpp='$CPP $CPPFLAGS'
77454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77463 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77465 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77466 for ac_func in powl
77467 do :
77468 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77469 if test "x$ac_cv_func_powl" = x""yes; then :
77470 cat >>confdefs.h <<_ACEOF
77471 #define HAVE_POWL 1
77472 _ACEOF
77475 done
77477 else
77479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77480 $as_echo_n "checking for _powl declaration... " >&6; }
77481 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77482 if test "${glibcxx_cv_func__powl_use+set}" = set; then :
77483 $as_echo_n "(cached) " >&6
77484 else
77487 ac_ext=cpp
77488 ac_cpp='$CXXCPP $CPPFLAGS'
77489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77494 /* end confdefs.h. */
77495 #include <math.h>
77497 main ()
77499 _powl(0, 0);
77501 return 0;
77503 _ACEOF
77504 if ac_fn_cxx_try_compile "$LINENO"; then :
77505 glibcxx_cv_func__powl_use=yes
77506 else
77507 glibcxx_cv_func__powl_use=no
77509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77510 ac_ext=c
77511 ac_cpp='$CPP $CPPFLAGS'
77512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77521 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77523 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77524 for ac_func in _powl
77525 do :
77526 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77527 if test "x$ac_cv_func__powl" = x""yes; then :
77528 cat >>confdefs.h <<_ACEOF
77529 #define HAVE__POWL 1
77530 _ACEOF
77533 done
77542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77543 $as_echo_n "checking for sqrtl declaration... " >&6; }
77544 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77545 if test "${glibcxx_cv_func_sqrtl_use+set}" = set; then :
77546 $as_echo_n "(cached) " >&6
77547 else
77550 ac_ext=cpp
77551 ac_cpp='$CXXCPP $CPPFLAGS'
77552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77557 /* end confdefs.h. */
77558 #include <math.h>
77559 #ifdef HAVE_IEEEFP_H
77560 #include <ieeefp.h>
77561 #endif
77564 main ()
77566 sqrtl(0);
77568 return 0;
77570 _ACEOF
77571 if ac_fn_cxx_try_compile "$LINENO"; then :
77572 glibcxx_cv_func_sqrtl_use=yes
77573 else
77574 glibcxx_cv_func_sqrtl_use=no
77576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77577 ac_ext=c
77578 ac_cpp='$CPP $CPPFLAGS'
77579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77588 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77590 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77591 for ac_func in sqrtl
77592 do :
77593 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
77594 if test "x$ac_cv_func_sqrtl" = x""yes; then :
77595 cat >>confdefs.h <<_ACEOF
77596 #define HAVE_SQRTL 1
77597 _ACEOF
77600 done
77602 else
77604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
77605 $as_echo_n "checking for _sqrtl declaration... " >&6; }
77606 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
77607 if test "${glibcxx_cv_func__sqrtl_use+set}" = set; then :
77608 $as_echo_n "(cached) " >&6
77609 else
77612 ac_ext=cpp
77613 ac_cpp='$CXXCPP $CPPFLAGS'
77614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77619 /* end confdefs.h. */
77620 #include <math.h>
77621 #ifdef HAVE_IEEEFP_H
77622 #include <ieeefp.h>
77623 #endif
77626 main ()
77628 _sqrtl(0);
77630 return 0;
77632 _ACEOF
77633 if ac_fn_cxx_try_compile "$LINENO"; then :
77634 glibcxx_cv_func__sqrtl_use=yes
77635 else
77636 glibcxx_cv_func__sqrtl_use=no
77638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77639 ac_ext=c
77640 ac_cpp='$CPP $CPPFLAGS'
77641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
77650 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
77652 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
77653 for ac_func in _sqrtl
77654 do :
77655 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
77656 if test "x$ac_cv_func__sqrtl" = x""yes; then :
77657 cat >>confdefs.h <<_ACEOF
77658 #define HAVE__SQRTL 1
77659 _ACEOF
77662 done
77671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
77672 $as_echo_n "checking for sincosl declaration... " >&6; }
77673 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
77674 if test "${glibcxx_cv_func_sincosl_use+set}" = set; then :
77675 $as_echo_n "(cached) " >&6
77676 else
77679 ac_ext=cpp
77680 ac_cpp='$CXXCPP $CPPFLAGS'
77681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77686 /* end confdefs.h. */
77687 #include <math.h>
77689 main ()
77691 sincosl(0, 0, 0);
77693 return 0;
77695 _ACEOF
77696 if ac_fn_cxx_try_compile "$LINENO"; then :
77697 glibcxx_cv_func_sincosl_use=yes
77698 else
77699 glibcxx_cv_func_sincosl_use=no
77701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77702 ac_ext=c
77703 ac_cpp='$CPP $CPPFLAGS'
77704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
77713 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
77715 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
77716 for ac_func in sincosl
77717 do :
77718 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
77719 if test "x$ac_cv_func_sincosl" = x""yes; then :
77720 cat >>confdefs.h <<_ACEOF
77721 #define HAVE_SINCOSL 1
77722 _ACEOF
77725 done
77727 else
77729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
77730 $as_echo_n "checking for _sincosl declaration... " >&6; }
77731 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
77732 if test "${glibcxx_cv_func__sincosl_use+set}" = set; then :
77733 $as_echo_n "(cached) " >&6
77734 else
77737 ac_ext=cpp
77738 ac_cpp='$CXXCPP $CPPFLAGS'
77739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77744 /* end confdefs.h. */
77745 #include <math.h>
77747 main ()
77749 _sincosl(0, 0, 0);
77751 return 0;
77753 _ACEOF
77754 if ac_fn_cxx_try_compile "$LINENO"; then :
77755 glibcxx_cv_func__sincosl_use=yes
77756 else
77757 glibcxx_cv_func__sincosl_use=no
77759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77760 ac_ext=c
77761 ac_cpp='$CPP $CPPFLAGS'
77762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
77771 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
77773 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
77774 for ac_func in _sincosl
77775 do :
77776 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
77777 if test "x$ac_cv_func__sincosl" = x""yes; then :
77778 cat >>confdefs.h <<_ACEOF
77779 #define HAVE__SINCOSL 1
77780 _ACEOF
77783 done
77792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
77793 $as_echo_n "checking for finitel declaration... " >&6; }
77794 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
77795 if test "${glibcxx_cv_func_finitel_use+set}" = set; then :
77796 $as_echo_n "(cached) " >&6
77797 else
77800 ac_ext=cpp
77801 ac_cpp='$CXXCPP $CPPFLAGS'
77802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77807 /* end confdefs.h. */
77808 #include <math.h>
77809 #ifdef HAVE_IEEEFP_H
77810 #include <ieeefp.h>
77811 #endif
77814 main ()
77816 finitel(0);
77818 return 0;
77820 _ACEOF
77821 if ac_fn_cxx_try_compile "$LINENO"; then :
77822 glibcxx_cv_func_finitel_use=yes
77823 else
77824 glibcxx_cv_func_finitel_use=no
77826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77827 ac_ext=c
77828 ac_cpp='$CPP $CPPFLAGS'
77829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
77838 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
77840 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
77841 for ac_func in finitel
77842 do :
77843 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
77844 if test "x$ac_cv_func_finitel" = x""yes; then :
77845 cat >>confdefs.h <<_ACEOF
77846 #define HAVE_FINITEL 1
77847 _ACEOF
77850 done
77852 else
77854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
77855 $as_echo_n "checking for _finitel declaration... " >&6; }
77856 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
77857 if test "${glibcxx_cv_func__finitel_use+set}" = set; then :
77858 $as_echo_n "(cached) " >&6
77859 else
77862 ac_ext=cpp
77863 ac_cpp='$CXXCPP $CPPFLAGS'
77864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77869 /* end confdefs.h. */
77870 #include <math.h>
77871 #ifdef HAVE_IEEEFP_H
77872 #include <ieeefp.h>
77873 #endif
77876 main ()
77878 _finitel(0);
77880 return 0;
77882 _ACEOF
77883 if ac_fn_cxx_try_compile "$LINENO"; then :
77884 glibcxx_cv_func__finitel_use=yes
77885 else
77886 glibcxx_cv_func__finitel_use=no
77888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77889 ac_ext=c
77890 ac_cpp='$CPP $CPPFLAGS'
77891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
77900 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
77902 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
77903 for ac_func in _finitel
77904 do :
77905 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
77906 if test "x$ac_cv_func__finitel" = x""yes; then :
77907 cat >>confdefs.h <<_ACEOF
77908 #define HAVE__FINITEL 1
77909 _ACEOF
77912 done
77920 LIBS="$ac_save_LIBS"
77921 CXXFLAGS="$ac_save_CXXFLAGS"
77924 ac_test_CXXFLAGS="${CXXFLAGS+set}"
77925 ac_save_CXXFLAGS="$CXXFLAGS"
77926 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
77929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
77930 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
77931 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
77932 if test "${glibcxx_cv_func_at_quick_exit_use+set}" = set; then :
77933 $as_echo_n "(cached) " >&6
77934 else
77937 ac_ext=cpp
77938 ac_cpp='$CXXCPP $CPPFLAGS'
77939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77944 /* end confdefs.h. */
77945 #include <stdlib.h>
77947 main ()
77949 at_quick_exit(0);
77951 return 0;
77953 _ACEOF
77954 if ac_fn_cxx_try_compile "$LINENO"; then :
77955 glibcxx_cv_func_at_quick_exit_use=yes
77956 else
77957 glibcxx_cv_func_at_quick_exit_use=no
77959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77960 ac_ext=c
77961 ac_cpp='$CPP $CPPFLAGS'
77962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
77971 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
77972 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
77973 for ac_func in at_quick_exit
77974 do :
77975 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
77976 if test "x$ac_cv_func_at_quick_exit" = x""yes; then :
77977 cat >>confdefs.h <<_ACEOF
77978 #define HAVE_AT_QUICK_EXIT 1
77979 _ACEOF
77982 done
77987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
77988 $as_echo_n "checking for quick_exit declaration... " >&6; }
77989 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
77990 if test "${glibcxx_cv_func_quick_exit_use+set}" = set; then :
77991 $as_echo_n "(cached) " >&6
77992 else
77995 ac_ext=cpp
77996 ac_cpp='$CXXCPP $CPPFLAGS'
77997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78002 /* end confdefs.h. */
78003 #include <stdlib.h>
78005 main ()
78007 quick_exit(0);
78009 return 0;
78011 _ACEOF
78012 if ac_fn_cxx_try_compile "$LINENO"; then :
78013 glibcxx_cv_func_quick_exit_use=yes
78014 else
78015 glibcxx_cv_func_quick_exit_use=no
78017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78018 ac_ext=c
78019 ac_cpp='$CPP $CPPFLAGS'
78020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78029 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78030 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78031 for ac_func in quick_exit
78032 do :
78033 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78034 if test "x$ac_cv_func_quick_exit" = x""yes; then :
78035 cat >>confdefs.h <<_ACEOF
78036 #define HAVE_QUICK_EXIT 1
78037 _ACEOF
78040 done
78045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78046 $as_echo_n "checking for strtold declaration... " >&6; }
78047 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78048 if test "${glibcxx_cv_func_strtold_use+set}" = set; then :
78049 $as_echo_n "(cached) " >&6
78050 else
78053 ac_ext=cpp
78054 ac_cpp='$CXXCPP $CPPFLAGS'
78055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78060 /* end confdefs.h. */
78061 #include <stdlib.h>
78063 main ()
78065 strtold(0, 0);
78067 return 0;
78069 _ACEOF
78070 if ac_fn_cxx_try_compile "$LINENO"; then :
78071 glibcxx_cv_func_strtold_use=yes
78072 else
78073 glibcxx_cv_func_strtold_use=no
78075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78076 ac_ext=c
78077 ac_cpp='$CPP $CPPFLAGS'
78078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78087 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78088 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78089 for ac_func in strtold
78090 do :
78091 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78092 if test "x$ac_cv_func_strtold" = x""yes; then :
78093 cat >>confdefs.h <<_ACEOF
78094 #define HAVE_STRTOLD 1
78095 _ACEOF
78098 done
78105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78106 $as_echo_n "checking for strtof declaration... " >&6; }
78107 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78108 if test "${glibcxx_cv_func_strtof_use+set}" = set; then :
78109 $as_echo_n "(cached) " >&6
78110 else
78113 ac_ext=cpp
78114 ac_cpp='$CXXCPP $CPPFLAGS'
78115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78120 /* end confdefs.h. */
78121 #include <stdlib.h>
78123 main ()
78125 strtof(0, 0);
78127 return 0;
78129 _ACEOF
78130 if ac_fn_cxx_try_compile "$LINENO"; then :
78131 glibcxx_cv_func_strtof_use=yes
78132 else
78133 glibcxx_cv_func_strtof_use=no
78135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78136 ac_ext=c
78137 ac_cpp='$CPP $CPPFLAGS'
78138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78147 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78148 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78149 for ac_func in strtof
78150 do :
78151 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78152 if test "x$ac_cv_func_strtof" = x""yes; then :
78153 cat >>confdefs.h <<_ACEOF
78154 #define HAVE_STRTOF 1
78155 _ACEOF
78158 done
78165 CXXFLAGS="$ac_save_CXXFLAGS"
78168 *-vxworks)
78169 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78171 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78173 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78175 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78177 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78179 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78181 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78183 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78185 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78187 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78189 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78191 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78193 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78195 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78197 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78199 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78201 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78203 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78205 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78207 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78211 as_fn_error "No support for this host/target combination." "$LINENO" 5
78213 esac
78217 # At some point, we should differentiate between architectures
78218 # like x86, which have long double versions, and alpha/powerpc/etc.,
78219 # which don't. For the time being, punt.
78220 if test x"long_double_math_on_this_cpu" = x"yes"; then
78221 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78223 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78225 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78227 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78229 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78231 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78233 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78235 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78237 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78239 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78241 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78243 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78245 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78247 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78249 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78251 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78253 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78255 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78257 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78259 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78261 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78263 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78265 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78270 # Check for _Unwind_GetIPInfo.
78273 # Check whether --with-system-libunwind was given.
78274 if test "${with_system_libunwind+set}" = set; then :
78275 withval=$with_system_libunwind;
78278 # If system-libunwind was not specifically set, pick a default setting.
78279 if test x$with_system_libunwind = x; then
78280 case ${target} in
78281 ia64-*-hpux*) with_system_libunwind=yes ;;
78282 *) with_system_libunwind=no ;;
78283 esac
78285 # Based on system-libunwind and target, do we have ipinfo?
78286 if test x$with_system_libunwind = xyes; then
78287 case ${target} in
78288 ia64-*-*) have_unwind_getipinfo=no ;;
78289 *) have_unwind_getipinfo=yes ;;
78290 esac
78291 else
78292 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78294 case ${target} in
78295 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78296 *) have_unwind_getipinfo=yes ;;
78297 esac
78301 if test x$have_unwind_getipinfo = xyes; then
78303 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78308 # Check whether --enable-linux-futex was given.
78309 if test "${enable_linux_futex+set}" = set; then :
78310 enableval=$enable_linux_futex;
78311 case "$enableval" in
78312 yes|no|default) ;;
78313 *) as_fn_error "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78314 esac
78316 else
78317 enable_linux_futex=default
78321 case "$target" in
78322 *-linux*)
78323 case "$enable_linux_futex" in
78324 default)
78325 # If headers don't have gettid/futex syscalls definition, then
78326 # default to no, otherwise there will be compile time failures.
78327 # Otherwise, default to yes. If we don't detect we are
78328 # compiled/linked against NPTL and not cross-compiling, check
78329 # if programs are run by default against NPTL and if not, issue
78330 # a warning.
78331 enable_linux_futex=no
78332 if test x$gcc_no_link = xyes; then
78333 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78336 /* end confdefs.h. */
78337 #include <sys/syscall.h>
78338 int lk;
78340 main ()
78342 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78344 return 0;
78346 _ACEOF
78347 if ac_fn_c_try_link "$LINENO"; then :
78348 save_LIBS="$LIBS"
78349 LIBS="-lpthread $LIBS"
78350 if test x$gcc_no_link = xyes; then
78351 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78354 /* end confdefs.h. */
78355 #ifndef _GNU_SOURCE
78356 #define _GNU_SOURCE 1
78357 #endif
78358 #include <pthread.h>
78359 pthread_t th; void *status;
78361 main ()
78363 pthread_tryjoin_np (th, &status);
78365 return 0;
78367 _ACEOF
78368 if ac_fn_c_try_link "$LINENO"; then :
78369 enable_linux_futex=yes
78370 else
78371 if test x$cross_compiling = xno; then
78372 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78373 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78375 If so, please configure with --disable-linux-futex" >&5
78376 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78377 If so, please configure with --disable-linux-futex" >&2;}
78380 enable_linux_futex=yes
78382 rm -f core conftest.err conftest.$ac_objext \
78383 conftest$ac_exeext conftest.$ac_ext
78384 LIBS="$save_LIBS"
78386 rm -f core conftest.err conftest.$ac_objext \
78387 conftest$ac_exeext conftest.$ac_ext
78389 yes)
78390 if test x$gcc_no_link = xyes; then
78391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78394 /* end confdefs.h. */
78395 #include <sys/syscall.h>
78396 int lk;
78398 main ()
78400 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78402 return 0;
78404 _ACEOF
78405 if ac_fn_c_try_link "$LINENO"; then :
78407 else
78408 as_fn_error "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78410 rm -f core conftest.err conftest.$ac_objext \
78411 conftest$ac_exeext conftest.$ac_ext
78413 esac
78416 enable_linux_futex=no
78418 esac
78419 if test x$enable_linux_futex = xyes; then
78421 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78428 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78430 acx_cv_header_stdint=stddef.h
78431 acx_cv_header_stdint_kind="(already complete)"
78432 for i in stdint.h $inttype_headers; do
78433 unset ac_cv_type_uintptr_t
78434 unset ac_cv_type_uintmax_t
78435 unset ac_cv_type_int_least32_t
78436 unset ac_cv_type_int_fast32_t
78437 unset ac_cv_type_uint64_t
78438 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78439 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78440 #include <$i>
78442 if test "x$ac_cv_type_uintmax_t" = x""yes; then :
78443 acx_cv_header_stdint=$i
78444 else
78445 continue
78448 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78449 #include <$i>
78451 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78453 else
78454 acx_cv_header_stdint_kind="(mostly complete)"
78457 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78458 #include <$i>
78460 if test "x$ac_cv_type_int_least32_t" = x""yes; then :
78462 else
78463 acx_cv_header_stdint_kind="(mostly complete)"
78466 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78467 #include <$i>
78469 if test "x$ac_cv_type_int_fast32_t" = x""yes; then :
78471 else
78472 acx_cv_header_stdint_kind="(mostly complete)"
78475 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78476 #include <$i>
78478 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78480 else
78481 acx_cv_header_stdint_kind="(lacks uint64_t)"
78484 break
78485 done
78486 if test "$acx_cv_header_stdint" = stddef.h; then
78487 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78488 for i in stdint.h $inttype_headers; do
78489 unset ac_cv_type_uintptr_t
78490 unset ac_cv_type_uint32_t
78491 unset ac_cv_type_uint64_t
78492 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78493 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78494 #include <$i>
78496 if test "x$ac_cv_type_uint32_t" = x""yes; then :
78497 acx_cv_header_stdint=$i
78498 else
78499 continue
78502 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78503 #include <$i>
78505 if test "x$ac_cv_type_uint64_t" = x""yes; then :
78509 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78510 #include <$i>
78512 if test "x$ac_cv_type_uintptr_t" = x""yes; then :
78516 break
78517 done
78519 if test "$acx_cv_header_stdint" = stddef.h; then
78520 acx_cv_header_stdint_kind="(u_intXX_t style)"
78521 for i in sys/types.h $inttype_headers; do
78522 unset ac_cv_type_u_int32_t
78523 unset ac_cv_type_u_int64_t
78524 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78525 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78526 #include <$i>
78528 if test "x$ac_cv_type_u_int32_t" = x""yes; then :
78529 acx_cv_header_stdint=$i
78530 else
78531 continue
78534 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78535 #include <$i>
78537 if test "x$ac_cv_type_u_int64_t" = x""yes; then :
78541 break
78542 done
78544 if test "$acx_cv_header_stdint" = stddef.h; then
78545 acx_cv_header_stdint_kind="(using manual detection)"
78548 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78549 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78550 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78551 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78552 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78554 # ----------------- Summarize what we found so far
78556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78557 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78559 case `$as_basename -- include/gstdint.h ||
78560 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78561 Xinclude/gstdint.h : 'X\(//\)$' \| \
78562 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78563 $as_echo X/include/gstdint.h |
78564 sed '/^.*\/\([^/][^/]*\)\/*$/{
78565 s//\1/
78568 /^X\/\(\/\/\)$/{
78569 s//\1/
78572 /^X\/\(\/\).*/{
78573 s//\1/
78576 s/.*/./; q'` in
78577 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78578 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78579 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78580 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78581 *) ;;
78582 esac
78584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78585 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78587 # ----------------- done included file, check C basic types --------
78589 # Lacking an uintptr_t? Test size of void *
78590 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78591 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78592 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78593 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78594 # This bug is HP SR number 8606223364.
78595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
78596 $as_echo_n "checking size of void *... " >&6; }
78597 if test "${ac_cv_sizeof_void_p+set}" = set; then :
78598 $as_echo_n "(cached) " >&6
78599 else
78600 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
78602 else
78603 if test "$ac_cv_type_void_p" = yes; then
78604 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78605 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78606 { as_fn_set_status 77
78607 as_fn_error "cannot compute sizeof (void *)
78608 See \`config.log' for more details." "$LINENO" 5; }; }
78609 else
78610 ac_cv_sizeof_void_p=0
78615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
78616 $as_echo "$ac_cv_sizeof_void_p" >&6; }
78620 cat >>confdefs.h <<_ACEOF
78621 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
78622 _ACEOF
78625 esac
78627 # Lacking an uint64_t? Test size of long
78628 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
78629 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
78630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78632 # This bug is HP SR number 8606223364.
78633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
78634 $as_echo_n "checking size of long... " >&6; }
78635 if test "${ac_cv_sizeof_long+set}" = set; then :
78636 $as_echo_n "(cached) " >&6
78637 else
78638 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
78640 else
78641 if test "$ac_cv_type_long" = yes; then
78642 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78643 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78644 { as_fn_set_status 77
78645 as_fn_error "cannot compute sizeof (long)
78646 See \`config.log' for more details." "$LINENO" 5; }; }
78647 else
78648 ac_cv_sizeof_long=0
78653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
78654 $as_echo "$ac_cv_sizeof_long" >&6; }
78658 cat >>confdefs.h <<_ACEOF
78659 #define SIZEOF_LONG $ac_cv_sizeof_long
78660 _ACEOF
78663 esac
78665 if test $acx_cv_header_stdint = stddef.h; then
78666 # Lacking a good header? Test size of everything and deduce all types.
78667 # The cast to long int works around a bug in the HP C Compiler
78668 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78669 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78670 # This bug is HP SR number 8606223364.
78671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
78672 $as_echo_n "checking size of int... " >&6; }
78673 if test "${ac_cv_sizeof_int+set}" = set; then :
78674 $as_echo_n "(cached) " >&6
78675 else
78676 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
78678 else
78679 if test "$ac_cv_type_int" = yes; then
78680 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78681 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78682 { as_fn_set_status 77
78683 as_fn_error "cannot compute sizeof (int)
78684 See \`config.log' for more details." "$LINENO" 5; }; }
78685 else
78686 ac_cv_sizeof_int=0
78691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
78692 $as_echo "$ac_cv_sizeof_int" >&6; }
78696 cat >>confdefs.h <<_ACEOF
78697 #define SIZEOF_INT $ac_cv_sizeof_int
78698 _ACEOF
78701 # The cast to long int works around a bug in the HP C Compiler
78702 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78703 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78704 # This bug is HP SR number 8606223364.
78705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
78706 $as_echo_n "checking size of short... " >&6; }
78707 if test "${ac_cv_sizeof_short+set}" = set; then :
78708 $as_echo_n "(cached) " >&6
78709 else
78710 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
78712 else
78713 if test "$ac_cv_type_short" = yes; then
78714 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78715 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78716 { as_fn_set_status 77
78717 as_fn_error "cannot compute sizeof (short)
78718 See \`config.log' for more details." "$LINENO" 5; }; }
78719 else
78720 ac_cv_sizeof_short=0
78725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
78726 $as_echo "$ac_cv_sizeof_short" >&6; }
78730 cat >>confdefs.h <<_ACEOF
78731 #define SIZEOF_SHORT $ac_cv_sizeof_short
78732 _ACEOF
78735 # The cast to long int works around a bug in the HP C Compiler
78736 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78737 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
78738 # This bug is HP SR number 8606223364.
78739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
78740 $as_echo_n "checking size of char... " >&6; }
78741 if test "${ac_cv_sizeof_char+set}" = set; then :
78742 $as_echo_n "(cached) " >&6
78743 else
78744 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
78746 else
78747 if test "$ac_cv_type_char" = yes; then
78748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
78749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
78750 { as_fn_set_status 77
78751 as_fn_error "cannot compute sizeof (char)
78752 See \`config.log' for more details." "$LINENO" 5; }; }
78753 else
78754 ac_cv_sizeof_char=0
78759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
78760 $as_echo "$ac_cv_sizeof_char" >&6; }
78764 cat >>confdefs.h <<_ACEOF
78765 #define SIZEOF_CHAR $ac_cv_sizeof_char
78766 _ACEOF
78770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
78771 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
78772 case "$ac_cv_sizeof_char" in
78773 1) acx_cv_type_int8_t=char ;;
78774 *) as_fn_error "no 8-bit type, please report a bug" "$LINENO" 5
78775 esac
78776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
78777 $as_echo "$acx_cv_type_int8_t" >&6; }
78779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
78780 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
78781 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
78782 2:*) acx_cv_type_int16_t=int ;;
78783 *:2) acx_cv_type_int16_t=short ;;
78784 *) as_fn_error "no 16-bit type, please report a bug" "$LINENO" 5
78785 esac
78786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
78787 $as_echo "$acx_cv_type_int16_t" >&6; }
78789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
78790 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
78791 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
78792 4:*) acx_cv_type_int32_t=int ;;
78793 *:4) acx_cv_type_int32_t=long ;;
78794 *) as_fn_error "no 32-bit type, please report a bug" "$LINENO" 5
78795 esac
78796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
78797 $as_echo "$acx_cv_type_int32_t" >&6; }
78800 # These tests are here to make the output prettier
78802 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
78803 case "$ac_cv_sizeof_long" in
78804 8) acx_cv_type_int64_t=long ;;
78805 esac
78806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
78807 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
78808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
78809 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
78812 # Now we can use the above types
78814 if test "$ac_cv_type_uintptr_t" != yes; then
78815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
78816 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
78817 case $ac_cv_sizeof_void_p in
78818 2) acx_cv_type_intptr_t=int16_t ;;
78819 4) acx_cv_type_intptr_t=int32_t ;;
78820 8) acx_cv_type_intptr_t=int64_t ;;
78821 *) as_fn_error "no equivalent for intptr_t, please report a bug" "$LINENO" 5
78822 esac
78823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
78824 $as_echo "$acx_cv_type_intptr_t" >&6; }
78827 # ----------------- done all checks, emit header -------------
78828 ac_config_commands="$ac_config_commands include/gstdint.h"
78834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
78835 $as_echo_n "checking for GNU c++filt... " >&6; }
78836 if test "${ac_cv_path_CXXFILT+set}" = set; then :
78837 $as_echo_n "(cached) " >&6
78838 else
78839 if test -z "$CXXFILT"; then
78840 ac_path_CXXFILT_found=false
78841 # Loop through the user's path and test for each of PROGNAME-LIST
78842 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78843 for as_dir in $PATH
78845 IFS=$as_save_IFS
78846 test -z "$as_dir" && as_dir=.
78847 for ac_prog in c++filt gc++filt; do
78848 for ac_exec_ext in '' $ac_executable_extensions; do
78849 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
78850 { test -f "$ac_path_CXXFILT" && $as_test_x "$ac_path_CXXFILT"; } || continue
78851 # Check for GNU $ac_path_CXXFILT
78852 case `"$ac_path_CXXFILT" --version 2>&1` in
78853 *GNU*)
78854 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
78855 esac
78857 $ac_path_CXXFILT_found && break 3
78858 done
78859 done
78860 done
78861 IFS=$as_save_IFS
78862 if test -z "$ac_cv_path_CXXFILT"; then
78865 else
78866 ac_cv_path_CXXFILT=$CXXFILT
78870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
78871 $as_echo "$ac_cv_path_CXXFILT" >&6; }
78872 CXXFILT=$ac_cv_path_CXXFILT
78876 # Check whether --enable-symvers was given.
78877 if test "${enable_symvers+set}" = set; then :
78878 enableval=$enable_symvers;
78879 case "$enableval" in
78880 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
78881 *) as_fn_error "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
78882 esac
78884 else
78885 enable_symvers=yes
78890 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
78891 # don't know enough about $LD to do tricks...
78893 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
78894 # with extern "C++" in version scripts.
78897 # Turn a 'yes' into a suitable default.
78898 if test x$enable_symvers = xyes ; then
78899 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
78900 enable_symvers=no
78901 else
78902 if test $with_gnu_ld = yes ; then
78903 case ${target_os} in
78904 hpux*)
78905 enable_symvers=no ;;
78907 enable_symvers=gnu ;;
78908 esac
78909 else
78910 case ${target_os} in
78911 darwin*)
78912 enable_symvers=darwin ;;
78913 # Sun symbol versioning exists since Solaris 2.5.
78914 solaris2.[5-9]* | solaris2.1[0-9]*)
78915 # make_sunver.pl needs GNU c++filt to support extern "C++" in
78916 # version scripts, so disable symbol versioning if none can be
78917 # found.
78918 if test -z "$ac_cv_path_CXXFILT"; then
78919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78920 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
78922 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
78923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78924 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78925 enable_symvers=no
78926 else
78927 enable_symvers=sun
78931 enable_symvers=no ;;
78932 esac
78937 # Check to see if 'darwin' or 'darwin-export' can win.
78938 if test x$enable_symvers = xdarwin-export ; then
78939 enable_symvers=darwin
78942 # Check if 'sun' was requested on non-Solaris 2 platforms.
78943 if test x$enable_symvers = xsun ; then
78944 case ${target_os} in
78945 solaris2*)
78946 # All fine.
78949 # Unlikely to work.
78950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
78951 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
78952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
78953 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
78954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
78955 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
78956 enable_symvers=no
78958 esac
78961 # Check to see if 'gnu' can win.
78962 if test $enable_symvers = gnu ||
78963 test $enable_symvers = gnu-versioned-namespace ||
78964 test $enable_symvers = sun; then
78965 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
78966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
78967 $as_echo_n "checking for shared libgcc... " >&6; }
78968 ac_save_CFLAGS="$CFLAGS"
78969 CFLAGS=' -lgcc_s'
78970 if test x$gcc_no_link = xyes; then
78971 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78974 /* end confdefs.h. */
78977 main ()
78979 return 0;
78981 return 0;
78983 _ACEOF
78984 if ac_fn_c_try_link "$LINENO"; then :
78985 glibcxx_shared_libgcc=yes
78986 else
78987 glibcxx_shared_libgcc=no
78989 rm -f core conftest.err conftest.$ac_objext \
78990 conftest$ac_exeext conftest.$ac_ext
78991 CFLAGS="$ac_save_CFLAGS"
78992 if test $glibcxx_shared_libgcc = no; then
78993 cat > conftest.c <<EOF
78994 int main (void) { return 0; }
78996 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
78997 -shared -shared-libgcc -o conftest.so \
78998 conftest.c -v 2>&1 >/dev/null \
78999 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79000 rm -f conftest.c conftest.so
79001 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79002 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79003 if test x$gcc_no_link = xyes; then
79004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79007 /* end confdefs.h. */
79010 main ()
79012 return 0;
79014 return 0;
79016 _ACEOF
79017 if ac_fn_c_try_link "$LINENO"; then :
79018 glibcxx_shared_libgcc=yes
79020 rm -f core conftest.err conftest.$ac_objext \
79021 conftest$ac_exeext conftest.$ac_ext
79022 CFLAGS="$ac_save_CFLAGS"
79025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79026 $as_echo "$glibcxx_shared_libgcc" >&6; }
79028 # For GNU ld, we need at least this version. The format is described in
79029 # GLIBCXX_CHECK_LINKER_FEATURES above.
79030 glibcxx_min_gnu_ld_version=21400
79032 # If no shared libgcc, can't win.
79033 if test $glibcxx_shared_libgcc != yes; then
79034 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79035 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79036 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79037 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79039 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79040 enable_symvers=no
79041 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79042 : All interesting versions of Sun ld support sun style symbol versioning.
79043 elif test $with_gnu_ld != yes ; then
79044 # just fail for now
79045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79046 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79048 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79050 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79051 enable_symvers=no
79052 elif test $glibcxx_ld_is_gold = yes ; then
79053 : All versions of gold support symbol versioning.
79054 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79055 # The right tools, the right setup, but too old. Fallbacks?
79056 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79057 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79059 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79061 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79063 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79065 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79066 enable_symvers=no
79070 # For libtool versioning info, format is CURRENT:REVISION:AGE
79071 libtool_VERSION=6:23:0
79073 # Everything parsed; figure out what files and settings to use.
79074 case $enable_symvers in
79076 SYMVER_FILE=config/abi/pre/none.ver
79078 gnu)
79079 SYMVER_FILE=config/abi/pre/gnu.ver
79081 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79084 gnu-versioned-namespace)
79085 libtool_VERSION=7:0:0
79086 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79088 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79091 darwin)
79092 SYMVER_FILE=config/abi/pre/gnu.ver
79094 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79097 sun)
79098 SYMVER_FILE=config/abi/pre/gnu.ver
79100 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79103 esac
79105 if test x$enable_symvers != xno ; then
79107 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79112 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79113 if test "${glibcxx_cv_have_as_symver_directive+set}" = set; then :
79114 $as_echo_n "(cached) " >&6
79115 else
79117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79118 /* end confdefs.h. */
79119 void foo (void); __asm (".symver foo, bar@SYMVER");
79121 main ()
79125 return 0;
79127 _ACEOF
79128 if ac_fn_c_try_compile "$LINENO"; then :
79129 glibcxx_cv_have_as_symver_directive=yes
79130 else
79131 glibcxx_cv_have_as_symver_directive=no
79133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79136 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79137 if test $glibcxx_cv_have_as_symver_directive = yes; then
79139 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79150 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79151 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79153 if test $enable_symvers != no ; then
79154 case ${target_os} in
79155 # The Solaris 2 runtime linker doesn't support the GNU extension of
79156 # binding the same symbol to different versions
79157 solaris2*)
79159 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79162 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79165 esac
79168 # Now, set up compatibility support, if any.
79169 # In addition, need this to deal with std::size_t mangling in
79170 # src/compatibility.cc. In a perfect world, could use
79171 # typeid(std::size_t).name()[0] to do direct substitution.
79172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79173 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79174 ac_save_CFLAGS="$CFLAGS"
79175 CFLAGS="-Werror"
79176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79177 /* end confdefs.h. */
79180 main ()
79182 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79184 return 0;
79186 _ACEOF
79187 if ac_fn_c_try_compile "$LINENO"; then :
79188 glibcxx_size_t_is_i=yes
79189 else
79190 glibcxx_size_t_is_i=no
79192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79193 CFLAGS=$ac_save_CFLAGS
79194 if test "$glibcxx_size_t_is_i" = yes; then
79196 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79200 $as_echo "$glibcxx_size_t_is_i" >&6; }
79202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79203 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79204 ac_save_CFLAGS="$CFLAGS"
79205 CFLAGS="-Werror"
79206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79207 /* end confdefs.h. */
79210 main ()
79212 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79214 return 0;
79216 _ACEOF
79217 if ac_fn_c_try_compile "$LINENO"; then :
79218 glibcxx_ptrdiff_t_is_i=yes
79219 else
79220 glibcxx_ptrdiff_t_is_i=no
79222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79223 CFLAGS=$ac_save_CFLAGS
79224 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79226 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79230 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79235 # Check whether --enable-libstdcxx-visibility was given.
79236 if test "${enable_libstdcxx_visibility+set}" = set; then :
79237 enableval=$enable_libstdcxx_visibility;
79238 case "$enableval" in
79239 yes|no) ;;
79240 *) as_fn_error "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79241 esac
79243 else
79244 enable_libstdcxx_visibility=yes
79249 if test x$enable_libstdcxx_visibility = xyes ; then
79250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79251 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79252 if test "${glibcxx_cv_have_attribute_visibility+set}" = set; then :
79253 $as_echo_n "(cached) " >&6
79254 else
79256 save_CFLAGS="$CFLAGS"
79257 CFLAGS="$CFLAGS -Werror"
79258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79259 /* end confdefs.h. */
79260 void __attribute__((visibility("hidden"))) foo(void) { }
79262 main ()
79266 return 0;
79268 _ACEOF
79269 if ac_fn_c_try_compile "$LINENO"; then :
79270 glibcxx_cv_have_attribute_visibility=yes
79271 else
79272 glibcxx_cv_have_attribute_visibility=no
79274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79275 CFLAGS="$save_CFLAGS"
79277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79278 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79279 if test $glibcxx_cv_have_attribute_visibility = no; then
79280 enable_libstdcxx_visibility=no
79285 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79286 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79290 # Check whether --enable-libstdcxx-dual-abi was given.
79291 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79292 enableval=$enable_libstdcxx_dual_abi;
79293 case "$enableval" in
79294 yes|no) ;;
79295 *) as_fn_error "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79296 esac
79298 else
79299 enable_libstdcxx_dual_abi=yes
79303 if test x$enable_symvers = xgnu-versioned-namespace; then
79304 # gnu-versioned-namespace is incompatible with the dual ABI.
79305 enable_libstdcxx_dual_abi="no"
79307 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79308 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79309 $as_echo "$as_me: dual ABI is disabled" >&6;}
79310 default_libstdcxx_abi="gcc4-compatible"
79315 if test x$enable_libstdcxx_dual_abi = xyes; then
79316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79317 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79319 # Check whether --with-default-libstdcxx-abi was given.
79320 if test "${with_default_libstdcxx_abi+set}" = set; then :
79321 withval=$with_default_libstdcxx_abi; case "$withval" in
79322 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79323 new|cxx11) default_libstdcxx_abi="new" ;;
79324 c++*|gnu++*) as_fn_error "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79325 *) as_fn_error "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79326 esac
79328 else
79329 default_libstdcxx_abi="new"
79332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79333 $as_echo "${default_libstdcxx_abi}" >&6; }
79335 if test $default_libstdcxx_abi = "new"; then
79336 glibcxx_cxx11_abi=1
79337 glibcxx_cxx98_abi=0
79338 else
79339 glibcxx_cxx11_abi=0
79340 glibcxx_cxx98_abi=1
79346 ac_ldbl_compat=no
79347 case "$target" in
79348 powerpc*-*-linux* | \
79349 sparc*-*-linux* | \
79350 s390*-*-linux* | \
79351 alpha*-*-linux*)
79352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79353 /* end confdefs.h. */
79356 main ()
79359 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79360 #error no need for long double compatibility
79361 #endif
79364 return 0;
79366 _ACEOF
79367 if ac_fn_c_try_compile "$LINENO"; then :
79368 ac_ldbl_compat=yes
79369 else
79370 ac_ldbl_compat=no
79372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79373 if test "$ac_ldbl_compat" = yes; then
79375 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79377 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79379 esac
79382 # Check if assembler supports disabling hardware capability support.
79384 test -z "$HWCAP_FLAGS" && HWCAP_FLAGS=''
79386 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79387 # with a different meaning.
79388 case ${target_os} in
79389 solaris2*)
79390 ac_save_CFLAGS="$CFLAGS"
79391 CFLAGS="$CFLAGS -Wa,-nH"
79393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79394 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79396 /* end confdefs.h. */
79399 main ()
79401 return 0;
79403 return 0;
79405 _ACEOF
79406 if ac_fn_c_try_compile "$LINENO"; then :
79407 ac_hwcap_flags=yes
79408 else
79409 ac_hwcap_flags=no
79411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79412 if test "$ac_hwcap_flags" = "yes"; then
79413 HWCAP_FLAGS="-Wa,-nH $HWCAP_FLAGS"
79415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79416 $as_echo "$ac_hwcap_flags" >&6; }
79418 CFLAGS="$ac_save_CFLAGS"
79420 esac
79425 # Check if assembler supports rdrand opcode.
79427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79428 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79429 if test "${ac_cv_x86_rdrand+set}" = set; then :
79430 $as_echo_n "(cached) " >&6
79431 else
79433 ac_cv_x86_rdrand=no
79434 case "$target" in
79435 i?86-*-* | \
79436 x86_64-*-*)
79437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79438 /* end confdefs.h. */
79441 main ()
79443 asm("rdrand %eax");
79445 return 0;
79447 _ACEOF
79448 if ac_fn_c_try_compile "$LINENO"; then :
79449 ac_cv_x86_rdrand=yes
79450 else
79451 ac_cv_x86_rdrand=no
79453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79454 esac
79458 if test $ac_cv_x86_rdrand = yes; then
79460 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79464 $as_echo "$ac_cv_x86_rdrand" >&6; }
79467 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79469 # Do checks for resource limit functions.
79471 setrlimit_have_headers=yes
79472 for ac_header in unistd.h sys/time.h sys/resource.h
79473 do :
79474 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79475 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79476 eval as_val=\$$as_ac_Header
79477 if test "x$as_val" = x""yes; then :
79478 cat >>confdefs.h <<_ACEOF
79479 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79480 _ACEOF
79482 else
79483 setrlimit_have_headers=no
79486 done
79488 # If don't have the headers, then we can't run the tests now, and we
79489 # won't be seeing any of these during testsuite compilation.
79490 if test $setrlimit_have_headers = yes; then
79491 # Can't do these in a loop, else the resulting syntax is wrong.
79493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79494 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79496 /* end confdefs.h. */
79497 #include <unistd.h>
79498 #include <sys/time.h>
79499 #include <sys/resource.h>
79502 main ()
79504 int f = RLIMIT_DATA ;
79506 return 0;
79508 _ACEOF
79509 if ac_fn_c_try_compile "$LINENO"; then :
79510 glibcxx_mresult=1
79511 else
79512 glibcxx_mresult=0
79514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79516 cat >>confdefs.h <<_ACEOF
79517 #define HAVE_LIMIT_DATA $glibcxx_mresult
79518 _ACEOF
79520 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79522 $as_echo "$res" >&6; }
79525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79526 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79528 /* end confdefs.h. */
79529 #include <unistd.h>
79530 #include <sys/time.h>
79531 #include <sys/resource.h>
79534 main ()
79536 int f = RLIMIT_RSS ;
79538 return 0;
79540 _ACEOF
79541 if ac_fn_c_try_compile "$LINENO"; then :
79542 glibcxx_mresult=1
79543 else
79544 glibcxx_mresult=0
79546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79548 cat >>confdefs.h <<_ACEOF
79549 #define HAVE_LIMIT_RSS $glibcxx_mresult
79550 _ACEOF
79552 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79554 $as_echo "$res" >&6; }
79557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
79558 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
79559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79560 /* end confdefs.h. */
79561 #include <unistd.h>
79562 #include <sys/time.h>
79563 #include <sys/resource.h>
79566 main ()
79568 int f = RLIMIT_VMEM ;
79570 return 0;
79572 _ACEOF
79573 if ac_fn_c_try_compile "$LINENO"; then :
79574 glibcxx_mresult=1
79575 else
79576 glibcxx_mresult=0
79578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79580 cat >>confdefs.h <<_ACEOF
79581 #define HAVE_LIMIT_VMEM $glibcxx_mresult
79582 _ACEOF
79584 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79586 $as_echo "$res" >&6; }
79589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
79590 $as_echo_n "checking for RLIMIT_AS... " >&6; }
79591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79592 /* end confdefs.h. */
79593 #include <unistd.h>
79594 #include <sys/time.h>
79595 #include <sys/resource.h>
79598 main ()
79600 int f = RLIMIT_AS ;
79602 return 0;
79604 _ACEOF
79605 if ac_fn_c_try_compile "$LINENO"; then :
79606 glibcxx_mresult=1
79607 else
79608 glibcxx_mresult=0
79610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79612 cat >>confdefs.h <<_ACEOF
79613 #define HAVE_LIMIT_AS $glibcxx_mresult
79614 _ACEOF
79616 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79618 $as_echo "$res" >&6; }
79621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
79622 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
79623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79624 /* end confdefs.h. */
79625 #include <unistd.h>
79626 #include <sys/time.h>
79627 #include <sys/resource.h>
79630 main ()
79632 int f = RLIMIT_FSIZE ;
79634 return 0;
79636 _ACEOF
79637 if ac_fn_c_try_compile "$LINENO"; then :
79638 glibcxx_mresult=1
79639 else
79640 glibcxx_mresult=0
79642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79644 cat >>confdefs.h <<_ACEOF
79645 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
79646 _ACEOF
79648 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79650 $as_echo "$res" >&6; }
79653 # Check for rlimit, setrlimit.
79654 if test "${glibcxx_cv_setrlimit+set}" = set; then :
79655 $as_echo_n "(cached) " >&6
79656 else
79658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79659 /* end confdefs.h. */
79660 #include <unistd.h>
79661 #include <sys/time.h>
79662 #include <sys/resource.h>
79665 main ()
79667 struct rlimit r;
79668 setrlimit(0, &r);
79670 return 0;
79672 _ACEOF
79673 if ac_fn_c_try_compile "$LINENO"; then :
79674 glibcxx_cv_setrlimit=yes
79675 else
79676 glibcxx_cv_setrlimit=no
79678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
79685 $as_echo_n "checking for testsuite resource limits support... " >&6; }
79686 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
79687 ac_res_limits=yes
79689 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
79691 else
79692 ac_res_limits=no
79694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
79695 $as_echo "$ac_res_limits" >&6; }
79698 if $GLIBCXX_IS_NATIVE ; then
79699 # Look for setenv, so that extended locale tests can be performed.
79701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
79702 $as_echo_n "checking for setenv declaration... " >&6; }
79703 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
79704 if test "${glibcxx_cv_func_setenv_use+set}" = set; then :
79705 $as_echo_n "(cached) " >&6
79706 else
79709 ac_ext=cpp
79710 ac_cpp='$CXXCPP $CPPFLAGS'
79711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79716 /* end confdefs.h. */
79717 #include <stdlib.h>
79719 main ()
79721 setenv(0, 0, 0);
79723 return 0;
79725 _ACEOF
79726 if ac_fn_cxx_try_compile "$LINENO"; then :
79727 glibcxx_cv_func_setenv_use=yes
79728 else
79729 glibcxx_cv_func_setenv_use=no
79731 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79732 ac_ext=c
79733 ac_cpp='$CPP $CPPFLAGS'
79734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
79743 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
79744 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
79745 for ac_func in setenv
79746 do :
79747 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
79748 if test "x$ac_cv_func_setenv" = x""yes; then :
79749 cat >>confdefs.h <<_ACEOF
79750 #define HAVE_SETENV 1
79751 _ACEOF
79754 done
79760 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
79761 test $enable_symvers != no; then
79762 case "$host" in
79763 *-*-cygwin*)
79764 enable_abi_check=no ;;
79766 enable_abi_check=yes ;;
79767 esac
79768 else
79769 # Only build this as native, since automake does not understand
79770 # CXX_FOR_BUILD.
79771 enable_abi_check=no
79774 # Export file names for ABI checking.
79775 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
79777 baseline_subdir_switch="$abi_baseline_subdir_switch"
79781 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
79783 # Check whether --enable-libstdcxx-threads was given.
79784 if test "${enable_libstdcxx_threads+set}" = set; then :
79785 enableval=$enable_libstdcxx_threads;
79786 case "$enableval" in
79787 yes|no) ;;
79788 *) as_fn_error "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
79789 esac
79791 else
79792 enable_libstdcxx_threads=auto
79797 if test x$enable_libstdcxx_threads = xauto ||
79798 test x$enable_libstdcxx_threads = xyes; then
79801 ac_ext=cpp
79802 ac_cpp='$CXXCPP $CPPFLAGS'
79803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79808 ac_save_CXXFLAGS="$CXXFLAGS"
79809 CXXFLAGS="$CXXFLAGS -fno-exceptions \
79810 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
79812 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
79813 case $target_thread_file in
79814 posix)
79815 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
79816 esac
79818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
79819 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
79821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79822 /* end confdefs.h. */
79823 #include <unistd.h>
79825 main ()
79828 // In case of POSIX threads check _POSIX_TIMEOUTS.
79829 #if (defined(_PTHREADS) \
79830 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
79831 #error
79832 #endif
79835 return 0;
79837 _ACEOF
79838 if ac_fn_cxx_try_compile "$LINENO"; then :
79839 ac_gthread_use_mutex_timedlock=1
79840 else
79841 ac_gthread_use_mutex_timedlock=0
79843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79846 cat >>confdefs.h <<_ACEOF
79847 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
79848 _ACEOF
79851 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
79852 else res_mutex_timedlock=no ; fi
79853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
79854 $as_echo "$res_mutex_timedlock" >&6; }
79856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
79857 $as_echo_n "checking for gthreads library... " >&6; }
79859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79860 /* end confdefs.h. */
79861 #include "gthr.h"
79863 main ()
79866 #ifndef __GTHREADS_CXX0X
79867 #error
79868 #endif
79871 return 0;
79873 _ACEOF
79874 if ac_fn_cxx_try_compile "$LINENO"; then :
79875 ac_has_gthreads=yes
79876 else
79877 ac_has_gthreads=no
79879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79880 else
79881 ac_has_gthreads=no
79884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
79885 $as_echo "$ac_has_gthreads" >&6; }
79887 if test x"$ac_has_gthreads" = x"yes"; then
79889 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
79892 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
79893 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
79895 if test "x$ac_cv_type_pthread_rwlock_t" = x""yes; then :
79897 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
79903 CXXFLAGS="$ac_save_CXXFLAGS"
79904 ac_ext=c
79905 ac_cpp='$CPP $CPPFLAGS'
79906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
79912 # For Filesystem TS.
79913 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
79914 do :
79915 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79916 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79917 eval as_val=\$$as_ac_Header
79918 if test "x$as_val" = x""yes; then :
79919 cat >>confdefs.h <<_ACEOF
79920 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79921 _ACEOF
79925 done
79928 # Check whether --enable-libstdcxx-filesystem-ts was given.
79929 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
79930 enableval=$enable_libstdcxx_filesystem_ts;
79931 case "$enableval" in
79932 yes|no|auto) ;;
79933 *) as_fn_error "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
79934 esac
79936 else
79937 enable_libstdcxx_filesystem_ts=auto
79942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
79943 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
79944 if test x"$ac_cv_header_dirent_h" != x"yes"; then
79945 enable_libstdcxx_filesystem_ts=no
79947 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
79948 case "${target_os}" in
79949 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
79950 enable_libstdcxx_filesystem_ts=yes
79952 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
79953 enable_libstdcxx_filesystem_ts=yes
79955 solaris*)
79956 enable_libstdcxx_filesystem_ts=yes
79959 enable_libstdcxx_filesystem_ts=no
79961 esac
79963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
79964 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
79968 ac_ext=cpp
79969 ac_cpp='$CXXCPP $CPPFLAGS'
79970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
79971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
79972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
79974 ac_save_CXXFLAGS="$CXXFLAGS"
79975 CXXFLAGS="$CXXFLAGS -fno-exceptions"
79976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
79977 $as_echo_n "checking for struct dirent.d_type... " >&6; }
79978 if test "${glibcxx_cv_dirent_d_type+set}" = set; then :
79979 $as_echo_n "(cached) " >&6
79980 else
79981 if test x$gcc_no_link = xyes; then
79982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79983 /* end confdefs.h. */
79984 #include <dirent.h>
79986 main ()
79989 struct dirent d;
79990 if (sizeof d.d_type) return 0;
79993 return 0;
79995 _ACEOF
79996 if ac_fn_cxx_try_compile "$LINENO"; then :
79997 glibcxx_cv_dirent_d_type=yes
79998 else
79999 glibcxx_cv_dirent_d_type=no
80001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80002 else
80003 if test x$gcc_no_link = xyes; then
80004 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80007 /* end confdefs.h. */
80008 #include <dirent.h>
80010 main ()
80013 struct dirent d;
80014 if (sizeof d.d_type) return 0;
80017 return 0;
80019 _ACEOF
80020 if ac_fn_cxx_try_link "$LINENO"; then :
80021 glibcxx_cv_dirent_d_type=yes
80022 else
80023 glibcxx_cv_dirent_d_type=no
80025 rm -f core conftest.err conftest.$ac_objext \
80026 conftest$ac_exeext conftest.$ac_ext
80031 if test $glibcxx_cv_dirent_d_type = yes; then
80033 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80037 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80039 $as_echo_n "checking for realpath... " >&6; }
80040 if test "${glibcxx_cv_realpath+set}" = set; then :
80041 $as_echo_n "(cached) " >&6
80042 else
80043 if test x$gcc_no_link = xyes; then
80044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80045 /* end confdefs.h. */
80047 #include <stdlib.h>
80048 #include <unistd.h>
80051 main ()
80054 #if _XOPEN_VERSION < 500
80055 #error
80056 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80057 char *tmp = realpath((const char*)NULL, (char*)NULL);
80058 #else
80059 #error
80060 #endif
80063 return 0;
80065 _ACEOF
80066 if ac_fn_cxx_try_compile "$LINENO"; then :
80067 glibcxx_cv_realpath=yes
80068 else
80069 glibcxx_cv_realpath=no
80071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80072 else
80073 if test x$gcc_no_link = xyes; then
80074 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80077 /* end confdefs.h. */
80079 #include <stdlib.h>
80080 #include <unistd.h>
80083 main ()
80086 #if _XOPEN_VERSION < 500
80087 #error
80088 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80089 char *tmp = realpath((const char*)NULL, (char*)NULL);
80090 #else
80091 #error
80092 #endif
80095 return 0;
80097 _ACEOF
80098 if ac_fn_cxx_try_link "$LINENO"; then :
80099 glibcxx_cv_realpath=yes
80100 else
80101 glibcxx_cv_realpath=no
80103 rm -f core conftest.err conftest.$ac_objext \
80104 conftest$ac_exeext conftest.$ac_ext
80109 if test $glibcxx_cv_realpath = yes; then
80111 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80115 $as_echo "$glibcxx_cv_realpath" >&6; }
80116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80117 $as_echo_n "checking for utimensat... " >&6; }
80118 if test "${glibcxx_cv_utimensat+set}" = set; then :
80119 $as_echo_n "(cached) " >&6
80120 else
80121 if test x$gcc_no_link = xyes; then
80122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80123 /* end confdefs.h. */
80125 #include <fcntl.h>
80126 #include <sys/stat.h>
80129 main ()
80132 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80133 int i = utimensat(AT_FDCWD, "path", ts, 0);
80136 return 0;
80138 _ACEOF
80139 if ac_fn_cxx_try_compile "$LINENO"; then :
80140 glibcxx_cv_utimensat=yes
80141 else
80142 glibcxx_cv_utimensat=no
80144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80145 else
80146 if test x$gcc_no_link = xyes; then
80147 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80150 /* end confdefs.h. */
80152 #include <fcntl.h>
80153 #include <sys/stat.h>
80156 main ()
80159 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80160 int i = utimensat(AT_FDCWD, "path", ts, 0);
80163 return 0;
80165 _ACEOF
80166 if ac_fn_cxx_try_link "$LINENO"; then :
80167 glibcxx_cv_utimensat=yes
80168 else
80169 glibcxx_cv_utimensat=no
80171 rm -f core conftest.err conftest.$ac_objext \
80172 conftest$ac_exeext conftest.$ac_ext
80177 if test $glibcxx_cv_utimensat = yes; then
80179 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80183 $as_echo "$glibcxx_cv_utimensat" >&6; }
80184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80185 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80186 if test "${glibcxx_cv_st_mtim+set}" = set; then :
80187 $as_echo_n "(cached) " >&6
80188 else
80189 if test x$gcc_no_link = xyes; then
80190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80191 /* end confdefs.h. */
80192 #include <sys/stat.h>
80194 main ()
80197 struct stat st;
80198 return st.st_mtim.tv_nsec;
80201 return 0;
80203 _ACEOF
80204 if ac_fn_cxx_try_compile "$LINENO"; then :
80205 glibcxx_cv_st_mtim=yes
80206 else
80207 glibcxx_cv_st_mtim=no
80209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80210 else
80211 if test x$gcc_no_link = xyes; then
80212 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80215 /* end confdefs.h. */
80216 #include <sys/stat.h>
80218 main ()
80221 struct stat st;
80222 return st.st_mtim.tv_nsec;
80225 return 0;
80227 _ACEOF
80228 if ac_fn_cxx_try_link "$LINENO"; then :
80229 glibcxx_cv_st_mtim=yes
80230 else
80231 glibcxx_cv_st_mtim=no
80233 rm -f core conftest.err conftest.$ac_objext \
80234 conftest$ac_exeext conftest.$ac_ext
80239 if test $glibcxx_cv_st_mtim = yes; then
80241 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80245 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80247 $as_echo_n "checking for fchmod... " >&6; }
80248 if test "${glibcxx_cv_fchmod+set}" = set; then :
80249 $as_echo_n "(cached) " >&6
80250 else
80251 if test x$gcc_no_link = xyes; then
80252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80253 /* end confdefs.h. */
80254 #include <sys/stat.h>
80256 main ()
80258 fchmod(1, S_IWUSR);
80260 return 0;
80262 _ACEOF
80263 if ac_fn_cxx_try_compile "$LINENO"; then :
80264 glibcxx_cv_fchmod=yes
80265 else
80266 glibcxx_cv_fchmod=no
80268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80269 else
80270 if test x$gcc_no_link = xyes; then
80271 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80274 /* end confdefs.h. */
80275 #include <sys/stat.h>
80277 main ()
80279 fchmod(1, S_IWUSR);
80281 return 0;
80283 _ACEOF
80284 if ac_fn_cxx_try_link "$LINENO"; then :
80285 glibcxx_cv_fchmod=yes
80286 else
80287 glibcxx_cv_fchmod=no
80289 rm -f core conftest.err conftest.$ac_objext \
80290 conftest$ac_exeext conftest.$ac_ext
80295 if test $glibcxx_cv_fchmod = yes; then
80297 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80301 $as_echo "$glibcxx_cv_fchmod" >&6; }
80302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80303 $as_echo_n "checking for fchmodat... " >&6; }
80304 if test "${glibcxx_cv_fchmodat+set}" = set; then :
80305 $as_echo_n "(cached) " >&6
80306 else
80307 if test x$gcc_no_link = xyes; then
80308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80309 /* end confdefs.h. */
80311 #include <fcntl.h>
80312 #include <sys/stat.h>
80315 main ()
80317 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80319 return 0;
80321 _ACEOF
80322 if ac_fn_cxx_try_compile "$LINENO"; then :
80323 glibcxx_cv_fchmodat=yes
80324 else
80325 glibcxx_cv_fchmodat=no
80327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80328 else
80329 if test x$gcc_no_link = xyes; then
80330 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80333 /* end confdefs.h. */
80335 #include <fcntl.h>
80336 #include <sys/stat.h>
80339 main ()
80341 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80343 return 0;
80345 _ACEOF
80346 if ac_fn_cxx_try_link "$LINENO"; then :
80347 glibcxx_cv_fchmodat=yes
80348 else
80349 glibcxx_cv_fchmodat=no
80351 rm -f core conftest.err conftest.$ac_objext \
80352 conftest$ac_exeext conftest.$ac_ext
80357 if test $glibcxx_cv_fchmodat = yes; then
80359 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80363 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80365 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80366 if test "${glibcxx_cv_sendfile+set}" = set; then :
80367 $as_echo_n "(cached) " >&6
80368 else
80369 case "${target_os}" in
80370 gnu* | linux* | solaris*)
80371 if test x$gcc_no_link = xyes; then
80372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80373 /* end confdefs.h. */
80374 #include <sys/sendfile.h>
80376 main ()
80378 sendfile(1, 2, (off_t*)0, sizeof 1);
80380 return 0;
80382 _ACEOF
80383 if ac_fn_cxx_try_compile "$LINENO"; then :
80384 glibcxx_cv_sendfile=yes
80385 else
80386 glibcxx_cv_sendfile=no
80388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80389 else
80390 if test x$gcc_no_link = xyes; then
80391 as_fn_error "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80394 /* end confdefs.h. */
80395 #include <sys/sendfile.h>
80397 main ()
80399 sendfile(1, 2, (off_t*)0, sizeof 1);
80401 return 0;
80403 _ACEOF
80404 if ac_fn_cxx_try_link "$LINENO"; then :
80405 glibcxx_cv_sendfile=yes
80406 else
80407 glibcxx_cv_sendfile=no
80409 rm -f core conftest.err conftest.$ac_objext \
80410 conftest$ac_exeext conftest.$ac_ext
80414 glibcxx_cv_sendfile=no
80416 esac
80420 if test $glibcxx_cv_sendfile = yes; then
80422 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
80425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
80426 $as_echo "$glibcxx_cv_sendfile" >&6; }
80427 CXXFLAGS="$ac_save_CXXFLAGS"
80428 ac_ext=c
80429 ac_cpp='$CPP $CPPFLAGS'
80430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80436 # For Transactional Memory TS
80438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
80439 $as_echo_n "checking how size_t is mangled... " >&6; }
80440 if test "${glibcxx_cv_size_t_mangling+set}" = set; then :
80441 $as_echo_n "(cached) " >&6
80442 else
80444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80445 /* end confdefs.h. */
80448 main ()
80450 extern __SIZE_TYPE__ x; extern unsigned long x;
80452 return 0;
80454 _ACEOF
80455 if ac_fn_c_try_compile "$LINENO"; then :
80456 glibcxx_cv_size_t_mangling=m
80457 else
80459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80460 /* end confdefs.h. */
80463 main ()
80465 extern __SIZE_TYPE__ x; extern unsigned int x;
80467 return 0;
80469 _ACEOF
80470 if ac_fn_c_try_compile "$LINENO"; then :
80471 glibcxx_cv_size_t_mangling=j
80472 else
80474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80475 /* end confdefs.h. */
80478 main ()
80480 extern __SIZE_TYPE__ x; extern unsigned long long x;
80482 return 0;
80484 _ACEOF
80485 if ac_fn_c_try_compile "$LINENO"; then :
80486 glibcxx_cv_size_t_mangling=y
80487 else
80489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80490 /* end confdefs.h. */
80493 main ()
80495 extern __SIZE_TYPE__ x; extern unsigned short x;
80497 return 0;
80499 _ACEOF
80500 if ac_fn_c_try_compile "$LINENO"; then :
80501 glibcxx_cv_size_t_mangling=t
80502 else
80503 glibcxx_cv_size_t_mangling=x
80505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
80518 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
80519 if test $glibcxx_cv_size_t_mangling = x; then
80520 as_fn_error "Unknown underlying type for size_t" "$LINENO" 5
80523 cat >>confdefs.h <<_ACEOF
80524 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
80525 _ACEOF
80529 # Define documentation rules conditionally.
80531 # See if makeinfo has been installed and is modern enough
80532 # that we can use it.
80534 # Extract the first word of "makeinfo", so it can be a program name with args.
80535 set dummy makeinfo; ac_word=$2
80536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80537 $as_echo_n "checking for $ac_word... " >&6; }
80538 if test "${ac_cv_prog_MAKEINFO+set}" = set; then :
80539 $as_echo_n "(cached) " >&6
80540 else
80541 if test -n "$MAKEINFO"; then
80542 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
80543 else
80544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80545 for as_dir in $PATH
80547 IFS=$as_save_IFS
80548 test -z "$as_dir" && as_dir=.
80549 for ac_exec_ext in '' $ac_executable_extensions; do
80550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80551 ac_cv_prog_MAKEINFO="makeinfo"
80552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80553 break 2
80555 done
80556 done
80557 IFS=$as_save_IFS
80561 MAKEINFO=$ac_cv_prog_MAKEINFO
80562 if test -n "$MAKEINFO"; then
80563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
80564 $as_echo "$MAKEINFO" >&6; }
80565 else
80566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80567 $as_echo "no" >&6; }
80571 if test -n "$MAKEINFO"; then
80572 # Found it, now check the version.
80573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
80574 $as_echo_n "checking for modern makeinfo... " >&6; }
80575 if test "${gcc_cv_prog_makeinfo_modern+set}" = set; then :
80576 $as_echo_n "(cached) " >&6
80577 else
80578 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
80579 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
80581 case $ac_prog_version in
80582 '') gcc_cv_prog_makeinfo_modern=no;;
80583 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
80584 *) gcc_cv_prog_makeinfo_modern=no;;
80585 esac
80588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
80589 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
80590 else
80591 gcc_cv_prog_makeinfo_modern=no
80593 if test $gcc_cv_prog_makeinfo_modern = no; then
80594 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
80597 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
80598 BUILD_INFO_TRUE=
80599 BUILD_INFO_FALSE='#'
80600 else
80601 BUILD_INFO_TRUE='#'
80602 BUILD_INFO_FALSE=
80606 # Check for doxygen
80607 # Extract the first word of "doxygen", so it can be a program name with args.
80608 set dummy doxygen; ac_word=$2
80609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80610 $as_echo_n "checking for $ac_word... " >&6; }
80611 if test "${ac_cv_prog_DOXYGEN+set}" = set; then :
80612 $as_echo_n "(cached) " >&6
80613 else
80614 if test -n "$DOXYGEN"; then
80615 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
80616 else
80617 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80618 for as_dir in $PATH
80620 IFS=$as_save_IFS
80621 test -z "$as_dir" && as_dir=.
80622 for ac_exec_ext in '' $ac_executable_extensions; do
80623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80624 ac_cv_prog_DOXYGEN="yes"
80625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80626 break 2
80628 done
80629 done
80630 IFS=$as_save_IFS
80632 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
80635 DOXYGEN=$ac_cv_prog_DOXYGEN
80636 if test -n "$DOXYGEN"; then
80637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
80638 $as_echo "$DOXYGEN" >&6; }
80639 else
80640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80641 $as_echo "no" >&6; }
80645 # Extract the first word of "dot", so it can be a program name with args.
80646 set dummy dot; ac_word=$2
80647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80648 $as_echo_n "checking for $ac_word... " >&6; }
80649 if test "${ac_cv_prog_DOT+set}" = set; then :
80650 $as_echo_n "(cached) " >&6
80651 else
80652 if test -n "$DOT"; then
80653 ac_cv_prog_DOT="$DOT" # Let the user override the test.
80654 else
80655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80656 for as_dir in $PATH
80658 IFS=$as_save_IFS
80659 test -z "$as_dir" && as_dir=.
80660 for ac_exec_ext in '' $ac_executable_extensions; do
80661 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80662 ac_cv_prog_DOT="yes"
80663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80664 break 2
80666 done
80667 done
80668 IFS=$as_save_IFS
80670 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
80673 DOT=$ac_cv_prog_DOT
80674 if test -n "$DOT"; then
80675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
80676 $as_echo "$DOT" >&6; }
80677 else
80678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80679 $as_echo "no" >&6; }
80684 # Check for docbook
80685 # Extract the first word of "xsltproc", so it can be a program name with args.
80686 set dummy xsltproc; ac_word=$2
80687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80688 $as_echo_n "checking for $ac_word... " >&6; }
80689 if test "${ac_cv_prog_XSLTPROC+set}" = set; then :
80690 $as_echo_n "(cached) " >&6
80691 else
80692 if test -n "$XSLTPROC"; then
80693 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
80694 else
80695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80696 for as_dir in $PATH
80698 IFS=$as_save_IFS
80699 test -z "$as_dir" && as_dir=.
80700 for ac_exec_ext in '' $ac_executable_extensions; do
80701 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80702 ac_cv_prog_XSLTPROC="yes"
80703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80704 break 2
80706 done
80707 done
80708 IFS=$as_save_IFS
80710 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
80713 XSLTPROC=$ac_cv_prog_XSLTPROC
80714 if test -n "$XSLTPROC"; then
80715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
80716 $as_echo "$XSLTPROC" >&6; }
80717 else
80718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80719 $as_echo "no" >&6; }
80723 # Extract the first word of "xmllint", so it can be a program name with args.
80724 set dummy xmllint; ac_word=$2
80725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80726 $as_echo_n "checking for $ac_word... " >&6; }
80727 if test "${ac_cv_prog_XMLLINT+set}" = set; then :
80728 $as_echo_n "(cached) " >&6
80729 else
80730 if test -n "$XMLLINT"; then
80731 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
80732 else
80733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80734 for as_dir in $PATH
80736 IFS=$as_save_IFS
80737 test -z "$as_dir" && as_dir=.
80738 for ac_exec_ext in '' $ac_executable_extensions; do
80739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80740 ac_cv_prog_XMLLINT="yes"
80741 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80742 break 2
80744 done
80745 done
80746 IFS=$as_save_IFS
80748 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
80751 XMLLINT=$ac_cv_prog_XMLLINT
80752 if test -n "$XMLLINT"; then
80753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
80754 $as_echo "$XMLLINT" >&6; }
80755 else
80756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80757 $as_echo "no" >&6; }
80763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
80764 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
80765 glibcxx_stylesheets=no
80766 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
80767 glibcxx_stylesheets=yes
80769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
80770 $as_echo "$glibcxx_stylesheets" >&6; }
80772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
80773 $as_echo_n "checking for local stylesheet directory... " >&6; }
80774 glibcxx_local_stylesheets=no
80775 if test x"$glibcxx_stylesheets" = x"yes"; then
80776 if test -d /usr/share/sgml/docbook/xsl-ns-stylesheets; then
80777 glibcxx_local_stylesheets=yes
80778 XSL_STYLE_DIR=/usr/share/sgml/docbook/xsl-ns-stylesheets
80780 if test -d /usr/share/xml/docbook/stylesheet/docbook-xsl-ns; then
80781 glibcxx_local_stylesheets=yes
80782 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/docbook-xsl-ns
80784 if test -d /usr/share/xml/docbook/stylesheet/nwalsh5/current; then
80785 glibcxx_local_stylesheets=yes
80786 XSL_STYLE_DIR=/usr/share/xml/docbook/stylesheet/nwalsh5/current
80789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
80790 $as_echo "$glibcxx_local_stylesheets" >&6; }
80792 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80794 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
80795 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
80796 else
80797 glibcxx_stylesheets=no
80800 # Check for epub3 dependencies.
80801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
80802 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
80803 glibcxx_epub_stylesheets=no
80804 if test x"$glibcxx_local_stylesheets" = x"yes"; then
80805 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
80806 glibcxx_epub_stylesheets=yes
80809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
80810 $as_echo "$glibcxx_epub_stylesheets" >&6; }
80811 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
80812 BUILD_EPUB_TRUE=
80813 BUILD_EPUB_FALSE='#'
80814 else
80815 BUILD_EPUB_TRUE='#'
80816 BUILD_EPUB_FALSE=
80822 # Check for xml/html dependencies.
80823 if test $ac_cv_prog_DOXYGEN = "yes" &&
80824 test $ac_cv_prog_DOT = "yes" &&
80825 test $ac_cv_prog_XSLTPROC = "yes" &&
80826 test $ac_cv_prog_XMLLINT = "yes" &&
80827 test $glibcxx_stylesheets = "yes"; then
80828 BUILD_XML_TRUE=
80829 BUILD_XML_FALSE='#'
80830 else
80831 BUILD_XML_TRUE='#'
80832 BUILD_XML_FALSE=
80836 if test $ac_cv_prog_DOXYGEN = "yes" &&
80837 test $ac_cv_prog_DOT = "yes" &&
80838 test $ac_cv_prog_XSLTPROC = "yes" &&
80839 test $ac_cv_prog_XMLLINT = "yes" &&
80840 test $glibcxx_stylesheets = "yes"; then
80841 BUILD_HTML_TRUE=
80842 BUILD_HTML_FALSE='#'
80843 else
80844 BUILD_HTML_TRUE='#'
80845 BUILD_HTML_FALSE=
80849 # Check for man dependencies.
80850 if test $ac_cv_prog_DOXYGEN = "yes" &&
80851 test $ac_cv_prog_DOT = "yes"; then
80852 BUILD_MAN_TRUE=
80853 BUILD_MAN_FALSE='#'
80854 else
80855 BUILD_MAN_TRUE='#'
80856 BUILD_MAN_FALSE=
80860 # Check for pdf dependencies.
80861 # Extract the first word of "dblatex", so it can be a program name with args.
80862 set dummy dblatex; ac_word=$2
80863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80864 $as_echo_n "checking for $ac_word... " >&6; }
80865 if test "${ac_cv_prog_DBLATEX+set}" = set; then :
80866 $as_echo_n "(cached) " >&6
80867 else
80868 if test -n "$DBLATEX"; then
80869 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
80870 else
80871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80872 for as_dir in $PATH
80874 IFS=$as_save_IFS
80875 test -z "$as_dir" && as_dir=.
80876 for ac_exec_ext in '' $ac_executable_extensions; do
80877 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80878 ac_cv_prog_DBLATEX="yes"
80879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80880 break 2
80882 done
80883 done
80884 IFS=$as_save_IFS
80886 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
80889 DBLATEX=$ac_cv_prog_DBLATEX
80890 if test -n "$DBLATEX"; then
80891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
80892 $as_echo "$DBLATEX" >&6; }
80893 else
80894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80895 $as_echo "no" >&6; }
80899 # Extract the first word of "pdflatex", so it can be a program name with args.
80900 set dummy pdflatex; ac_word=$2
80901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80902 $as_echo_n "checking for $ac_word... " >&6; }
80903 if test "${ac_cv_prog_PDFLATEX+set}" = set; then :
80904 $as_echo_n "(cached) " >&6
80905 else
80906 if test -n "$PDFLATEX"; then
80907 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
80908 else
80909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
80910 for as_dir in $PATH
80912 IFS=$as_save_IFS
80913 test -z "$as_dir" && as_dir=.
80914 for ac_exec_ext in '' $ac_executable_extensions; do
80915 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80916 ac_cv_prog_PDFLATEX="yes"
80917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80918 break 2
80920 done
80921 done
80922 IFS=$as_save_IFS
80924 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
80927 PDFLATEX=$ac_cv_prog_PDFLATEX
80928 if test -n "$PDFLATEX"; then
80929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
80930 $as_echo "$PDFLATEX" >&6; }
80931 else
80932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80933 $as_echo "no" >&6; }
80937 if test $ac_cv_prog_DBLATEX = "yes" &&
80938 test $ac_cv_prog_PDFLATEX = "yes"; then
80939 BUILD_PDF_TRUE=
80940 BUILD_PDF_FALSE='#'
80941 else
80942 BUILD_PDF_TRUE='#'
80943 BUILD_PDF_FALSE=
80948 # Propagate the target-specific source directories through the build chain.
80949 ATOMICITY_SRCDIR=config/${atomicity_dir}
80950 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
80951 ATOMIC_FLAGS=${atomic_flags}
80952 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
80953 OS_INC_SRCDIR=config/${os_include_dir}
80954 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
80955 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
80956 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
80957 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
80969 # Determine cross-compile flags and AM_CONDITIONALs.
80970 #AC_SUBST(GLIBCXX_IS_NATIVE)
80971 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
80972 if test $is_hosted = yes; then
80973 GLIBCXX_HOSTED_TRUE=
80974 GLIBCXX_HOSTED_FALSE='#'
80975 else
80976 GLIBCXX_HOSTED_TRUE='#'
80977 GLIBCXX_HOSTED_FALSE=
80981 if test $enable_libstdcxx_pch = yes; then
80982 GLIBCXX_BUILD_PCH_TRUE=
80983 GLIBCXX_BUILD_PCH_FALSE='#'
80984 else
80985 GLIBCXX_BUILD_PCH_TRUE='#'
80986 GLIBCXX_BUILD_PCH_FALSE=
80990 if test $enable_libstdcxx_allocator_flag = new; then
80991 ENABLE_ALLOCATOR_NEW_TRUE=
80992 ENABLE_ALLOCATOR_NEW_FALSE='#'
80993 else
80994 ENABLE_ALLOCATOR_NEW_TRUE='#'
80995 ENABLE_ALLOCATOR_NEW_FALSE=
80999 if test $enable_cheaders = c; then
81000 GLIBCXX_C_HEADERS_C_TRUE=
81001 GLIBCXX_C_HEADERS_C_FALSE='#'
81002 else
81003 GLIBCXX_C_HEADERS_C_TRUE='#'
81004 GLIBCXX_C_HEADERS_C_FALSE=
81008 if test $enable_cheaders = c_std; then
81009 GLIBCXX_C_HEADERS_C_STD_TRUE=
81010 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
81011 else
81012 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
81013 GLIBCXX_C_HEADERS_C_STD_FALSE=
81017 if test $enable_cheaders = c_global; then
81018 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
81019 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
81020 else
81021 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
81022 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
81026 if test $c_compatibility = yes; then
81027 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
81028 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
81029 else
81030 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
81031 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
81035 if test $enable_libstdcxx_debug = yes; then
81036 GLIBCXX_BUILD_DEBUG_TRUE=
81037 GLIBCXX_BUILD_DEBUG_FALSE='#'
81038 else
81039 GLIBCXX_BUILD_DEBUG_TRUE='#'
81040 GLIBCXX_BUILD_DEBUG_FALSE=
81044 if test $enable_extern_template = yes; then
81045 ENABLE_EXTERN_TEMPLATE_TRUE=
81046 ENABLE_EXTERN_TEMPLATE_FALSE='#'
81047 else
81048 ENABLE_EXTERN_TEMPLATE_TRUE='#'
81049 ENABLE_EXTERN_TEMPLATE_FALSE=
81053 if test $python_mod_dir != no; then
81054 ENABLE_PYTHONDIR_TRUE=
81055 ENABLE_PYTHONDIR_FALSE='#'
81056 else
81057 ENABLE_PYTHONDIR_TRUE='#'
81058 ENABLE_PYTHONDIR_FALSE=
81062 if test $enable_werror = yes; then
81063 ENABLE_WERROR_TRUE=
81064 ENABLE_WERROR_FALSE='#'
81065 else
81066 ENABLE_WERROR_TRUE='#'
81067 ENABLE_WERROR_FALSE=
81071 if test $enable_vtable_verify = yes; then
81072 ENABLE_VTABLE_VERIFY_TRUE=
81073 ENABLE_VTABLE_VERIFY_FALSE='#'
81074 else
81075 ENABLE_VTABLE_VERIFY_TRUE='#'
81076 ENABLE_VTABLE_VERIFY_FALSE=
81080 if test $enable_symvers != no; then
81081 ENABLE_SYMVERS_TRUE=
81082 ENABLE_SYMVERS_FALSE='#'
81083 else
81084 ENABLE_SYMVERS_TRUE='#'
81085 ENABLE_SYMVERS_FALSE=
81089 if test $enable_symvers = gnu; then
81090 ENABLE_SYMVERS_GNU_TRUE=
81091 ENABLE_SYMVERS_GNU_FALSE='#'
81092 else
81093 ENABLE_SYMVERS_GNU_TRUE='#'
81094 ENABLE_SYMVERS_GNU_FALSE=
81098 if test $enable_symvers = gnu-versioned-namespace; then
81099 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
81100 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
81101 else
81102 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
81103 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
81107 if test $enable_symvers = darwin; then
81108 ENABLE_SYMVERS_DARWIN_TRUE=
81109 ENABLE_SYMVERS_DARWIN_FALSE='#'
81110 else
81111 ENABLE_SYMVERS_DARWIN_TRUE='#'
81112 ENABLE_SYMVERS_DARWIN_FALSE=
81116 if test $enable_symvers = sun; then
81117 ENABLE_SYMVERS_SUN_TRUE=
81118 ENABLE_SYMVERS_SUN_FALSE='#'
81119 else
81120 ENABLE_SYMVERS_SUN_TRUE='#'
81121 ENABLE_SYMVERS_SUN_FALSE=
81125 if test $enable_libstdcxx_visibility = yes; then
81126 ENABLE_VISIBILITY_TRUE=
81127 ENABLE_VISIBILITY_FALSE='#'
81128 else
81129 ENABLE_VISIBILITY_TRUE='#'
81130 ENABLE_VISIBILITY_FALSE=
81134 if test $enable_libstdcxx_dual_abi = yes; then
81135 ENABLE_DUAL_ABI_TRUE=
81136 ENABLE_DUAL_ABI_FALSE='#'
81137 else
81138 ENABLE_DUAL_ABI_TRUE='#'
81139 ENABLE_DUAL_ABI_FALSE=
81143 if test $glibcxx_cxx11_abi = 1; then
81144 ENABLE_CXX11_ABI_TRUE=
81145 ENABLE_CXX11_ABI_FALSE='#'
81146 else
81147 ENABLE_CXX11_ABI_TRUE='#'
81148 ENABLE_CXX11_ABI_FALSE=
81152 if test $ac_ldbl_compat = yes; then
81153 GLIBCXX_LDBL_COMPAT_TRUE=
81154 GLIBCXX_LDBL_COMPAT_FALSE='#'
81155 else
81156 GLIBCXX_LDBL_COMPAT_TRUE='#'
81157 GLIBCXX_LDBL_COMPAT_FALSE=
81161 if test $enable_libstdcxx_filesystem_ts = yes; then
81162 ENABLE_FILESYSTEM_TS_TRUE=
81163 ENABLE_FILESYSTEM_TS_FALSE='#'
81164 else
81165 ENABLE_FILESYSTEM_TS_TRUE='#'
81166 ENABLE_FILESYSTEM_TS_FALSE=
81172 cat >confcache <<\_ACEOF
81173 # This file is a shell script that caches the results of configure
81174 # tests run on this system so they can be shared between configure
81175 # scripts and configure runs, see configure's option --config-cache.
81176 # It is not useful on other systems. If it contains results you don't
81177 # want to keep, you may remove or edit it.
81179 # config.status only pays attention to the cache file if you give it
81180 # the --recheck option to rerun configure.
81182 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81183 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81184 # following values.
81186 _ACEOF
81188 # The following way of writing the cache mishandles newlines in values,
81189 # but we know of no workaround that is simple, portable, and efficient.
81190 # So, we kill variables containing newlines.
81191 # Ultrix sh set writes to stderr and can't be redirected directly,
81192 # and sets the high bit in the cache file unless we assign to the vars.
81194 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81195 eval ac_val=\$$ac_var
81196 case $ac_val in #(
81197 *${as_nl}*)
81198 case $ac_var in #(
81199 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81200 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81201 esac
81202 case $ac_var in #(
81203 _ | IFS | as_nl) ;; #(
81204 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81205 *) { eval $ac_var=; unset $ac_var;} ;;
81206 esac ;;
81207 esac
81208 done
81210 (set) 2>&1 |
81211 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81212 *${as_nl}ac_space=\ *)
81213 # `set' does not quote correctly, so add quotes: double-quote
81214 # substitution turns \\\\ into \\, and sed turns \\ into \.
81215 sed -n \
81216 "s/'/'\\\\''/g;
81217 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81218 ;; #(
81220 # `set' quotes correctly as required by POSIX, so do not add quotes.
81221 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81223 esac |
81224 sort
81226 sed '
81227 /^ac_cv_env_/b end
81228 t clear
81229 :clear
81230 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81231 t end
81232 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81233 :end' >>confcache
81234 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81235 if test -w "$cache_file"; then
81236 test "x$cache_file" != "x/dev/null" &&
81237 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81238 $as_echo "$as_me: updating cache $cache_file" >&6;}
81239 cat confcache >$cache_file
81240 else
81241 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81242 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81245 rm -f confcache
81247 if test ${multilib} = yes; then
81248 multilib_arg="--enable-multilib"
81249 else
81250 multilib_arg=
81253 # Export all the install information.
81255 glibcxx_toolexecdir=no
81256 glibcxx_toolexeclibdir=no
81257 glibcxx_prefixdir=$prefix
81259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
81260 $as_echo_n "checking for gxx-include-dir... " >&6; }
81262 # Check whether --with-gxx-include-dir was given.
81263 if test "${with_gxx_include_dir+set}" = set; then :
81264 withval=$with_gxx_include_dir; case "$withval" in
81265 yes) as_fn_error "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
81266 no) gxx_include_dir=no ;;
81267 *) gxx_include_dir=$withval ;;
81268 esac
81269 else
81270 gxx_include_dir=no
81273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81274 $as_echo "$gxx_include_dir" >&6; }
81276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
81277 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
81278 # Check whether --enable-version-specific-runtime-libs was given.
81279 if test "${enable_version_specific_runtime_libs+set}" = set; then :
81280 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
81281 yes) version_specific_libs=yes ;;
81282 no) version_specific_libs=no ;;
81283 *) as_fn_error "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
81284 esac
81285 else
81286 version_specific_libs=no
81289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
81290 $as_echo "$version_specific_libs" >&6; }
81292 # Default case for install directory for include files.
81293 if test $version_specific_libs = no && test $gxx_include_dir = no; then
81294 gxx_include_dir='include/c++/${gcc_version}'
81295 if test -n "$with_cross_host" &&
81296 test x"$with_cross_host" != x"no"; then
81297 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
81298 else
81299 gxx_include_dir='${prefix}/'"$gxx_include_dir"
81303 # Version-specific runtime libs processing.
81304 if test $version_specific_libs = yes; then
81305 # Need the gcc compiler version to know where to install libraries
81306 # and header files if --enable-version-specific-runtime-libs option
81307 # is selected. FIXME: these variables are misnamed, there are
81308 # no executables installed in _toolexecdir or _toolexeclibdir.
81309 if test x"$gxx_include_dir" = x"no"; then
81310 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
81312 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81313 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
81316 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
81317 # Install a library built with a cross compiler in tooldir, not libdir.
81318 if test x"$glibcxx_toolexecdir" = x"no"; then
81319 if test -n "$with_cross_host" &&
81320 test x"$with_cross_host" != x"no"; then
81321 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
81322 glibcxx_toolexeclibdir='${toolexecdir}/lib'
81323 else
81324 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
81325 glibcxx_toolexeclibdir='${libdir}'
81327 multi_os_directory=`$CXX -print-multi-os-directory`
81328 case $multi_os_directory in
81329 .) ;; # Avoid trailing /.
81330 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
81331 esac
81334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
81335 $as_echo_n "checking for install location... " >&6; }
81336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
81337 $as_echo "$gxx_include_dir" >&6; }
81345 # Export all the include and flag information to Makefiles.
81347 # Used for every C++ compile we perform.
81348 GLIBCXX_INCLUDES="\
81349 -I$glibcxx_builddir/include/$host_alias \
81350 -I$glibcxx_builddir/include \
81351 -I$glibcxx_srcdir/libsupc++"
81353 # For Canadian crosses, pick this up too.
81354 if test $CANADIAN = yes; then
81355 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
81358 # Stuff in the actual top level. Currently only used by libsupc++ to
81359 # get unwind* headers from the libgcc dir.
81360 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
81361 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
81363 # Now, export this to all the little Makefiles....
81368 # Optimization flags that are probably a good idea for thrill-seekers. Just
81369 # uncomment the lines below and make, everything else is ready to go...
81370 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
81371 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
81374 WARN_FLAGS='-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi'
81378 ac_config_files="$ac_config_files Makefile"
81380 ac_config_files="$ac_config_files scripts/testsuite_flags"
81382 ac_config_files="$ac_config_files scripts/extract_symvers"
81384 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
81387 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
81388 # that multilib installs will end up installed in the correct place.
81389 # The testsuite needs it for multilib-aware ABI baseline files.
81390 # To work around this not being passed down from config-ml.in ->
81391 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
81392 # append it here. Only modify Makefiles that have just been created.
81394 # Also, get rid of this simulated-VPATH thing that automake does.
81395 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"
81398 ac_config_commands="$ac_config_commands generate-headers"
81401 cat >confcache <<\_ACEOF
81402 # This file is a shell script that caches the results of configure
81403 # tests run on this system so they can be shared between configure
81404 # scripts and configure runs, see configure's option --config-cache.
81405 # It is not useful on other systems. If it contains results you don't
81406 # want to keep, you may remove or edit it.
81408 # config.status only pays attention to the cache file if you give it
81409 # the --recheck option to rerun configure.
81411 # `ac_cv_env_foo' variables (set or unset) will be overridden when
81412 # loading this file, other *unset* `ac_cv_foo' will be assigned the
81413 # following values.
81415 _ACEOF
81417 # The following way of writing the cache mishandles newlines in values,
81418 # but we know of no workaround that is simple, portable, and efficient.
81419 # So, we kill variables containing newlines.
81420 # Ultrix sh set writes to stderr and can't be redirected directly,
81421 # and sets the high bit in the cache file unless we assign to the vars.
81423 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
81424 eval ac_val=\$$ac_var
81425 case $ac_val in #(
81426 *${as_nl}*)
81427 case $ac_var in #(
81428 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
81429 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
81430 esac
81431 case $ac_var in #(
81432 _ | IFS | as_nl) ;; #(
81433 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
81434 *) { eval $ac_var=; unset $ac_var;} ;;
81435 esac ;;
81436 esac
81437 done
81439 (set) 2>&1 |
81440 case $as_nl`(ac_space=' '; set) 2>&1` in #(
81441 *${as_nl}ac_space=\ *)
81442 # `set' does not quote correctly, so add quotes: double-quote
81443 # substitution turns \\\\ into \\, and sed turns \\ into \.
81444 sed -n \
81445 "s/'/'\\\\''/g;
81446 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
81447 ;; #(
81449 # `set' quotes correctly as required by POSIX, so do not add quotes.
81450 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
81452 esac |
81453 sort
81455 sed '
81456 /^ac_cv_env_/b end
81457 t clear
81458 :clear
81459 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
81460 t end
81461 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
81462 :end' >>confcache
81463 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
81464 if test -w "$cache_file"; then
81465 test "x$cache_file" != "x/dev/null" &&
81466 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
81467 $as_echo "$as_me: updating cache $cache_file" >&6;}
81468 cat confcache >$cache_file
81469 else
81470 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
81471 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
81474 rm -f confcache
81476 test "x$prefix" = xNONE && prefix=$ac_default_prefix
81477 # Let make expand exec_prefix.
81478 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
81480 DEFS=-DHAVE_CONFIG_H
81482 ac_libobjs=
81483 ac_ltlibobjs=
81484 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
81485 # 1. Remove the extension, and $U if already installed.
81486 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
81487 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
81488 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
81489 # will be set to the directory where LIBOBJS objects are built.
81490 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
81491 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
81492 done
81493 LIBOBJS=$ac_libobjs
81495 LTLIBOBJS=$ac_ltlibobjs
81498 if test -n "$EXEEXT"; then
81499 am__EXEEXT_TRUE=
81500 am__EXEEXT_FALSE='#'
81501 else
81502 am__EXEEXT_TRUE='#'
81503 am__EXEEXT_FALSE=
81506 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
81507 as_fn_error "conditional \"MAINTAINER_MODE\" was never defined.
81508 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81510 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
81511 as_fn_error "conditional \"GLIBCXX_HOSTED\" was never defined.
81512 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81514 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
81515 as_fn_error "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
81516 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81518 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
81519 as_fn_error "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
81520 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81522 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
81523 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
81524 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81526 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
81527 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
81528 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81530 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
81531 as_fn_error "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
81532 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81534 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
81535 as_fn_error "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
81536 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81538 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
81539 as_fn_error "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
81540 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81542 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
81543 as_fn_error "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
81544 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81546 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
81547 as_fn_error "conditional \"ENABLE_PYTHONDIR\" was never defined.
81548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81550 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
81551 as_fn_error "conditional \"ENABLE_WERROR\" was never defined.
81552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81554 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
81555 as_fn_error "conditional \"VTV_CYGMIN\" was never defined.
81556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81558 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
81559 as_fn_error "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
81560 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81562 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
81563 as_fn_error "conditional \"ENABLE_SYMVERS\" was never defined.
81564 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81566 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
81567 as_fn_error "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
81568 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81570 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
81571 as_fn_error "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
81572 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81574 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
81575 as_fn_error "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
81576 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81578 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
81579 as_fn_error "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
81580 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81582 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
81583 as_fn_error "conditional \"ENABLE_VISIBILITY\" was never defined.
81584 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81586 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
81587 as_fn_error "conditional \"ENABLE_DUAL_ABI\" was never defined.
81588 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81590 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
81591 as_fn_error "conditional \"ENABLE_CXX11_ABI\" was never defined.
81592 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81594 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
81595 as_fn_error "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
81596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81598 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
81599 as_fn_error "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
81600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81602 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
81603 as_fn_error "conditional \"BUILD_INFO\" was never defined.
81604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81606 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
81607 as_fn_error "conditional \"BUILD_EPUB\" was never defined.
81608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81610 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
81611 as_fn_error "conditional \"BUILD_XML\" was never defined.
81612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81614 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
81615 as_fn_error "conditional \"BUILD_HTML\" was never defined.
81616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81618 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
81619 as_fn_error "conditional \"BUILD_MAN\" was never defined.
81620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81622 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
81623 as_fn_error "conditional \"BUILD_PDF\" was never defined.
81624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
81627 : ${CONFIG_STATUS=./config.status}
81628 ac_write_fail=0
81629 ac_clean_files_save=$ac_clean_files
81630 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
81631 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
81632 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
81633 as_write_fail=0
81634 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
81635 #! $SHELL
81636 # Generated by $as_me.
81637 # Run this file to recreate the current configuration.
81638 # Compiler output produced by configure, useful for debugging
81639 # configure, is in config.log if it exists.
81641 debug=false
81642 ac_cs_recheck=false
81643 ac_cs_silent=false
81645 SHELL=\${CONFIG_SHELL-$SHELL}
81646 export SHELL
81647 _ASEOF
81648 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
81649 ## -------------------- ##
81650 ## M4sh Initialization. ##
81651 ## -------------------- ##
81653 # Be more Bourne compatible
81654 DUALCASE=1; export DUALCASE # for MKS sh
81655 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
81656 emulate sh
81657 NULLCMD=:
81658 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
81659 # is contrary to our usage. Disable this feature.
81660 alias -g '${1+"$@"}'='"$@"'
81661 setopt NO_GLOB_SUBST
81662 else
81663 case `(set -o) 2>/dev/null` in #(
81664 *posix*) :
81665 set -o posix ;; #(
81666 *) :
81668 esac
81672 as_nl='
81674 export as_nl
81675 # Printing a long string crashes Solaris 7 /usr/bin/printf.
81676 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
81677 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
81678 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
81679 # Prefer a ksh shell builtin over an external printf program on Solaris,
81680 # but without wasting forks for bash or zsh.
81681 if test -z "$BASH_VERSION$ZSH_VERSION" \
81682 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
81683 as_echo='print -r --'
81684 as_echo_n='print -rn --'
81685 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
81686 as_echo='printf %s\n'
81687 as_echo_n='printf %s'
81688 else
81689 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
81690 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
81691 as_echo_n='/usr/ucb/echo -n'
81692 else
81693 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
81694 as_echo_n_body='eval
81695 arg=$1;
81696 case $arg in #(
81697 *"$as_nl"*)
81698 expr "X$arg" : "X\\(.*\\)$as_nl";
81699 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
81700 esac;
81701 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
81703 export as_echo_n_body
81704 as_echo_n='sh -c $as_echo_n_body as_echo'
81706 export as_echo_body
81707 as_echo='sh -c $as_echo_body as_echo'
81710 # The user is always right.
81711 if test "${PATH_SEPARATOR+set}" != set; then
81712 PATH_SEPARATOR=:
81713 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81714 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81715 PATH_SEPARATOR=';'
81720 # IFS
81721 # We need space, tab and new line, in precisely that order. Quoting is
81722 # there to prevent editors from complaining about space-tab.
81723 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
81724 # splitting by setting IFS to empty value.)
81725 IFS=" "" $as_nl"
81727 # Find who we are. Look in the path if we contain no directory separator.
81728 case $0 in #((
81729 *[\\/]* ) as_myself=$0 ;;
81730 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81731 for as_dir in $PATH
81733 IFS=$as_save_IFS
81734 test -z "$as_dir" && as_dir=.
81735 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
81736 done
81737 IFS=$as_save_IFS
81740 esac
81741 # We did not find ourselves, most probably we were run as `sh COMMAND'
81742 # in which case we are not to be found in the path.
81743 if test "x$as_myself" = x; then
81744 as_myself=$0
81746 if test ! -f "$as_myself"; then
81747 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
81748 exit 1
81751 # Unset variables that we do not need and which cause bugs (e.g. in
81752 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
81753 # suppresses any "Segmentation fault" message there. '((' could
81754 # trigger a bug in pdksh 5.2.14.
81755 for as_var in BASH_ENV ENV MAIL MAILPATH
81756 do eval test x\${$as_var+set} = xset \
81757 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
81758 done
81759 PS1='$ '
81760 PS2='> '
81761 PS4='+ '
81763 # NLS nuisances.
81764 LC_ALL=C
81765 export LC_ALL
81766 LANGUAGE=C
81767 export LANGUAGE
81769 # CDPATH.
81770 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
81773 # as_fn_error ERROR [LINENO LOG_FD]
81774 # ---------------------------------
81775 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
81776 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
81777 # script with status $?, using 1 if that was 0.
81778 as_fn_error ()
81780 as_status=$?; test $as_status -eq 0 && as_status=1
81781 if test "$3"; then
81782 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
81783 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
81785 $as_echo "$as_me: error: $1" >&2
81786 as_fn_exit $as_status
81787 } # as_fn_error
81790 # as_fn_set_status STATUS
81791 # -----------------------
81792 # Set $? to STATUS, without forking.
81793 as_fn_set_status ()
81795 return $1
81796 } # as_fn_set_status
81798 # as_fn_exit STATUS
81799 # -----------------
81800 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
81801 as_fn_exit ()
81803 set +e
81804 as_fn_set_status $1
81805 exit $1
81806 } # as_fn_exit
81808 # as_fn_unset VAR
81809 # ---------------
81810 # Portably unset VAR.
81811 as_fn_unset ()
81813 { eval $1=; unset $1;}
81815 as_unset=as_fn_unset
81816 # as_fn_append VAR VALUE
81817 # ----------------------
81818 # Append the text in VALUE to the end of the definition contained in VAR. Take
81819 # advantage of any shell optimizations that allow amortized linear growth over
81820 # repeated appends, instead of the typical quadratic growth present in naive
81821 # implementations.
81822 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
81823 eval 'as_fn_append ()
81825 eval $1+=\$2
81827 else
81828 as_fn_append ()
81830 eval $1=\$$1\$2
81832 fi # as_fn_append
81834 # as_fn_arith ARG...
81835 # ------------------
81836 # Perform arithmetic evaluation on the ARGs, and store the result in the
81837 # global $as_val. Take advantage of shells that can avoid forks. The arguments
81838 # must be portable across $(()) and expr.
81839 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
81840 eval 'as_fn_arith ()
81842 as_val=$(( $* ))
81844 else
81845 as_fn_arith ()
81847 as_val=`expr "$@" || test $? -eq 1`
81849 fi # as_fn_arith
81852 if expr a : '\(a\)' >/dev/null 2>&1 &&
81853 test "X`expr 00001 : '.*\(...\)'`" = X001; then
81854 as_expr=expr
81855 else
81856 as_expr=false
81859 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
81860 as_basename=basename
81861 else
81862 as_basename=false
81865 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
81866 as_dirname=dirname
81867 else
81868 as_dirname=false
81871 as_me=`$as_basename -- "$0" ||
81872 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
81873 X"$0" : 'X\(//\)$' \| \
81874 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
81875 $as_echo X/"$0" |
81876 sed '/^.*\/\([^/][^/]*\)\/*$/{
81877 s//\1/
81880 /^X\/\(\/\/\)$/{
81881 s//\1/
81884 /^X\/\(\/\).*/{
81885 s//\1/
81888 s/.*/./; q'`
81890 # Avoid depending upon Character Ranges.
81891 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81892 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
81893 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
81894 as_cr_digits='0123456789'
81895 as_cr_alnum=$as_cr_Letters$as_cr_digits
81897 ECHO_C= ECHO_N= ECHO_T=
81898 case `echo -n x` in #(((((
81899 -n*)
81900 case `echo 'xy\c'` in
81901 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
81902 xy) ECHO_C='\c';;
81903 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
81904 ECHO_T=' ';;
81905 esac;;
81907 ECHO_N='-n';;
81908 esac
81910 rm -f conf$$ conf$$.exe conf$$.file
81911 if test -d conf$$.dir; then
81912 rm -f conf$$.dir/conf$$.file
81913 else
81914 rm -f conf$$.dir
81915 mkdir conf$$.dir 2>/dev/null
81917 if (echo >conf$$.file) 2>/dev/null; then
81918 if ln -s conf$$.file conf$$ 2>/dev/null; then
81919 as_ln_s='ln -s'
81920 # ... but there are two gotchas:
81921 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
81922 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
81923 # In both cases, we have to default to `cp -p'.
81924 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
81925 as_ln_s='cp -p'
81926 elif ln conf$$.file conf$$ 2>/dev/null; then
81927 as_ln_s=ln
81928 else
81929 as_ln_s='cp -p'
81931 else
81932 as_ln_s='cp -p'
81934 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
81935 rmdir conf$$.dir 2>/dev/null
81938 # as_fn_mkdir_p
81939 # -------------
81940 # Create "$as_dir" as a directory, including parents if necessary.
81941 as_fn_mkdir_p ()
81944 case $as_dir in #(
81945 -*) as_dir=./$as_dir;;
81946 esac
81947 test -d "$as_dir" || eval $as_mkdir_p || {
81948 as_dirs=
81949 while :; do
81950 case $as_dir in #(
81951 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
81952 *) as_qdir=$as_dir;;
81953 esac
81954 as_dirs="'$as_qdir' $as_dirs"
81955 as_dir=`$as_dirname -- "$as_dir" ||
81956 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
81957 X"$as_dir" : 'X\(//\)[^/]' \| \
81958 X"$as_dir" : 'X\(//\)$' \| \
81959 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
81960 $as_echo X"$as_dir" |
81961 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
81962 s//\1/
81965 /^X\(\/\/\)[^/].*/{
81966 s//\1/
81969 /^X\(\/\/\)$/{
81970 s//\1/
81973 /^X\(\/\).*/{
81974 s//\1/
81977 s/.*/./; q'`
81978 test -d "$as_dir" && break
81979 done
81980 test -z "$as_dirs" || eval "mkdir $as_dirs"
81981 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
81984 } # as_fn_mkdir_p
81985 if mkdir -p . 2>/dev/null; then
81986 as_mkdir_p='mkdir -p "$as_dir"'
81987 else
81988 test -d ./-p && rmdir ./-p
81989 as_mkdir_p=false
81992 if test -x / >/dev/null 2>&1; then
81993 as_test_x='test -x'
81994 else
81995 if ls -dL / >/dev/null 2>&1; then
81996 as_ls_L_option=L
81997 else
81998 as_ls_L_option=
82000 as_test_x='
82001 eval sh -c '\''
82002 if test -d "$1"; then
82003 test -d "$1/.";
82004 else
82005 case $1 in #(
82006 -*)set "./$1";;
82007 esac;
82008 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
82009 ???[sx]*):;;*)false;;esac;fi
82010 '\'' sh
82013 as_executable_p=$as_test_x
82015 # Sed expression to map a string onto a valid CPP name.
82016 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
82018 # Sed expression to map a string onto a valid variable name.
82019 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
82022 exec 6>&1
82023 ## ----------------------------------- ##
82024 ## Main body of $CONFIG_STATUS script. ##
82025 ## ----------------------------------- ##
82026 _ASEOF
82027 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
82029 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82030 # Save the log message, to keep $0 and so on meaningful, and to
82031 # report actual input values of CONFIG_FILES etc. instead of their
82032 # values after options handling.
82033 ac_log="
82034 This file was extended by package-unused $as_me version-unused, which was
82035 generated by GNU Autoconf 2.64. Invocation command line was
82037 CONFIG_FILES = $CONFIG_FILES
82038 CONFIG_HEADERS = $CONFIG_HEADERS
82039 CONFIG_LINKS = $CONFIG_LINKS
82040 CONFIG_COMMANDS = $CONFIG_COMMANDS
82041 $ $0 $@
82043 on `(hostname || uname -n) 2>/dev/null | sed 1q`
82046 _ACEOF
82048 case $ac_config_files in *"
82049 "*) set x $ac_config_files; shift; ac_config_files=$*;;
82050 esac
82052 case $ac_config_headers in *"
82053 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
82054 esac
82057 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82058 # Files that config.status was made for.
82059 config_files="$ac_config_files"
82060 config_headers="$ac_config_headers"
82061 config_commands="$ac_config_commands"
82063 _ACEOF
82065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82066 ac_cs_usage="\
82067 \`$as_me' instantiates files and other configuration actions
82068 from templates according to the current configuration. Unless the files
82069 and actions are specified as TAGs, all are instantiated by default.
82071 Usage: $0 [OPTION]... [TAG]...
82073 -h, --help print this help, then exit
82074 -V, --version print version number and configuration settings, then exit
82075 -q, --quiet, --silent
82076 do not print progress messages
82077 -d, --debug don't remove temporary files
82078 --recheck update $as_me by reconfiguring in the same conditions
82079 --file=FILE[:TEMPLATE]
82080 instantiate the configuration file FILE
82081 --header=FILE[:TEMPLATE]
82082 instantiate the configuration header FILE
82084 Configuration files:
82085 $config_files
82087 Configuration headers:
82088 $config_headers
82090 Configuration commands:
82091 $config_commands
82093 Report bugs to the package provider."
82095 _ACEOF
82096 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82097 ac_cs_version="\\
82098 package-unused config.status version-unused
82099 configured by $0, generated by GNU Autoconf 2.64,
82100 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
82102 Copyright (C) 2009 Free Software Foundation, Inc.
82103 This config.status script is free software; the Free Software Foundation
82104 gives unlimited permission to copy, distribute and modify it."
82106 ac_pwd='$ac_pwd'
82107 srcdir='$srcdir'
82108 INSTALL='$INSTALL'
82109 MKDIR_P='$MKDIR_P'
82110 AWK='$AWK'
82111 test -n "\$AWK" || AWK=awk
82112 _ACEOF
82114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82115 # The default lists apply if the user does not specify any file.
82116 ac_need_defaults=:
82117 while test $# != 0
82119 case $1 in
82120 --*=*)
82121 ac_option=`expr "X$1" : 'X\([^=]*\)='`
82122 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
82123 ac_shift=:
82126 ac_option=$1
82127 ac_optarg=$2
82128 ac_shift=shift
82130 esac
82132 case $ac_option in
82133 # Handling of the options.
82134 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
82135 ac_cs_recheck=: ;;
82136 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
82137 $as_echo "$ac_cs_version"; exit ;;
82138 --debug | --debu | --deb | --de | --d | -d )
82139 debug=: ;;
82140 --file | --fil | --fi | --f )
82141 $ac_shift
82142 case $ac_optarg in
82143 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82144 esac
82145 as_fn_append CONFIG_FILES " '$ac_optarg'"
82146 ac_need_defaults=false;;
82147 --header | --heade | --head | --hea )
82148 $ac_shift
82149 case $ac_optarg in
82150 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
82151 esac
82152 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
82153 ac_need_defaults=false;;
82154 --he | --h)
82155 # Conflict between --help and --header
82156 as_fn_error "ambiguous option: \`$1'
82157 Try \`$0 --help' for more information.";;
82158 --help | --hel | -h )
82159 $as_echo "$ac_cs_usage"; exit ;;
82160 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
82161 | -silent | --silent | --silen | --sile | --sil | --si | --s)
82162 ac_cs_silent=: ;;
82164 # This is an error.
82165 -*) as_fn_error "unrecognized option: \`$1'
82166 Try \`$0 --help' for more information." ;;
82168 *) as_fn_append ac_config_targets " $1"
82169 ac_need_defaults=false ;;
82171 esac
82172 shift
82173 done
82175 ac_configure_extra_args=
82177 if $ac_cs_silent; then
82178 exec 6>/dev/null
82179 ac_configure_extra_args="$ac_configure_extra_args --silent"
82182 _ACEOF
82183 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82184 if \$ac_cs_recheck; then
82185 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
82186 shift
82187 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
82188 CONFIG_SHELL='$SHELL'
82189 export CONFIG_SHELL
82190 exec "\$@"
82193 _ACEOF
82194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82195 exec 5>>config.log
82197 echo
82198 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
82199 ## Running $as_me. ##
82200 _ASBOX
82201 $as_echo "$ac_log"
82202 } >&5
82204 _ACEOF
82205 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82207 # INIT-COMMANDS
82210 srcdir="$srcdir"
82211 host="$host"
82212 target="$target"
82213 with_multisubdir="$with_multisubdir"
82214 with_multisrctop="$with_multisrctop"
82215 with_target_subdir="$with_target_subdir"
82216 ac_configure_args="${multilib_arg} ${ac_configure_args}"
82217 multi_basedir="$multi_basedir"
82218 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
82219 CC="$CC"
82220 CXX="$CXX"
82221 GFORTRAN="$GFORTRAN"
82222 GCJ="$GCJ"
82225 # The HP-UX ksh and POSIX shell print the target directory to stdout
82226 # if CDPATH is set.
82227 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82229 sed_quote_subst='$sed_quote_subst'
82230 double_quote_subst='$double_quote_subst'
82231 delay_variable_subst='$delay_variable_subst'
82232 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
82233 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
82234 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
82235 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
82236 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
82237 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
82238 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
82239 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
82240 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
82241 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
82242 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
82243 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
82244 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
82245 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
82246 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
82247 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
82248 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
82249 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
82250 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
82251 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
82252 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
82253 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
82254 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
82255 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
82256 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
82257 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
82258 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
82259 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
82260 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
82261 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
82262 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
82263 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
82264 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
82265 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
82266 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
82267 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
82268 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
82269 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82270 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82271 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
82272 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
82273 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
82274 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
82275 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
82276 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
82277 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
82278 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
82279 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
82280 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"`'
82281 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
82282 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
82283 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
82284 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
82285 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
82286 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
82287 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
82288 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
82289 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
82290 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
82291 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
82292 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
82293 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
82294 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
82295 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
82296 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82297 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
82298 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
82299 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
82300 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
82301 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
82302 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
82303 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
82304 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
82305 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82306 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
82307 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
82308 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
82309 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
82310 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
82311 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
82312 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
82313 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
82314 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
82315 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
82316 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
82317 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
82318 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
82319 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
82320 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
82321 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
82322 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
82323 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
82324 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
82325 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
82326 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
82327 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
82328 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
82329 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
82330 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
82331 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
82332 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
82333 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
82334 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
82335 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
82336 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
82337 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
82338 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
82339 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
82340 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
82341 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
82342 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
82343 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
82344 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
82345 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
82346 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
82347 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
82348 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
82349 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
82350 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
82351 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
82352 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
82353 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
82354 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
82355 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
82356 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
82357 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
82358 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
82359 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
82360 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82361 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82362 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
82363 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
82364 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
82365 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
82366 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
82367 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
82368 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
82369 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
82370 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
82371 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82372 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82373 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
82374 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82375 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82376 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82377 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82378 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82379 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82380 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
82381 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82382 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
82383 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
82384 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
82385 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
82386 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
82387 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
82388 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
82389 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
82390 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
82391 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
82392 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
82393 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
82394 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
82395 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82396 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82397 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
82398 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
82399 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
82400 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
82401 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
82402 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82403 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
82404 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
82405 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
82406 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
82408 LTCC='$LTCC'
82409 LTCFLAGS='$LTCFLAGS'
82410 compiler='$compiler_DEFAULT'
82412 # A function that is used when there is no print builtin or printf.
82413 func_fallback_echo ()
82415 eval 'cat <<_LTECHO_EOF
82417 _LTECHO_EOF'
82420 # Quote evaled strings.
82421 for var in SHELL \
82422 ECHO \
82423 SED \
82424 GREP \
82425 EGREP \
82426 FGREP \
82427 LD \
82428 NM \
82429 LN_S \
82430 lt_SP2NL \
82431 lt_NL2SP \
82432 reload_flag \
82433 OBJDUMP \
82434 deplibs_check_method \
82435 file_magic_cmd \
82436 AR \
82437 AR_FLAGS \
82438 STRIP \
82439 RANLIB \
82440 CC \
82441 CFLAGS \
82442 compiler \
82443 lt_cv_sys_global_symbol_pipe \
82444 lt_cv_sys_global_symbol_to_cdecl \
82445 lt_cv_sys_global_symbol_to_c_name_address \
82446 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
82447 lt_prog_compiler_no_builtin_flag \
82448 lt_prog_compiler_wl \
82449 lt_prog_compiler_pic \
82450 lt_prog_compiler_static \
82451 lt_cv_prog_compiler_c_o \
82452 need_locks \
82453 DSYMUTIL \
82454 NMEDIT \
82455 LIPO \
82456 OTOOL \
82457 OTOOL64 \
82458 shrext_cmds \
82459 export_dynamic_flag_spec \
82460 whole_archive_flag_spec \
82461 compiler_needs_object \
82462 with_gnu_ld \
82463 allow_undefined_flag \
82464 no_undefined_flag \
82465 hardcode_libdir_flag_spec \
82466 hardcode_libdir_flag_spec_ld \
82467 hardcode_libdir_separator \
82468 fix_srcfile_path \
82469 exclude_expsyms \
82470 include_expsyms \
82471 file_list_spec \
82472 variables_saved_for_relink \
82473 libname_spec \
82474 library_names_spec \
82475 soname_spec \
82476 install_override_mode \
82477 finish_eval \
82478 old_striplib \
82479 striplib \
82480 compiler_lib_search_dirs \
82481 predep_objects \
82482 postdep_objects \
82483 predeps \
82484 postdeps \
82485 compiler_lib_search_path \
82486 LD_CXX \
82487 reload_flag_CXX \
82488 compiler_CXX \
82489 lt_prog_compiler_no_builtin_flag_CXX \
82490 lt_prog_compiler_wl_CXX \
82491 lt_prog_compiler_pic_CXX \
82492 lt_prog_compiler_static_CXX \
82493 lt_cv_prog_compiler_c_o_CXX \
82494 export_dynamic_flag_spec_CXX \
82495 whole_archive_flag_spec_CXX \
82496 compiler_needs_object_CXX \
82497 with_gnu_ld_CXX \
82498 allow_undefined_flag_CXX \
82499 no_undefined_flag_CXX \
82500 hardcode_libdir_flag_spec_CXX \
82501 hardcode_libdir_flag_spec_ld_CXX \
82502 hardcode_libdir_separator_CXX \
82503 fix_srcfile_path_CXX \
82504 exclude_expsyms_CXX \
82505 include_expsyms_CXX \
82506 file_list_spec_CXX \
82507 compiler_lib_search_dirs_CXX \
82508 predep_objects_CXX \
82509 postdep_objects_CXX \
82510 predeps_CXX \
82511 postdeps_CXX \
82512 compiler_lib_search_path_CXX; do
82513 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82514 *[\\\\\\\`\\"\\\$]*)
82515 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
82518 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82520 esac
82521 done
82523 # Double-quote double-evaled strings.
82524 for var in reload_cmds \
82525 old_postinstall_cmds \
82526 old_postuninstall_cmds \
82527 old_archive_cmds \
82528 extract_expsyms_cmds \
82529 old_archive_from_new_cmds \
82530 old_archive_from_expsyms_cmds \
82531 archive_cmds \
82532 archive_expsym_cmds \
82533 module_cmds \
82534 module_expsym_cmds \
82535 export_symbols_cmds \
82536 prelink_cmds \
82537 postinstall_cmds \
82538 postuninstall_cmds \
82539 finish_cmds \
82540 sys_lib_search_path_spec \
82541 sys_lib_dlsearch_path_spec \
82542 reload_cmds_CXX \
82543 old_archive_cmds_CXX \
82544 old_archive_from_new_cmds_CXX \
82545 old_archive_from_expsyms_cmds_CXX \
82546 archive_cmds_CXX \
82547 archive_expsym_cmds_CXX \
82548 module_cmds_CXX \
82549 module_expsym_cmds_CXX \
82550 export_symbols_cmds_CXX \
82551 prelink_cmds_CXX; do
82552 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
82553 *[\\\\\\\`\\"\\\$]*)
82554 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
82557 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
82559 esac
82560 done
82562 ac_aux_dir='$ac_aux_dir'
82563 xsi_shell='$xsi_shell'
82564 lt_shell_append='$lt_shell_append'
82566 # See if we are running on zsh, and set the options which allow our
82567 # commands through without removal of \ escapes INIT.
82568 if test -n "\${ZSH_VERSION+set}" ; then
82569 setopt NO_GLOB_SUBST
82573 PACKAGE='$PACKAGE'
82574 VERSION='$VERSION'
82575 TIMESTAMP='$TIMESTAMP'
82576 RM='$RM'
82577 ofile='$ofile'
82584 GCC="$GCC"
82585 CC="$CC"
82586 acx_cv_header_stdint="$acx_cv_header_stdint"
82587 acx_cv_type_int8_t="$acx_cv_type_int8_t"
82588 acx_cv_type_int16_t="$acx_cv_type_int16_t"
82589 acx_cv_type_int32_t="$acx_cv_type_int32_t"
82590 acx_cv_type_int64_t="$acx_cv_type_int64_t"
82591 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
82592 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
82593 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
82594 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
82595 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
82596 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
82597 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
82598 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
82599 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
82602 _ACEOF
82604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82606 # Handling of arguments.
82607 for ac_config_target in $ac_config_targets
82609 case $ac_config_target in
82610 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
82611 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
82612 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
82613 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
82614 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
82615 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
82616 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
82617 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
82618 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
82619 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
82620 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
82621 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
82622 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
82623 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
82624 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
82625 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
82626 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
82627 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
82628 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
82630 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
82631 esac
82632 done
82635 # If the user did not use the arguments to specify the items to instantiate,
82636 # then the envvar interface is used. Set only those that are not.
82637 # We use the long form for the default assignment because of an extremely
82638 # bizarre bug on SunOS 4.1.3.
82639 if $ac_need_defaults; then
82640 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
82641 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
82642 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
82645 # Have a temporary directory for convenience. Make it in the build tree
82646 # simply because there is no reason against having it here, and in addition,
82647 # creating and moving files from /tmp can sometimes cause problems.
82648 # Hook for its removal unless debugging.
82649 # Note that there is a small window in which the directory will not be cleaned:
82650 # after its creation but before its name has been assigned to `$tmp'.
82651 $debug ||
82653 tmp=
82654 trap 'exit_status=$?
82655 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
82657 trap 'as_fn_exit 1' 1 2 13 15
82659 # Create a (secure) tmp directory for tmp files.
82662 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
82663 test -n "$tmp" && test -d "$tmp"
82664 } ||
82666 tmp=./conf$$-$RANDOM
82667 (umask 077 && mkdir "$tmp")
82668 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
82670 # Set up the scripts for CONFIG_FILES section.
82671 # No need to generate them if there are no CONFIG_FILES.
82672 # This happens for instance with `./config.status config.h'.
82673 if test -n "$CONFIG_FILES"; then
82676 ac_cr=`echo X | tr X '\015'`
82677 # On cygwin, bash can eat \r inside `` if the user requested igncr.
82678 # But we know of no other shell where ac_cr would be empty at this
82679 # point, so we can use a bashism as a fallback.
82680 if test "x$ac_cr" = x; then
82681 eval ac_cr=\$\'\\r\'
82683 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
82684 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
82685 ac_cs_awk_cr='\r'
82686 else
82687 ac_cs_awk_cr=$ac_cr
82690 echo 'BEGIN {' >"$tmp/subs1.awk" &&
82691 _ACEOF
82695 echo "cat >conf$$subs.awk <<_ACEOF" &&
82696 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
82697 echo "_ACEOF"
82698 } >conf$$subs.sh ||
82699 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82700 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
82701 ac_delim='%!_!# '
82702 for ac_last_try in false false false false false :; do
82703 . ./conf$$subs.sh ||
82704 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82706 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
82707 if test $ac_delim_n = $ac_delim_num; then
82708 break
82709 elif $ac_last_try; then
82710 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
82711 else
82712 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82714 done
82715 rm -f conf$$subs.sh
82717 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82718 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
82719 _ACEOF
82720 sed -n '
82722 s/^/S["/; s/!.*/"]=/
82725 s/^[^!]*!//
82726 :repl
82727 t repl
82728 s/'"$ac_delim"'$//
82729 t delim
82732 s/\(.\{148\}\).*/\1/
82733 t more1
82734 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
82737 b repl
82738 :more1
82739 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82742 s/.\{148\}//
82743 t nl
82744 :delim
82746 s/\(.\{148\}\).*/\1/
82747 t more2
82748 s/["\\]/\\&/g; s/^/"/; s/$/"/
82751 :more2
82752 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
82755 s/.\{148\}//
82756 t delim
82757 ' <conf$$subs.awk | sed '
82758 /^[^""]/{
82760 s/\n//
82762 ' >>$CONFIG_STATUS || ac_write_fail=1
82763 rm -f conf$$subs.awk
82764 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82765 _ACAWK
82766 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
82767 for (key in S) S_is_set[key] = 1
82768 FS = "\a"
82772 line = $ 0
82773 nfields = split(line, field, "@")
82774 substed = 0
82775 len = length(field[1])
82776 for (i = 2; i < nfields; i++) {
82777 key = field[i]
82778 keylen = length(key)
82779 if (S_is_set[key]) {
82780 value = S[key]
82781 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
82782 len += length(value) + length(field[++i])
82783 substed = 1
82784 } else
82785 len += 1 + keylen
82788 print line
82791 _ACAWK
82792 _ACEOF
82793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82794 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
82795 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
82796 else
82798 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
82799 || as_fn_error "could not setup config files machinery" "$LINENO" 5
82800 _ACEOF
82802 # VPATH may cause trouble with some makes, so we remove $(srcdir),
82803 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
82804 # trailing colons and then remove the whole line if VPATH becomes empty
82805 # (actually we leave an empty line to preserve line numbers).
82806 if test "x$srcdir" = x.; then
82807 ac_vpsub='/^[ ]*VPATH[ ]*=/{
82808 s/:*\$(srcdir):*/:/
82809 s/:*\${srcdir}:*/:/
82810 s/:*@srcdir@:*/:/
82811 s/^\([^=]*=[ ]*\):*/\1/
82812 s/:*$//
82813 s/^[^=]*=[ ]*$//
82817 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82818 fi # test -n "$CONFIG_FILES"
82820 # Set up the scripts for CONFIG_HEADERS section.
82821 # No need to generate them if there are no CONFIG_HEADERS.
82822 # This happens for instance with `./config.status Makefile'.
82823 if test -n "$CONFIG_HEADERS"; then
82824 cat >"$tmp/defines.awk" <<\_ACAWK ||
82825 BEGIN {
82826 _ACEOF
82828 # Transform confdefs.h into an awk script `defines.awk', embedded as
82829 # here-document in config.status, that substitutes the proper values into
82830 # config.h.in to produce config.h.
82832 # Create a delimiter string that does not exist in confdefs.h, to ease
82833 # handling of long lines.
82834 ac_delim='%!_!# '
82835 for ac_last_try in false false :; do
82836 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
82837 if test -z "$ac_t"; then
82838 break
82839 elif $ac_last_try; then
82840 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
82841 else
82842 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
82844 done
82846 # For the awk script, D is an array of macro values keyed by name,
82847 # likewise P contains macro parameters if any. Preserve backslash
82848 # newline sequences.
82850 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
82851 sed -n '
82852 s/.\{148\}/&'"$ac_delim"'/g
82853 t rset
82854 :rset
82855 s/^[ ]*#[ ]*define[ ][ ]*/ /
82856 t def
82858 :def
82859 s/\\$//
82860 t bsnl
82861 s/["\\]/\\&/g
82862 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82863 D["\1"]=" \3"/p
82864 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
82866 :bsnl
82867 s/["\\]/\\&/g
82868 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
82869 D["\1"]=" \3\\\\\\n"\\/p
82870 t cont
82871 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
82872 t cont
82874 :cont
82876 s/.\{148\}/&'"$ac_delim"'/g
82877 t clear
82878 :clear
82879 s/\\$//
82880 t bsnlc
82881 s/["\\]/\\&/g; s/^/"/; s/$/"/p
82883 :bsnlc
82884 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
82885 b cont
82886 ' <confdefs.h | sed '
82887 s/'"$ac_delim"'/"\\\
82888 "/g' >>$CONFIG_STATUS || ac_write_fail=1
82890 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
82891 for (key in D) D_is_set[key] = 1
82892 FS = "\a"
82894 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
82895 line = \$ 0
82896 split(line, arg, " ")
82897 if (arg[1] == "#") {
82898 defundef = arg[2]
82899 mac1 = arg[3]
82900 } else {
82901 defundef = substr(arg[1], 2)
82902 mac1 = arg[2]
82904 split(mac1, mac2, "(") #)
82905 macro = mac2[1]
82906 prefix = substr(line, 1, index(line, defundef) - 1)
82907 if (D_is_set[macro]) {
82908 # Preserve the white space surrounding the "#".
82909 print prefix "define", macro P[macro] D[macro]
82910 next
82911 } else {
82912 # Replace #undef with comments. This is necessary, for example,
82913 # in the case of _POSIX_SOURCE, which is predefined and required
82914 # on some systems where configure will not decide to define it.
82915 if (defundef == "undef") {
82916 print "/*", prefix defundef, macro, "*/"
82917 next
82921 { print }
82922 _ACAWK
82923 _ACEOF
82924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
82925 as_fn_error "could not setup config headers machinery" "$LINENO" 5
82926 fi # test -n "$CONFIG_HEADERS"
82929 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
82930 shift
82931 for ac_tag
82933 case $ac_tag in
82934 :[FHLC]) ac_mode=$ac_tag; continue;;
82935 esac
82936 case $ac_mode$ac_tag in
82937 :[FHL]*:*);;
82938 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
82939 :[FH]-) ac_tag=-:-;;
82940 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
82941 esac
82942 ac_save_IFS=$IFS
82943 IFS=:
82944 set x $ac_tag
82945 IFS=$ac_save_IFS
82946 shift
82947 ac_file=$1
82948 shift
82950 case $ac_mode in
82951 :L) ac_source=$1;;
82952 :[FH])
82953 ac_file_inputs=
82954 for ac_f
82956 case $ac_f in
82957 -) ac_f="$tmp/stdin";;
82958 *) # Look for the file first in the build tree, then in the source tree
82959 # (if the path is not absolute). The absolute path cannot be DOS-style,
82960 # because $ac_f cannot contain `:'.
82961 test -f "$ac_f" ||
82962 case $ac_f in
82963 [\\/$]*) false;;
82964 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
82965 esac ||
82966 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
82967 esac
82968 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
82969 as_fn_append ac_file_inputs " '$ac_f'"
82970 done
82972 # Let's still pretend it is `configure' which instantiates (i.e., don't
82973 # use $as_me), people would be surprised to read:
82974 # /* config.h. Generated by config.status. */
82975 configure_input='Generated from '`
82976 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
82977 `' by configure.'
82978 if test x"$ac_file" != x-; then
82979 configure_input="$ac_file. $configure_input"
82980 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
82981 $as_echo "$as_me: creating $ac_file" >&6;}
82983 # Neutralize special characters interpreted by sed in replacement strings.
82984 case $configure_input in #(
82985 *\&* | *\|* | *\\* )
82986 ac_sed_conf_input=`$as_echo "$configure_input" |
82987 sed 's/[\\\\&|]/\\\\&/g'`;; #(
82988 *) ac_sed_conf_input=$configure_input;;
82989 esac
82991 case $ac_tag in
82992 *:-:* | *:-) cat >"$tmp/stdin" \
82993 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
82994 esac
82996 esac
82998 ac_dir=`$as_dirname -- "$ac_file" ||
82999 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83000 X"$ac_file" : 'X\(//\)[^/]' \| \
83001 X"$ac_file" : 'X\(//\)$' \| \
83002 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
83003 $as_echo X"$ac_file" |
83004 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83005 s//\1/
83008 /^X\(\/\/\)[^/].*/{
83009 s//\1/
83012 /^X\(\/\/\)$/{
83013 s//\1/
83016 /^X\(\/\).*/{
83017 s//\1/
83020 s/.*/./; q'`
83021 as_dir="$ac_dir"; as_fn_mkdir_p
83022 ac_builddir=.
83024 case "$ac_dir" in
83025 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
83027 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
83028 # A ".." for each directory in $ac_dir_suffix.
83029 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
83030 case $ac_top_builddir_sub in
83031 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
83032 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
83033 esac ;;
83034 esac
83035 ac_abs_top_builddir=$ac_pwd
83036 ac_abs_builddir=$ac_pwd$ac_dir_suffix
83037 # for backward compatibility:
83038 ac_top_builddir=$ac_top_build_prefix
83040 case $srcdir in
83041 .) # We are building in place.
83042 ac_srcdir=.
83043 ac_top_srcdir=$ac_top_builddir_sub
83044 ac_abs_top_srcdir=$ac_pwd ;;
83045 [\\/]* | ?:[\\/]* ) # Absolute name.
83046 ac_srcdir=$srcdir$ac_dir_suffix;
83047 ac_top_srcdir=$srcdir
83048 ac_abs_top_srcdir=$srcdir ;;
83049 *) # Relative name.
83050 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
83051 ac_top_srcdir=$ac_top_build_prefix$srcdir
83052 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
83053 esac
83054 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
83057 case $ac_mode in
83060 # CONFIG_FILE
83063 case $INSTALL in
83064 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
83065 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
83066 esac
83067 ac_MKDIR_P=$MKDIR_P
83068 case $MKDIR_P in
83069 [\\/$]* | ?:[\\/]* ) ;;
83070 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
83071 esac
83072 _ACEOF
83074 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83075 # If the template does not know about datarootdir, expand it.
83076 # FIXME: This hack should be removed a few years after 2.60.
83077 ac_datarootdir_hack=; ac_datarootdir_seen=
83078 ac_sed_dataroot='
83079 /datarootdir/ {
83083 /@datadir@/p
83084 /@docdir@/p
83085 /@infodir@/p
83086 /@localedir@/p
83087 /@mandir@/p'
83088 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
83089 *datarootdir*) ac_datarootdir_seen=yes;;
83090 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
83091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
83092 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
83093 _ACEOF
83094 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83095 ac_datarootdir_hack='
83096 s&@datadir@&$datadir&g
83097 s&@docdir@&$docdir&g
83098 s&@infodir@&$infodir&g
83099 s&@localedir@&$localedir&g
83100 s&@mandir@&$mandir&g
83101 s&\\\${datarootdir}&$datarootdir&g' ;;
83102 esac
83103 _ACEOF
83105 # Neutralize VPATH when `$srcdir' = `.'.
83106 # Shell code in configure.ac might set extrasub.
83107 # FIXME: do we really want to maintain this feature?
83108 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83109 ac_sed_extra="$ac_vpsub
83110 $extrasub
83111 _ACEOF
83112 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83114 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
83115 s|@configure_input@|$ac_sed_conf_input|;t t
83116 s&@top_builddir@&$ac_top_builddir_sub&;t t
83117 s&@top_build_prefix@&$ac_top_build_prefix&;t t
83118 s&@srcdir@&$ac_srcdir&;t t
83119 s&@abs_srcdir@&$ac_abs_srcdir&;t t
83120 s&@top_srcdir@&$ac_top_srcdir&;t t
83121 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
83122 s&@builddir@&$ac_builddir&;t t
83123 s&@abs_builddir@&$ac_abs_builddir&;t t
83124 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
83125 s&@INSTALL@&$ac_INSTALL&;t t
83126 s&@MKDIR_P@&$ac_MKDIR_P&;t t
83127 $ac_datarootdir_hack
83129 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
83130 || as_fn_error "could not create $ac_file" "$LINENO" 5
83132 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
83133 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
83134 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
83135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83136 which seems to be undefined. Please make sure it is defined." >&5
83137 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
83138 which seems to be undefined. Please make sure it is defined." >&2;}
83140 rm -f "$tmp/stdin"
83141 case $ac_file in
83142 -) cat "$tmp/out" && rm -f "$tmp/out";;
83143 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
83144 esac \
83145 || as_fn_error "could not create $ac_file" "$LINENO" 5
83149 # CONFIG_HEADER
83151 if test x"$ac_file" != x-; then
83153 $as_echo "/* $configure_input */" \
83154 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
83155 } >"$tmp/config.h" \
83156 || as_fn_error "could not create $ac_file" "$LINENO" 5
83157 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
83158 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
83159 $as_echo "$as_me: $ac_file is unchanged" >&6;}
83160 else
83161 rm -f "$ac_file"
83162 mv "$tmp/config.h" "$ac_file" \
83163 || as_fn_error "could not create $ac_file" "$LINENO" 5
83165 else
83166 $as_echo "/* $configure_input */" \
83167 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
83168 || as_fn_error "could not create -" "$LINENO" 5
83170 # Compute "$ac_file"'s index in $config_headers.
83171 _am_arg="$ac_file"
83172 _am_stamp_count=1
83173 for _am_header in $config_headers :; do
83174 case $_am_header in
83175 $_am_arg | $_am_arg:* )
83176 break ;;
83178 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
83179 esac
83180 done
83181 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
83182 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83183 X"$_am_arg" : 'X\(//\)[^/]' \| \
83184 X"$_am_arg" : 'X\(//\)$' \| \
83185 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
83186 $as_echo X"$_am_arg" |
83187 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83188 s//\1/
83191 /^X\(\/\/\)[^/].*/{
83192 s//\1/
83195 /^X\(\/\/\)$/{
83196 s//\1/
83199 /^X\(\/\).*/{
83200 s//\1/
83203 s/.*/./; q'`/stamp-h$_am_stamp_count
83206 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
83207 $as_echo "$as_me: executing $ac_file commands" >&6;}
83209 esac
83212 case $ac_file$ac_mode in
83213 "default-1":C)
83214 # Only add multilib support code if we just rebuilt the top-level
83215 # Makefile.
83216 case " $CONFIG_FILES " in
83217 *" Makefile "*)
83218 ac_file=Makefile . ${multi_basedir}/config-ml.in
83220 esac ;;
83221 "libtool":C)
83223 # See if we are running on zsh, and set the options which allow our
83224 # commands through without removal of \ escapes.
83225 if test -n "${ZSH_VERSION+set}" ; then
83226 setopt NO_GLOB_SUBST
83229 cfgfile="${ofile}T"
83230 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
83231 $RM "$cfgfile"
83233 cat <<_LT_EOF >> "$cfgfile"
83234 #! $SHELL
83236 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
83237 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
83238 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
83239 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
83241 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
83242 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
83243 # Written by Gordon Matzigkeit, 1996
83245 # This file is part of GNU Libtool.
83247 # GNU Libtool is free software; you can redistribute it and/or
83248 # modify it under the terms of the GNU General Public License as
83249 # published by the Free Software Foundation; either version 2 of
83250 # the License, or (at your option) any later version.
83252 # As a special exception to the GNU General Public License,
83253 # if you distribute this file as part of a program or library that
83254 # is built using GNU Libtool, you may include this file under the
83255 # same distribution terms that you use for the rest of that program.
83257 # GNU Libtool is distributed in the hope that it will be useful,
83258 # but WITHOUT ANY WARRANTY; without even the implied warranty of
83259 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
83260 # GNU General Public License for more details.
83262 # You should have received a copy of the GNU General Public License
83263 # along with GNU Libtool; see the file COPYING. If not, a copy
83264 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
83265 # obtained by writing to the Free Software Foundation, Inc.,
83266 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
83269 # The names of the tagged configurations supported by this script.
83270 available_tags="CXX "
83272 # ### BEGIN LIBTOOL CONFIG
83274 # Which release of libtool.m4 was used?
83275 macro_version=$macro_version
83276 macro_revision=$macro_revision
83278 # Whether or not to build shared libraries.
83279 build_libtool_libs=$enable_shared
83281 # Whether or not to build static libraries.
83282 build_old_libs=$enable_static
83284 # What type of objects to build.
83285 pic_mode=$pic_mode
83287 # Whether or not to optimize for fast installation.
83288 fast_install=$enable_fast_install
83290 # Shell to use when invoking shell scripts.
83291 SHELL=$lt_SHELL
83293 # An echo program that protects backslashes.
83294 ECHO=$lt_ECHO
83296 # The host system.
83297 host_alias=$host_alias
83298 host=$host
83299 host_os=$host_os
83301 # The build system.
83302 build_alias=$build_alias
83303 build=$build
83304 build_os=$build_os
83306 # A sed program that does not truncate output.
83307 SED=$lt_SED
83309 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
83310 Xsed="\$SED -e 1s/^X//"
83312 # A grep program that handles long lines.
83313 GREP=$lt_GREP
83315 # An ERE matcher.
83316 EGREP=$lt_EGREP
83318 # A literal string matcher.
83319 FGREP=$lt_FGREP
83321 # A BSD- or MS-compatible name lister.
83322 NM=$lt_NM
83324 # Whether we need soft or hard links.
83325 LN_S=$lt_LN_S
83327 # What is the maximum length of a command?
83328 max_cmd_len=$max_cmd_len
83330 # Object file suffix (normally "o").
83331 objext=$ac_objext
83333 # Executable file suffix (normally "").
83334 exeext=$exeext
83336 # whether the shell understands "unset".
83337 lt_unset=$lt_unset
83339 # turn spaces into newlines.
83340 SP2NL=$lt_lt_SP2NL
83342 # turn newlines into spaces.
83343 NL2SP=$lt_lt_NL2SP
83345 # An object symbol dumper.
83346 OBJDUMP=$lt_OBJDUMP
83348 # Method to check whether dependent libraries are shared objects.
83349 deplibs_check_method=$lt_deplibs_check_method
83351 # Command to use when deplibs_check_method == "file_magic".
83352 file_magic_cmd=$lt_file_magic_cmd
83354 # The archiver.
83355 AR=$lt_AR
83356 AR_FLAGS=$lt_AR_FLAGS
83358 # A symbol stripping program.
83359 STRIP=$lt_STRIP
83361 # Commands used to install an old-style archive.
83362 RANLIB=$lt_RANLIB
83363 old_postinstall_cmds=$lt_old_postinstall_cmds
83364 old_postuninstall_cmds=$lt_old_postuninstall_cmds
83366 # Whether to use a lock for old archive extraction.
83367 lock_old_archive_extraction=$lock_old_archive_extraction
83369 # A C compiler.
83370 LTCC=$lt_CC
83372 # LTCC compiler flags.
83373 LTCFLAGS=$lt_CFLAGS
83375 # Take the output of nm and produce a listing of raw symbols and C names.
83376 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
83378 # Transform the output of nm in a proper C declaration.
83379 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
83381 # Transform the output of nm in a C name address pair.
83382 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
83384 # Transform the output of nm in a C name address pair when lib prefix is needed.
83385 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
83387 # The name of the directory that contains temporary libtool files.
83388 objdir=$objdir
83390 # Used to examine libraries when file_magic_cmd begins with "file".
83391 MAGIC_CMD=$MAGIC_CMD
83393 # Must we lock files when doing compilation?
83394 need_locks=$lt_need_locks
83396 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
83397 DSYMUTIL=$lt_DSYMUTIL
83399 # Tool to change global to local symbols on Mac OS X.
83400 NMEDIT=$lt_NMEDIT
83402 # Tool to manipulate fat objects and archives on Mac OS X.
83403 LIPO=$lt_LIPO
83405 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
83406 OTOOL=$lt_OTOOL
83408 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
83409 OTOOL64=$lt_OTOOL64
83411 # Old archive suffix (normally "a").
83412 libext=$libext
83414 # Shared library suffix (normally ".so").
83415 shrext_cmds=$lt_shrext_cmds
83417 # The commands to extract the exported symbol list from a shared archive.
83418 extract_expsyms_cmds=$lt_extract_expsyms_cmds
83420 # Variables whose values should be saved in libtool wrapper scripts and
83421 # restored at link time.
83422 variables_saved_for_relink=$lt_variables_saved_for_relink
83424 # Do we need the "lib" prefix for modules?
83425 need_lib_prefix=$need_lib_prefix
83427 # Do we need a version for libraries?
83428 need_version=$need_version
83430 # Library versioning type.
83431 version_type=$version_type
83433 # Shared library runtime path variable.
83434 runpath_var=$runpath_var
83436 # Shared library path variable.
83437 shlibpath_var=$shlibpath_var
83439 # Is shlibpath searched before the hard-coded library search path?
83440 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
83442 # Format of library name prefix.
83443 libname_spec=$lt_libname_spec
83445 # List of archive names. First name is the real one, the rest are links.
83446 # The last name is the one that the linker finds with -lNAME
83447 library_names_spec=$lt_library_names_spec
83449 # The coded name of the library, if different from the real name.
83450 soname_spec=$lt_soname_spec
83452 # Permission mode override for installation of shared libraries.
83453 install_override_mode=$lt_install_override_mode
83455 # Command to use after installation of a shared archive.
83456 postinstall_cmds=$lt_postinstall_cmds
83458 # Command to use after uninstallation of a shared archive.
83459 postuninstall_cmds=$lt_postuninstall_cmds
83461 # Commands used to finish a libtool library installation in a directory.
83462 finish_cmds=$lt_finish_cmds
83464 # As "finish_cmds", except a single script fragment to be evaled but
83465 # not shown.
83466 finish_eval=$lt_finish_eval
83468 # Whether we should hardcode library paths into libraries.
83469 hardcode_into_libs=$hardcode_into_libs
83471 # Compile-time system search path for libraries.
83472 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
83474 # Run-time system search path for libraries.
83475 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
83477 # Whether dlopen is supported.
83478 dlopen_support=$enable_dlopen
83480 # Whether dlopen of programs is supported.
83481 dlopen_self=$enable_dlopen_self
83483 # Whether dlopen of statically linked programs is supported.
83484 dlopen_self_static=$enable_dlopen_self_static
83486 # Commands to strip libraries.
83487 old_striplib=$lt_old_striplib
83488 striplib=$lt_striplib
83491 # The linker used to build libraries.
83492 LD=$lt_LD
83494 # How to create reloadable object files.
83495 reload_flag=$lt_reload_flag
83496 reload_cmds=$lt_reload_cmds
83498 # Commands used to build an old-style archive.
83499 old_archive_cmds=$lt_old_archive_cmds
83501 # A language specific compiler.
83502 CC=$lt_compiler
83504 # Is the compiler the GNU compiler?
83505 with_gcc=$GCC
83507 # Compiler flag to turn off builtin functions.
83508 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
83510 # How to pass a linker flag through the compiler.
83511 wl=$lt_lt_prog_compiler_wl
83513 # Additional compiler flags for building library objects.
83514 pic_flag=$lt_lt_prog_compiler_pic
83516 # Compiler flag to prevent dynamic linking.
83517 link_static_flag=$lt_lt_prog_compiler_static
83519 # Does compiler simultaneously support -c and -o options?
83520 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
83522 # Whether or not to add -lc for building shared libraries.
83523 build_libtool_need_lc=$archive_cmds_need_lc
83525 # Whether or not to disallow shared libs when runtime libs are static.
83526 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
83528 # Compiler flag to allow reflexive dlopens.
83529 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
83531 # Compiler flag to generate shared objects directly from archives.
83532 whole_archive_flag_spec=$lt_whole_archive_flag_spec
83534 # Whether the compiler copes with passing no objects directly.
83535 compiler_needs_object=$lt_compiler_needs_object
83537 # Create an old-style archive from a shared archive.
83538 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
83540 # Create a temporary old-style archive to link instead of a shared archive.
83541 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
83543 # Commands used to build a shared archive.
83544 archive_cmds=$lt_archive_cmds
83545 archive_expsym_cmds=$lt_archive_expsym_cmds
83547 # Commands used to build a loadable module if different from building
83548 # a shared archive.
83549 module_cmds=$lt_module_cmds
83550 module_expsym_cmds=$lt_module_expsym_cmds
83552 # Whether we are building with GNU ld or not.
83553 with_gnu_ld=$lt_with_gnu_ld
83555 # Flag that allows shared libraries with undefined symbols to be built.
83556 allow_undefined_flag=$lt_allow_undefined_flag
83558 # Flag that enforces no undefined symbols.
83559 no_undefined_flag=$lt_no_undefined_flag
83561 # Flag to hardcode \$libdir into a binary during linking.
83562 # This must work even if \$libdir does not exist
83563 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
83565 # If ld is used when linking, flag to hardcode \$libdir into a binary
83566 # during linking. This must work even if \$libdir does not exist.
83567 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
83569 # Whether we need a single "-rpath" flag with a separated argument.
83570 hardcode_libdir_separator=$lt_hardcode_libdir_separator
83572 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83573 # DIR into the resulting binary.
83574 hardcode_direct=$hardcode_direct
83576 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83577 # DIR into the resulting binary and the resulting library dependency is
83578 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83579 # library is relocated.
83580 hardcode_direct_absolute=$hardcode_direct_absolute
83582 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83583 # into the resulting binary.
83584 hardcode_minus_L=$hardcode_minus_L
83586 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83587 # into the resulting binary.
83588 hardcode_shlibpath_var=$hardcode_shlibpath_var
83590 # Set to "yes" if building a shared library automatically hardcodes DIR
83591 # into the library and all subsequent libraries and executables linked
83592 # against it.
83593 hardcode_automatic=$hardcode_automatic
83595 # Set to yes if linker adds runtime paths of dependent libraries
83596 # to runtime path list.
83597 inherit_rpath=$inherit_rpath
83599 # Whether libtool must link a program against all its dependency libraries.
83600 link_all_deplibs=$link_all_deplibs
83602 # Fix the shell variable \$srcfile for the compiler.
83603 fix_srcfile_path=$lt_fix_srcfile_path
83605 # Set to "yes" if exported symbols are required.
83606 always_export_symbols=$always_export_symbols
83608 # The commands to list exported symbols.
83609 export_symbols_cmds=$lt_export_symbols_cmds
83611 # Symbols that should not be listed in the preloaded symbols.
83612 exclude_expsyms=$lt_exclude_expsyms
83614 # Symbols that must always be exported.
83615 include_expsyms=$lt_include_expsyms
83617 # Commands necessary for linking programs (against libraries) with templates.
83618 prelink_cmds=$lt_prelink_cmds
83620 # Specify filename containing input files.
83621 file_list_spec=$lt_file_list_spec
83623 # How to hardcode a shared library path into an executable.
83624 hardcode_action=$hardcode_action
83626 # The directories searched by this compiler when creating a shared library.
83627 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
83629 # Dependencies to place before and after the objects being linked to
83630 # create a shared library.
83631 predep_objects=$lt_predep_objects
83632 postdep_objects=$lt_postdep_objects
83633 predeps=$lt_predeps
83634 postdeps=$lt_postdeps
83636 # The library search path used internally by the compiler when linking
83637 # a shared library.
83638 compiler_lib_search_path=$lt_compiler_lib_search_path
83640 # ### END LIBTOOL CONFIG
83642 _LT_EOF
83644 case $host_os in
83645 aix3*)
83646 cat <<\_LT_EOF >> "$cfgfile"
83647 # AIX sometimes has problems with the GCC collect2 program. For some
83648 # reason, if we set the COLLECT_NAMES environment variable, the problems
83649 # vanish in a puff of smoke.
83650 if test "X${COLLECT_NAMES+set}" != Xset; then
83651 COLLECT_NAMES=
83652 export COLLECT_NAMES
83654 _LT_EOF
83656 esac
83659 ltmain="$ac_aux_dir/ltmain.sh"
83662 # We use sed instead of cat because bash on DJGPP gets confused if
83663 # if finds mixed CR/LF and LF-only lines. Since sed operates in
83664 # text mode, it properly converts lines to CR/LF. This bash problem
83665 # is reportedly fixed, but why not run on old versions too?
83666 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
83667 || (rm -f "$cfgfile"; exit 1)
83669 case $xsi_shell in
83670 yes)
83671 cat << \_LT_EOF >> "$cfgfile"
83673 # func_dirname file append nondir_replacement
83674 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83675 # otherwise set result to NONDIR_REPLACEMENT.
83676 func_dirname ()
83678 case ${1} in
83679 */*) func_dirname_result="${1%/*}${2}" ;;
83680 * ) func_dirname_result="${3}" ;;
83681 esac
83684 # func_basename file
83685 func_basename ()
83687 func_basename_result="${1##*/}"
83690 # func_dirname_and_basename file append nondir_replacement
83691 # perform func_basename and func_dirname in a single function
83692 # call:
83693 # dirname: Compute the dirname of FILE. If nonempty,
83694 # add APPEND to the result, otherwise set result
83695 # to NONDIR_REPLACEMENT.
83696 # value returned in "$func_dirname_result"
83697 # basename: Compute filename of FILE.
83698 # value retuned in "$func_basename_result"
83699 # Implementation must be kept synchronized with func_dirname
83700 # and func_basename. For efficiency, we do not delegate to
83701 # those functions but instead duplicate the functionality here.
83702 func_dirname_and_basename ()
83704 case ${1} in
83705 */*) func_dirname_result="${1%/*}${2}" ;;
83706 * ) func_dirname_result="${3}" ;;
83707 esac
83708 func_basename_result="${1##*/}"
83711 # func_stripname prefix suffix name
83712 # strip PREFIX and SUFFIX off of NAME.
83713 # PREFIX and SUFFIX must not contain globbing or regex special
83714 # characters, hashes, percent signs, but SUFFIX may contain a leading
83715 # dot (in which case that matches only a dot).
83716 func_stripname ()
83718 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
83719 # positional parameters, so assign one to ordinary parameter first.
83720 func_stripname_result=${3}
83721 func_stripname_result=${func_stripname_result#"${1}"}
83722 func_stripname_result=${func_stripname_result%"${2}"}
83725 # func_opt_split
83726 func_opt_split ()
83728 func_opt_split_opt=${1%%=*}
83729 func_opt_split_arg=${1#*=}
83732 # func_lo2o object
83733 func_lo2o ()
83735 case ${1} in
83736 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
83737 *) func_lo2o_result=${1} ;;
83738 esac
83741 # func_xform libobj-or-source
83742 func_xform ()
83744 func_xform_result=${1%.*}.lo
83747 # func_arith arithmetic-term...
83748 func_arith ()
83750 func_arith_result=$(( $* ))
83753 # func_len string
83754 # STRING may not start with a hyphen.
83755 func_len ()
83757 func_len_result=${#1}
83760 _LT_EOF
83762 *) # Bourne compatible functions.
83763 cat << \_LT_EOF >> "$cfgfile"
83765 # func_dirname file append nondir_replacement
83766 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
83767 # otherwise set result to NONDIR_REPLACEMENT.
83768 func_dirname ()
83770 # Extract subdirectory from the argument.
83771 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
83772 if test "X$func_dirname_result" = "X${1}"; then
83773 func_dirname_result="${3}"
83774 else
83775 func_dirname_result="$func_dirname_result${2}"
83779 # func_basename file
83780 func_basename ()
83782 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
83786 # func_stripname prefix suffix name
83787 # strip PREFIX and SUFFIX off of NAME.
83788 # PREFIX and SUFFIX must not contain globbing or regex special
83789 # characters, hashes, percent signs, but SUFFIX may contain a leading
83790 # dot (in which case that matches only a dot).
83791 # func_strip_suffix prefix name
83792 func_stripname ()
83794 case ${2} in
83795 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
83796 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
83797 esac
83800 # sed scripts:
83801 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
83802 my_sed_long_arg='1s/^-[^=]*=//'
83804 # func_opt_split
83805 func_opt_split ()
83807 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
83808 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
83811 # func_lo2o object
83812 func_lo2o ()
83814 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
83817 # func_xform libobj-or-source
83818 func_xform ()
83820 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
83823 # func_arith arithmetic-term...
83824 func_arith ()
83826 func_arith_result=`expr "$@"`
83829 # func_len string
83830 # STRING may not start with a hyphen.
83831 func_len ()
83833 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
83836 _LT_EOF
83837 esac
83839 case $lt_shell_append in
83840 yes)
83841 cat << \_LT_EOF >> "$cfgfile"
83843 # func_append var value
83844 # Append VALUE to the end of shell variable VAR.
83845 func_append ()
83847 eval "$1+=\$2"
83849 _LT_EOF
83852 cat << \_LT_EOF >> "$cfgfile"
83854 # func_append var value
83855 # Append VALUE to the end of shell variable VAR.
83856 func_append ()
83858 eval "$1=\$$1\$2"
83861 _LT_EOF
83863 esac
83866 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
83867 || (rm -f "$cfgfile"; exit 1)
83869 mv -f "$cfgfile" "$ofile" ||
83870 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
83871 chmod +x "$ofile"
83874 cat <<_LT_EOF >> "$ofile"
83876 # ### BEGIN LIBTOOL TAG CONFIG: CXX
83878 # The linker used to build libraries.
83879 LD=$lt_LD_CXX
83881 # How to create reloadable object files.
83882 reload_flag=$lt_reload_flag_CXX
83883 reload_cmds=$lt_reload_cmds_CXX
83885 # Commands used to build an old-style archive.
83886 old_archive_cmds=$lt_old_archive_cmds_CXX
83888 # A language specific compiler.
83889 CC=$lt_compiler_CXX
83891 # Is the compiler the GNU compiler?
83892 with_gcc=$GCC_CXX
83894 # Compiler flag to turn off builtin functions.
83895 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
83897 # How to pass a linker flag through the compiler.
83898 wl=$lt_lt_prog_compiler_wl_CXX
83900 # Additional compiler flags for building library objects.
83901 pic_flag=$lt_lt_prog_compiler_pic_CXX
83903 # Compiler flag to prevent dynamic linking.
83904 link_static_flag=$lt_lt_prog_compiler_static_CXX
83906 # Does compiler simultaneously support -c and -o options?
83907 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
83909 # Whether or not to add -lc for building shared libraries.
83910 build_libtool_need_lc=$archive_cmds_need_lc_CXX
83912 # Whether or not to disallow shared libs when runtime libs are static.
83913 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
83915 # Compiler flag to allow reflexive dlopens.
83916 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
83918 # Compiler flag to generate shared objects directly from archives.
83919 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
83921 # Whether the compiler copes with passing no objects directly.
83922 compiler_needs_object=$lt_compiler_needs_object_CXX
83924 # Create an old-style archive from a shared archive.
83925 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
83927 # Create a temporary old-style archive to link instead of a shared archive.
83928 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
83930 # Commands used to build a shared archive.
83931 archive_cmds=$lt_archive_cmds_CXX
83932 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
83934 # Commands used to build a loadable module if different from building
83935 # a shared archive.
83936 module_cmds=$lt_module_cmds_CXX
83937 module_expsym_cmds=$lt_module_expsym_cmds_CXX
83939 # Whether we are building with GNU ld or not.
83940 with_gnu_ld=$lt_with_gnu_ld_CXX
83942 # Flag that allows shared libraries with undefined symbols to be built.
83943 allow_undefined_flag=$lt_allow_undefined_flag_CXX
83945 # Flag that enforces no undefined symbols.
83946 no_undefined_flag=$lt_no_undefined_flag_CXX
83948 # Flag to hardcode \$libdir into a binary during linking.
83949 # This must work even if \$libdir does not exist
83950 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
83952 # If ld is used when linking, flag to hardcode \$libdir into a binary
83953 # during linking. This must work even if \$libdir does not exist.
83954 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
83956 # Whether we need a single "-rpath" flag with a separated argument.
83957 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
83959 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83960 # DIR into the resulting binary.
83961 hardcode_direct=$hardcode_direct_CXX
83963 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
83964 # DIR into the resulting binary and the resulting library dependency is
83965 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
83966 # library is relocated.
83967 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
83969 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
83970 # into the resulting binary.
83971 hardcode_minus_L=$hardcode_minus_L_CXX
83973 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
83974 # into the resulting binary.
83975 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
83977 # Set to "yes" if building a shared library automatically hardcodes DIR
83978 # into the library and all subsequent libraries and executables linked
83979 # against it.
83980 hardcode_automatic=$hardcode_automatic_CXX
83982 # Set to yes if linker adds runtime paths of dependent libraries
83983 # to runtime path list.
83984 inherit_rpath=$inherit_rpath_CXX
83986 # Whether libtool must link a program against all its dependency libraries.
83987 link_all_deplibs=$link_all_deplibs_CXX
83989 # Fix the shell variable \$srcfile for the compiler.
83990 fix_srcfile_path=$lt_fix_srcfile_path_CXX
83992 # Set to "yes" if exported symbols are required.
83993 always_export_symbols=$always_export_symbols_CXX
83995 # The commands to list exported symbols.
83996 export_symbols_cmds=$lt_export_symbols_cmds_CXX
83998 # Symbols that should not be listed in the preloaded symbols.
83999 exclude_expsyms=$lt_exclude_expsyms_CXX
84001 # Symbols that must always be exported.
84002 include_expsyms=$lt_include_expsyms_CXX
84004 # Commands necessary for linking programs (against libraries) with templates.
84005 prelink_cmds=$lt_prelink_cmds_CXX
84007 # Specify filename containing input files.
84008 file_list_spec=$lt_file_list_spec_CXX
84010 # How to hardcode a shared library path into an executable.
84011 hardcode_action=$hardcode_action_CXX
84013 # The directories searched by this compiler when creating a shared library.
84014 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
84016 # Dependencies to place before and after the objects being linked to
84017 # create a shared library.
84018 predep_objects=$lt_predep_objects_CXX
84019 postdep_objects=$lt_postdep_objects_CXX
84020 predeps=$lt_predeps_CXX
84021 postdeps=$lt_postdeps_CXX
84023 # The library search path used internally by the compiler when linking
84024 # a shared library.
84025 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
84027 # ### END LIBTOOL TAG CONFIG: CXX
84028 _LT_EOF
84031 "include/gstdint.h":C)
84032 if test "$GCC" = yes; then
84033 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
84034 else
84035 echo "/* generated for $CC */" > tmp-stdint.h
84038 sed 's/^ *//' >> tmp-stdint.h <<EOF
84040 #ifndef GCC_GENERATED_STDINT_H
84041 #define GCC_GENERATED_STDINT_H 1
84043 #include <sys/types.h>
84046 if test "$acx_cv_header_stdint" != stdint.h; then
84047 echo "#include <stddef.h>" >> tmp-stdint.h
84049 if test "$acx_cv_header_stdint" != stddef.h; then
84050 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
84053 sed 's/^ *//' >> tmp-stdint.h <<EOF
84054 /* glibc uses these symbols as guards to prevent redefinitions. */
84055 #ifdef __int8_t_defined
84056 #define _INT8_T
84057 #define _INT16_T
84058 #define _INT32_T
84059 #endif
84060 #ifdef __uint32_t_defined
84061 #define _UINT32_T
84062 #endif
84066 # ----------------- done header, emit basic int types -------------
84067 if test "$acx_cv_header_stdint" = stddef.h; then
84068 sed 's/^ *//' >> tmp-stdint.h <<EOF
84070 #ifndef _UINT8_T
84071 #define _UINT8_T
84072 #ifndef __uint8_t_defined
84073 #define __uint8_t_defined
84074 #ifndef uint8_t
84075 typedef unsigned $acx_cv_type_int8_t uint8_t;
84076 #endif
84077 #endif
84078 #endif
84080 #ifndef _UINT16_T
84081 #define _UINT16_T
84082 #ifndef __uint16_t_defined
84083 #define __uint16_t_defined
84084 #ifndef uint16_t
84085 typedef unsigned $acx_cv_type_int16_t uint16_t;
84086 #endif
84087 #endif
84088 #endif
84090 #ifndef _UINT32_T
84091 #define _UINT32_T
84092 #ifndef __uint32_t_defined
84093 #define __uint32_t_defined
84094 #ifndef uint32_t
84095 typedef unsigned $acx_cv_type_int32_t uint32_t;
84096 #endif
84097 #endif
84098 #endif
84100 #ifndef _INT8_T
84101 #define _INT8_T
84102 #ifndef __int8_t_defined
84103 #define __int8_t_defined
84104 #ifndef int8_t
84105 typedef $acx_cv_type_int8_t int8_t;
84106 #endif
84107 #endif
84108 #endif
84110 #ifndef _INT16_T
84111 #define _INT16_T
84112 #ifndef __int16_t_defined
84113 #define __int16_t_defined
84114 #ifndef int16_t
84115 typedef $acx_cv_type_int16_t int16_t;
84116 #endif
84117 #endif
84118 #endif
84120 #ifndef _INT32_T
84121 #define _INT32_T
84122 #ifndef __int32_t_defined
84123 #define __int32_t_defined
84124 #ifndef int32_t
84125 typedef $acx_cv_type_int32_t int32_t;
84126 #endif
84127 #endif
84128 #endif
84130 elif test "$ac_cv_type_u_int32_t" = yes; then
84131 sed 's/^ *//' >> tmp-stdint.h <<EOF
84133 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
84134 #ifndef _INT8_T
84135 #define _INT8_T
84136 #endif
84137 #ifndef _INT16_T
84138 #define _INT16_T
84139 #endif
84140 #ifndef _INT32_T
84141 #define _INT32_T
84142 #endif
84144 #ifndef _UINT8_T
84145 #define _UINT8_T
84146 #ifndef __uint8_t_defined
84147 #define __uint8_t_defined
84148 #ifndef uint8_t
84149 typedef u_int8_t uint8_t;
84150 #endif
84151 #endif
84152 #endif
84154 #ifndef _UINT16_T
84155 #define _UINT16_T
84156 #ifndef __uint16_t_defined
84157 #define __uint16_t_defined
84158 #ifndef uint16_t
84159 typedef u_int16_t uint16_t;
84160 #endif
84161 #endif
84162 #endif
84164 #ifndef _UINT32_T
84165 #define _UINT32_T
84166 #ifndef __uint32_t_defined
84167 #define __uint32_t_defined
84168 #ifndef uint32_t
84169 typedef u_int32_t uint32_t;
84170 #endif
84171 #endif
84172 #endif
84174 else
84175 sed 's/^ *//' >> tmp-stdint.h <<EOF
84177 /* Some systems have guard macros to prevent redefinitions, define them. */
84178 #ifndef _INT8_T
84179 #define _INT8_T
84180 #endif
84181 #ifndef _INT16_T
84182 #define _INT16_T
84183 #endif
84184 #ifndef _INT32_T
84185 #define _INT32_T
84186 #endif
84187 #ifndef _UINT8_T
84188 #define _UINT8_T
84189 #endif
84190 #ifndef _UINT16_T
84191 #define _UINT16_T
84192 #endif
84193 #ifndef _UINT32_T
84194 #define _UINT32_T
84195 #endif
84199 # ------------- done basic int types, emit int64_t types ------------
84200 if test "$ac_cv_type_uint64_t" = yes; then
84201 sed 's/^ *//' >> tmp-stdint.h <<EOF
84203 /* system headers have good uint64_t and int64_t */
84204 #ifndef _INT64_T
84205 #define _INT64_T
84206 #endif
84207 #ifndef _UINT64_T
84208 #define _UINT64_T
84209 #endif
84211 elif test "$ac_cv_type_u_int64_t" = yes; then
84212 sed 's/^ *//' >> tmp-stdint.h <<EOF
84214 /* system headers have an u_int64_t (and int64_t) */
84215 #ifndef _INT64_T
84216 #define _INT64_T
84217 #endif
84218 #ifndef _UINT64_T
84219 #define _UINT64_T
84220 #ifndef __uint64_t_defined
84221 #define __uint64_t_defined
84222 #ifndef uint64_t
84223 typedef u_int64_t uint64_t;
84224 #endif
84225 #endif
84226 #endif
84228 elif test -n "$acx_cv_type_int64_t"; then
84229 sed 's/^ *//' >> tmp-stdint.h <<EOF
84231 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
84232 #ifndef _INT64_T
84233 #define _INT64_T
84234 #ifndef int64_t
84235 typedef $acx_cv_type_int64_t int64_t;
84236 #endif
84237 #endif
84238 #ifndef _UINT64_T
84239 #define _UINT64_T
84240 #ifndef __uint64_t_defined
84241 #define __uint64_t_defined
84242 #ifndef uint64_t
84243 typedef unsigned $acx_cv_type_int64_t uint64_t;
84244 #endif
84245 #endif
84246 #endif
84248 else
84249 sed 's/^ *//' >> tmp-stdint.h <<EOF
84251 /* some common heuristics for int64_t, using compiler-specific tests */
84252 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
84253 #ifndef _INT64_T
84254 #define _INT64_T
84255 #ifndef __int64_t_defined
84256 #ifndef int64_t
84257 typedef long long int64_t;
84258 #endif
84259 #endif
84260 #endif
84261 #ifndef _UINT64_T
84262 #define _UINT64_T
84263 #ifndef uint64_t
84264 typedef unsigned long long uint64_t;
84265 #endif
84266 #endif
84268 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
84269 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
84270 does not implement __extension__. But that compiler doesn't define
84271 __GNUC_MINOR__. */
84272 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
84273 # define __extension__
84274 # endif
84276 # ifndef _INT64_T
84277 # define _INT64_T
84278 # ifndef int64_t
84279 __extension__ typedef long long int64_t;
84280 # endif
84281 # endif
84282 # ifndef _UINT64_T
84283 # define _UINT64_T
84284 # ifndef uint64_t
84285 __extension__ typedef unsigned long long uint64_t;
84286 # endif
84287 # endif
84289 #elif !defined __STRICT_ANSI__
84290 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
84292 # ifndef _INT64_T
84293 # define _INT64_T
84294 # ifndef int64_t
84295 typedef __int64 int64_t;
84296 # endif
84297 # endif
84298 # ifndef _UINT64_T
84299 # define _UINT64_T
84300 # ifndef uint64_t
84301 typedef unsigned __int64 uint64_t;
84302 # endif
84303 # endif
84304 # endif /* compiler */
84306 #endif /* ANSI version */
84310 # ------------- done int64_t types, emit intptr types ------------
84311 if test "$ac_cv_type_uintptr_t" != yes; then
84312 sed 's/^ *//' >> tmp-stdint.h <<EOF
84314 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
84315 #ifndef __uintptr_t_defined
84316 #ifndef uintptr_t
84317 typedef u$acx_cv_type_intptr_t uintptr_t;
84318 #endif
84319 #endif
84320 #ifndef __intptr_t_defined
84321 #ifndef intptr_t
84322 typedef $acx_cv_type_intptr_t intptr_t;
84323 #endif
84324 #endif
84328 # ------------- done intptr types, emit int_least types ------------
84329 if test "$ac_cv_type_int_least32_t" != yes; then
84330 sed 's/^ *//' >> tmp-stdint.h <<EOF
84332 /* Define int_least types */
84333 typedef int8_t int_least8_t;
84334 typedef int16_t int_least16_t;
84335 typedef int32_t int_least32_t;
84336 #ifdef _INT64_T
84337 typedef int64_t int_least64_t;
84338 #endif
84340 typedef uint8_t uint_least8_t;
84341 typedef uint16_t uint_least16_t;
84342 typedef uint32_t uint_least32_t;
84343 #ifdef _UINT64_T
84344 typedef uint64_t uint_least64_t;
84345 #endif
84349 # ------------- done intptr types, emit int_fast types ------------
84350 if test "$ac_cv_type_int_fast32_t" != yes; then
84351 sed 's/^ *//' >> tmp-stdint.h <<EOF
84353 /* Define int_fast types. short is often slow */
84354 typedef int8_t int_fast8_t;
84355 typedef int int_fast16_t;
84356 typedef int32_t int_fast32_t;
84357 #ifdef _INT64_T
84358 typedef int64_t int_fast64_t;
84359 #endif
84361 typedef uint8_t uint_fast8_t;
84362 typedef unsigned int uint_fast16_t;
84363 typedef uint32_t uint_fast32_t;
84364 #ifdef _UINT64_T
84365 typedef uint64_t uint_fast64_t;
84366 #endif
84370 if test "$ac_cv_type_uintmax_t" != yes; then
84371 sed 's/^ *//' >> tmp-stdint.h <<EOF
84373 /* Define intmax based on what we found */
84374 #ifndef intmax_t
84375 #ifdef _INT64_T
84376 typedef int64_t intmax_t;
84377 #else
84378 typedef long intmax_t;
84379 #endif
84380 #endif
84381 #ifndef uintmax_t
84382 #ifdef _UINT64_T
84383 typedef uint64_t uintmax_t;
84384 #else
84385 typedef unsigned long uintmax_t;
84386 #endif
84387 #endif
84391 sed 's/^ *//' >> tmp-stdint.h <<EOF
84393 #endif /* GCC_GENERATED_STDINT_H */
84396 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
84397 rm -f tmp-stdint.h
84398 else
84399 mv -f tmp-stdint.h include/gstdint.h
84403 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
84404 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
84405 "include/Makefile":F) cat > vpsed$$ << \_EOF
84406 s!`test -f '$<' || echo '$(srcdir)/'`!!
84407 _EOF
84408 sed -f vpsed$$ $ac_file > tmp$$
84409 mv tmp$$ $ac_file
84410 rm vpsed$$
84411 echo 'MULTISUBDIR =' >> $ac_file
84412 ml_norecursion=yes
84413 . ${multi_basedir}/config-ml.in
84414 { ml_norecursion=; unset ml_norecursion;}
84416 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
84417 s!`test -f '$<' || echo '$(srcdir)/'`!!
84418 _EOF
84419 sed -f vpsed$$ $ac_file > tmp$$
84420 mv tmp$$ $ac_file
84421 rm vpsed$$
84422 echo 'MULTISUBDIR =' >> $ac_file
84423 ml_norecursion=yes
84424 . ${multi_basedir}/config-ml.in
84425 { ml_norecursion=; unset ml_norecursion;}
84427 "src/Makefile":F) cat > vpsed$$ << \_EOF
84428 s!`test -f '$<' || echo '$(srcdir)/'`!!
84429 _EOF
84430 sed -f vpsed$$ $ac_file > tmp$$
84431 mv tmp$$ $ac_file
84432 rm vpsed$$
84433 echo 'MULTISUBDIR =' >> $ac_file
84434 ml_norecursion=yes
84435 . ${multi_basedir}/config-ml.in
84436 { ml_norecursion=; unset ml_norecursion;}
84438 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
84439 s!`test -f '$<' || echo '$(srcdir)/'`!!
84440 _EOF
84441 sed -f vpsed$$ $ac_file > tmp$$
84442 mv tmp$$ $ac_file
84443 rm vpsed$$
84444 echo 'MULTISUBDIR =' >> $ac_file
84445 ml_norecursion=yes
84446 . ${multi_basedir}/config-ml.in
84447 { ml_norecursion=; unset ml_norecursion;}
84449 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
84450 s!`test -f '$<' || echo '$(srcdir)/'`!!
84451 _EOF
84452 sed -f vpsed$$ $ac_file > tmp$$
84453 mv tmp$$ $ac_file
84454 rm vpsed$$
84455 echo 'MULTISUBDIR =' >> $ac_file
84456 ml_norecursion=yes
84457 . ${multi_basedir}/config-ml.in
84458 { ml_norecursion=; unset ml_norecursion;}
84460 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
84461 s!`test -f '$<' || echo '$(srcdir)/'`!!
84462 _EOF
84463 sed -f vpsed$$ $ac_file > tmp$$
84464 mv tmp$$ $ac_file
84465 rm vpsed$$
84466 echo 'MULTISUBDIR =' >> $ac_file
84467 ml_norecursion=yes
84468 . ${multi_basedir}/config-ml.in
84469 { ml_norecursion=; unset ml_norecursion;}
84471 "doc/Makefile":F) cat > vpsed$$ << \_EOF
84472 s!`test -f '$<' || echo '$(srcdir)/'`!!
84473 _EOF
84474 sed -f vpsed$$ $ac_file > tmp$$
84475 mv tmp$$ $ac_file
84476 rm vpsed$$
84477 echo 'MULTISUBDIR =' >> $ac_file
84478 ml_norecursion=yes
84479 . ${multi_basedir}/config-ml.in
84480 { ml_norecursion=; unset ml_norecursion;}
84482 "po/Makefile":F) cat > vpsed$$ << \_EOF
84483 s!`test -f '$<' || echo '$(srcdir)/'`!!
84484 _EOF
84485 sed -f vpsed$$ $ac_file > tmp$$
84486 mv tmp$$ $ac_file
84487 rm vpsed$$
84488 echo 'MULTISUBDIR =' >> $ac_file
84489 ml_norecursion=yes
84490 . ${multi_basedir}/config-ml.in
84491 { ml_norecursion=; unset ml_norecursion;}
84493 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
84494 s!`test -f '$<' || echo '$(srcdir)/'`!!
84495 _EOF
84496 sed -f vpsed$$ $ac_file > tmp$$
84497 mv tmp$$ $ac_file
84498 rm vpsed$$
84499 echo 'MULTISUBDIR =' >> $ac_file
84500 ml_norecursion=yes
84501 . ${multi_basedir}/config-ml.in
84502 { ml_norecursion=; unset ml_norecursion;}
84504 "python/Makefile":F) cat > vpsed$$ << \_EOF
84505 s!`test -f '$<' || echo '$(srcdir)/'`!!
84506 _EOF
84507 sed -f vpsed$$ $ac_file > tmp$$
84508 mv tmp$$ $ac_file
84509 rm vpsed$$
84510 echo 'MULTISUBDIR =' >> $ac_file
84511 ml_norecursion=yes
84512 . ${multi_basedir}/config-ml.in
84513 { ml_norecursion=; unset ml_norecursion;}
84515 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
84517 esac
84518 done # for ac_tag
84521 as_fn_exit 0
84522 _ACEOF
84523 ac_clean_files=$ac_clean_files_save
84525 test $ac_write_fail = 0 ||
84526 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
84529 # configure is writing to config.log, and then calls config.status.
84530 # config.status does its own redirection, appending to config.log.
84531 # Unfortunately, on DOS this fails, as config.log is still kept open
84532 # by configure, so config.status won't be able to write to it; its
84533 # output is simply discarded. So we exec the FD to /dev/null,
84534 # effectively closing config.log, so it can be properly (re)opened and
84535 # appended to by config.status. When coming back to configure, we
84536 # need to make the FD available again.
84537 if test "$no_create" != yes; then
84538 ac_cs_success=:
84539 ac_config_status_args=
84540 test "$silent" = yes &&
84541 ac_config_status_args="$ac_config_status_args --quiet"
84542 exec 5>/dev/null
84543 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
84544 exec 5>>config.log
84545 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
84546 # would make configure fail if this is the last instruction.
84547 $ac_cs_success || as_fn_exit $?
84549 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
84550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
84551 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}